azure-native.security.getDevOpsPolicyAssignment
Explore with Pulumi AI
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)
public static Output<GetDevOpsPolicyAssignmentResult> getDevOpsPolicyAssignment(GetDevOpsPolicyAssignmentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:security:getDevOpsPolicyAssignment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PolicyAssignment stringId 
- The policy assignment Id.
- 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.
- 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.
- 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.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- securityConnector stringName 
- The security connector name.
- policy_assignment_ strid 
- The policy assignment Id.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- security_connector_ strname 
- The security connector name.
- policyAssignment StringId 
- The policy assignment Id.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- securityConnector StringName 
- 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.Azure Native. Security. Outputs. Dev Ops Policy Assignment Properties Response 
- Properties of the DevOps policy assignment 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Properties
DevOps Policy Assignment Properties Response 
- Properties of the DevOps policy assignment 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- properties
DevOps Policy Assignment Properties Response 
- Properties of the DevOps policy assignment 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- properties
DevOps Policy Assignment Properties Response 
- Properties of the DevOps policy assignment 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- properties
DevOps Policy Assignment Properties Response 
- Properties of the DevOps policy assignment 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
- 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. 
- 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.
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.
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0