RollingUpgradeStatusInfoInner Class

public final class RollingUpgradeStatusInfoInner
extends Resource

The status of the latest virtual machine scale set rolling upgrade.

Constructor Summary

Constructor Description
RollingUpgradeStatusInfoInner()

Creates an instance of RollingUpgradeStatusInfoInner class.

Method Summary

Modifier and Type Method and Description
ApiError error()

Get the error property: Error details for this upgrade, if there are any.

static RollingUpgradeStatusInfoInner fromJson(JsonReader jsonReader)

Reads an instance of RollingUpgradeStatusInfoInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

RollingUpgradePolicy policy()

Get the policy property: The rolling upgrade policies applied for this upgrade.

RollingUpgradeProgressInfo progress()

Get the progress property: Information about the number of virtual machine instances in each upgrade state.

RollingUpgradeRunningStatus runningStatus()

Get the runningStatus property: Information about the current running state of the overall upgrade.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RollingUpgradeStatusInfoInner withLocation(String location)
RollingUpgradeStatusInfoInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RollingUpgradeStatusInfoInner

public RollingUpgradeStatusInfoInner()

Creates an instance of RollingUpgradeStatusInfoInner class.

Method Details

error

public ApiError error()

Get the error property: Error details for this upgrade, if there are any.

Returns:

the error value.

fromJson

public static RollingUpgradeStatusInfoInner fromJson(JsonReader jsonReader)

Reads an instance of RollingUpgradeStatusInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RollingUpgradeStatusInfoInner 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:

RollingUpgradeStatusInfoInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RollingUpgradeStatusInfoInner.name()

Returns:

the name value.

policy

public RollingUpgradePolicy policy()

Get the policy property: The rolling upgrade policies applied for this upgrade.

Returns:

the policy value.

progress

public RollingUpgradeProgressInfo progress()

Get the progress property: Information about the number of virtual machine instances in each upgrade state.

Returns:

the progress value.

runningStatus

public RollingUpgradeRunningStatus runningStatus()

Get the runningStatus property: Information about the current running state of the overall upgrade.

Returns:

the runningStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RollingUpgradeStatusInfoInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RollingUpgradeStatusInfoInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public RollingUpgradeStatusInfoInner withLocation(String location)

Overrides:

RollingUpgradeStatusInfoInner.withLocation(String location)

Parameters:

location

withTags

public RollingUpgradeStatusInfoInner withTags(Map tags)

Overrides:

RollingUpgradeStatusInfoInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to