OperationStatusResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. fluent. models. OperationStatusResultInner
- com.
Implements
public final class OperationStatusResultInner
implements JsonSerializable<OperationStatusResultInner>
The current status of an async operation.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationStatusResultInner() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endTime()
Get the end |
|
Management |
error()
Get the error property: If present, details of the operation error. |
| String |
exitCode()
Get the exit |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
id()
Get the id property: Fully qualified ID for the async operation. |
| String |
name()
Get the name property: Name of the async operation. |
|
List<Operation |
operations()
Get the operations property: The operations list. |
| String |
outputHead()
Get the output |
| Float |
percentComplete()
Get the percent |
| String |
resourceId()
Get the resource |
| String |
resultRef()
Get the result |
| String |
resultUrl()
Get the result |
|
Offset |
startTime()
Get the start |
| String |
status()
Get the status property: Operation status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withStatus(String status)
Set the status property: Operation status. |
Methods inherited from java.lang.Object
Constructor Details
OperationStatusResultInner
public OperationStatusResultInner()
Creates an instance of OperationStatusResultInner class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time of the operation.
Returns:
error
public ManagementError error()
Get the error property: If present, details of the operation error.
Returns:
exitCode
public String exitCode()
Get the exitCode property: For actions that run commands or scripts, the exit code of the script execution.
Returns:
fromJson
public static OperationStatusResultInner fromJson(JsonReader jsonReader)
Reads an instance of OperationStatusResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified ID for the async operation.
Returns:
name
public String name()
Get the name property: Name of the async operation.
Returns:
operations
public List<OperationStatusResultInner> operations()
Get the operations property: The operations list.
Returns:
outputHead
public String outputHead()
Get the outputHead property: For actions that run commands or scripts, the leading bytes of the output of the script execution.
Returns:
percentComplete
public Float percentComplete()
Get the percentComplete property: Percent of the operation that is complete.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Fully qualified ID of the resource against which the original async operation was started.
Returns:
resultRef
public String resultRef()
Get the resultRef property: For actions that run commands or scripts, a reference to the location of the result.
Returns:
resultUrl
public String resultUrl()
Get the resultUrl property: For actions that run commands or scripts, the URL where the full output of the script output can be retrieved.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time of the operation.
Returns:
status
public String status()
Get the status property: Operation status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withStatus
public OperationStatusResultInner withStatus(String status)
Set the status property: Operation status.
Parameters:
Returns: