Interface OperationResult
public interface OperationResult
An immutable client-side representation of OperationResult.
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
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.id()
Gets the id property: Fully qualified resource ID for the resource.Gets the inner com.azure.resourcemanager.labservices.fluent.models.OperationResultInner object.name()
Gets the name property: The name of the resource.Gets the percentComplete property: Percent completion.Gets the startTime property: Start time.status()
Gets the status property: The operation status.
-
Method Details
-
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.
-