Skip to main content

test_rai_external_safety_provider

Creates, updates, deletes, gets or lists a test_rai_external_safety_provider resource.

Overview

Nametest_rai_external_safety_provider
TypeResource
Idazure.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:

NameAccessible byRequired ParamsOptional ParamsDescription
create_or_updateinsertresource_group_name, account_name, safety_provider_name, subscription_idTest the rai safety provider associated with the subscription.
create_or_updatereplaceresource_group_name, account_name, safety_provider_name, subscription_idTest 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.

NameDatatypeDescription
account_namestringThe name of Cognitive Services account. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
safety_provider_namestringThe name of the Rai External Safety Provider associated with the Cognitive Services Account. Required.
subscription_idstring

INSERT examples

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
;

REPLACE examples

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;