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