Skip to main content

connection_rai_blocklists

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

Overview

Nameconnection_rai_blocklists
TypeResource
Idazure.ml_services.connection_rai_blocklists

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
descriptiontextfield from the properties object
connectionNametextfield 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, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName
listSELECTconnectionName, resourceGroupName, subscriptionId, workspaceName
createINSERTconnectionName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEconnectionName, raiBlocklistName, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
id,
name,
description,
connectionName,
raiBlocklistName,
resourceGroupName,
subscriptionId,
system_data,
type,
workspaceName
FROM azure.ml_services.vw_connection_rai_blocklists
WHERE connectionName = '{{ connectionName }}'
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_blocklists resource.

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

DELETE example

Deletes the specified connection_rai_blocklists resource.

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