1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getDevOpsPolicyAssignment
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.security.getDevOpsPolicyAssignment

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    DevOps Policy assignment resource. Azure REST API version: 2024-05-15-preview.

    Using getDevOpsPolicyAssignment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDevOpsPolicyAssignment(args: GetDevOpsPolicyAssignmentArgs, opts?: InvokeOptions): Promise<GetDevOpsPolicyAssignmentResult>
    function getDevOpsPolicyAssignmentOutput(args: GetDevOpsPolicyAssignmentOutputArgs, opts?: InvokeOptions): Output<GetDevOpsPolicyAssignmentResult>
    def get_dev_ops_policy_assignment(policy_assignment_id: Optional[str] = None,
                                      resource_group_name: Optional[str] = None,
                                      security_connector_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetDevOpsPolicyAssignmentResult
    def get_dev_ops_policy_assignment_output(policy_assignment_id: Optional[pulumi.Input[str]] = None,
                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                      security_connector_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetDevOpsPolicyAssignmentResult]
    func LookupDevOpsPolicyAssignment(ctx *Context, args *LookupDevOpsPolicyAssignmentArgs, opts ...InvokeOption) (*LookupDevOpsPolicyAssignmentResult, error)
    func LookupDevOpsPolicyAssignmentOutput(ctx *Context, args *LookupDevOpsPolicyAssignmentOutputArgs, opts ...InvokeOption) LookupDevOpsPolicyAssignmentResultOutput

    > Note: This function is named LookupDevOpsPolicyAssignment in the Go SDK.

    public static class GetDevOpsPolicyAssignment 
    {
        public static Task<GetDevOpsPolicyAssignmentResult> InvokeAsync(GetDevOpsPolicyAssignmentArgs args, InvokeOptions? opts = null)
        public static Output<GetDevOpsPolicyAssignmentResult> Invoke(GetDevOpsPolicyAssignmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDevOpsPolicyAssignmentResult> getDevOpsPolicyAssignment(GetDevOpsPolicyAssignmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:security:getDevOpsPolicyAssignment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PolicyAssignmentId string
    The policy assignment Id.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SecurityConnectorName string
    The security connector name.
    PolicyAssignmentId string
    The policy assignment Id.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SecurityConnectorName string
    The security connector name.
    policyAssignmentId String
    The policy assignment Id.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    securityConnectorName String
    The security connector name.
    policyAssignmentId string
    The policy assignment Id.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    securityConnectorName string
    The security connector name.
    policy_assignment_id str
    The policy assignment Id.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    security_connector_name str
    The security connector name.
    policyAssignmentId String
    The policy assignment Id.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    securityConnectorName String
    The security connector name.

    getDevOpsPolicyAssignment Result

    The following output properties are available:

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    Properties Pulumi.AzureNative.Security.Outputs.DevOpsPolicyAssignmentPropertiesResponse
    Properties of the DevOps policy assignment resource.
    SystemData Pulumi.AzureNative.Security.Outputs.SystemDataResponse
    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
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    Properties DevOpsPolicyAssignmentPropertiesResponse
    Properties of the DevOps policy assignment resource.
    SystemData SystemDataResponse
    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
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    properties DevOpsPolicyAssignmentPropertiesResponse
    Properties of the DevOps policy assignment resource.
    systemData SystemDataResponse
    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
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name string
    The name of the resource
    properties DevOpsPolicyAssignmentPropertiesResponse
    Properties of the DevOps policy assignment resource.
    systemData SystemDataResponse
    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
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name str
    The name of the resource
    properties DevOpsPolicyAssignmentPropertiesResponse
    Properties of the DevOps policy assignment resource.
    system_data SystemDataResponse
    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
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    properties Property Map
    Properties of the DevOps policy assignment 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

    DevOpsPolicyAssignmentPropertiesResponse

    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.

    ProvisioningStatusMessage string
    Gets the resource status message.
    ProvisioningStatusUpdateTimeUtc string
    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.AzureNative.Security.Inputs.DevOpsPolicyDescriptorResponse
    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.

    ProvisioningStatusMessage string
    Gets the resource status message.
    ProvisioningStatusUpdateTimeUtc string
    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 DevOpsPolicyDescriptorResponse
    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.

    provisioningStatusMessage String
    Gets the resource status message.
    provisioningStatusUpdateTimeUtc String
    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 DevOpsPolicyDescriptorResponse
    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.

    provisioningStatusMessage string
    Gets the resource status message.
    provisioningStatusUpdateTimeUtc string
    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 DevOpsPolicyDescriptorResponse
    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_message str
    Gets the resource status message.
    provisioning_status_update_time_utc str
    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 DevOpsPolicyDescriptorResponse
    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.

    provisioningStatusMessage String
    Gets the resource status message.
    provisioningStatusUpdateTimeUtc String
    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.

    DevOpsPolicyDescriptorResponse

    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.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi