NetworkVirtualApplianceSkuInner Class

public final class NetworkVirtualApplianceSkuInner
extends Resource

Available NetworkVirtualApplianceSkus Definition of the NetworkVirtualApplianceSkus resource.

Constructor Summary

Constructor Description
NetworkVirtualApplianceSkuInner()

Creates an instance of NetworkVirtualApplianceSkuInner class.

Method Summary

Modifier and Type Method and Description
List<NetworkVirtualApplianceSkuInstances> availableScaleUnits()

Get the availableScaleUnits property: The list of scale units available.

List<String> availableVersions()

Get the availableVersions property: Available Network Virtual Appliance versions.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static NetworkVirtualApplianceSkuInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceSkuInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String vendor()

Get the vendor property: Network Virtual Appliance Sku vendor.

NetworkVirtualApplianceSkuInner withAvailableScaleUnits(List<NetworkVirtualApplianceSkuInstances> availableScaleUnits)

Set the availableScaleUnits property: The list of scale units available.

NetworkVirtualApplianceSkuInner withId(String id)

Set the id property: Resource ID.

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

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

NetworkVirtualApplianceSkuInner

public NetworkVirtualApplianceSkuInner()

Creates an instance of NetworkVirtualApplianceSkuInner class.

Method Details

availableScaleUnits

public List availableScaleUnits()

Get the availableScaleUnits property: The list of scale units available.

Returns:

the availableScaleUnits value.

availableVersions

public List availableVersions()

Get the availableVersions property: Available Network Virtual Appliance versions.

Returns:

the availableVersions value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static NetworkVirtualApplianceSkuInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceSkuInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkVirtualApplianceSkuInner 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: Resource ID.

Overrides:

NetworkVirtualApplianceSkuInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NetworkVirtualApplianceSkuInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkVirtualApplianceSkuInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NetworkVirtualApplianceSkuInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vendor

public String vendor()

Get the vendor property: Network Virtual Appliance Sku vendor.

Returns:

the vendor value.

withAvailableScaleUnits

public NetworkVirtualApplianceSkuInner withAvailableScaleUnits(List availableScaleUnits)

Set the availableScaleUnits property: The list of scale units available.

Parameters:

availableScaleUnits - the availableScaleUnits value to set.

Returns:

the NetworkVirtualApplianceSkuInner object itself.

withId

public NetworkVirtualApplianceSkuInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the NetworkVirtualApplianceSkuInner object itself.

withLocation

public NetworkVirtualApplianceSkuInner withLocation(String location)

Overrides:

NetworkVirtualApplianceSkuInner.withLocation(String location)

Parameters:

location

withTags

public NetworkVirtualApplianceSkuInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to