Class RemediationDeploymentInner
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.fluent.models.RemediationDeploymentInner
-
public final class RemediationDeploymentInner extends Object
Details of a single deployment created by the remediation.
-
-
Constructor Summary
Constructors Constructor Description RemediationDeploymentInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
createdOn()
Get the createdOn property: The time at which the remediation was created.String
deploymentId()
Get the deploymentId property: Resource ID of the template deployment that will remediate the resource.com.azure.core.management.exception.ManagementError
error()
Get the error property: Error encountered while remediated the resource.OffsetDateTime
lastUpdatedOn()
Get the lastUpdatedOn property: The time at which the remediation deployment was last updated.String
remediatedResourceId()
Get the remediatedResourceId property: Resource ID of the resource that is being remediated by the deployment.String
resourceLocation()
Get the resourceLocation property: Location of the resource that is being remediated.String
status()
Get the status property: Status of the remediation deployment.void
validate()
Validates the instance.
-
-
-
Method Detail
-
remediatedResourceId
public String remediatedResourceId()
Get the remediatedResourceId property: Resource ID of the resource that is being remediated by the deployment.- Returns:
- the remediatedResourceId value.
-
deploymentId
public String deploymentId()
Get the deploymentId property: Resource ID of the template deployment that will remediate the resource.- Returns:
- the deploymentId value.
-
status
public String status()
Get the status property: Status of the remediation deployment.- Returns:
- the status value.
-
resourceLocation
public String resourceLocation()
Get the resourceLocation property: Location of the resource that is being remediated.- Returns:
- the resourceLocation value.
-
error
public com.azure.core.management.exception.ManagementError error()
Get the error property: Error encountered while remediated the resource.- Returns:
- the error value.
-
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: The time at which the remediation was created.- Returns:
- the createdOn value.
-
lastUpdatedOn
public OffsetDateTime lastUpdatedOn()
Get the lastUpdatedOn property: The time at which the remediation deployment was last updated.- Returns:
- the lastUpdatedOn value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-