Skip to content

Commit bc6b52f

Browse files
authored
{AzureSubscription} Fixes Azure/azure-sdk-for-go#18619 (#19919)
fixes Azure/azure-sdk-for-go/18619 The TenantIDDescription struct returned by calls to TenantsClient.ListComplete contains only two fields: ID and TenantID: However, the underlying API returns many more useful fields, including countryCode, displayName, domains, tenantCategory defaultDomain and tenantType. It would be great if these fields could also be made accessible through the Go SDK.
1 parent 13568d0 commit bc6b52f

File tree

1 file changed

+35
-0
lines changed
  • specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01

1 file changed

+35
-0
lines changed

specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/subscriptions.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,41 @@
319319
"readOnly": true,
320320
"type": "string",
321321
"description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000."
322+
},
323+
"tenantCategory": {
324+
"readOnly": true,
325+
"type": "string",
326+
"description": "The category of the tenant. Possible values are TenantCategoryHome,TenantCategoryProjectedBy,TenantCategoryManagedBy"
327+
},
328+
"country": {
329+
"readOnly": true,
330+
"type": "string",
331+
"description": "The country/region name of the address for the tenant."
332+
},
333+
"countryCode": {
334+
"readOnly": true,
335+
"type": "string",
336+
"description": "The Country/region abbreviation for the tenant."
337+
},
338+
"displayName": {
339+
"readOnly": true,
340+
"type": "string",
341+
"description": "The display name of the tenant."
342+
},
343+
"domains": {
344+
"readOnly": true,
345+
"type": "string",
346+
"description": "The list of domains for the tenant."
347+
},
348+
"defaultDomain": {
349+
"readOnly": true,
350+
"type": "string",
351+
"description": "The default domain for the tenant."
352+
},
353+
"tenantType": {
354+
"readOnly": true,
355+
"type": "string",
356+
"description": "The tenant type. Only available for Home tenant category."
322357
}
323358
},
324359
"description": "Tenant Id information."

0 commit comments

Comments
 (0)