PolicyAttestationData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An attestation resource.
public class PolicyAttestationData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PolicyInsights.PolicyAttestationData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PolicyInsights.PolicyAttestationData>
type PolicyAttestationData = class
inherit ResourceData
interface IJsonModel<PolicyAttestationData>
interface IPersistableModel<PolicyAttestationData>
Public Class PolicyAttestationData
Inherits ResourceData
Implements IJsonModel(Of PolicyAttestationData), IPersistableModel(Of PolicyAttestationData)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| PolicyAttestationData(ResourceIdentifier) |
Initializes a new instance of PolicyAttestationData. |
Properties
| Name | Description |
|---|---|
| AssessOn |
The time the evidence was assessed. |
| Comments |
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. |
| ExpireOn |
The time the compliance state should expire. |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| LastComplianceStateChangeOn |
The time the compliance state was last changed in this attestation. |
| Metadata |
Additional metadata for this attestation. |
| Name |
The name of the resource. (Inherited from ResourceData) |
| 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. |
| ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<PolicyAttestationData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<PolicyAttestationData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<PolicyAttestationData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<PolicyAttestationData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<PolicyAttestationData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |