Delen via


Namespaces - Delete

Hiermee verwijdert u een bestaande naamruimte. Met deze bewerking worden ook alle gekoppelde resources onder de naamruimte verwijderd.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}?api-version=2024-01-01

URI-parameters

Name In Vereist Type Description
namespaceName
path True

string

minLength: 6
maxLength: 50

De naamruimtenaam

resourceGroupName
path True

string

minLength: 1
maxLength: 90

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

subscriptionId
path True

string

Abonnementsreferenties waarmee een Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.

api-version
query True

string

minLength: 1

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

Antwoorden

Name Type Description
200 OK

Naamruimte is verwijderd.

202 Accepted

Aanvraag voor verwijderen van naamruimte geaccepteerd.

204 No Content

Geen inhoud.

Other Status Codes

ErrorResponse

ServiceBus-foutantwoord waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

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

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

NameSpaceDelete

Voorbeeldaanvraag

DELETE https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-3285?api-version=2024-01-01

Voorbeeldrespons

azure-asyncoperation: http://azure.async.operation/status
azure-asyncoperation: http://azure.async.operation/status
azure-asyncoperation: http://azure.async.operation/status

Definities

Name Description
Error

Het foutobject.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorResponse

Het antwoord van het resourcebeheerfout.

Error

Het foutobject.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorResponse[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorResponse

Het antwoord van het resourcebeheerfout.

Name Type Description
error

Error

Het foutobject.