Attestation Interface

public interface Attestation

An immutable client-side representation of Attestation.

Method Summary

Modifier and Type Method and Description
abstract OffsetDateTime assessmentDate()

Gets the assessmentDate property: The time the evidence was assessed.

abstract String comments()

Gets the comments property: Comments describing why this attestation was created.

abstract ComplianceState complianceState()

Gets the complianceState property: The compliance state that should be set on the resource.

abstract List<AttestationEvidence> evidence()

Gets the evidence property: The evidence supporting the compliance state set in this attestation.

abstract OffsetDateTime expiresOn()

Gets the expiresOn property: The time the compliance state should expire.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract AttestationInner innerModel()

Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.AttestationInner object.

abstract OffsetDateTime lastComplianceStateChangeAt()

Gets the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.

abstract Object metadata()

Gets the metadata property: Additional metadata for this attestation.

abstract String name()

Gets the name property: The name of the resource.

abstract String owner()

Gets the owner property: The person responsible for setting the state of the resource.

abstract String policyAssignmentId()

Gets the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.

abstract String policyDefinitionReferenceId()

Gets the policyDefinitionReferenceId property: The policy definition reference ID from a policy set definition that the attestation is setting the state for.

abstract String provisioningState()

Gets the provisioningState property: The status of the attestation.

abstract Attestation refresh()

Refreshes the resource to sync with Azure.

abstract Attestation refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Attestation resource.

Method Details

assessmentDate

public abstract OffsetDateTime assessmentDate()

Gets the assessmentDate property: The time the evidence was assessed.

Returns:

the assessmentDate value.

comments

public abstract String comments()

Gets the comments property: Comments describing why this attestation was created.

Returns:

the comments value.

complianceState

public abstract ComplianceState complianceState()

Gets the complianceState property: The compliance state that should be set on the resource.

Returns:

the complianceState value.

evidence

public abstract List evidence()

Gets the evidence property: The evidence supporting the compliance state set in this attestation.

Returns:

the evidence value.

expiresOn

public abstract OffsetDateTime expiresOn()

Gets the expiresOn property: The time the compliance state should expire.

Returns:

the expiresOn value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract AttestationInner innerModel()

Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.AttestationInner object.

Returns:

the inner object.

lastComplianceStateChangeAt

public abstract OffsetDateTime lastComplianceStateChangeAt()

Gets the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.

Returns:

the lastComplianceStateChangeAt value.

metadata

public abstract Object metadata()

Gets the metadata property: Additional metadata for this attestation.

Returns:

the metadata value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

owner

public abstract String owner()

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

Returns:

the owner value.

policyAssignmentId

public abstract String policyAssignmentId()

Gets the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.

Returns:

the policyAssignmentId value.

policyDefinitionReferenceId

public abstract String policyDefinitionReferenceId()

Gets the policyDefinitionReferenceId property: 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.

Returns:

the policyDefinitionReferenceId value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: The status of the attestation.

Returns:

the provisioningState value.

refresh

public abstract Attestation refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Attestation refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Attestation.Update update()

Begins update for the Attestation resource.

Returns:

the stage of resource update.

Applies to