Share via


Microsoft.NetworkCloud racks

Bicep resource definition

The racks resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NetworkCloud/racks resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.NetworkCloud/racks@2025-09-01' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    availabilityZone: 'string'
    rackLocation: 'string'
    rackSerialNumber: 'string'
    rackSkuId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.NetworkCloud/racks

Name Description Value
extendedLocation The extended location of the cluster associated with the resource. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$ (required)
properties The list of the resource properties. RackProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

ExtendedLocation

Name Description Value
name The resource ID of the extended location on which the resource will be created. string (required)
type The extended location type, for example, CustomLocation. string (required)

RackProperties

Name Description Value
availabilityZone 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

Constraints:
Pattern = ^[a-zA-Z0-9]{1,10}$ (required)
rackLocation The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”) string

Constraints:
Max length = 256 (required)
rackSerialNumber 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. string

Constraints:
Min length = 1
Max length = 64 (required)
rackSkuId The SKU for the rack. string (required)

TrackedResourceTags

Name Description Value

ARM template resource definition

The racks resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NetworkCloud/racks resource, add the following JSON to your template.

{
  "type": "Microsoft.NetworkCloud/racks",
  "apiVersion": "2025-09-01",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
    "availabilityZone": "string",
    "rackLocation": "string",
    "rackSerialNumber": "string",
    "rackSkuId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.NetworkCloud/racks

Name Description Value
apiVersion The api version '2025-09-01'
extendedLocation The extended location of the cluster associated with the resource. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$ (required)
properties The list of the resource properties. RackProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.NetworkCloud/racks'

ExtendedLocation

Name Description Value
name The resource ID of the extended location on which the resource will be created. string (required)
type The extended location type, for example, CustomLocation. string (required)

RackProperties

Name Description Value
availabilityZone 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

Constraints:
Pattern = ^[a-zA-Z0-9]{1,10}$ (required)
rackLocation The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”) string

Constraints:
Max length = 256 (required)
rackSerialNumber 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. string

Constraints:
Min length = 1
Max length = 64 (required)
rackSkuId The SKU for the rack. string (required)

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The racks resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NetworkCloud/racks resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetworkCloud/racks@2025-09-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      availabilityZone = "string"
      rackLocation = "string"
      rackSerialNumber = "string"
      rackSkuId = "string"
    }
  }
}

Property Values

Microsoft.NetworkCloud/racks

Name Description Value
extendedLocation The extended location of the cluster associated with the resource. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$ (required)
properties The list of the resource properties. RackProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.NetworkCloud/racks@2025-09-01"

ExtendedLocation

Name Description Value
name The resource ID of the extended location on which the resource will be created. string (required)
type The extended location type, for example, CustomLocation. string (required)

RackProperties

Name Description Value
availabilityZone 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

Constraints:
Pattern = ^[a-zA-Z0-9]{1,10}$ (required)
rackLocation The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”) string

Constraints:
Max length = 256 (required)
rackSerialNumber 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. string

Constraints:
Min length = 1
Max length = 64 (required)
rackSkuId The SKU for the rack. string (required)

TrackedResourceTags

Name Description Value