Interface OperationResource


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OffsetDateTime endTime()
      Gets the endTime property: End time of the operation.
      com.azure.core.management.exception.ManagementError error()
      Gets the error property: Required if status == failed or status == canceled.
      String id()
      Gets the id property: It should match what is used to GET the operation result.
      OperationResourceInner innerModel()
      Gets the inner com.azure.resourcemanager.dataprotection.fluent.models.OperationResourceInner object.
      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.
      OperationExtendedInfo properties()
      Gets the properties property: OperationExtendedInfo End time of the operation.
      OffsetDateTime startTime()
      Gets the startTime property: Start time of the operation.
      String status()
      Gets the status property: The status property.
    • Method Detail

      • 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. The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section.
        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.
      • properties

        OperationExtendedInfo properties()
        Gets the properties property: OperationExtendedInfo End time of the operation.
        Returns:
        the properties value.
      • startTime

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

        String status()
        Gets the status property: The status property.
        Returns:
        the status value.
      • innerModel

        OperationResourceInner innerModel()
        Gets the inner com.azure.resourcemanager.dataprotection.fluent.models.OperationResourceInner object.
        Returns:
        the inner object.