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
    Creates an instance of RemediationDeploymentInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the createdOn property: The time at which the remediation was created.
    Get the deploymentId property: Resource ID of the template deployment that will remediate the resource.
    com.azure.core.management.exception.ManagementError
    Get the error property: Error encountered while remediated the resource.
    Get the lastUpdatedOn property: The time at which the remediation deployment was last updated.
    Get the remediatedResourceId property: Resource ID of the resource that is being remediated by the deployment.
    Get the resourceLocation property: Location of the resource that is being remediated.
    Get the status property: Status of the remediation deployment.
    void
    Validates the instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RemediationDeploymentInner

      public RemediationDeploymentInner()
      Creates an instance of RemediationDeploymentInner class.
  • Method Details

    • 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.