Azure / Azure/azure-rest-api-specs
Service Bus Namespace properties is missing description for 'status' field
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
The properties of a service bus namespace contain a undocumented `status` field in the REST response.
``` json
"properties": {
"createdAt": "2019-07-06T05:31:50.74Z",
"metricId": "27b750cd-ed43-42fd-9044-8d75e124ae55:k8s-3231d57f-30dc-45dd-b6ef-ab5caf083a11",
"provisioningState": "Succeeded",
"serviceBusEndpoint": "https://k8s-3231d57f-30dc-45dd-b6ef-ab5caf083a11.servicebus.windows.net:443/",
"status": "Active",
"updatedAt": "2019-07-06T05:32:33.56Z"
},
```
The `status` field is also the only field that indicates that a Service Bus Namespace is currently being deleted (status='Removing', provisioningState='Succeeded'). A bit inconvenient to not have this documented or in any of the generated SDK's.
This is the location where the properties are declared:
https://github.com/Azure/azure-rest-api-specs/blob/d6d5aca27ed6252cfeab510b8abd2a935b468e04/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json#L3348
Contributor guide
Assessment
This issue has not been assessed yet.