1. Packages
  2. Azure Native v1
  3. API Docs
  4. policyinsights
  5. getAttestationAtSubscription
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.policyinsights.getAttestationAtSubscription

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets an existing attestation at subscription scope. API Version: 2021-01-01.

    Using getAttestationAtSubscription

    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 getAttestationAtSubscription(args: GetAttestationAtSubscriptionArgs, opts?: InvokeOptions): Promise<GetAttestationAtSubscriptionResult>
    function getAttestationAtSubscriptionOutput(args: GetAttestationAtSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetAttestationAtSubscriptionResult>
    def get_attestation_at_subscription(attestation_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetAttestationAtSubscriptionResult
    def get_attestation_at_subscription_output(attestation_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetAttestationAtSubscriptionResult]
    func LookupAttestationAtSubscription(ctx *Context, args *LookupAttestationAtSubscriptionArgs, opts ...InvokeOption) (*LookupAttestationAtSubscriptionResult, error)
    func LookupAttestationAtSubscriptionOutput(ctx *Context, args *LookupAttestationAtSubscriptionOutputArgs, opts ...InvokeOption) LookupAttestationAtSubscriptionResultOutput

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

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

    The following arguments are supported:

    AttestationName string
    The name of the attestation.
    AttestationName string
    The name of the attestation.
    attestationName String
    The name of the attestation.
    attestationName string
    The name of the attestation.
    attestation_name str
    The name of the attestation.
    attestationName String
    The name of the attestation.

    getAttestationAtSubscription 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"
    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.
    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"
    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.
    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"
    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.
    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"
    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.
    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"
    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.
    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"
    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.
    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi