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 accounts/testRaiExternalSafetyProvider 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.CognitiveServices/accounts/testRaiExternalSafetyProvider resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider@2026-03-15-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
keyVaultUri: 'string'
managedIdentity: 'string'
mode: 'string'
providerId: 'string'
providerName: 'string'
secretName: 'string'
url: 'string'
}
}
Property Values
Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) |
| 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: accounts |
| properties | Properties of Cognitive Services Rai External Safety provider. | RaiExternalSafetyProviderSchemaProperties |
RaiExternalSafetyProviderSchemaProperties
| Name | Description | Value |
|---|---|---|
| keyVaultUri | The Key Vault URI that contains the api key for safety provider urls. | string |
| managedIdentity | The managed identity to access the Key Vault. | string |
| mode | Safety provider mode sync/async. | string |
| providerId | The unique identifier of the safety provider. | string |
| providerName | Name of the safety provider. | string |
| secretName | The name of the secret in Key Vault that contains the api key to access the webhook. | string |
| url | Webhook URL for the safety provider. | string |
ARM template resource definition
The accounts/testRaiExternalSafetyProvider 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.
Usage Examples
Resource format
To create a Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider resource, add the following JSON to your template.
{
"type": "Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider",
"apiVersion": "2026-03-15-preview",
"name": "string",
"properties": {
"keyVaultUri": "string",
"managedIdentity": "string",
"mode": "string",
"providerId": "string",
"providerName": "string",
"secretName": "string",
"url": "string"
}
}
Property Values
Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-03-15-preview' |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) |
| properties | Properties of Cognitive Services Rai External Safety provider. | RaiExternalSafetyProviderSchemaProperties |
| type | The resource type | 'Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider' |
RaiExternalSafetyProviderSchemaProperties
| Name | Description | Value |
|---|---|---|
| keyVaultUri | The Key Vault URI that contains the api key for safety provider urls. | string |
| managedIdentity | The managed identity to access the Key Vault. | string |
| mode | Safety provider mode sync/async. | string |
| providerId | The unique identifier of the safety provider. | string |
| providerName | Name of the safety provider. | string |
| secretName | The name of the secret in Key Vault that contains the api key to access the webhook. | string |
| url | Webhook URL for the safety provider. | string |
Terraform (AzAPI provider) resource definition
The accounts/testRaiExternalSafetyProvider 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.CognitiveServices/accounts/testRaiExternalSafetyProvider resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider@2026-03-15-preview"
name = "string"
parent_id = "string"
body = {
properties = {
keyVaultUri = "string"
managedIdentity = "string"
mode = "string"
providerId = "string"
providerName = "string"
secretName = "string"
url = "string"
}
}
}
Property Values
Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: accounts |
| properties | Properties of Cognitive Services Rai External Safety provider. | RaiExternalSafetyProviderSchemaProperties |
| type | The resource type | "Microsoft.CognitiveServices/accounts/testRaiExternalSafetyProvider@2026-03-15-preview" |
RaiExternalSafetyProviderSchemaProperties
| Name | Description | Value |
|---|---|---|
| keyVaultUri | The Key Vault URI that contains the api key for safety provider urls. | string |
| managedIdentity | The managed identity to access the Key Vault. | string |
| mode | Safety provider mode sync/async. | string |
| providerId | The unique identifier of the safety provider. | string |
| providerName | Name of the safety provider. | string |
| secretName | The name of the secret in Key Vault that contains the api key to access the webhook. | string |
| url | Webhook URL for the safety provider. | string |