Interface OperationResult
-
public interface OperationResult
An immutable client-side representation of OperationResult.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OffsetDateTime
endTime()
Gets the endTime property: End time.com.azure.core.management.exception.ManagementError
error()
Gets the error property: The error for a failure if the operation failed.String
id()
Gets the id property: Fully qualified resource ID for the resource.OperationResultInner
innerModel()
Gets the inner com.azure.resourcemanager.labservices.fluent.models.OperationResultInner object.String
name()
Gets the name property: The name of the resource.Float
percentComplete()
Gets the percentComplete property: Percent completion.OffsetDateTime
startTime()
Gets the startTime property: Start time.OperationStatus
status()
Gets the status property: The operation status.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
status
OperationStatus status()
Gets the status property: The operation status.- Returns:
- the status value.
-
startTime
OffsetDateTime startTime()
Gets the startTime property: Start time.- Returns:
- the startTime value.
-
endTime
OffsetDateTime endTime()
Gets the endTime property: End time.- Returns:
- the endTime value.
-
percentComplete
Float percentComplete()
Gets the percentComplete property: Percent completion.- Returns:
- the percentComplete value.
-
error
com.azure.core.management.exception.ManagementError error()
Gets the error property: The error for a failure if the operation failed.- Returns:
- the error value.
-
innerModel
OperationResultInner innerModel()
Gets the inner com.azure.resourcemanager.labservices.fluent.models.OperationResultInner object.- Returns:
- the inner object.
-
-