RackInner Class

public final class RackInner
extends Resource

Rack represents the hardware of the rack and is dependent upon the cluster for lifecycle.

Constructor Summary

Constructor Description
RackInner()

Creates an instance of RackInner class.

Method Summary

Modifier and Type Method and Description
String availabilityZone()

Get the availabilityZone property: The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.

String clusterId()

Get the clusterId property: The resource ID of the cluster the rack is created for.

RackDetailedStatus detailedStatus()

Get the detailedStatus property: The more detailed status of the rack.

String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message about the current detailed status.

String etag()

Get the etag property: Resource ETag.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the cluster associated with the resource.

static RackInner fromJson(JsonReader jsonReader)

Reads an instance of RackInner 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.

RackProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the rack resource.

String rackLocation()

Get the rackLocation property: The free-form description of the rack location.

String rackSerialNumber()

Get the rackSerialNumber property: The unique identifier for the rack within Network Cloud cluster.

String rackSkuId()

Get the rackSkuId property: The SKU for the rack.

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.

RackInner withAvailabilityZone(String availabilityZone)

Set the availabilityZone property: The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.

RackInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the cluster associated with the resource.

RackInner withLocation(String location)
RackInner withRackLocation(String rackLocation)

Set the rackLocation property: The free-form description of the rack location.

RackInner withRackSerialNumber(String rackSerialNumber)

Set the rackSerialNumber property: The unique identifier for the rack within Network Cloud cluster.

RackInner withRackSkuId(String rackSkuId)

Set the rackSkuId property: The SKU for the rack.

RackInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RackInner

public RackInner()

Creates an instance of RackInner class.

Method Details

availabilityZone

public String availabilityZone()

Get the availabilityZone property: The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.

Returns:

the availabilityZone value.

clusterId

public String clusterId()

Get the clusterId property: The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.

Returns:

the clusterId value.

detailedStatus

public RackDetailedStatus detailedStatus()

Get the detailedStatus property: The more detailed status of the rack.

Returns:

the detailedStatus value.

detailedStatusMessage

public String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message about the current detailed status.

Returns:

the detailedStatusMessage value.

etag

public String etag()

Get the etag property: Resource ETag.

Returns:

the etag value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the cluster associated with the resource.

Returns:

the extendedLocation value.

fromJson

public static RackInner fromJson(JsonReader jsonReader)

Reads an instance of RackInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

RackInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RackInner.name()

Returns:

the name value.

provisioningState

public RackProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the rack resource.

Returns:

the provisioningState value.

rackLocation

public String rackLocation()

Get the rackLocation property: The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”).

Returns:

the rackLocation value.

rackSerialNumber

public String rackSerialNumber()

Get the rackSerialNumber property: The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.

Returns:

the rackSerialNumber value.

rackSkuId

public String rackSkuId()

Get the rackSkuId property: The SKU for the rack.

Returns:

the rackSkuId 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:

RackInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RackInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAvailabilityZone

public RackInner withAvailabilityZone(String availabilityZone)

Set the availabilityZone property: The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.

Parameters:

availabilityZone - the availabilityZone value to set.

Returns:

the RackInner object itself.

withExtendedLocation

public RackInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the cluster associated with the resource.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the RackInner object itself.

withLocation

public RackInner withLocation(String location)

Overrides:

RackInner.withLocation(String location)

Parameters:

location

withRackLocation

public RackInner withRackLocation(String rackLocation)

Set the rackLocation property: The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”).

Parameters:

rackLocation - the rackLocation value to set.

Returns:

the RackInner object itself.

withRackSerialNumber

public RackInner withRackSerialNumber(String rackSerialNumber)

Set the rackSerialNumber property: The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.

Parameters:

rackSerialNumber - the rackSerialNumber value to set.

Returns:

the RackInner object itself.

withRackSkuId

public RackInner withRackSkuId(String rackSkuId)

Set the rackSkuId property: The SKU for the rack.

Parameters:

rackSkuId - the rackSkuId value to set.

Returns:

the RackInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to