次の方法で共有


Tenants - List

アカウントのテナントを取得します。

GET https://management.azure.com/tenants?api-version=2016-06-01

URI パラメーター

名前 / 必須 説明
api-version
query True

string

操作に使用する API バージョン。

応答

名前 説明
200 OK

TenantListResult

OK - テナントの配列を返します。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントの借用

listTenants

要求のサンプル

GET https://management.azure.com/tenants?api-version=2016-06-01

応答のサンプル

{
  "nextLink": "string",
  "value": [
    {
      "id": "/tenants/72f988bf-86f1-41af-91ab-2d7cd011db47",
      "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
    },
    {
      "id": "/tenants/33e01921-4d64-4f8c-a055-5bdaffd5e33d",
      "tenantId": "33e01921-4d64-4f8c-a055-5bdaffd5e33d"
    }
  ]
}

定義

名前 説明
TenantIdDescription

テナント ID 情報。

TenantListResult

テナントの ID 情報です。

TenantIdDescription

テナント ID 情報。

名前 説明
country

string

テナントのアドレスの国/地域名。

countryCode

string

テナントの国/地域の省略形。

defaultDomain

string

テナントの既定のドメイン。

displayName

string

テナントの表示名。

domains

string

テナントのドメインの一覧。

id

string

テナントの完全修飾 ID。 たとえば、/tenants/00000000-0000-0000-0000-000000000000 です。

tenantCategory

string

テナントのカテゴリ。 使用できる値は TenantCategoryHome、TenantCategoryProjectedBy、TenantCategoryManagedBy です。

tenantId

string

テナント ID。 たとえば、00000000-0000-0000-0000-000000000000 です。

tenantType

string

テナントの種類。 ホーム テナント カテゴリでのみ使用できます。

TenantListResult

テナントの ID 情報です。

名前 説明
nextLink

string

次の結果セットを取得するために使用する URL。

value

TenantIdDescription[]

テナントの配列。