Share via


DedicatedCloudNodeInner Class

public final class DedicatedCloudNodeInner
extends Resource

Dedicated cloud node model.

Constructor Summary

Constructor Description
DedicatedCloudNodeInner()

Creates an instance of DedicatedCloudNodeInner class.

Method Summary

Modifier and Type Method and Description
String availabilityZoneId()

Get the availabilityZoneId property: Availability Zone id, e.g.

String availabilityZoneName()

Get the availabilityZoneName property: Availability Zone name, e.g.

String cloudRackName()

Get the cloudRackName property: VMWare Cloud Rack Name.

OffsetDateTime created()

Get the created property: date time the resource was created.

static DedicatedCloudNodeInner fromJson(JsonReader jsonReader)

Reads an instance of DedicatedCloudNodeInner from the JsonReader.

String id()

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

String idPropertiesId()

Get the id property: SKU's id.

String name()

Get the name property: The name of the resource.

String namePropertiesName()

Get the name property: SKU's name.

Integer nodesCount()

Get the nodesCount property: count of nodes to create.

String placementGroupId()

Get the placementGroupId property: Placement Group id, e.g.

String placementGroupName()

Get the placementGroupName property: Placement Name, e.g.

String privateCloudId()

Get the privateCloudId property: Private Cloud Id.

String privateCloudName()

Get the privateCloudName property: Resource Pool Name.

String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

UUID purchaseId()

Get the purchaseId property: purchase id.

Sku sku()

Get the sku property: Dedicated Cloud Nodes SKU.

NodeStatus status()

Get the status property: Node status, indicates is private cloud set up on this node or not.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String vmwareClusterName()

Get the vmwareClusterName property: VMWare Cluster Name.

DedicatedCloudNodeInner withAvailabilityZoneId(String availabilityZoneId)

Set the availabilityZoneId property: Availability Zone id, e.g.

DedicatedCloudNodeInner withIdPropertiesId(String id)

Set the id property: SKU's id.

DedicatedCloudNodeInner withLocation(String location)
DedicatedCloudNodeInner withNamePropertiesName(String name)

Set the name property: SKU's name.

DedicatedCloudNodeInner withNodesCount(Integer nodesCount)

Set the nodesCount property: count of nodes to create.

DedicatedCloudNodeInner withPlacementGroupId(String placementGroupId)

Set the placementGroupId property: Placement Group id, e.g.

DedicatedCloudNodeInner withPurchaseId(UUID purchaseId)

Set the purchaseId property: purchase id.

DedicatedCloudNodeInner withSku(Sku sku)

Set the sku property: Dedicated Cloud Nodes SKU.

DedicatedCloudNodeInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DedicatedCloudNodeInner

public DedicatedCloudNodeInner()

Creates an instance of DedicatedCloudNodeInner class.

Method Details

availabilityZoneId

public String availabilityZoneId()

Get the availabilityZoneId property: Availability Zone id, e.g. "az1".

Returns:

the availabilityZoneId value.

availabilityZoneName

public String availabilityZoneName()

Get the availabilityZoneName property: Availability Zone name, e.g. "Availability Zone 1".

Returns:

the availabilityZoneName value.

cloudRackName

public String cloudRackName()

Get the cloudRackName property: VMWare Cloud Rack Name.

Returns:

the cloudRackName value.

created

public OffsetDateTime created()

Get the created property: date time the resource was created.

Returns:

the created value.

fromJson

public static DedicatedCloudNodeInner fromJson(JsonReader jsonReader)

Reads an instance of DedicatedCloudNodeInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

DedicatedCloudNodeInner.id()

Returns:

the id value.

idPropertiesId

public String idPropertiesId()

Get the id property: SKU's id.

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DedicatedCloudNodeInner.name()

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

Get the name property: SKU's name.

Returns:

the name value.

nodesCount

public Integer nodesCount()

Get the nodesCount property: count of nodes to create.

Returns:

the nodesCount value.

placementGroupId

public String placementGroupId()

Get the placementGroupId property: Placement Group id, e.g. "n1".

Returns:

the placementGroupId value.

placementGroupName

public String placementGroupName()

Get the placementGroupName property: Placement Name, e.g. "Placement Group 1".

Returns:

the placementGroupName value.

privateCloudId

public String privateCloudId()

Get the privateCloudId property: Private Cloud Id.

Returns:

the privateCloudId value.

privateCloudName

public String privateCloudName()

Get the privateCloudName property: Resource Pool Name.

Returns:

the privateCloudName value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

purchaseId

public UUID purchaseId()

Get the purchaseId property: purchase id.

Returns:

the purchaseId value.

sku

public Sku sku()

Get the sku property: Dedicated Cloud Nodes SKU.

Returns:

the sku value.

status

public NodeStatus status()

Get the status property: Node status, indicates is private cloud set up on this node or not.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DedicatedCloudNodeInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DedicatedCloudNodeInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vmwareClusterName

public String vmwareClusterName()

Get the vmwareClusterName property: VMWare Cluster Name.

Returns:

the vmwareClusterName value.

withAvailabilityZoneId

public DedicatedCloudNodeInner withAvailabilityZoneId(String availabilityZoneId)

Set the availabilityZoneId property: Availability Zone id, e.g. "az1".

Parameters:

availabilityZoneId - the availabilityZoneId value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withIdPropertiesId

public DedicatedCloudNodeInner withIdPropertiesId(String id)

Set the id property: SKU's id.

Parameters:

id - the id value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withLocation

public DedicatedCloudNodeInner withLocation(String location)

Overrides:

DedicatedCloudNodeInner.withLocation(String location)

Parameters:

location

withNamePropertiesName

public DedicatedCloudNodeInner withNamePropertiesName(String name)

Set the name property: SKU's name.

Parameters:

name - the name value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withNodesCount

public DedicatedCloudNodeInner withNodesCount(Integer nodesCount)

Set the nodesCount property: count of nodes to create.

Parameters:

nodesCount - the nodesCount value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withPlacementGroupId

public DedicatedCloudNodeInner withPlacementGroupId(String placementGroupId)

Set the placementGroupId property: Placement Group id, e.g. "n1".

Parameters:

placementGroupId - the placementGroupId value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withPurchaseId

public DedicatedCloudNodeInner withPurchaseId(UUID purchaseId)

Set the purchaseId property: purchase id.

Parameters:

purchaseId - the purchaseId value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withSku

public DedicatedCloudNodeInner withSku(Sku sku)

Set the sku property: Dedicated Cloud Nodes SKU.

Parameters:

sku - the sku value to set.

Returns:

the DedicatedCloudNodeInner object itself.

withTags

public DedicatedCloudNodeInner withTags(Map<String,String> tags)

Overrides:

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

Parameters:

tags

Applies to