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 |
|---|---|---|---|---|
|
namespace
|
path | True |
string minLength: 6maxLength: 50 |
De naamruimtenaam |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
|
subscription
|
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 |
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. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
Het antwoord van het resourcebeheerfout. |
Error
Het foutobject.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
De fout bevat aanvullende informatie. |
|
| code |
string |
De foutcode. |
| details |
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 |
Het foutobject. |