1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getStandardAssignment
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.security.getStandardAssignment

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

This operation retrieves a single standard assignment, given its name and the scope it was created at.

Uses 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>
Copy
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]
Copy
func LookupStandardAssignment(ctx *Context, args *LookupStandardAssignmentArgs, opts ...InvokeOption) (*LookupStandardAssignmentResult, error)
func LookupStandardAssignmentOutput(ctx *Context, args *LookupStandardAssignmentOutputArgs, opts ...InvokeOption) LookupStandardAssignmentResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetStandardAssignmentResult> getStandardAssignment(GetStandardAssignmentArgs args, InvokeOptions options)
public static Output<GetStandardAssignmentResult> getStandardAssignment(GetStandardAssignmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:security:getStandardAssignment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
StandardAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
The standard assignments assignment key - unique key for the standard assignment
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
StandardAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
The standard assignments assignment key - unique key for the standard assignment
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
standardAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
The standard assignments assignment key - unique key for the standard assignment
resourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
standardAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
The standard assignments assignment key - unique key for the standard assignment
resource_id
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
standard_assignment_name
This property is required.
Changes to this property will trigger replacement.
str
The standard assignments assignment key - unique key for the standard assignment
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
standardAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
The standard assignments assignment key - unique key for the standard assignment

getStandardAssignment Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
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.
AzureApiVersion string
The Azure API version of the resource.
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.
azureApiVersion String
The Azure API version of the resource.
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.
azureApiVersion string
The Azure API version of the resource.
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.
azure_api_version str
The Azure API version of the resource.
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.
azureApiVersion String
The Azure API version of the resource.
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 This property is required. string
Standard assignment Created by object id (GUID)
CreatedOn This property is required. string
Standard assignment creation date
LastUpdatedBy This property is required. string
Standard assignment last updated by object id (GUID)
LastUpdatedOn This property is required. string
Standard assignment last update date
CreatedBy This property is required. string
Standard assignment Created by object id (GUID)
CreatedOn This property is required. string
Standard assignment creation date
LastUpdatedBy This property is required. string
Standard assignment last updated by object id (GUID)
LastUpdatedOn This property is required. string
Standard assignment last update date
createdBy This property is required. String
Standard assignment Created by object id (GUID)
createdOn This property is required. String
Standard assignment creation date
lastUpdatedBy This property is required. String
Standard assignment last updated by object id (GUID)
lastUpdatedOn This property is required. String
Standard assignment last update date
createdBy This property is required. string
Standard assignment Created by object id (GUID)
createdOn This property is required. string
Standard assignment creation date
lastUpdatedBy This property is required. string
Standard assignment last updated by object id (GUID)
lastUpdatedOn This property is required. string
Standard assignment last update date
created_by This property is required. str
Standard assignment Created by object id (GUID)
created_on This property is required. str
Standard assignment creation date
last_updated_by This property is required. str
Standard assignment last updated by object id (GUID)
last_updated_on This property is required. str
Standard assignment last update date
createdBy This property is required. String
Standard assignment Created by object id (GUID)
createdOn This property is required. String
Standard assignment creation date
lastUpdatedBy This property is required. String
Standard assignment last updated by object id (GUID)
lastUpdatedOn This property is required. String
Standard assignment last update date

StandardAssignmentPropertiesResponseAttestationData

ComplianceDate This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi