Delen via


Connection Rai Blocklist - Delete

Hiermee verwijdert u de opgegeven aangepaste blokkeringslijst die is gekoppeld aan de Azure OpenAI-verbinding.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}?api-version=2026-01-15-preview
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}?api-version=2026-01-15-preview&proxy-api-version={proxy-api-version}

URI-parameters

Name In Vereist Type Description
connectionName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

Beschrijvende naam van de werkruimteverbinding

raiBlocklistName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$

De naam van de RaiBlocklist.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

De naam van de resourcegroep. De naam is hoofdletterongevoelig.

subscriptionId
path True

string

minLength: 1

De id van het doelabonnement.

workspaceName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

Naam van Azure Machine Learning werkruimte

api-version
query True

string

minLength: 1

De API-versie die voor deze bewerking moet worden gebruikt.

proxy-api-version
query

string

Api-versie die wordt gebruikt door proxy-aanroep

Antwoorden

Name Type Description
202 Accepted

Het verwijderen van resources is geaccepteerd.

Kopteksten

  • Location: string
  • Retry-After: integer
204 No Content

Resource bestaat niet.

Other Status Codes

ErrorResponse

Een onverwachte foutreactie.

Beveiliging

azure_auth

OAuth2-stroom voor Azure Active Directory.

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Delete Rai Blocklist

Voorbeeldaanvraag

DELETE https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/connections/testConnection/raiBlocklists/raiBlocklistName?api-version=2026-01-15-preview

Voorbeeldrespons

Location: example_location

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoelwit.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.