1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getStandardAssignment
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.security.getStandardAssignment

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.73.0 published on Wednesday, Nov 20, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:security:getStandardAssignment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceId string
    The identifier of the resource.
    StandardAssignmentName string
    The standard assignments assignment key - unique key for the standard assignment
    ResourceId string
    The identifier of the resource.
    StandardAssignmentName string
    The standard assignments assignment key - unique key for the standard assignment
    resourceId String
    The identifier of the resource.
    standardAssignmentName String
    The standard assignments assignment key - unique key for the standard assignment
    resourceId string
    The identifier of the resource.
    standardAssignmentName string
    The standard assignments assignment key - unique key for the standard assignment
    resource_id str
    The identifier of the resource.
    standard_assignment_name str
    The standard assignments assignment key - unique key for the standard assignment
    resourceId String
    The identifier of the resource.
    standardAssignmentName String
    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.AzureNative.Security.Outputs.AssignedStandardItemResponse
    Standard item with key as applied to this standard assignment over the given scope
    AttestationData Pulumi.AzureNative.Security.Outputs.StandardAssignmentPropertiesResponseAttestationData
    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.AzureNative.Security.Outputs.StandardAssignmentPropertiesResponseExemptionData
    Additional data about assignment that has Exempt effect
    ExpiresOn string
    Expiration date of this assignment as a full ISO date
    Metadata Pulumi.AzureNative.Security.Outputs.StandardAssignmentMetadataResponse
    The standard assignment metadata.
    Id string
    Resource Id
    Name string
    Resource name
    Type string
    Resource type
    AssignedStandard AssignedStandardItemResponse
    Standard item with key as applied to this standard assignment over the given scope
    AttestationData StandardAssignmentPropertiesResponseAttestationData
    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 StandardAssignmentPropertiesResponseExemptionData
    Additional data about assignment that has Exempt effect
    ExpiresOn string
    Expiration date of this assignment as a full ISO date
    Metadata StandardAssignmentMetadataResponse
    The standard assignment metadata.
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    assignedStandard AssignedStandardItemResponse
    Standard item with key as applied to this standard assignment over the given scope
    attestationData StandardAssignmentPropertiesResponseAttestationData
    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 StandardAssignmentPropertiesResponseExemptionData
    Additional data about assignment that has Exempt effect
    expiresOn String
    Expiration date of this assignment as a full ISO date
    metadata StandardAssignmentMetadataResponse
    The standard assignment metadata.
    id string
    Resource Id
    name string
    Resource name
    type string
    Resource type
    assignedStandard AssignedStandardItemResponse
    Standard item with key as applied to this standard assignment over the given scope
    attestationData StandardAssignmentPropertiesResponseAttestationData
    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 StandardAssignmentPropertiesResponseExemptionData
    Additional data about assignment that has Exempt effect
    expiresOn string
    Expiration date of this assignment as a full ISO date
    metadata StandardAssignmentMetadataResponse
    The standard assignment metadata.
    id str
    Resource Id
    name str
    Resource name
    type str
    Resource type
    assigned_standard AssignedStandardItemResponse
    Standard item with key as applied to this standard assignment over the given scope
    attestation_data StandardAssignmentPropertiesResponseAttestationData
    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 StandardAssignmentPropertiesResponseExemptionData
    Additional data about assignment that has Exempt effect
    expires_on str
    Expiration date of this assignment as a full ISO date
    metadata StandardAssignmentMetadataResponse
    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
    LastUpdatedBy string
    Standard assignment last updated by object id (GUID)
    LastUpdatedOn string
    Standard assignment last update date
    CreatedBy string
    Standard assignment Created by object id (GUID)
    CreatedOn string
    Standard assignment creation date
    LastUpdatedBy string
    Standard assignment last updated by object id (GUID)
    LastUpdatedOn string
    Standard assignment last update date
    createdBy String
    Standard assignment Created by object id (GUID)
    createdOn String
    Standard assignment creation date
    lastUpdatedBy String
    Standard assignment last updated by object id (GUID)
    lastUpdatedOn String
    Standard assignment last update date
    createdBy string
    Standard assignment Created by object id (GUID)
    createdOn string
    Standard assignment creation date
    lastUpdatedBy string
    Standard assignment last updated by object id (GUID)
    lastUpdatedOn string
    Standard assignment last update date
    created_by str
    Standard assignment Created by object id (GUID)
    created_on str
    Standard assignment creation date
    last_updated_by str
    Standard assignment last updated by object id (GUID)
    last_updated_on str
    Standard assignment last update date
    createdBy String
    Standard assignment Created by object id (GUID)
    createdOn String
    Standard assignment creation date
    lastUpdatedBy String
    Standard assignment last updated by object id (GUID)
    lastUpdatedOn String
    Standard assignment last update date

    StandardAssignmentPropertiesResponseAttestationData

    ComplianceDate string
    Attestation compliance date
    AssignedAssessment Pulumi.AzureNative.Security.Inputs.AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    ComplianceState string
    Attest category of this assignment
    Evidence List<Pulumi.AzureNative.Security.Inputs.AttestationEvidenceResponse>
    Array of links to attestation evidence
    ComplianceDate string
    Attestation compliance date
    AssignedAssessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    ComplianceState string
    Attest category of this assignment
    Evidence []AttestationEvidenceResponse
    Array of links to attestation evidence
    complianceDate String
    Attestation compliance date
    assignedAssessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    complianceState String
    Attest category of this assignment
    evidence List<AttestationEvidenceResponse>
    Array of links to attestation evidence
    complianceDate string
    Attestation compliance date
    assignedAssessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    complianceState string
    Attest category of this assignment
    evidence AttestationEvidenceResponse[]
    Array of links to attestation evidence
    compliance_date str
    Attestation compliance date
    assigned_assessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    compliance_state str
    Attest category of this assignment
    evidence Sequence[AttestationEvidenceResponse]
    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.AzureNative.Security.Inputs.AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    ExemptionCategory string
    Exemption category of this assignment
    AssignedAssessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    ExemptionCategory string
    Exemption category of this assignment
    assignedAssessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    exemptionCategory String
    Exemption category of this assignment
    assignedAssessment AssignedAssessmentItemResponse
    Component item with key as applied to this standard assignment over the given scope
    exemptionCategory string
    Exemption category of this assignment
    assigned_assessment AssignedAssessmentItemResponse
    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
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi