Interface Attestation
public interface Attestation
An immutable client-side representation of Attestation.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Attestation definition.static interface
The Attestation definition stages.static interface
The template for Attestation update.static interface
The Attestation update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the assessmentDate property: The time the evidence was assessed.comments()
Gets the comments property: Comments describing why this attestation was created.Gets the complianceState property: The compliance state that should be set on the resource.evidence()
Gets the evidence property: The evidence supporting the compliance state set in this attestation.Gets the expiresOn property: The time the compliance state should expire.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.AttestationInner object.Gets the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.metadata()
Gets the metadata property: Additional metadata for this attestation.name()
Gets the name property: The name of the resource.owner()
Gets the owner property: The person responsible for setting the state of the resource.Gets the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.Gets the policyDefinitionReferenceId property: The policy definition reference ID from a policy set definition that the attestation is setting the state for.Gets the provisioningState property: The status of the attestation.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.type()
Gets the type property: The type of the resource.update()
Begins update for the Attestation resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
policyAssignmentId
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
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.
-
complianceState
ComplianceState complianceState()Gets the complianceState property: The compliance state that should be set on the resource.- Returns:
- the complianceState value.
-
expiresOn
OffsetDateTime expiresOn()Gets the expiresOn property: The time the compliance state should expire.- Returns:
- the expiresOn value.
-
owner
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.
-
comments
String comments()Gets the comments property: Comments describing why this attestation was created.- Returns:
- the comments value.
-
evidence
List<AttestationEvidence> evidence()Gets the evidence property: The evidence supporting the compliance state set in this attestation.- Returns:
- the evidence value.
-
provisioningState
String provisioningState()Gets the provisioningState property: The status of the attestation.- Returns:
- the provisioningState value.
-
lastComplianceStateChangeAt
OffsetDateTime lastComplianceStateChangeAt()Gets the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.- Returns:
- the lastComplianceStateChangeAt value.
-
assessmentDate
OffsetDateTime assessmentDate()Gets the assessmentDate property: The time the evidence was assessed.- Returns:
- the assessmentDate value.
-
metadata
Object metadata()Gets the metadata property: Additional metadata for this attestation.- Returns:
- the metadata value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
AttestationInner innerModel()Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.AttestationInner object.- Returns:
- the inner object.
-
update
Attestation.Update update()Begins update for the Attestation resource.- Returns:
- the stage of resource update.
-
refresh
Attestation refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-