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 instances 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.IoTOperations/instances resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.IoTOperations/instances@2024-07-01-preview' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {
description: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.IoTOperations/instances
Name | Description | Value |
---|---|---|
extendedLocation | Edge location of the resource. | ExtendedLocation (required) |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required) |
properties | The resource-specific properties for this resource. | InstanceProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string (required) |
type | Type of ExtendedLocation. | 'CustomLocation' (required) |
InstanceProperties
Name | Description | Value |
---|---|---|
description | Detailed description of the Instance. | string |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The instances 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.IoTOperations/instances resource, add the following JSON to your template.
{
"type": "Microsoft.IoTOperations/instances",
"apiVersion": "2024-07-01-preview",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
"description": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.IoTOperations/instances
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-07-01-preview' |
extendedLocation | Edge location of the resource. | ExtendedLocation (required) |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required) |
properties | The resource-specific properties for this resource. | InstanceProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.IoTOperations/instances' |
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string (required) |
type | Type of ExtendedLocation. | 'CustomLocation' (required) |
InstanceProperties
Name | Description | Value |
---|---|---|
description | Detailed description of the Instance. | string |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The instances 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.IoTOperations/instances resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.IoTOperations/instances@2024-07-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
description = "string"
}
}
}
Property Values
Microsoft.IoTOperations/instances
Name | Description | Value |
---|---|---|
extendedLocation | Edge location of the resource. | ExtendedLocation (required) |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required) |
properties | The resource-specific properties for this resource. | InstanceProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.IoTOperations/instances@2024-07-01-preview" |
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string (required) |
type | Type of ExtendedLocation. | 'CustomLocation' (required) |
InstanceProperties
Name | Description | Value |
---|---|---|
description | Detailed description of the Instance. | string |
TrackedResourceTags
Name | Description | Value |
---|