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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getDevOpsPolicyAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Policy
Assignment stringId - The policy assignment Id.
- 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.
- 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.
- 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.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- security
Connector 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.
- policy
Assignment StringId - The policy assignment Id.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- security
Connector 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.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Properties
Dev
Ops 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 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
Dev
Ops 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 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
Dev
Ops 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 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
Dev
Ops 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.
- 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
DevOpsPolicyAssignmentPropertiesResponse
- 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.
DevOpsPolicyDescriptorResponse
- 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.
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0