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 * 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",
});
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")
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:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SecurityConnector stringName 
- The security connector name.
- PolicyAssignment stringId 
- The policy assignment Id.
- Properties
Pulumi.Azure Native. Security. Inputs. Dev Ops Policy Assignment Properties 
- Properties of the DevOps policy assignment resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SecurityConnector stringName 
- The security connector name.
- PolicyAssignment stringId 
- The policy assignment Id.
- Properties
DevOps Policy Assignment Properties Args 
- Properties of the DevOps policy assignment resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- securityConnector StringName 
- The security connector name.
- policyAssignment StringId 
- The policy assignment Id.
- properties
DevOps Policy Assignment Properties 
- Properties of the DevOps policy assignment resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- securityConnector stringName 
- The security connector name.
- policyAssignment stringId 
- The policy assignment Id.
- properties
DevOps 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
DevOps Policy Assignment Properties Args 
- Properties of the DevOps policy assignment resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- securityConnector StringName 
- The security connector name.
- policyAssignment 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
- SystemData 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
- SystemData 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
- systemData 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
- systemData 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
- systemData 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
- FallBack 
- FallBack
- DescendantBehavior Unknown 
- Unknown
- DescendantBehavior Override 
- Override
- DescendantBehavior Fall Back 
- FallBack
- Unknown
- Unknown
- Override
- Override
- FallBack 
- FallBack
- Unknown
- Unknown
- Override
- Override
- FallBack 
- FallBack
- UNKNOWN
- Unknown
- OVERRIDE
- Override
- FALL_BACK
- FallBack
- "Unknown"
- Unknown
- "Override"
- Override
- "FallBack" 
- FallBack
DevOpsPolicyAssignmentProperties, DevOpsPolicyAssignmentPropertiesArgs          
- AssignedAt string
- Gets or sets time when the assignment was created in UTC.
- DescendantBehavior 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.
- ResourceId string
- Gets or sets the Azure resource id.
- AssignedAt string
- Gets or sets time when the assignment was created in UTC.
- DescendantBehavior string | DescendantBehavior 
- The behavior of a policy on descendant resources.
- Policy
DevOps Policy Descriptor 
- Condensed information to identify a DevOps Policy resource.
- ResourceId string
- Gets or sets the Azure resource id.
- assignedAt String
- Gets or sets time when the assignment was created in UTC.
- descendantBehavior String | DescendantBehavior 
- The behavior of a policy on descendant resources.
- policy
DevOps Policy Descriptor 
- Condensed information to identify a DevOps Policy resource.
- resourceId String
- Gets or sets the Azure resource id.
- assignedAt string
- Gets or sets time when the assignment was created in UTC.
- descendantBehavior string | DescendantBehavior 
- The behavior of a policy on descendant resources.
- policy
DevOps Policy Descriptor 
- Condensed information to identify a DevOps Policy resource.
- resourceId 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
DevOps Policy Descriptor 
- Condensed information to identify a DevOps Policy resource.
- resource_id str
- Gets or sets the Azure resource id.
- assignedAt String
- Gets or sets time when the assignment was created in UTC.
- descendantBehavior String | "Unknown" | "Override" | "FallBack" 
- The behavior of a policy on descendant resources.
- policy Property Map
- Condensed information to identify a DevOps Policy resource.
- resourceId String
- Gets or sets the Azure resource id.
DevOpsPolicyAssignmentPropertiesResponse, DevOpsPolicyAssignmentPropertiesResponseArgs            
- ProvisioningState 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. 
- ProvisioningStatus stringMessage 
- Gets the resource status message.
- ProvisioningStatus stringUpdate Time Utc 
- Gets the time when resource was last checked.
- AssignedAt string
- Gets or sets time when the assignment was created in UTC.
- DescendantBehavior 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.
- ResourceId string
- Gets or sets the Azure resource id.
- ProvisioningState 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. 
- ProvisioningStatus stringMessage 
- Gets the resource status message.
- ProvisioningStatus stringUpdate Time Utc 
- Gets the time when resource was last checked.
- AssignedAt string
- Gets or sets time when the assignment was created in UTC.
- DescendantBehavior string
- The behavior of a policy on descendant resources.
- Policy
DevOps Policy Descriptor Response 
- Condensed information to identify a DevOps Policy resource.
- ResourceId string
- Gets or sets the Azure resource id.
- provisioningState 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. 
- provisioningStatus StringMessage 
- Gets the resource status message.
- provisioningStatus StringUpdate Time Utc 
- Gets the time when resource was last checked.
- assignedAt String
- Gets or sets time when the assignment was created in UTC.
- descendantBehavior String
- The behavior of a policy on descendant resources.
- policy
DevOps Policy Descriptor Response 
- Condensed information to identify a DevOps Policy resource.
- resourceId String
- Gets or sets the Azure resource id.
- provisioningState 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. 
- provisioningStatus stringMessage 
- Gets the resource status message.
- provisioningStatus stringUpdate Time Utc 
- Gets the time when resource was last checked.
- assignedAt string
- Gets or sets time when the assignment was created in UTC.
- descendantBehavior string
- The behavior of a policy on descendant resources.
- policy
DevOps Policy Descriptor Response 
- Condensed information to identify a DevOps Policy resource.
- resourceId 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
DevOps Policy Descriptor Response 
- Condensed information to identify a DevOps Policy resource.
- resource_id str
- Gets or sets the Azure resource id.
- provisioningState 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. 
- provisioningStatus StringMessage 
- Gets the resource status message.
- provisioningStatus StringUpdate Time Utc 
- Gets the time when resource was last checked.
- assignedAt String
- Gets or sets time when the assignment was created in UTC.
- descendantBehavior String
- The behavior of a policy on descendant resources.
- policy Property Map
- Condensed information to identify a DevOps Policy resource.
- resourceId String
- Gets or sets the Azure resource id.
DevOpsPolicyDescriptor, DevOpsPolicyDescriptorArgs        
- PolicyId string
- Gets or sets the policy GUID.
- PolicyName string
- Gets or sets the policy name.
- PolicyType string | Pulumi.Azure Native. Security. Dev Ops Policy Type 
- DevOps Policy resource types.
- PolicyVersion string
- Gets or sets the version.
- PolicyId string
- Gets or sets the policy GUID.
- PolicyName string
- Gets or sets the policy name.
- PolicyType string | DevOps Policy Type 
- DevOps Policy resource types.
- PolicyVersion string
- Gets or sets the version.
- policyId String
- Gets or sets the policy GUID.
- policyName String
- Gets or sets the policy name.
- policyType String | DevOps Policy Type 
- DevOps Policy resource types.
- policyVersion String
- Gets or sets the version.
- policyId string
- Gets or sets the policy GUID.
- policyName string
- Gets or sets the policy name.
- policyType string | DevOps Policy Type 
- DevOps Policy resource types.
- policyVersion 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.
- policyId String
- Gets or sets the policy GUID.
- policyName String
- Gets or sets the policy name.
- policyType String | "Unknown" | "Pipeline"
- DevOps Policy resource types.
- policyVersion String
- Gets or sets the version.
DevOpsPolicyDescriptorResponse, DevOpsPolicyDescriptorResponseArgs          
- PolicyId string
- Gets or sets the policy GUID.
- PolicyName string
- Gets or sets the policy name.
- PolicyType string
- DevOps Policy resource types.
- PolicyVersion string
- Gets or sets the version.
- PolicyId string
- Gets or sets the policy GUID.
- PolicyName string
- Gets or sets the policy name.
- PolicyType string
- DevOps Policy resource types.
- PolicyVersion string
- Gets or sets the version.
- policyId String
- Gets or sets the policy GUID.
- policyName String
- Gets or sets the policy name.
- policyType String
- DevOps Policy resource types.
- policyVersion String
- Gets or sets the version.
- policyId string
- Gets or sets the policy GUID.
- policyName string
- Gets or sets the policy name.
- policyType string
- DevOps Policy resource types.
- policyVersion 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.
- policyId String
- Gets or sets the policy GUID.
- policyName String
- Gets or sets the policy name.
- policyType String
- DevOps Policy resource types.
- policyVersion String
- Gets or sets the version.
DevOpsPolicyType, DevOpsPolicyTypeArgs        
- Unknown
- Unknown
- Pipeline
- Pipeline
- DevOps Policy Type Unknown 
- Unknown
- DevOps Policy Type Pipeline 
- Pipeline
- Unknown
- Unknown
- Pipeline
- Pipeline
- Unknown
- Unknown
- Pipeline
- Pipeline
- UNKNOWN
- Unknown
- PIPELINE
- Pipeline
- "Unknown"
- Unknown
- "Pipeline"
- Pipeline
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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