The privateLinkScopes 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.insights/privateLinkScopes resource, add the following JSON to your template.
{
"type": "microsoft.insights/privateLinkScopes",
"apiVersion": "2021-07-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"accessModeSettings": {
"exclusions": [
{
"ingestionAccessMode": "string",
"privateEndpointConnectionName": "string",
"queryAccessMode": "string"
}
],
"ingestionAccessMode": "string",
"queryAccessMode": "string"
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'microsoft.insights/privateLinkScopes' |
apiVersion | The resource api version | '2021-07-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 | Properties that define a Azure Monitor PrivateLinkScope resource. | AzureMonitorPrivateLinkScopeProperties (required) |
Name | Description | Value |
---|---|---|
accessModeSettings | Access mode settings | AccessModeSettings (required) |
Name | Description | Value |
---|---|---|
exclusions | List of exclusions that override the default access mode settings for specific private endpoint connections. | AccessModeSettingsExclusion[] |
ingestionAccessMode | Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array. | 'Open' 'PrivateOnly' (required) |
queryAccessMode | Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array. | 'Open' 'PrivateOnly' (required) |
Name | Description | Value |
---|---|---|
ingestionAccessMode | Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. | 'Open' 'PrivateOnly' |
privateEndpointConnectionName | The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. | string |
queryAccessMode | Specifies the access mode of queries through the specified private endpoint connection in the exclusion. | 'Open' 'PrivateOnly' |