OperationResourceInner Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. fluent. models. OperationResourceInner
- com.
Implements
public final class OperationResourceInner
implements JsonSerializable<OperationResourceInner>
Operation Resource.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endTime()
Get the end |
|
Management |
error()
Get the error property: Required if status == failed or status == canceled. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
id()
Get the id property: It should match what is used to GET the operation result. |
| String |
name()
Get the name property: It must match the last segment of the "id" field, and will typically be a GUID / system generated value. |
|
Operation |
properties()
Get the properties property: End time of the operation. |
|
Offset |
startTime()
Get the start |
| String |
status()
Get the status property: The status property. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the operation.
Returns:
error
public ManagementError error()
Get 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:
fromJson
public static OperationResourceInner fromJson(JsonReader jsonReader)
Reads an instance of OperationResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: It should match what is used to GET the operation result.
Returns:
name
public String name()
Get the name property: It must match the last segment of the "id" field, and will typically be a GUID / system generated value.
Returns:
properties
public OperationExtendedInfo properties()
Get the properties property: End time of the operation.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the operation.
Returns:
status
public String status()
Get the status property: The status property.
Returns: