Group User - List
グループに関連付けられているユーザー エンティティのコレクションを一覧表示します。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users?api-version=2021-08-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users?$filter={$filter}&$top={$top}&$skip={$skip}&api-version=2021-08-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
group
|
path | True |
string |
グループ識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。 |
resource
|
path | True |
string |
リソース グループの名前。 |
service
|
path | True |
string |
API Management サービスの名前。 正規表現パターン: |
subscription
|
path | True |
string |
Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。 |
api-version
|
query | True |
string |
クライアント要求で使用される API のバージョン。 |
$filter
|
query |
string |
|フィールド |使用法 |サポートされている演算子 |サポートされている関数 | |
|
$skip
|
query |
integer int32 |
スキップするレコードの数。 |
|
$top
|
query |
integer int32 |
返されるレコードの数。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
グループに関連付けられているユーザー エンティティのコレクションを一覧表示します。 |
|
Other Status Codes |
操作に失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
ApiManagementListGroupUsers
要求のサンプル
応答のサンプル
{
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/kjoshiarmTemplateUser1",
"type": "Microsoft.ApiManagement/service/groups/users",
"name": "armTemplateUser1",
"properties": {
"firstName": "user1",
"lastName": "lastname1",
"email": "user1@live.com",
"state": "active",
"registrationDate": "2017-05-31T18:54:41.447Z",
"note": "note for user 1",
"identities": [
{
"provider": "Basic",
"id": "user1@live.com"
}
]
}
}
],
"count": 1,
"nextLink": ""
}
定義
名前 | 説明 |
---|---|
Error |
エラー フィールド コントラクト。 |
Error |
エラー応答。 |
Group |
グループ コントラクトのプロパティ。 |
Group |
[グループの種類]。 |
User |
Paged Users リスト表現。 |
User |
ユーザーの詳細。 |
User |
ユーザー ID の詳細。 |
User |
アカウントの状態。 ユーザーがアクティブかどうかを指定します。 ブロックされているユーザーは、開発者ポータルにサインインしたり、サブスクライブしている製品の API を呼び出したりできません。 既定の状態は [アクティブ] です。 |
ErrorFieldContract
エラー フィールド コントラクト。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プロパティ レベルのエラー コード。 |
message |
string |
プロパティ レベルエラーの人間が判読できる表現。 |
target |
string |
プロパティ名。 |
ErrorResponse
エラー応答。
名前 | 型 | 説明 |
---|---|---|
error.code |
string |
サービスによって定義されたエラー コード。 このコードは、応答に指定された HTTP エラー コードのサブステータスとして機能します。 |
error.details |
検証エラーが発生した場合に要求で送信される無効なフィールドの一覧。 |
|
error.message |
string |
人が判読できるエラーの表現。 |
GroupContractProperties
グループ コントラクトのプロパティ。
名前 | 型 | 説明 |
---|---|---|
builtIn |
boolean |
グループが 3 つのシステム グループ (管理者、開発者、またはゲスト) のいずれかである場合は true。それ以外の場合は false。 |
description |
string |
グループの説明。 HTML 書式設定タグを含めることができます。 |
displayName |
string |
[グループ名]: |
externalId |
string |
外部グループの場合、このプロパティには外部 ID プロバイダーのグループの ID (Azure Active Directory |
type |
[グループの種類]。 |
GroupType
[グループの種類]。
名前 | 型 | 説明 |
---|---|---|
custom |
string |
|
external |
string |
|
system |
string |
UserCollection
Paged Users リスト表現。
名前 | 型 | 説明 |
---|---|---|
count |
integer |
すべてのページの合計レコード数。 |
nextLink |
string |
次のページ リンク (存在する場合)。 |
value |
ページ値。 |
UserContract
ユーザーの詳細。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
id |
string |
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
name |
string |
リソースの名前 |
|
properties.email |
string |
電子メール アドレス。 |
|
properties.firstName |
string |
名。 |
|
properties.groups |
ユーザーが参加しているグループのコレクション。 |
||
properties.identities |
ユーザー ID のコレクション。 |
||
properties.lastName |
string |
姓。 |
|
properties.note |
string |
管理者によって設定されたユーザーに関するオプションのメモ。 |
|
properties.registrationDate |
string |
ユーザー登録の日付。 日付は、ISO 8601 標準で指定されている形式 |
|
properties.state | active |
アカウントの状態。 ユーザーがアクティブかどうかを指定します。 ブロックされているユーザーは、開発者ポータルにサインインしたり、サブスクライブしている製品の API を呼び出したりできません。 既定の状態は [アクティブ] です。 |
|
type |
string |
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
UserIdentityContract
ユーザー ID の詳細。
名前 | 型 | 説明 |
---|---|---|
id |
string |
プロバイダー内の識別子の値。 |
provider |
string |
ID プロバイダー名。 |
UserState
アカウントの状態。 ユーザーがアクティブかどうかを指定します。 ブロックされているユーザーは、開発者ポータルにサインインしたり、サブスクライブしている製品の API を呼び出したりできません。 既定の状態は [アクティブ] です。
名前 | 型 | 説明 |
---|---|---|
active |
string |
ユーザーの状態がアクティブです。 |
blocked |
string |
ユーザーがブロックされています。 ブロックされたユーザーは、開発者ポータルで認証したり、API を呼び出したりすることはできません。 |
deleted |
string |
ユーザー アカウントが閉じられました。 すべての ID と関連エンティティが削除されます。 |
pending |
string |
ユーザー アカウントが保留中です。 アクティブにする前に ID の確認が必要です。 |