1. Packages
  2. Azure Native
  3. API Docs
  4. policyinsights
  5. getAttestationAtResourceGroup
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.policyinsights.getAttestationAtResourceGroup

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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Gets an existing attestation at resource group scope. Azure REST API version: 2022-09-01.

    Using getAttestationAtResourceGroup

    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 getAttestationAtResourceGroup(args: GetAttestationAtResourceGroupArgs, opts?: InvokeOptions): Promise<GetAttestationAtResourceGroupResult>
    function getAttestationAtResourceGroupOutput(args: GetAttestationAtResourceGroupOutputArgs, opts?: InvokeOptions): Output<GetAttestationAtResourceGroupResult>
    def get_attestation_at_resource_group(attestation_name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetAttestationAtResourceGroupResult
    def get_attestation_at_resource_group_output(attestation_name: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetAttestationAtResourceGroupResult]
    func LookupAttestationAtResourceGroup(ctx *Context, args *LookupAttestationAtResourceGroupArgs, opts ...InvokeOption) (*LookupAttestationAtResourceGroupResult, error)
    func LookupAttestationAtResourceGroupOutput(ctx *Context, args *LookupAttestationAtResourceGroupOutputArgs, opts ...InvokeOption) LookupAttestationAtResourceGroupResultOutput

    > Note: This function is named LookupAttestationAtResourceGroup in the Go SDK.

    public static class GetAttestationAtResourceGroup 
    {
        public static Task<GetAttestationAtResourceGroupResult> InvokeAsync(GetAttestationAtResourceGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetAttestationAtResourceGroupResult> Invoke(GetAttestationAtResourceGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAttestationAtResourceGroupResult> getAttestationAtResourceGroup(GetAttestationAtResourceGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:policyinsights:getAttestationAtResourceGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AttestationName string
    The name of the attestation.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AttestationName string
    The name of the attestation.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    attestationName String
    The name of the attestation.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    attestationName string
    The name of the attestation.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    attestation_name str
    The name of the attestation.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    attestationName String
    The name of the attestation.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getAttestationAtResourceGroup 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}
    LastComplianceStateChangeAt string
    The time the compliance state was last changed in this attestation.
    Name string
    The name of the resource
    PolicyAssignmentId string
    The resource ID of the policy assignment that the attestation is setting the state for.
    ProvisioningState string
    The status of the attestation.
    SystemData Pulumi.AzureNative.PolicyInsights.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AssessmentDate string
    The time the evidence was assessed
    Comments string
    Comments describing why this attestation was created.
    ComplianceState string
    The compliance state that should be set on the resource.
    Evidence List<Pulumi.AzureNative.PolicyInsights.Outputs.AttestationEvidenceResponse>
    The evidence supporting the compliance state set in this attestation.
    ExpiresOn string
    The time the compliance state should expire.
    Metadata object
    Additional metadata for this attestation
    Owner string
    The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
    PolicyDefinitionReferenceId string
    The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastComplianceStateChangeAt string
    The time the compliance state was last changed in this attestation.
    Name string
    The name of the resource
    PolicyAssignmentId string
    The resource ID of the policy assignment that the attestation is setting the state for.
    ProvisioningState string
    The status of the attestation.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AssessmentDate string
    The time the evidence was assessed
    Comments string
    Comments describing why this attestation was created.
    ComplianceState string
    The compliance state that should be set on the resource.
    Evidence []AttestationEvidenceResponse
    The evidence supporting the compliance state set in this attestation.
    ExpiresOn string
    The time the compliance state should expire.
    Metadata interface{}
    Additional metadata for this attestation
    Owner string
    The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
    PolicyDefinitionReferenceId string
    The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastComplianceStateChangeAt String
    The time the compliance state was last changed in this attestation.
    name String
    The name of the resource
    policyAssignmentId String
    The resource ID of the policy assignment that the attestation is setting the state for.
    provisioningState String
    The status of the attestation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assessmentDate String
    The time the evidence was assessed
    comments String
    Comments describing why this attestation was created.
    complianceState String
    The compliance state that should be set on the resource.
    evidence List<AttestationEvidenceResponse>
    The evidence supporting the compliance state set in this attestation.
    expiresOn String
    The time the compliance state should expire.
    metadata Object
    Additional metadata for this attestation
    owner String
    The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
    policyDefinitionReferenceId String
    The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastComplianceStateChangeAt string
    The time the compliance state was last changed in this attestation.
    name string
    The name of the resource
    policyAssignmentId string
    The resource ID of the policy assignment that the attestation is setting the state for.
    provisioningState string
    The status of the attestation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assessmentDate string
    The time the evidence was assessed
    comments string
    Comments describing why this attestation was created.
    complianceState string
    The compliance state that should be set on the resource.
    evidence AttestationEvidenceResponse[]
    The evidence supporting the compliance state set in this attestation.
    expiresOn string
    The time the compliance state should expire.
    metadata any
    Additional metadata for this attestation
    owner string
    The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
    policyDefinitionReferenceId string
    The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    last_compliance_state_change_at str
    The time the compliance state was last changed in this attestation.
    name str
    The name of the resource
    policy_assignment_id str
    The resource ID of the policy assignment that the attestation is setting the state for.
    provisioning_state str
    The status of the attestation.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assessment_date str
    The time the evidence was assessed
    comments str
    Comments describing why this attestation was created.
    compliance_state str
    The compliance state that should be set on the resource.
    evidence Sequence[AttestationEvidenceResponse]
    The evidence supporting the compliance state set in this attestation.
    expires_on str
    The time the compliance state should expire.
    metadata Any
    Additional metadata for this attestation
    owner str
    The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
    policy_definition_reference_id str
    The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastComplianceStateChangeAt String
    The time the compliance state was last changed in this attestation.
    name String
    The name of the resource
    policyAssignmentId String
    The resource ID of the policy assignment that the attestation is setting the state for.
    provisioningState String
    The status of the attestation.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assessmentDate String
    The time the evidence was assessed
    comments String
    Comments describing why this attestation was created.
    complianceState String
    The compliance state that should be set on the resource.
    evidence List<Property Map>
    The evidence supporting the compliance state set in this attestation.
    expiresOn String
    The time the compliance state should expire.
    metadata Any
    Additional metadata for this attestation
    owner String
    The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
    policyDefinitionReferenceId String
    The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.

    Supporting Types

    AttestationEvidenceResponse

    Description string
    The description for this piece of evidence.
    SourceUri string
    The URI location of the evidence.
    Description string
    The description for this piece of evidence.
    SourceUri string
    The URI location of the evidence.
    description String
    The description for this piece of evidence.
    sourceUri String
    The URI location of the evidence.
    description string
    The description for this piece of evidence.
    sourceUri string
    The URI location of the evidence.
    description str
    The description for this piece of evidence.
    source_uri str
    The URI location of the evidence.
    description String
    The description for this piece of evidence.
    sourceUri String
    The URI location of the evidence.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi