CIAM Tenants - List By Resource Group
获取资源组中客户租户资源的所有 Azure AD。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/ciamDirectories?api-version=2023-05-17-preview
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
resource
|
path | True |
string |
资源组的名称。 |
subscription
|
path | True |
string |
唯一标识 azure 订阅Microsoft的订阅凭据。 订阅 ID 构成了每个服务调用的 URI 的一部分。 |
api-version
|
query | True |
string |
要用于客户端请求的 API 的版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
已成功检索资源组中客户租户的 Azure AD 列表。 |
|
Other Status Codes |
描述操作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
CIAMTenants_ListByResourceGroup
示例请求
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories?api-version=2023-05-17-preview
示例响应
{
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
"name": "contoso",
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
"location": "United States",
"sku": {
"name": "Standard",
"tier": "A0"
},
"properties": {
"provisioningState": "Succeeded",
"createTenantProperties": {
"displayName": "Contoso",
"countryCode": "US"
},
"billingConfig": {
"billingType": "MAU",
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
},
"domainName": "contoso.onmicrosoft.com",
"tenantId": "00000000-0000-0000-0000-000000000000"
},
"tags": null,
"systemData": {
"createdBy": "contosoAdmin@onmicrosoft.com",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "contosoAdmin@onmicrosoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
}
}
],
"nextLink": null
}
定义
名称 | 说明 |
---|---|
ciam |
计费类型。 将对所有新客户使用 MAU。 如果值为“MAU”,则无法更改。 在 aka.ms/b2cBilling了解有关客户计费的 Azure AD 的详细信息。 |
CIAMResourceSKU |
适用于客户租户的 Azure AD 的 SKU 属性。 在 https://aka.ms/ciambilling了解有关客户计费的 Azure AD 的详细信息。 |
CIAMResource |
租户的 SKU 的名称。 |
CIAMResource |
租户的层。 |
CIAMTenant |
面向客户的 Azure AD 资源。 |
CIAMTenant |
客户租户资源的 Azure AD 集合 |
ciam |
客户租户资源的 Azure AD 类型。 |
created |
创建资源的标识的类型。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Provisioning |
预配状态 |
system |
与创建和上次修改资源相关的元数据。 |
ciamBillingType
计费类型。 将对所有新客户使用 MAU。 如果值为“MAU”,则无法更改。 在 aka.ms/b2cBilling了解有关客户计费的 Azure AD 的详细信息。
值 | 说明 |
---|---|
MAU |
面向客户的 Azure AD 使用情况按链接的 Azure 订阅计费,并使用每月活跃用户(MAU)计费模型。 |
CIAMResourceSKU
适用于客户租户的 Azure AD 的 SKU 属性。 在 https://aka.ms/ciambilling了解有关客户计费的 Azure AD 的详细信息。
名称 | 类型 | 说明 |
---|---|---|
name |
租户的 SKU 的名称。 |
|
tier |
租户的层。 |
CIAMResourceSKUName
租户的 SKU 的名称。
值 | 说明 |
---|---|
PremiumP1 | |
PremiumP2 | |
Standard |
CIAMResourceSKUTier
租户的层。
值 | 说明 |
---|---|
A0 |
用于客户租户的所有 Azure AD 的 SKU 层。 |
CIAMTenantResource
面向客户的 Azure AD 资源。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
表示客户租户资源的 Azure AD 的标识符。 |
location |
string |
托管资源的位置和数据驻留。 可以是“美国”、“欧洲”、“亚太地区”或“澳大利亚”。 有关详细信息,请参阅本文档 |
name |
string |
客户租户资源的 Azure AD 的名称。 |
properties.billingConfig.billingType |
计费类型。 将对所有新客户使用 MAU。 如果值为“MAU”,则无法更改。 在 aka.ms/b2cBilling了解有关客户计费的 Azure AD 的详细信息。 |
|
properties.billingConfig.effectiveStartDateUtc |
string |
计费类型生效的数据 |
properties.createTenantProperties.countryCode |
string |
Azure 租户的国家/地区代码(例如“US”)。 请参阅 https://aka.ms/ciam-data-location 查看有效的国家/地区代码和相应的数据驻留位置。 如果在有效的数据驻留位置看不到国家/地区代码,请从列表中选择一个。 |
properties.createTenantProperties.displayName |
string |
客户租户的 Azure AD 的显示名称。 |
properties.domainName |
string |
租户的域名 |
properties.provisioningState |
预配状态 |
|
properties.tenantId |
string |
客户租户的 Azure AD 标识符。 |
sku |
适用于客户租户的 Azure AD 的 SKU 属性。 在 https://aka.ms/ciambilling了解有关客户计费的 Azure AD 的详细信息。 |
|
systemData |
与创建和上次修改资源相关的元数据。 |
|
tags |
object |
资源标记 |
type |
客户租户资源的 Azure AD 类型。 |
CIAMTenantResourceList
客户租户资源的 Azure AD 集合
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取客户租户资源的下一组 Azure AD 的 URL。 |
value |
客户租户资源的 Azure AD 列表 |
ciamTypeValue
客户租户资源的 Azure AD 类型。
值 | 说明 |
---|---|
Microsoft.AzureActiveDirectory/ciamDirectories |
客户租户资源的 Azure AD 的资源类型。 |
createdByType
创建资源的标识的类型。
值 | 说明 |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
ProvisioningState
预配状态
值 | 说明 |
---|---|
Canceled | |
Deleted | |
Deleting | |
Failed | |
Provisioning | |
Succeeded |
systemData
与创建和上次修改资源相关的元数据。
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string (date-time) |
资源创建时间戳(UTC)。 |
createdBy |
string |
创建资源的标识。 |
createdByType |
创建资源的标识的类型。 |
|
lastModifiedAt |
string (date-time) |
上次修改的资源时间戳(UTC) |
lastModifiedBy |
string |
上次修改资源的标识。 |
lastModifiedByType |
上次修改资源的标识的类型。 |