Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The networkDevices resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetworkFabric/networkDevices resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ManagedNetworkFabric/networkDevices@2023-06-15' = {
location: 'string'
name: 'string'
properties: {
annotation: 'string'
hostName: 'string'
networkDeviceSku: 'string'
serialNumber: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkDevices
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Resource properties. | NetworkDeviceProperties (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
NetworkDeviceProperties
Name | Description | Value |
---|---|---|
annotation | Switch configuration description. | string |
hostName | The host name of the device. | string Constraints: Min length = 1 |
networkDeviceSku | Network Device SKU name. | string |
serialNumber | Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber. | string Constraints: Min length = 1 |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The networkDevices resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetworkFabric/networkDevices resource, add the following JSON to your template.
{
"type": "Microsoft.ManagedNetworkFabric/networkDevices",
"apiVersion": "2023-06-15",
"name": "string",
"location": "string",
"properties": {
"annotation": "string",
"hostName": "string",
"networkDeviceSku": "string",
"serialNumber": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkDevices
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2023-06-15' |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Resource properties. | NetworkDeviceProperties (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.ManagedNetworkFabric/networkDevices' |
NetworkDeviceProperties
Name | Description | Value |
---|---|---|
annotation | Switch configuration description. | string |
hostName | The host name of the device. | string Constraints: Min length = 1 |
networkDeviceSku | Network Device SKU name. | string |
serialNumber | Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber. | string Constraints: Min length = 1 |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The networkDevices 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.ManagedNetworkFabric/networkDevices resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ManagedNetworkFabric/networkDevices@2023-06-15"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
annotation = "string"
hostName = "string"
networkDeviceSku = "string"
serialNumber = "string"
}
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkDevices
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Resource properties. | NetworkDeviceProperties (required) |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.ManagedNetworkFabric/networkDevices@2023-06-15" |
NetworkDeviceProperties
Name | Description | Value |
---|---|---|
annotation | Switch configuration description. | string |
hostName | The host name of the device. | string Constraints: Min length = 1 |
networkDeviceSku | Network Device SKU name. | string |
serialNumber | Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber. | string Constraints: Min length = 1 |
TrackedResourceTags
Name | Description | Value |
---|