Microsoft.CustomerInsights hubs/authorizationPolicies 2017-01-01
Bicep resource definition
The hubs/authorizationPolicies resource type can be deployed to:
- 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.CustomerInsights/hubs/authorizationPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.CustomerInsights/hubs/authorizationPolicies@2017-01-01' = {
name: 'string'
parent: resourceSymbolicName
properties: {
permissions: [
'string'
]
primaryKey: 'string'
secondaryKey: 'string'
}
}
Property values
hubs/authorizationPolicies
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
string (required) Character limit: 1-50 Valid characters: Alphanumerics, underscores, and periods. Start and end with alphanumeric. |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: hubs |
properties | The authorization policy. | AuthorizationPolicy |
AuthorizationPolicy
Name | Description | Value |
---|---|---|
permissions | The permissions associated with the policy. | String array containing any of: 'Manage' 'Read' 'Write' (required) |
primaryKey | Primary key associated with the policy. | string |
secondaryKey | Secondary key associated with the policy. | string |
ARM template resource definition
The hubs/authorizationPolicies resource type can be deployed to:
- 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.CustomerInsights/hubs/authorizationPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.CustomerInsights/hubs/authorizationPolicies",
"apiVersion": "2017-01-01",
"name": "string",
"properties": {
"permissions": [ "string" ],
"primaryKey": "string",
"secondaryKey": "string"
}
}
Property values
hubs/authorizationPolicies
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.CustomerInsights/hubs/authorizationPolicies' |
apiVersion | The resource api version | '2017-01-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-50 Valid characters: Alphanumerics, underscores, and periods. Start and end with alphanumeric. |
properties | The authorization policy. | AuthorizationPolicy |
AuthorizationPolicy
Name | Description | Value |
---|---|---|
permissions | The permissions associated with the policy. | String array containing any of: 'Manage' 'Read' 'Write' (required) |
primaryKey | Primary key associated with the policy. | string |
secondaryKey | Secondary key associated with the policy. | string |
Terraform (AzAPI provider) resource definition
The hubs/authorizationPolicies resource type can be deployed to:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.CustomerInsights/hubs/authorizationPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.CustomerInsights/hubs/authorizationPolicies@2017-01-01"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
permissions = [
"string"
]
primaryKey = "string"
secondaryKey = "string"
}
})
}
Property values
hubs/authorizationPolicies
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.CustomerInsights/hubs/authorizationPolicies@2017-01-01" |
name | The resource name | string (required) Character limit: 1-50 Valid characters: Alphanumerics, underscores, and periods. Start and end with alphanumeric. |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: hubs |
properties | The authorization policy. | AuthorizationPolicy |
AuthorizationPolicy
Name | Description | Value |
---|---|---|
permissions | The permissions associated with the policy. | String array containing any of: "Manage" "Read" "Write" (required) |
primaryKey | Primary key associated with the policy. | string |
secondaryKey | Secondary key associated with the policy. | string |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for