The devices resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.HybridNetwork/devices resource, add the following JSON to your template.
{
"type": "Microsoft.HybridNetwork/devices",
"apiVersion": "2022-01-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"deviceType": "string"
// For remaining properties, see DevicePropertiesFormat objects
}
}
Set the deviceType property to specify the type of object.
For AzureStackEdge, use:
"deviceType": "AzureStackEdge",
"azureStackEdge": {
"id": "string"
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.HybridNetwork/devices' |
apiVersion | The resource api version | '2022-01-01-preview' |
name | The resource name | string (required) |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
properties | Device properties. | DevicePropertiesFormat |
Name | Description | Value |
---|---|---|
deviceType | Set the object type | AzureStackEdge (required) |
Name | Description | Value |
---|---|---|
deviceType | The type of the device. | 'AzureStackEdge' (required) |
azureStackEdge | The reference to the Azure stack edge device. | SubResource (required) |
Name | Description | Value |
---|---|---|
id | Resource ID. | string |