test_rai_external_safety_provider
Creates, updates, deletes, gets or lists a test_rai_external_safety_provider resource.
Overview
| Name | test_rai_external_safety_provider |
| Type | Resource |
| Id | azure.cognitive_services.test_rai_external_safety_provider |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_or_update | insert | resource_group_name, account_name, safety_provider_name, subscription_id | Test the rai safety provider associated with the subscription. | |
create_or_update | replace | resource_group_name, account_name, safety_provider_name, subscription_id | Test the rai safety provider associated with the subscription. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_name | string | The name of Cognitive Services account. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
safety_provider_name | string | The name of the Rai External Safety Provider associated with the Cognitive Services Account. Required. |
subscription_id | string |
INSERT examples
- create_or_update
- Manifest
Test the rai safety provider associated with the subscription.
INSERT INTO azure.cognitive_services.test_rai_external_safety_provider (
properties,
resource_group_name,
account_name,
safety_provider_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ safety_provider_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: test_rai_external_safety_provider
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the test_rai_external_safety_provider resource.
- name: account_name
value: "{{ account_name }}"
description: Required parameter for the test_rai_external_safety_provider resource.
- name: safety_provider_name
value: "{{ safety_provider_name }}"
description: Required parameter for the test_rai_external_safety_provider resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the test_rai_external_safety_provider resource.
- name: properties
description: |
Properties of Cognitive Services Rai External Safety provider.
value:
providerId: "{{ providerId }}"
providerName: "{{ providerName }}"
mode: "{{ mode }}"
url: "{{ url }}"
secretName: "{{ secretName }}"
managedIdentity: "{{ managedIdentity }}"
keyVaultUri: "{{ keyVaultUri }}"
createdAt: "{{ createdAt }}"
lastModifiedAt: "{{ lastModifiedAt }}"
REPLACE examples
- create_or_update
Test the rai safety provider associated with the subscription.
REPLACE azure.cognitive_services.test_rai_external_safety_provider
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND safety_provider_name = '{{ safety_provider_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
properties,
systemData,
tags,
type;