azure-native.security.DevOpsPolicyAssignment
Explore with Pulumi AI
DevOps Policy assignment resource. Azure REST API version: 2024-05-15-preview.
Example Usage
CreateOrUpdate_DevOpsPolicyAssignments
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var devOpsPolicyAssignment = new AzureNative.Security.DevOpsPolicyAssignment("devOpsPolicyAssignment", new()
{
PolicyAssignmentId = "5ec87f43-62d8-437b-8f46-4c8d4032cf6d",
Properties = new AzureNative.Security.Inputs.DevOpsPolicyAssignmentPropertiesArgs
{
DescendantBehavior = AzureNative.Security.DescendantBehavior.Override,
Policy = new AzureNative.Security.Inputs.DevOpsPolicyDescriptorArgs
{
PolicyId = "00000000-0000-0000-0000-000000000000",
PolicyName = "myDevOpsPolicy",
PolicyType = AzureNative.Security.DevOpsPolicyType.Pipeline,
PolicyVersion = "1.0",
},
ResourceId = "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso",
},
ResourceGroupName = "myRg",
SecurityConnectorName = "mySecurityConnectorName",
});
});
package main
import (
security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := security.NewDevOpsPolicyAssignment(ctx, "devOpsPolicyAssignment", &security.DevOpsPolicyAssignmentArgs{
PolicyAssignmentId: pulumi.String("5ec87f43-62d8-437b-8f46-4c8d4032cf6d"),
Properties: &security.DevOpsPolicyAssignmentPropertiesArgs{
DescendantBehavior: pulumi.String(security.DescendantBehaviorOverride),
Policy: &security.DevOpsPolicyDescriptorArgs{
PolicyId: pulumi.String("00000000-0000-0000-0000-000000000000"),
PolicyName: pulumi.String("myDevOpsPolicy"),
PolicyType: pulumi.String(security.DevOpsPolicyTypePipeline),
PolicyVersion: pulumi.String("1.0"),
},
ResourceId: pulumi.String("/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso"),
},
ResourceGroupName: pulumi.String("myRg"),
SecurityConnectorName: pulumi.String("mySecurityConnectorName"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.DevOpsPolicyAssignment;
import com.pulumi.azurenative.security.DevOpsPolicyAssignmentArgs;
import com.pulumi.azurenative.security.inputs.DevOpsPolicyAssignmentPropertiesArgs;
import com.pulumi.azurenative.security.inputs.DevOpsPolicyDescriptorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var devOpsPolicyAssignment = new DevOpsPolicyAssignment("devOpsPolicyAssignment", DevOpsPolicyAssignmentArgs.builder()
.policyAssignmentId("5ec87f43-62d8-437b-8f46-4c8d4032cf6d")
.properties(DevOpsPolicyAssignmentPropertiesArgs.builder()
.descendantBehavior("Override")
.policy(DevOpsPolicyDescriptorArgs.builder()
.policyId("00000000-0000-0000-0000-000000000000")
.policyName("myDevOpsPolicy")
.policyType("Pipeline")
.policyVersion("1.0")
.build())
.resourceId("/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso")
.build())
.resourceGroupName("myRg")
.securityConnectorName("mySecurityConnectorName")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
dev_ops_policy_assignment = azure_native.security.DevOpsPolicyAssignment("devOpsPolicyAssignment",
policy_assignment_id="5ec87f43-62d8-437b-8f46-4c8d4032cf6d",
properties={
"descendant_behavior": azure_native.security.DescendantBehavior.OVERRIDE,
"policy": {
"policy_id": "00000000-0000-0000-0000-000000000000",
"policy_name": "myDevOpsPolicy",
"policy_type": azure_native.security.DevOpsPolicyType.PIPELINE,
"policy_version": "1.0",
},
"resource_id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso",
},
resource_group_name="myRg",
security_connector_name="mySecurityConnectorName")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const devOpsPolicyAssignment = new azure_native.security.DevOpsPolicyAssignment("devOpsPolicyAssignment", {
policyAssignmentId: "5ec87f43-62d8-437b-8f46-4c8d4032cf6d",
properties: {
descendantBehavior: azure_native.security.DescendantBehavior.Override,
policy: {
policyId: "00000000-0000-0000-0000-000000000000",
policyName: "myDevOpsPolicy",
policyType: azure_native.security.DevOpsPolicyType.Pipeline,
policyVersion: "1.0",
},
resourceId: "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso",
},
resourceGroupName: "myRg",
securityConnectorName: "mySecurityConnectorName",
});
resources:
devOpsPolicyAssignment:
type: azure-native:security:DevOpsPolicyAssignment
properties:
policyAssignmentId: 5ec87f43-62d8-437b-8f46-4c8d4032cf6d
properties:
descendantBehavior: Override
policy:
policyId: 00000000-0000-0000-0000-000000000000
policyName: myDevOpsPolicy
policyType: Pipeline
policyVersion: '1.0'
resourceId: /subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso
resourceGroupName: myRg
securityConnectorName: mySecurityConnectorName
Create DevOpsPolicyAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DevOpsPolicyAssignment(name: string, args: DevOpsPolicyAssignmentArgs, opts?: CustomResourceOptions);
@overload
def DevOpsPolicyAssignment(resource_name: str,
args: DevOpsPolicyAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DevOpsPolicyAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
security_connector_name: Optional[str] = None,
policy_assignment_id: Optional[str] = None,
properties: Optional[DevOpsPolicyAssignmentPropertiesArgs] = None)
func NewDevOpsPolicyAssignment(ctx *Context, name string, args DevOpsPolicyAssignmentArgs, opts ...ResourceOption) (*DevOpsPolicyAssignment, error)
public DevOpsPolicyAssignment(string name, DevOpsPolicyAssignmentArgs args, CustomResourceOptions? opts = null)
public DevOpsPolicyAssignment(String name, DevOpsPolicyAssignmentArgs args)
public DevOpsPolicyAssignment(String name, DevOpsPolicyAssignmentArgs args, CustomResourceOptions options)
type: azure-native:security:DevOpsPolicyAssignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DevOpsPolicyAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DevOpsPolicyAssignmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DevOpsPolicyAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DevOpsPolicyAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DevOpsPolicyAssignmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var devOpsPolicyAssignmentResource = new AzureNative.Security.DevOpsPolicyAssignment("devOpsPolicyAssignmentResource", new()
{
ResourceGroupName = "string",
SecurityConnectorName = "string",
PolicyAssignmentId = "string",
Properties = new AzureNative.Security.Inputs.DevOpsPolicyAssignmentPropertiesArgs
{
AssignedAt = "string",
DescendantBehavior = "string",
Policy = new AzureNative.Security.Inputs.DevOpsPolicyDescriptorArgs
{
PolicyId = "string",
PolicyName = "string",
PolicyType = "string",
PolicyVersion = "string",
},
ResourceId = "string",
},
});
example, err := security.NewDevOpsPolicyAssignment(ctx, "devOpsPolicyAssignmentResource", &security.DevOpsPolicyAssignmentArgs{
ResourceGroupName: pulumi.String("string"),
SecurityConnectorName: pulumi.String("string"),
PolicyAssignmentId: pulumi.String("string"),
Properties: &security.DevOpsPolicyAssignmentPropertiesArgs{
AssignedAt: pulumi.String("string"),
DescendantBehavior: pulumi.String("string"),
Policy: &security.DevOpsPolicyDescriptorArgs{
PolicyId: pulumi.String("string"),
PolicyName: pulumi.String("string"),
PolicyType: pulumi.String("string"),
PolicyVersion: pulumi.String("string"),
},
ResourceId: pulumi.String("string"),
},
})
var devOpsPolicyAssignmentResource = new DevOpsPolicyAssignment("devOpsPolicyAssignmentResource", DevOpsPolicyAssignmentArgs.builder()
.resourceGroupName("string")
.securityConnectorName("string")
.policyAssignmentId("string")
.properties(DevOpsPolicyAssignmentPropertiesArgs.builder()
.assignedAt("string")
.descendantBehavior("string")
.policy(DevOpsPolicyDescriptorArgs.builder()
.policyId("string")
.policyName("string")
.policyType("string")
.policyVersion("string")
.build())
.resourceId("string")
.build())
.build());
dev_ops_policy_assignment_resource = azure_native.security.DevOpsPolicyAssignment("devOpsPolicyAssignmentResource",
resource_group_name="string",
security_connector_name="string",
policy_assignment_id="string",
properties={
"assigned_at": "string",
"descendant_behavior": "string",
"policy": {
"policy_id": "string",
"policy_name": "string",
"policy_type": "string",
"policy_version": "string",
},
"resource_id": "string",
})
const devOpsPolicyAssignmentResource = new azure_native.security.DevOpsPolicyAssignment("devOpsPolicyAssignmentResource", {
resourceGroupName: "string",
securityConnectorName: "string",
policyAssignmentId: "string",
properties: {
assignedAt: "string",
descendantBehavior: "string",
policy: {
policyId: "string",
policyName: "string",
policyType: "string",
policyVersion: "string",
},
resourceId: "string",
},
});
type: azure-native:security:DevOpsPolicyAssignment
properties:
policyAssignmentId: string
properties:
assignedAt: string
descendantBehavior: string
policy:
policyId: string
policyName: string
policyType: string
policyVersion: string
resourceId: string
resourceGroupName: string
securityConnectorName: string
DevOpsPolicyAssignment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DevOpsPolicyAssignment resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Security
Connector stringName - The security connector name.
- Policy
Assignment stringId - The policy assignment Id.
- Properties
Pulumi.
Azure Native. Security. Inputs. Dev Ops Policy Assignment Properties - Properties of the DevOps policy assignment resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Security
Connector stringName - The security connector name.
- Policy
Assignment stringId - The policy assignment Id.
- Properties
Dev
Ops Policy Assignment Properties Args - Properties of the DevOps policy assignment resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- security
Connector StringName - The security connector name.
- policy
Assignment StringId - The policy assignment Id.
- properties
Dev
Ops Policy Assignment Properties - Properties of the DevOps policy assignment resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- security
Connector stringName - The security connector name.
- policy
Assignment stringId - The policy assignment Id.
- properties
Dev
Ops Policy Assignment Properties - Properties of the DevOps policy assignment resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- security_
connector_ strname - The security connector name.
- policy_
assignment_ strid - The policy assignment Id.
- properties
Dev
Ops Policy Assignment Properties Args - Properties of the DevOps policy assignment resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- security
Connector StringName - The security connector name.
- policy
Assignment StringId - The policy assignment Id.
- properties Property Map
- Properties of the DevOps policy assignment resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DevOpsPolicyAssignment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Security. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
DescendantBehavior, DescendantBehaviorArgs
- Unknown
- Unknown
- Override
- Override
- Fall
Back - FallBack
- Descendant
Behavior Unknown - Unknown
- Descendant
Behavior Override - Override
- Descendant
Behavior Fall Back - FallBack
- Unknown
- Unknown
- Override
- Override
- Fall
Back - FallBack
- Unknown
- Unknown
- Override
- Override
- Fall
Back - FallBack
- UNKNOWN
- Unknown
- OVERRIDE
- Override
- FALL_BACK
- FallBack
- "Unknown"
- Unknown
- "Override"
- Override
- "Fall
Back" - FallBack
DevOpsPolicyAssignmentProperties, DevOpsPolicyAssignmentPropertiesArgs
- Assigned
At string - Gets or sets time when the assignment was created in UTC.
- Descendant
Behavior string | Pulumi.Azure Native. Security. Descendant Behavior - The behavior of a policy on descendant resources.
- Policy
Pulumi.
Azure Native. Security. Inputs. Dev Ops Policy Descriptor - Condensed information to identify a DevOps Policy resource.
- Resource
Id string - Gets or sets the Azure resource id.
- Assigned
At string - Gets or sets time when the assignment was created in UTC.
- Descendant
Behavior string | DescendantBehavior - The behavior of a policy on descendant resources.
- Policy
Dev
Ops Policy Descriptor - Condensed information to identify a DevOps Policy resource.
- Resource
Id string - Gets or sets the Azure resource id.
- assigned
At String - Gets or sets time when the assignment was created in UTC.
- descendant
Behavior String | DescendantBehavior - The behavior of a policy on descendant resources.
- policy
Dev
Ops Policy Descriptor - Condensed information to identify a DevOps Policy resource.
- resource
Id String - Gets or sets the Azure resource id.
- assigned
At string - Gets or sets time when the assignment was created in UTC.
- descendant
Behavior string | DescendantBehavior - The behavior of a policy on descendant resources.
- policy
Dev
Ops Policy Descriptor - Condensed information to identify a DevOps Policy resource.
- resource
Id string - Gets or sets the Azure resource id.
- assigned_
at str - Gets or sets time when the assignment was created in UTC.
- descendant_
behavior str | DescendantBehavior - The behavior of a policy on descendant resources.
- policy
Dev
Ops Policy Descriptor - Condensed information to identify a DevOps Policy resource.
- resource_
id str - Gets or sets the Azure resource id.
- assigned
At String - Gets or sets time when the assignment was created in UTC.
- descendant
Behavior String | "Unknown" | "Override" | "FallBack" - The behavior of a policy on descendant resources.
- policy Property Map
- Condensed information to identify a DevOps Policy resource.
- resource
Id String - Gets or sets the Azure resource id.
DevOpsPolicyAssignmentPropertiesResponse, DevOpsPolicyAssignmentPropertiesResponseArgs
- Provisioning
State string The provisioning state of the resource.
Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
- Provisioning
Status stringMessage - Gets the resource status message.
- Provisioning
Status stringUpdate Time Utc - Gets the time when resource was last checked.
- Assigned
At string - Gets or sets time when the assignment was created in UTC.
- Descendant
Behavior string - The behavior of a policy on descendant resources.
- Policy
Pulumi.
Azure Native. Security. Inputs. Dev Ops Policy Descriptor Response - Condensed information to identify a DevOps Policy resource.
- Resource
Id string - Gets or sets the Azure resource id.
- Provisioning
State string The provisioning state of the resource.
Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
- Provisioning
Status stringMessage - Gets the resource status message.
- Provisioning
Status stringUpdate Time Utc - Gets the time when resource was last checked.
- Assigned
At string - Gets or sets time when the assignment was created in UTC.
- Descendant
Behavior string - The behavior of a policy on descendant resources.
- Policy
Dev
Ops Policy Descriptor Response - Condensed information to identify a DevOps Policy resource.
- Resource
Id string - Gets or sets the Azure resource id.
- provisioning
State String The provisioning state of the resource.
Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
- provisioning
Status StringMessage - Gets the resource status message.
- provisioning
Status StringUpdate Time Utc - Gets the time when resource was last checked.
- assigned
At String - Gets or sets time when the assignment was created in UTC.
- descendant
Behavior String - The behavior of a policy on descendant resources.
- policy
Dev
Ops Policy Descriptor Response - Condensed information to identify a DevOps Policy resource.
- resource
Id String - Gets or sets the Azure resource id.
- provisioning
State string The provisioning state of the resource.
Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
- provisioning
Status stringMessage - Gets the resource status message.
- provisioning
Status stringUpdate Time Utc - Gets the time when resource was last checked.
- assigned
At string - Gets or sets time when the assignment was created in UTC.
- descendant
Behavior string - The behavior of a policy on descendant resources.
- policy
Dev
Ops Policy Descriptor Response - Condensed information to identify a DevOps Policy resource.
- resource
Id string - Gets or sets the Azure resource id.
- provisioning_
state str The provisioning state of the resource.
Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
- provisioning_
status_ strmessage - Gets the resource status message.
- provisioning_
status_ strupdate_ time_ utc - Gets the time when resource was last checked.
- assigned_
at str - Gets or sets time when the assignment was created in UTC.
- descendant_
behavior str - The behavior of a policy on descendant resources.
- policy
Dev
Ops Policy Descriptor Response - Condensed information to identify a DevOps Policy resource.
- resource_
id str - Gets or sets the Azure resource id.
- provisioning
State String The provisioning state of the resource.
Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
- provisioning
Status StringMessage - Gets the resource status message.
- provisioning
Status StringUpdate Time Utc - Gets the time when resource was last checked.
- assigned
At String - Gets or sets time when the assignment was created in UTC.
- descendant
Behavior String - The behavior of a policy on descendant resources.
- policy Property Map
- Condensed information to identify a DevOps Policy resource.
- resource
Id String - Gets or sets the Azure resource id.
DevOpsPolicyDescriptor, DevOpsPolicyDescriptorArgs
- Policy
Id string - Gets or sets the policy GUID.
- Policy
Name string - Gets or sets the policy name.
- Policy
Type string | Pulumi.Azure Native. Security. Dev Ops Policy Type - DevOps Policy resource types.
- Policy
Version string - Gets or sets the version.
- Policy
Id string - Gets or sets the policy GUID.
- Policy
Name string - Gets or sets the policy name.
- Policy
Type string | DevOps Policy Type - DevOps Policy resource types.
- Policy
Version string - Gets or sets the version.
- policy
Id String - Gets or sets the policy GUID.
- policy
Name String - Gets or sets the policy name.
- policy
Type String | DevOps Policy Type - DevOps Policy resource types.
- policy
Version String - Gets or sets the version.
- policy
Id string - Gets or sets the policy GUID.
- policy
Name string - Gets or sets the policy name.
- policy
Type string | DevOps Policy Type - DevOps Policy resource types.
- policy
Version string - Gets or sets the version.
- policy_
id str - Gets or sets the policy GUID.
- policy_
name str - Gets or sets the policy name.
- policy_
type str | DevOps Policy Type - DevOps Policy resource types.
- policy_
version str - Gets or sets the version.
- policy
Id String - Gets or sets the policy GUID.
- policy
Name String - Gets or sets the policy name.
- policy
Type String | "Unknown" | "Pipeline" - DevOps Policy resource types.
- policy
Version String - Gets or sets the version.
DevOpsPolicyDescriptorResponse, DevOpsPolicyDescriptorResponseArgs
- Policy
Id string - Gets or sets the policy GUID.
- Policy
Name string - Gets or sets the policy name.
- Policy
Type string - DevOps Policy resource types.
- Policy
Version string - Gets or sets the version.
- Policy
Id string - Gets or sets the policy GUID.
- Policy
Name string - Gets or sets the policy name.
- Policy
Type string - DevOps Policy resource types.
- Policy
Version string - Gets or sets the version.
- policy
Id String - Gets or sets the policy GUID.
- policy
Name String - Gets or sets the policy name.
- policy
Type String - DevOps Policy resource types.
- policy
Version String - Gets or sets the version.
- policy
Id string - Gets or sets the policy GUID.
- policy
Name string - Gets or sets the policy name.
- policy
Type string - DevOps Policy resource types.
- policy
Version string - Gets or sets the version.
- policy_
id str - Gets or sets the policy GUID.
- policy_
name str - Gets or sets the policy name.
- policy_
type str - DevOps Policy resource types.
- policy_
version str - Gets or sets the version.
- policy
Id String - Gets or sets the policy GUID.
- policy
Name String - Gets or sets the policy name.
- policy
Type String - DevOps Policy resource types.
- policy
Version String - Gets or sets the version.
DevOpsPolicyType, DevOpsPolicyTypeArgs
- Unknown
- Unknown
- Pipeline
- Pipeline
- Dev
Ops Policy Type Unknown - Unknown
- Dev
Ops Policy Type Pipeline - Pipeline
- Unknown
- Unknown
- Pipeline
- Pipeline
- Unknown
- Unknown
- Pipeline
- Pipeline
- UNKNOWN
- Unknown
- PIPELINE
- Pipeline
- "Unknown"
- Unknown
- "Pipeline"
- Pipeline
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:security:DevOpsPolicyAssignment 5ec87f43-62d8-437b-8f46-4c8d4032cf6d /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments/{policyAssignmentId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0