The environments/accessPolicies 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.TimeSeriesInsights/environments/accessPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.TimeSeriesInsights/environments/accessPolicies",
"apiVersion": "2021-06-30-preview",
"name": "string",
"properties": {
"description": "string",
"principalObjectId": "string",
"roles": [ "string" ]
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.TimeSeriesInsights/environments/accessPolicies' |
apiVersion | The resource api version | '2021-06-30-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-90 Valid characters: Can't use: '<>%&:\?/# or control characters |
properties | AccessPolicyResourceProperties (required) |
Name | Description | Value |
---|---|---|
description | An description of the access policy. | string |
principalObjectId | The objectId of the principal in Azure Active Directory. | string |
roles | The list of roles the principal is assigned on the environment. | String array containing any of: 'Contributor' 'Reader' |
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Create a Pay As You Go (PAYG) Environment with an IoT Hub |
This template enables you to deploy a Pay As You Go (PAYG) Time Series Insights environment that is configured to consume events from an IoT Hub. |
Create an Environment with an Event Hub Event Source |
This template enables you to deploy a Time Series Insights environment that is configured to consume events from an Event Hub. |