tenants
Creates, updates, deletes, gets or lists a tenants resource.
Overview
| Name | tenants |
| Type | Resource |
| Id | azure.resource.tenants |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74. |
country | string | Country/region name of the address for the tenant. |
countryCode | string | Country/region abbreviation for the tenant. |
defaultDomain | string | The default domain for the tenant. |
displayName | string | The display name of the tenant. |
domains | array | The list of domains for the tenant. |
tenantBrandingLogoUrl | string | The tenant's branding logo URL. Only available for 'Home' tenant category. |
tenantCategory | string | Category of the tenant. Known values are: "Home", "ProjectedBy", and "ManagedBy". (Home, ProjectedBy, ManagedBy) |
tenantId | string | The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74. |
tenantType | string | The tenant type. Only available for 'Home' tenant category. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Gets the tenants for your account. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
SELECT examples
- list
Gets the tenants for your account.
SELECT
id,
country,
countryCode,
defaultDomain,
displayName,
domains,
tenantBrandingLogoUrl,
tenantCategory,
tenantId,
tenantType
FROM azure.resource.tenants
;