Class OperationStatusInner
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.OperationStatusInner
The current status of an async operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: The end time of the operation.error()
Get the error property: Operation Error message.id()
Get the id property: Fully qualified ID for the operation status.name()
Get the name property: The operation id name.Get the percentComplete property: Percent of the operation that is complete.Get the properties property: Custom operation properties, populated only for a successful operation.Get the startTime property: The start time of the operation.status()
Get the status property: Provisioning state of the resource.void
validate()
Validates the instance.withError
(OperationStatusError error) Set the error property: Operation Error message.
-
Constructor Details
-
OperationStatusInner
public OperationStatusInner()
-
-
Method Details
-
id
Get the id property: Fully qualified ID for the operation status.- Returns:
- the id value.
-
name
Get the name property: The operation id name.- Returns:
- the name value.
-
status
Get the status property: Provisioning state of the resource.- Returns:
- the status value.
-
startTime
Get the startTime property: The start time of the operation.- Returns:
- the startTime value.
-
endTime
Get the endTime property: The end time of the operation.- Returns:
- the endTime value.
-
percentComplete
Get the percentComplete property: Percent of the operation that is complete.- Returns:
- the percentComplete value.
-
properties
Get the properties property: Custom operation properties, populated only for a successful operation.- Returns:
- the properties value.
-
error
Get the error property: Operation Error message.- Returns:
- the error value.
-
withError
Set the error property: Operation Error message.- Parameters:
error
- the error value to set.- Returns:
- the OperationStatusInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-