ManagedInstanceOperationInner Class

public final class ManagedInstanceOperationInner
extends ProxyResource

A managed instance operation.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The operation description.

Integer errorCode()

Get the errorCode property: The operation error code.

String errorDescription()

Get the errorDescription property: The operation error description.

Integer errorSeverity()

Get the errorSeverity property: The operation error severity.

OffsetDateTime estimatedCompletionTime()

Get the estimatedCompletionTime property: The estimated completion time of the operation.

static ManagedInstanceOperationInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceOperationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isCancellable()

Get the isCancellable property: Whether the operation can be cancelled.

Boolean isUserError()

Get the isUserError property: Whether or not the error is a user error.

String managedInstanceName()

Get the managedInstanceName property: The name of the managed instance the operation is being performed on.

String name()

Get the name property: The name of the resource.

String operation()

Get the operation property: The name of operation.

String operationFriendlyName()

Get the operationFriendlyName property: The friendly name of operation.

ManagedInstanceOperationParametersPair operationParameters()

Get the operationParameters property: The operation parameters.

ManagedInstanceOperationSteps operationSteps()

Get the operationSteps property: The operation steps.

Integer percentComplete()

Get the percentComplete property: The percentage of the operation completed.

OffsetDateTime startTime()

Get the startTime property: The operation start time.

ManagementOperationState state()

Get the state property: The operation state.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: The operation description.

Returns:

the description value.

errorCode

public Integer errorCode()

Get the errorCode property: The operation error code.

Returns:

the errorCode value.

errorDescription

public String errorDescription()

Get the errorDescription property: The operation error description.

Returns:

the errorDescription value.

errorSeverity

public Integer errorSeverity()

Get the errorSeverity property: The operation error severity.

Returns:

the errorSeverity value.

estimatedCompletionTime

public OffsetDateTime estimatedCompletionTime()

Get the estimatedCompletionTime property: The estimated completion time of the operation.

Returns:

the estimatedCompletionTime value.

fromJson

public static ManagedInstanceOperationInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceOperationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedInstanceOperationInner 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 resource Id for the resource.

Overrides:

ManagedInstanceOperationInner.id()

Returns:

the id value.

isCancellable

public Boolean isCancellable()

Get the isCancellable property: Whether the operation can be cancelled.

Returns:

the isCancellable value.

isUserError

public Boolean isUserError()

Get the isUserError property: Whether or not the error is a user error.

Returns:

the isUserError value.

managedInstanceName

public String managedInstanceName()

Get the managedInstanceName property: The name of the managed instance the operation is being performed on.

Returns:

the managedInstanceName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedInstanceOperationInner.name()

Returns:

the name value.

operation

public String operation()

Get the operation property: The name of operation.

Returns:

the operation value.

operationFriendlyName

public String operationFriendlyName()

Get the operationFriendlyName property: The friendly name of operation.

Returns:

the operationFriendlyName value.

operationParameters

public ManagedInstanceOperationParametersPair operationParameters()

Get the operationParameters property: The operation parameters.

Returns:

the operationParameters value.

operationSteps

public ManagedInstanceOperationSteps operationSteps()

Get the operationSteps property: The operation steps.

Returns:

the operationSteps value.

percentComplete

public Integer percentComplete()

Get the percentComplete property: The percentage of the operation completed.

Returns:

the percentComplete value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The operation start time.

Returns:

the startTime value.

state

public ManagementOperationState state()

Get the state property: The operation state.

Returns:

the state value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedInstanceOperationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedInstanceOperationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to