Compartir a través de


RackDefinition Class

RackDefinition represents details regarding the rack.

All required parameters must be populated in order to send to server.

Constructor

RackDefinition(*, network_rack_id: str, rack_serial_number: str, rack_sku_id: str, availability_zone: str | None = None, bare_metal_machine_configuration_data: list['_models.BareMetalMachineConfigurationData'] | None = None, rack_location: str | None = None, storage_appliance_configuration_data: list['_models.StorageApplianceConfigurationData'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
availability_zone
str

The zone name used for this rack when created. Availability zones are used for workload placement.

Default value: None
bare_metal_machine_configuration_data

The unordered list of bare metal machine configuration.

Default value: None
network_rack_id
str

The resource ID of the network rack that matches this rack definition. Required.

rack_location
str

The free-form description of the rack's location.

Default value: None
rack_serial_number
str

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. Required.

rack_sku_id
str

The resource ID of the sku for the rack being added. Required.

storage_appliance_configuration_data

The list of storage appliance configuration data for this rack.

Default value: None

Variables

Name Description
availability_zone
str

The zone name used for this rack when created. Availability zones are used for workload placement.

bare_metal_machine_configuration_data

The unordered list of bare metal machine configuration.

network_rack_id
str

The resource ID of the network rack that matches this rack definition. Required.

rack_location
str

The free-form description of the rack's location.

rack_serial_number
str

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. Required.

rack_sku_id
str

The resource ID of the sku for the rack being added. Required.

storage_appliance_configuration_data

The list of storage appliance configuration data for this rack.