Interface OperationResource


public interface OperationResource
An immutable client-side representation of OperationResource.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the endTime property: End time of the operation.
    com.azure.core.management.exception.ManagementError
    Gets the error property: Required if status == failed or status == canceled.
    id()
    Gets the id property: It should match what is used to GET the operation result.
    Gets the inner com.azure.resourcemanager.recoveryservices.fluent.models.OperationResourceInner object.
    Gets the name property: It must match the last segment of the "id" field, and will typically be a GUID / system generated value.
    Gets the startTime property: Start time of the operation.
    Gets the status property: The status of the operation.
  • Method Details

    • endTime

      OffsetDateTime endTime()
      Gets the endTime property: End time of the operation.
      Returns:
      the endTime value.
    • error

      com.azure.core.management.exception.ManagementError error()
      Gets the error property: Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines.
      Returns:
      the error value.
    • id

      String id()
      Gets the id property: It should match what is used to GET the operation result.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: It must match the last segment of the "id" field, and will typically be a GUID / system generated value.
      Returns:
      the name value.
    • status

      String status()
      Gets the status property: The status of the operation. (InProgress/Success/Failed/Cancelled).
      Returns:
      the status value.
    • startTime

      OffsetDateTime startTime()
      Gets the startTime property: Start time of the operation.
      Returns:
      the startTime value.
    • innerModel

      Gets the inner com.azure.resourcemanager.recoveryservices.fluent.models.OperationResourceInner object.
      Returns:
      the inner object.