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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.security.getStandardAssignment
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
This operation retrieves a single standard assignment, given its name and the scope it was created at. Azure REST API version: 2024-08-01.
Using getStandardAssignment
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 getStandardAssignment(args: GetStandardAssignmentArgs, opts?: InvokeOptions): Promise<GetStandardAssignmentResult>
function getStandardAssignmentOutput(args: GetStandardAssignmentOutputArgs, opts?: InvokeOptions): Output<GetStandardAssignmentResult>def get_standard_assignment(resource_id: Optional[str] = None,
                            standard_assignment_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetStandardAssignmentResult
def get_standard_assignment_output(resource_id: Optional[pulumi.Input[str]] = None,
                            standard_assignment_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetStandardAssignmentResult]func LookupStandardAssignment(ctx *Context, args *LookupStandardAssignmentArgs, opts ...InvokeOption) (*LookupStandardAssignmentResult, error)
func LookupStandardAssignmentOutput(ctx *Context, args *LookupStandardAssignmentOutputArgs, opts ...InvokeOption) LookupStandardAssignmentResultOutput> Note: This function is named LookupStandardAssignment in the Go SDK.
public static class GetStandardAssignment 
{
    public static Task<GetStandardAssignmentResult> InvokeAsync(GetStandardAssignmentArgs args, InvokeOptions? opts = null)
    public static Output<GetStandardAssignmentResult> Invoke(GetStandardAssignmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStandardAssignmentResult> getStandardAssignment(GetStandardAssignmentArgs args, InvokeOptions options)
public static Output<GetStandardAssignmentResult> getStandardAssignment(GetStandardAssignmentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:security:getStandardAssignment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceId string
- The identifier of the resource.
- StandardAssignment stringName 
- The standard assignments assignment key - unique key for the standard assignment
- ResourceId string
- The identifier of the resource.
- StandardAssignment stringName 
- The standard assignments assignment key - unique key for the standard assignment
- resourceId String
- The identifier of the resource.
- standardAssignment StringName 
- The standard assignments assignment key - unique key for the standard assignment
- resourceId string
- The identifier of the resource.
- standardAssignment stringName 
- The standard assignments assignment key - unique key for the standard assignment
- resource_id str
- The identifier of the resource.
- standard_assignment_ strname 
- The standard assignments assignment key - unique key for the standard assignment
- resourceId String
- The identifier of the resource.
- standardAssignment StringName 
- The standard assignments assignment key - unique key for the standard assignment
getStandardAssignment Result
The following output properties are available:
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- AssignedStandard Pulumi.Azure Native. Security. Outputs. Assigned Standard Item Response 
- Standard item with key as applied to this standard assignment over the given scope
- AttestationData Pulumi.Azure Native. Security. Outputs. Standard Assignment Properties Response Attestation Data 
- Additional data about assignment that has Attest effect
- Description string
- Description of the standardAssignment
- DisplayName string
- Display name of the standardAssignment
- Effect string
- Expected effect of this assignment (Audit/Exempt/Attest)
- ExcludedScopes List<string>
- Excluded scopes, filter out the descendants of the scope (on management scopes)
- ExemptionData Pulumi.Azure Native. Security. Outputs. Standard Assignment Properties Response Exemption Data 
- Additional data about assignment that has Exempt effect
- ExpiresOn string
- Expiration date of this assignment as a full ISO date
- Metadata
Pulumi.Azure Native. Security. Outputs. Standard Assignment Metadata Response 
- The standard assignment metadata.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- AssignedStandard AssignedStandard Item Response 
- Standard item with key as applied to this standard assignment over the given scope
- AttestationData StandardAssignment Properties Response Attestation Data 
- Additional data about assignment that has Attest effect
- Description string
- Description of the standardAssignment
- DisplayName string
- Display name of the standardAssignment
- Effect string
- Expected effect of this assignment (Audit/Exempt/Attest)
- ExcludedScopes []string
- Excluded scopes, filter out the descendants of the scope (on management scopes)
- ExemptionData StandardAssignment Properties Response Exemption Data 
- Additional data about assignment that has Exempt effect
- ExpiresOn string
- Expiration date of this assignment as a full ISO date
- Metadata
StandardAssignment Metadata Response 
- The standard assignment metadata.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- assignedStandard AssignedStandard Item Response 
- Standard item with key as applied to this standard assignment over the given scope
- attestationData StandardAssignment Properties Response Attestation Data 
- Additional data about assignment that has Attest effect
- description String
- Description of the standardAssignment
- displayName String
- Display name of the standardAssignment
- effect String
- Expected effect of this assignment (Audit/Exempt/Attest)
- excludedScopes List<String>
- Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemptionData StandardAssignment Properties Response Exemption Data 
- Additional data about assignment that has Exempt effect
- expiresOn String
- Expiration date of this assignment as a full ISO date
- metadata
StandardAssignment Metadata Response 
- The standard assignment metadata.
- id string
- Resource Id
- name string
- Resource name
- type string
- Resource type
- assignedStandard AssignedStandard Item Response 
- Standard item with key as applied to this standard assignment over the given scope
- attestationData StandardAssignment Properties Response Attestation Data 
- Additional data about assignment that has Attest effect
- description string
- Description of the standardAssignment
- displayName string
- Display name of the standardAssignment
- effect string
- Expected effect of this assignment (Audit/Exempt/Attest)
- excludedScopes string[]
- Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemptionData StandardAssignment Properties Response Exemption Data 
- Additional data about assignment that has Exempt effect
- expiresOn string
- Expiration date of this assignment as a full ISO date
- metadata
StandardAssignment Metadata Response 
- The standard assignment metadata.
- id str
- Resource Id
- name str
- Resource name
- type str
- Resource type
- assigned_standard AssignedStandard Item Response 
- Standard item with key as applied to this standard assignment over the given scope
- attestation_data StandardAssignment Properties Response Attestation Data 
- Additional data about assignment that has Attest effect
- description str
- Description of the standardAssignment
- display_name str
- Display name of the standardAssignment
- effect str
- Expected effect of this assignment (Audit/Exempt/Attest)
- excluded_scopes Sequence[str]
- Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemption_data StandardAssignment Properties Response Exemption Data 
- Additional data about assignment that has Exempt effect
- expires_on str
- Expiration date of this assignment as a full ISO date
- metadata
StandardAssignment Metadata Response 
- The standard assignment metadata.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- assignedStandard Property Map
- Standard item with key as applied to this standard assignment over the given scope
- attestationData Property Map
- Additional data about assignment that has Attest effect
- description String
- Description of the standardAssignment
- displayName String
- Display name of the standardAssignment
- effect String
- Expected effect of this assignment (Audit/Exempt/Attest)
- excludedScopes List<String>
- Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemptionData Property Map
- Additional data about assignment that has Exempt effect
- expiresOn String
- Expiration date of this assignment as a full ISO date
- metadata Property Map
- The standard assignment metadata.
Supporting Types
AssignedAssessmentItemResponse   
- AssessmentKey string
- Unique key to a security assessment object
- AssessmentKey string
- Unique key to a security assessment object
- assessmentKey String
- Unique key to a security assessment object
- assessmentKey string
- Unique key to a security assessment object
- assessment_key str
- Unique key to a security assessment object
- assessmentKey String
- Unique key to a security assessment object
AssignedStandardItemResponse   
- Id string
- Full resourceId of the Microsoft.Security/standard object
- Id string
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
- id string
- Full resourceId of the Microsoft.Security/standard object
- id str
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
AttestationEvidenceResponse  
- Description string
- The description of the evidence
- SourceUrl string
- The source url of the evidence
- Description string
- The description of the evidence
- SourceUrl string
- The source url of the evidence
- description String
- The description of the evidence
- sourceUrl String
- The source url of the evidence
- description string
- The description of the evidence
- sourceUrl string
- The source url of the evidence
- description str
- The description of the evidence
- source_url str
- The source url of the evidence
- description String
- The description of the evidence
- sourceUrl String
- The source url of the evidence
StandardAssignmentMetadataResponse   
- CreatedBy string
- Standard assignment Created by object id (GUID)
- CreatedOn string
- Standard assignment creation date
- LastUpdated stringBy 
- Standard assignment last updated by object id (GUID)
- LastUpdated stringOn 
- Standard assignment last update date
- CreatedBy string
- Standard assignment Created by object id (GUID)
- CreatedOn string
- Standard assignment creation date
- LastUpdated stringBy 
- Standard assignment last updated by object id (GUID)
- LastUpdated stringOn 
- Standard assignment last update date
- createdBy String
- Standard assignment Created by object id (GUID)
- createdOn String
- Standard assignment creation date
- lastUpdated StringBy 
- Standard assignment last updated by object id (GUID)
- lastUpdated StringOn 
- Standard assignment last update date
- createdBy string
- Standard assignment Created by object id (GUID)
- createdOn string
- Standard assignment creation date
- lastUpdated stringBy 
- Standard assignment last updated by object id (GUID)
- lastUpdated stringOn 
- Standard assignment last update date
- created_by str
- Standard assignment Created by object id (GUID)
- created_on str
- Standard assignment creation date
- last_updated_ strby 
- Standard assignment last updated by object id (GUID)
- last_updated_ stron 
- Standard assignment last update date
- createdBy String
- Standard assignment Created by object id (GUID)
- createdOn String
- Standard assignment creation date
- lastUpdated StringBy 
- Standard assignment last updated by object id (GUID)
- lastUpdated StringOn 
- Standard assignment last update date
StandardAssignmentPropertiesResponseAttestationData     
- ComplianceDate string
- Attestation compliance date
- AssignedAssessment Pulumi.Azure Native. Security. Inputs. Assigned Assessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- ComplianceState string
- Attest category of this assignment
- Evidence
List<Pulumi.Azure Native. Security. Inputs. Attestation Evidence Response> 
- Array of links to attestation evidence
- ComplianceDate string
- Attestation compliance date
- AssignedAssessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- ComplianceState string
- Attest category of this assignment
- Evidence
[]AttestationEvidence Response 
- Array of links to attestation evidence
- complianceDate String
- Attestation compliance date
- assignedAssessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- complianceState String
- Attest category of this assignment
- evidence
List<AttestationEvidence Response> 
- Array of links to attestation evidence
- complianceDate string
- Attestation compliance date
- assignedAssessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- complianceState string
- Attest category of this assignment
- evidence
AttestationEvidence Response[] 
- Array of links to attestation evidence
- compliance_date str
- Attestation compliance date
- assigned_assessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- compliance_state str
- Attest category of this assignment
- evidence
Sequence[AttestationEvidence Response] 
- Array of links to attestation evidence
- complianceDate String
- Attestation compliance date
- assignedAssessment Property Map
- Component item with key as applied to this standard assignment over the given scope
- complianceState String
- Attest category of this assignment
- evidence List<Property Map>
- Array of links to attestation evidence
StandardAssignmentPropertiesResponseExemptionData     
- AssignedAssessment Pulumi.Azure Native. Security. Inputs. Assigned Assessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- ExemptionCategory string
- Exemption category of this assignment
- AssignedAssessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- ExemptionCategory string
- Exemption category of this assignment
- assignedAssessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- exemptionCategory String
- Exemption category of this assignment
- assignedAssessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- exemptionCategory string
- Exemption category of this assignment
- assigned_assessment AssignedAssessment Item Response 
- Component item with key as applied to this standard assignment over the given scope
- exemption_category str
- Exemption category of this assignment
- assignedAssessment Property Map
- Component item with key as applied to this standard assignment over the given scope
- exemptionCategory String
- Exemption category of this assignment
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi