Class DeploymentOperationProperties

java.lang.Object
com.azure.resourcemanager.resources.models.DeploymentOperationProperties

public final class DeploymentOperationProperties extends Object
Deployment operation properties.
  • Constructor Details

    • DeploymentOperationProperties

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

    • provisioningOperation

      public ProvisioningOperation provisioningOperation()
      Get the provisioningOperation property: The name of the current provisioning operation.
      Returns:
      the provisioningOperation value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The state of the provisioning.
      Returns:
      the provisioningState value.
    • timestamp

      public OffsetDateTime timestamp()
      Get the timestamp property: The date and time of the operation.
      Returns:
      the timestamp value.
    • duration

      public String duration()
      Get the duration property: The duration of the operation.
      Returns:
      the duration value.
    • serviceRequestId

      public String serviceRequestId()
      Get the serviceRequestId property: Deployment operation service request id.
      Returns:
      the serviceRequestId value.
    • statusCode

      public String statusCode()
      Get the statusCode property: Operation status code from the resource provider. This property may not be set if a response has not yet been received.
      Returns:
      the statusCode value.
    • statusMessage

      public StatusMessage statusMessage()
      Get the statusMessage property: Operation status message from the resource provider. This property is optional. It will only be provided if an error was received from the resource provider.
      Returns:
      the statusMessage value.
    • targetResource

      public TargetResource targetResource()
      Get the targetResource property: The target resource.
      Returns:
      the targetResource value.
    • request

      public HttpMessage request()
      Get the request property: The HTTP request message.
      Returns:
      the request value.
    • response

      public HttpMessage response()
      Get the response property: The HTTP response message.
      Returns:
      the response value.
    • validate

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