Skip to main content

connection_rai_blocklist_items

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

Overview

Nameconnection_rai_blocklist_items
TypeResource
Idazure.ml_services.connection_rai_blocklist_items

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
connectionNametextfield from the properties object
is_regextextfield from the properties object
patterntextfield from the properties object
raiBlocklistItemNametextfield from the properties object
raiBlocklistNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectionName, raiBlocklistItemName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName
listSELECTconnectionName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName
createINSERTconnectionName, raiBlocklistItemName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEconnectionName, raiBlocklistItemName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName
add_bulkEXECconnectionName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
id,
name,
connectionName,
is_regex,
pattern,
raiBlocklistItemName,
raiBlocklistName,
resourceGroupName,
subscriptionId,
system_data,
type,
workspaceName
FROM azure.ml_services.vw_connection_rai_blocklist_items
WHERE connectionName = '{{ connectionName }}'
AND raiBlocklistName = '{{ raiBlocklistName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

Use the following StackQL query and manifest file to create a new connection_rai_blocklist_items resource.

/*+ create */
INSERT INTO azure.ml_services.connection_rai_blocklist_items (
connectionName,
raiBlocklistItemName,
raiBlocklistName,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ connectionName }}',
'{{ raiBlocklistItemName }}',
'{{ raiBlocklistName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified connection_rai_blocklist_items resource.

/*+ delete */
DELETE FROM azure.ml_services.connection_rai_blocklist_items
WHERE connectionName = '{{ connectionName }}'
AND raiBlocklistItemName = '{{ raiBlocklistItemName }}'
AND raiBlocklistName = '{{ raiBlocklistName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';