Skip to main content

add_or_update_blocklist_items

Creates, updates, deletes, gets or lists an add_or_update_blocklist_items resource.

Overview

Nameadd_or_update_blocklist_items
TypeResource
Idazure.ai_content_safety.add_or_update_blocklist_items

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
add_or_update_blocklist_itemsexecblocklist_name, endpoint, blocklistItemsAdd or update BlocklistItems To Text Blocklist. Add or update blocklistItems to a text blocklist. You can add or update at most 100 blocklistItems in one request.

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
blocklist_namestringText blocklist name. Required.
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )

Lifecycle Methods

Add or update BlocklistItems To Text Blocklist. Add or update blocklistItems to a text blocklist. You can add or update at most 100 blocklistItems in one request.

EXEC azure.ai_content_safety.add_or_update_blocklist_items.add_or_update_blocklist_items 
@blocklist_name='{{ blocklist_name }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"blocklistItems": "{{ blocklistItems }}"
}'
;