Aracılığıyla paylaş


PSAttestation Class

Definition

public class PSAttestation
type PSAttestation = class
Public Class PSAttestation
Inheritance
PSAttestation

Constructors

PSAttestation(Attestation)

Properties

AssessmentDate

Gets or sets the time the evidence was assessed

Comment

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}

LastComplianceStateChangeAt

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

Metadata

Gets or sets additional metadata for this attestation

Name

Gets the name of the 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"

Applies to