Attestation Class

Definition

An attestation resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.AttestationTypeConverter))]
public class Attestation : Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.IAttestation, Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.AttestationTypeConverter))>]
type Attestation = class
    interface IAttestation
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Attestation
Implements IAttestation, IValidates
Inheritance
Attestation
Attributes
Implements

Constructors

Name Description
Attestation()

Creates an new Attestation instance.

Properties

Name Description
AssessmentDate

The time the evidence was assessed

Comment

Comments describing why this attestation was created.

ComplianceState

The compliance state that should be set on the resource.

Evidence

The evidence supporting the compliance state set in this attestation.

ExpiresOn

The time the compliance state should expire.

Id

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

LastComplianceStateChangeAt

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

Metadata

Additional metadata for this attestation

Name

The name of the resource

Owner

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

PolicyAssignmentId

The resource ID of the policy assignment that the attestation is setting the state for.

PolicyDefinitionReferenceId

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

The status of the attestation.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Attestation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Attestation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.IAttestation.

FromJsonString(String)

Creates a new instance of Attestation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Attestation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to