1. Packages
  2. Azure Native
  3. API Docs
  4. policyinsights
  5. AttestationAtResource
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.policyinsights.AttestationAtResource

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

    An attestation resource. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-01-01.

    Other available API versions: 2024-10-01.

    Example Usage

    Create attestation at individual resource scope

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var attestationAtResource = new AzureNative.PolicyInsights.AttestationAtResource("attestationAtResource", new()
        {
            AssessmentDate = "2021-06-10T00:00:00Z",
            AttestationName = "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
            Comments = "This subscription has passed a security audit.",
            ComplianceState = AzureNative.PolicyInsights.ComplianceState.Compliant,
            Evidence = new[]
            {
                new AzureNative.PolicyInsights.Inputs.AttestationEvidenceArgs
                {
                    Description = "The results of the security audit.",
                    SourceUri = "https://gist.github.com/contoso/9573e238762c60166c090ae16b814011",
                },
            },
            ExpiresOn = "2021-06-15T00:00:00Z",
            Metadata = new Dictionary<string, object?>
            {
                ["departmentId"] = "NYC-MARKETING-1",
            },
            Owner = "55a32e28-3aa5-4eea-9b5a-4cd85153b966",
            PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
            PolicyDefinitionReferenceId = "0b158b46-ff42-4799-8e39-08a5c23b4551",
            ResourceId = "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
        });
    
    });
    
    package main
    
    import (
    	policyinsights "github.com/pulumi/pulumi-azure-native-sdk/policyinsights/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := policyinsights.NewAttestationAtResource(ctx, "attestationAtResource", &policyinsights.AttestationAtResourceArgs{
    			AssessmentDate:  pulumi.String("2021-06-10T00:00:00Z"),
    			AttestationName: pulumi.String("790996e6-9871-4b1f-9cd9-ec42cd6ced1e"),
    			Comments:        pulumi.String("This subscription has passed a security audit."),
    			ComplianceState: pulumi.String(policyinsights.ComplianceStateCompliant),
    			Evidence: policyinsights.AttestationEvidenceArray{
    				&policyinsights.AttestationEvidenceArgs{
    					Description: pulumi.String("The results of the security audit."),
    					SourceUri:   pulumi.String("https://gist.github.com/contoso/9573e238762c60166c090ae16b814011"),
    				},
    			},
    			ExpiresOn: pulumi.String("2021-06-15T00:00:00Z"),
    			Metadata: pulumi.Any(map[string]interface{}{
    				"departmentId": "NYC-MARKETING-1",
    			}),
    			Owner:                       pulumi.String("55a32e28-3aa5-4eea-9b5a-4cd85153b966"),
    			PolicyAssignmentId:          pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
    			PolicyDefinitionReferenceId: pulumi.String("0b158b46-ff42-4799-8e39-08a5c23b4551"),
    			ResourceId:                  pulumi.String("subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.policyinsights.AttestationAtResource;
    import com.pulumi.azurenative.policyinsights.AttestationAtResourceArgs;
    import com.pulumi.azurenative.policyinsights.inputs.AttestationEvidenceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var attestationAtResource = new AttestationAtResource("attestationAtResource", AttestationAtResourceArgs.builder()
                .assessmentDate("2021-06-10T00:00:00Z")
                .attestationName("790996e6-9871-4b1f-9cd9-ec42cd6ced1e")
                .comments("This subscription has passed a security audit.")
                .complianceState("Compliant")
                .evidence(AttestationEvidenceArgs.builder()
                    .description("The results of the security audit.")
                    .sourceUri("https://gist.github.com/contoso/9573e238762c60166c090ae16b814011")
                    .build())
                .expiresOn("2021-06-15T00:00:00Z")
                .metadata(Map.of("departmentId", "NYC-MARKETING-1"))
                .owner("55a32e28-3aa5-4eea-9b5a-4cd85153b966")
                .policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
                .policyDefinitionReferenceId("0b158b46-ff42-4799-8e39-08a5c23b4551")
                .resourceId("subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    attestation_at_resource = azure_native.policyinsights.AttestationAtResource("attestationAtResource",
        assessment_date="2021-06-10T00:00:00Z",
        attestation_name="790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
        comments="This subscription has passed a security audit.",
        compliance_state=azure_native.policyinsights.ComplianceState.COMPLIANT,
        evidence=[{
            "description": "The results of the security audit.",
            "source_uri": "https://gist.github.com/contoso/9573e238762c60166c090ae16b814011",
        }],
        expires_on="2021-06-15T00:00:00Z",
        metadata={
            "departmentId": "NYC-MARKETING-1",
        },
        owner="55a32e28-3aa5-4eea-9b5a-4cd85153b966",
        policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
        policy_definition_reference_id="0b158b46-ff42-4799-8e39-08a5c23b4551",
        resource_id="subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const attestationAtResource = new azure_native.policyinsights.AttestationAtResource("attestationAtResource", {
        assessmentDate: "2021-06-10T00:00:00Z",
        attestationName: "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
        comments: "This subscription has passed a security audit.",
        complianceState: azure_native.policyinsights.ComplianceState.Compliant,
        evidence: [{
            description: "The results of the security audit.",
            sourceUri: "https://gist.github.com/contoso/9573e238762c60166c090ae16b814011",
        }],
        expiresOn: "2021-06-15T00:00:00Z",
        metadata: {
            departmentId: "NYC-MARKETING-1",
        },
        owner: "55a32e28-3aa5-4eea-9b5a-4cd85153b966",
        policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
        policyDefinitionReferenceId: "0b158b46-ff42-4799-8e39-08a5c23b4551",
        resourceId: "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
    });
    
    resources:
      attestationAtResource:
        type: azure-native:policyinsights:AttestationAtResource
        properties:
          assessmentDate: 2021-06-10T00:00:00Z
          attestationName: 790996e6-9871-4b1f-9cd9-ec42cd6ced1e
          comments: This subscription has passed a security audit.
          complianceState: Compliant
          evidence:
            - description: The results of the security audit.
              sourceUri: https://gist.github.com/contoso/9573e238762c60166c090ae16b814011
          expiresOn: 2021-06-15T00:00:00Z
          metadata:
            departmentId: NYC-MARKETING-1
          owner: 55a32e28-3aa5-4eea-9b5a-4cd85153b966
          policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
          policyDefinitionReferenceId: 0b158b46-ff42-4799-8e39-08a5c23b4551
          resourceId: subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM
    

    Create AttestationAtResource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AttestationAtResource(name: string, args: AttestationAtResourceArgs, opts?: CustomResourceOptions);
    @overload
    def AttestationAtResource(resource_name: str,
                              args: AttestationAtResourceArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def AttestationAtResource(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              policy_assignment_id: Optional[str] = None,
                              resource_id: Optional[str] = None,
                              assessment_date: Optional[str] = None,
                              attestation_name: Optional[str] = None,
                              comments: Optional[str] = None,
                              compliance_state: Optional[Union[str, ComplianceState]] = None,
                              evidence: Optional[Sequence[AttestationEvidenceArgs]] = None,
                              expires_on: Optional[str] = None,
                              metadata: Optional[Any] = None,
                              owner: Optional[str] = None,
                              policy_definition_reference_id: Optional[str] = None)
    func NewAttestationAtResource(ctx *Context, name string, args AttestationAtResourceArgs, opts ...ResourceOption) (*AttestationAtResource, error)
    public AttestationAtResource(string name, AttestationAtResourceArgs args, CustomResourceOptions? opts = null)
    public AttestationAtResource(String name, AttestationAtResourceArgs args)
    public AttestationAtResource(String name, AttestationAtResourceArgs args, CustomResourceOptions options)
    
    type: azure-native:policyinsights:AttestationAtResource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AttestationAtResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AttestationAtResourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AttestationAtResourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AttestationAtResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AttestationAtResourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var attestationAtResourceResource = new AzureNative.PolicyInsights.AttestationAtResource("attestationAtResourceResource", new()
    {
        PolicyAssignmentId = "string",
        ResourceId = "string",
        AssessmentDate = "string",
        AttestationName = "string",
        Comments = "string",
        ComplianceState = "string",
        Evidence = new[]
        {
            new AzureNative.PolicyInsights.Inputs.AttestationEvidenceArgs
            {
                Description = "string",
                SourceUri = "string",
            },
        },
        ExpiresOn = "string",
        Metadata = "any",
        Owner = "string",
        PolicyDefinitionReferenceId = "string",
    });
    
    example, err := policyinsights.NewAttestationAtResource(ctx, "attestationAtResourceResource", &policyinsights.AttestationAtResourceArgs{
    	PolicyAssignmentId: pulumi.String("string"),
    	ResourceId:         pulumi.String("string"),
    	AssessmentDate:     pulumi.String("string"),
    	AttestationName:    pulumi.String("string"),
    	Comments:           pulumi.String("string"),
    	ComplianceState:    pulumi.String("string"),
    	Evidence: policyinsights.AttestationEvidenceArray{
    		&policyinsights.AttestationEvidenceArgs{
    			Description: pulumi.String("string"),
    			SourceUri:   pulumi.String("string"),
    		},
    	},
    	ExpiresOn:                   pulumi.String("string"),
    	Metadata:                    pulumi.Any("any"),
    	Owner:                       pulumi.String("string"),
    	PolicyDefinitionReferenceId: pulumi.String("string"),
    })
    
    var attestationAtResourceResource = new AttestationAtResource("attestationAtResourceResource", AttestationAtResourceArgs.builder()
        .policyAssignmentId("string")
        .resourceId("string")
        .assessmentDate("string")
        .attestationName("string")
        .comments("string")
        .complianceState("string")
        .evidence(AttestationEvidenceArgs.builder()
            .description("string")
            .sourceUri("string")
            .build())
        .expiresOn("string")
        .metadata("any")
        .owner("string")
        .policyDefinitionReferenceId("string")
        .build());
    
    attestation_at_resource_resource = azure_native.policyinsights.AttestationAtResource("attestationAtResourceResource",
        policy_assignment_id="string",
        resource_id="string",
        assessment_date="string",
        attestation_name="string",
        comments="string",
        compliance_state="string",
        evidence=[{
            "description": "string",
            "source_uri": "string",
        }],
        expires_on="string",
        metadata="any",
        owner="string",
        policy_definition_reference_id="string")
    
    const attestationAtResourceResource = new azure_native.policyinsights.AttestationAtResource("attestationAtResourceResource", {
        policyAssignmentId: "string",
        resourceId: "string",
        assessmentDate: "string",
        attestationName: "string",
        comments: "string",
        complianceState: "string",
        evidence: [{
            description: "string",
            sourceUri: "string",
        }],
        expiresOn: "string",
        metadata: "any",
        owner: "string",
        policyDefinitionReferenceId: "string",
    });
    
    type: azure-native:policyinsights:AttestationAtResource
    properties:
        assessmentDate: string
        attestationName: string
        comments: string
        complianceState: string
        evidence:
            - description: string
              sourceUri: string
        expiresOn: string
        metadata: any
        owner: string
        policyAssignmentId: string
        policyDefinitionReferenceId: string
        resourceId: string
    

    AttestationAtResource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AttestationAtResource resource accepts the following input properties:

    PolicyAssignmentId string
    The resource ID of the policy assignment that the attestation is setting the state for.
    ResourceId string
    Resource ID.
    AssessmentDate string
    The time the evidence was assessed
    AttestationName string
    The name of the attestation.
    Comments string
    Comments describing why this attestation was created.
    ComplianceState string | Pulumi.AzureNative.PolicyInsights.ComplianceState
    The compliance state that should be set on the resource.
    Evidence List<Pulumi.AzureNative.PolicyInsights.Inputs.AttestationEvidence>
    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.
    PolicyAssignmentId string
    The resource ID of the policy assignment that the attestation is setting the state for.
    ResourceId string
    Resource ID.
    AssessmentDate string
    The time the evidence was assessed
    AttestationName string
    The name of the attestation.
    Comments string
    Comments describing why this attestation was created.
    ComplianceState string | ComplianceState
    The compliance state that should be set on the resource.
    Evidence []AttestationEvidenceArgs
    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.
    policyAssignmentId String
    The resource ID of the policy assignment that the attestation is setting the state for.
    resourceId String
    Resource ID.
    assessmentDate String
    The time the evidence was assessed
    attestationName String
    The name of the attestation.
    comments String
    Comments describing why this attestation was created.
    complianceState String | ComplianceState
    The compliance state that should be set on the resource.
    evidence List<AttestationEvidence>
    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.
    policyAssignmentId string
    The resource ID of the policy assignment that the attestation is setting the state for.
    resourceId string
    Resource ID.
    assessmentDate string
    The time the evidence was assessed
    attestationName string
    The name of the attestation.
    comments string
    Comments describing why this attestation was created.
    complianceState string | ComplianceState
    The compliance state that should be set on the resource.
    evidence AttestationEvidence[]
    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.
    policy_assignment_id str
    The resource ID of the policy assignment that the attestation is setting the state for.
    resource_id str
    Resource ID.
    assessment_date str
    The time the evidence was assessed
    attestation_name str
    The name of the attestation.
    comments str
    Comments describing why this attestation was created.
    compliance_state str | ComplianceState
    The compliance state that should be set on the resource.
    evidence Sequence[AttestationEvidenceArgs]
    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.
    policyAssignmentId String
    The resource ID of the policy assignment that the attestation is setting the state for.
    resourceId String
    Resource ID.
    assessmentDate String
    The time the evidence was assessed
    attestationName String
    The name of the attestation.
    comments String
    Comments describing why this attestation was created.
    complianceState String | "Compliant" | "NonCompliant" | "Unknown"
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AttestationAtResource resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LastComplianceStateChangeAt string
    The time the compliance state was last changed in this attestation.
    Name string
    The name of the resource
    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"
    Id string
    The provider-assigned unique ID for this managed resource.
    LastComplianceStateChangeAt string
    The time the compliance state was last changed in this attestation.
    Name string
    The name of the resource
    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"
    id String
    The provider-assigned unique ID for this managed resource.
    lastComplianceStateChangeAt String
    The time the compliance state was last changed in this attestation.
    name String
    The name of the resource
    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"
    id string
    The provider-assigned unique ID for this managed resource.
    lastComplianceStateChangeAt string
    The time the compliance state was last changed in this attestation.
    name string
    The name of the resource
    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"
    id str
    The provider-assigned unique ID for this managed resource.
    last_compliance_state_change_at str
    The time the compliance state was last changed in this attestation.
    name str
    The name of the resource
    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"
    id String
    The provider-assigned unique ID for this managed resource.
    lastComplianceStateChangeAt String
    The time the compliance state was last changed in this attestation.
    name String
    The name of the resource
    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"

    Supporting Types

    AttestationEvidence, AttestationEvidenceArgs

    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.

    AttestationEvidenceResponse, AttestationEvidenceResponseArgs

    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.

    ComplianceState, ComplianceStateArgs

    Compliant
    CompliantThe resource is in compliance with the policy.
    NonCompliant
    NonCompliantThe resource is not in compliance with the policy.
    Unknown
    UnknownThe compliance state of the resource is not known.
    ComplianceStateCompliant
    CompliantThe resource is in compliance with the policy.
    ComplianceStateNonCompliant
    NonCompliantThe resource is not in compliance with the policy.
    ComplianceStateUnknown
    UnknownThe compliance state of the resource is not known.
    Compliant
    CompliantThe resource is in compliance with the policy.
    NonCompliant
    NonCompliantThe resource is not in compliance with the policy.
    Unknown
    UnknownThe compliance state of the resource is not known.
    Compliant
    CompliantThe resource is in compliance with the policy.
    NonCompliant
    NonCompliantThe resource is not in compliance with the policy.
    Unknown
    UnknownThe compliance state of the resource is not known.
    COMPLIANT
    CompliantThe resource is in compliance with the policy.
    NON_COMPLIANT
    NonCompliantThe resource is not in compliance with the policy.
    UNKNOWN
    UnknownThe compliance state of the resource is not known.
    "Compliant"
    CompliantThe resource is in compliance with the policy.
    "NonCompliant"
    NonCompliantThe resource is not in compliance with the policy.
    "Unknown"
    UnknownThe compliance state of the resource is not known.

    SystemDataResponse, SystemDataResponseArgs

    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.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:policyinsights:AttestationAtResource 790996e6-9871-4b1f-9cd9-ec42cd6ced1e /{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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