Skip to main content

tenants

Creates, updates, deletes, gets or lists a tenants resource.

Overview

Nametenants
TypeResource
Idazure.resources.tenants

Fields

NameDatatypeDescription
idstringThe fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.
countrystringCountry/region name of the address for the tenant.
countryCodestringCountry/region abbreviation for the tenant.
defaultDomainstringThe default domain for the tenant.
displayNamestringThe display name of the tenant.
domainsarrayThe list of domains for the tenant.
tenantBrandingLogoUrlstringThe tenant's branding logo URL. Only available for 'Home' tenant category.
tenantCategorystringCategory of the tenant.
tenantIdstringThe tenant ID. For example, 00000000-0000-0000-0000-000000000000.
tenantTypestringThe tenant type. Only available for 'Home' tenant category.

Methods

NameAccessible byRequired ParamsDescription
listSELECTGets the tenants for your account.

SELECT examples

Gets the tenants for your account.

SELECT
id,
country,
countryCode,
defaultDomain,
displayName,
domains,
tenantBrandingLogoUrl,
tenantCategory,
tenantId,
tenantType
FROM azure.resources.tenants
;