Microsoft.DeviceUpdate accounts/instances 2020-03-01-preview

Template format

To create a Microsoft.DeviceUpdate/accounts/instances resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DeviceUpdate/accounts/instances",
  "apiVersion": "2020-03-01-preview",
  "tags": {},
  "location": "string",
  "properties": {
    "iotHubs": [
      {
        "resourceId": "string",
        "ioTHubConnectionString": "string",
        "eventHubConnectionString": "string"
      }
    ],
    "enableDiagnostics": "boolean"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DeviceUpdate/accounts/instances object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes Instance name.
type enum Yes For JSON -instances
-or-
Microsoft.DeviceUpdate/accounts/instances

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-03-01-preview
tags object No Resource tags.
location string Yes The geo-location where the resource lives
properties object Yes Device Update instance properties. - InstanceProperties object

InstanceProperties object

Name Type Required Value
iotHubs array No List of IoT Hubs associated with the account. - IotHubSettings object
enableDiagnostics boolean No Enables or Disables the diagnostic logs collection

IotHubSettings object

Name Type Required Value
resourceId string Yes IoTHub resource ID
ioTHubConnectionString string No IoTHub connection string.
eventHubConnectionString string No EventHub connection string.