Class ResourceOperation

java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.ResourceOperation

public final class ResourceOperation extends Object
Individual resource operation information.
  • Constructor Details

    • ResourceOperation

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

    • resourceName

      public String resourceName()
      Get the resourceName property: Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.
      Returns:
      the resourceName value.
    • withResourceName

      public ResourceOperation withResourceName(String resourceName)
      Set the resourceName property: Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.
      Parameters:
      resourceName - the resourceName value to set.
      Returns:
      the ResourceOperation object itself.
    • operationId

      public String operationId()
      Get the operationId property: Unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service.
      Returns:
      the operationId value.
    • resourceType

      public String resourceType()
      Get the resourceType property: Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.
      Returns:
      the resourceType value.
    • withResourceType

      public ResourceOperation withResourceType(String resourceType)
      Set the resourceType property: Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the ResourceOperation object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: State of the resource deployment. For ARM resources, this is the current provisioning state of the resource.
      Returns:
      the provisioningState value.
    • statusMessage

      public String statusMessage()
      Get the statusMessage property: Descriptive information of the resource operation.
      Returns:
      the statusMessage value.
    • statusCode

      public String statusCode()
      Get the statusCode property: Http status code of the operation.
      Returns:
      the statusCode value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.