共用方式為


Attestation Class

Definition

An attestation resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Attestation : Microsoft.Azure.Management.PolicyInsights.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Attestation = class
    inherit Resource
Public Class Attestation
Inherits Resource
Inheritance
Attestation
Attributes

Constructors

Attestation()

Initializes a new instance of the Attestation class.

Attestation(String, String, String, String, String, String, Nullable<DateTime>, String, String, IList<AttestationEvidence>, String, Nullable<DateTime>, SystemData)

Initializes a new instance of the Attestation class.

Properties

Comments

Gets or sets comments describing why this attestation was created.

ComplianceState

Gets or sets the compliance state that should be set on the resource. Possible values include: 'Compliant', 'NonCompliant', 'Unknown'

Evidence

Gets or sets the evidence supporting the compliance state set in this attestation.

ExpiresOn

Gets or sets the time the compliance state should expire.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
LastComplianceStateChangeAt

Gets the time the compliance state was last changed in this attestation.

Name

Gets the name of the resource

(Inherited from Resource)
Owner

Gets or sets the person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.

PolicyAssignmentId

Gets or sets the resource ID of the policy assignment that the attestation is setting the state for.

PolicyDefinitionReferenceId

Gets or sets 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.

ProvisioningState

Gets the status of the attestation.

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to