Delen via


Rack Class

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

Variables are only populated by the server, and will be ignored when sending a request.

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

Constructor

Rack(*, location: str, extended_location: _models.ExtendedLocation, availability_zone: str, rack_location: str, rack_serial_number: str, rack_sku_id: str, tags: dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
location
str

The geo-location where the resource lives. Required.

extended_location

The extended location of the cluster associated with the resource. Required.

availability_zone
str

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

rack_location
str

The free-form description of the rack location. (e.g. "DTN Datacenter, Floor 3, Isle 9, Rack 2B"). Required.

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 SKU for the rack. Required.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

etag
str

Resource ETag.

extended_location

The extended location of the cluster associated with the resource. Required.

availability_zone
str

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

cluster_id
str

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

detailed_status

The more detailed status of the rack. Known values are: "Error", "Available", and "Provisioning".

detailed_status_message
str

The descriptive message about the current detailed status.

provisioning_state

The provisioning state of the rack resource. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", and "Accepted".

rack_location
str

The free-form description of the rack location. (e.g. "DTN Datacenter, Floor 3, Isle 9, Rack 2B"). Required.

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 SKU for the rack. Required.