OperationStatusResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.security.fluent.models.OperationStatusResultInner

Implements

public final class OperationStatusResultInner
implements JsonSerializable<OperationStatusResultInner>

The current status of an async operation.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: The end time of the operation.

ManagementError error()

Get the error property: If present, details of the operation error.

static OperationStatusResultInner fromJson(JsonReader jsonReader)

Reads an instance of OperationStatusResultInner from the JsonReader.

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<OperationStatusResultInner> operations()

Get the operations property: The operations list.

Double percentComplete()

Get the percentComplete property: Percent of the operation that is complete.

String resourceId()

Get the resourceId property: Fully qualified ID of the resource against which the original async operation was started.

OffsetDateTime startTime()

Get the startTime property: The start time of the operation.

String status()

Get the status property: Operation status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: The end time of the operation.

Returns:

the endTime value.

error

public ManagementError error()

Get the error property: If present, details of the operation error.

Returns:

the error value.

fromJson

public static OperationStatusResultInner fromJson(JsonReader jsonReader)

Reads an instance of OperationStatusResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationStatusResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified ID for the async operation.

Returns:

the id value.

name

public String name()

Get the name property: Name of the async operation.

Returns:

the name value.

operations

public List<OperationStatusResultInner> operations()

Get the operations property: The operations list.

Returns:

the operations value.

percentComplete

public Double percentComplete()

Get the percentComplete property: Percent of the operation that is complete.

Returns:

the percentComplete value.

resourceId

public String resourceId()

Get the resourceId property: Fully qualified ID of the resource against which the original async operation was started.

Returns:

the resourceId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The start time of the operation.

Returns:

the startTime value.

status

public String status()

Get the status property: Operation status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to