RackDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. RackDefinition
- com.
Implements
public final class RackDefinition
implements JsonSerializable<RackDefinition>
RackDefinition represents details regarding the rack.
Constructor Summary
| Constructor | Description |
|---|---|
| RackDefinition() |
Creates an instance of Rack |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
availabilityZone()
Get the availability |
|
List<Bare |
bareMetalMachineConfigurationData()
Get the bare |
|
static
Rack |
fromJson(JsonReader jsonReader)
Reads an instance of Rack |
| String |
networkRackId()
Get the network |
| String |
rackLocation()
Get the rack |
| String |
rackSerialNumber()
Get the rack |
| String |
rackSkuId()
Get the rack |
|
List<Storage |
storageApplianceConfigurationData()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Rack |
withAvailabilityZone(String availabilityZone)
Set the availability |
|
Rack |
withBareMetalMachineConfigurationData(List<BareMetalMachineConfigurationData> bareMetalMachineConfigurationData)
Set the bare |
|
Rack |
withNetworkRackId(String networkRackId)
Set the network |
|
Rack |
withRackLocation(String rackLocation)
Set the rack |
|
Rack |
withRackSerialNumber(String rackSerialNumber)
Set the rack |
|
Rack |
withRackSkuId(String rackSkuId)
Set the rack |
|
Rack |
withStorageApplianceConfigurationData(List<StorageApplianceConfigurationData> storageApplianceConfigurationData)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
RackDefinition
public RackDefinition()
Creates an instance of RackDefinition class.
Method Details
availabilityZone
public String availabilityZone()
Get the availabilityZone property: The zone name used for this rack when created. Availability zones are used for workload placement.
Returns:
bareMetalMachineConfigurationData
public List<BareMetalMachineConfigurationData> bareMetalMachineConfigurationData()
Get the bareMetalMachineConfigurationData property: The unordered list of bare metal machine configuration.
Returns:
fromJson
public static RackDefinition fromJson(JsonReader jsonReader)
Reads an instance of RackDefinition from the JsonReader.
Parameters:
Returns:
Throws:
networkRackId
public String networkRackId()
Get the networkRackId property: The resource ID of the network rack that matches this rack definition.
Returns:
rackLocation
public String rackLocation()
Get the rackLocation property: The free-form description of the rack's location.
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 resource ID of the sku for the rack being added.
Returns:
storageApplianceConfigurationData
public List<StorageApplianceConfigurationData> storageApplianceConfigurationData()
Get the storageApplianceConfigurationData property: The list of storage appliance configuration data for this rack.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAvailabilityZone
public RackDefinition withAvailabilityZone(String availabilityZone)
Set the availabilityZone property: The zone name used for this rack when created. Availability zones are used for workload placement.
Parameters:
Returns:
withBareMetalMachineConfigurationData
public RackDefinition withBareMetalMachineConfigurationData(List<BareMetalMachineConfigurationData> bareMetalMachineConfigurationData)
Set the bareMetalMachineConfigurationData property: The unordered list of bare metal machine configuration.
Parameters:
Returns:
withNetworkRackId
public RackDefinition withNetworkRackId(String networkRackId)
Set the networkRackId property: The resource ID of the network rack that matches this rack definition.
Parameters:
Returns:
withRackLocation
public RackDefinition withRackLocation(String rackLocation)
Set the rackLocation property: The free-form description of the rack's location.
Parameters:
Returns:
withRackSerialNumber
public RackDefinition 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 RackDefinition withRackSkuId(String rackSkuId)
Set the rackSkuId property: The resource ID of the sku for the rack being added.
Parameters:
Returns:
withStorageApplianceConfigurationData
public RackDefinition withStorageApplianceConfigurationData(List<StorageApplianceConfigurationData> storageApplianceConfigurationData)
Set the storageApplianceConfigurationData property: The list of storage appliance configuration data for this rack.
Parameters:
Returns: