RackInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. networkcloud. fluent. models. RackInner
- com.
- com.
- com.
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 Rack |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
availabilityZone()
Get the availability |
| String |
clusterId()
Get the cluster |
|
Rack |
detailedStatus()
Get the detailed |
| String |
detailedStatusMessage()
Get the detailed |
| String |
etag()
Get the etag property: Resource ETag. |
|
Extended |
extendedLocation()
Get the extended |
|
static
Rack |
fromJson(JsonReader jsonReader)
Reads an instance of Rack |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Rack |
provisioningState()
Get the provisioning |
| String |
rackLocation()
Get the rack |
| String |
rackSerialNumber()
Get the rack |
| String |
rackSkuId()
Get the rack |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Rack |
withAvailabilityZone(String availabilityZone)
Set the availability |
|
Rack |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Rack |
withLocation(String location) |
|
Rack |
withRackLocation(String rackLocation)
Set the rack |
|
Rack |
withRackSerialNumber(String rackSerialNumber)
Set the rack |
|
Rack |
withRackSkuId(String rackSkuId)
Set the rack |
|
Rack |
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:
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:
detailedStatus
public RackDetailedStatus detailedStatus()
Get the detailedStatus property: The more detailed status of the rack.
Returns:
detailedStatusMessage
public String detailedStatusMessage()
Get the detailedStatusMessage property: The descriptive message about the current detailed status.
Returns:
etag
public String etag()
Get the etag property: Resource ETag.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the cluster associated with the resource.
Returns:
fromJson
public static RackInner fromJson(JsonReader jsonReader)
Reads an instance of RackInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RackInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RackInner.name()Returns:
provisioningState
public RackProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the rack resource.
Returns:
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:
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:
rackSkuId
public String rackSkuId()
Get the rackSkuId property: The SKU for the rack.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RackInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RackInner.type()Returns:
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:
Returns:
withExtendedLocation
public RackInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the cluster associated with the resource.
Parameters:
Returns:
withLocation
public RackInner withLocation(String location)
Overrides:
RackInner.withLocation(String location)Parameters:
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:
Returns:
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:
Returns:
withRackSkuId
public RackInner withRackSkuId(String rackSkuId)
Set the rackSkuId property: The SKU for the rack.
Parameters:
Returns:
withTags
public RackInner withTags(Map<String,String> tags)
Overrides:
RackInner.withTags(Map<String,String> tags)Parameters: