Group User - List
グループに関連付けられているユーザー エンティティのコレクションを一覧表示します。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users?api-version=2024-05-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=2024-05-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
group
|
path | True |
string minLength: 1maxLength: 256 |
グループ識別子。 現在の API Management サービス インスタンスで一意である必要があります。 |
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前では大文字と小文字が区別されません。 |
service
|
path | True |
string minLength: 1maxLength: 50 pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$ |
API Management サービスの名前。 |
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
$filter
|
query |
string |
|フィールド |使用法 |サポートされる演算子 |サポートされている関数 | |
|
$skip
|
query |
integer (int32) minimum: 0 |
スキップするレコードの数。 |
|
$top
|
query |
integer (int32) minimum: 1 |
返されるレコードの数。 |
応答
名前 | 型 | 説明 |
---|---|---|
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
要求のサンプル
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/57d2ef278aa04f0888cba3f3/users?api-version=2024-05-01
応答のサンプル
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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 |
エラーの詳細。 |
Error |
エラー応答 |
Group |
グループ コントラクトのプロパティ。 |
Group |
グループの種類。 |
User |
[Paged Users]\(ページングされたユーザー\) リストの表現。 |
User |
ユーザーの詳細。 |
User |
ユーザー ID の詳細。 |
User |
アカウントの状態。 ユーザーがアクティブかどうかを指定します。 ブロックされたユーザーは、開発者ポータルにサインインしたり、サブスクライブされた製品の API を呼び出したりできません。 既定の状態はアクティブです。 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
error |
エラー オブジェクト。 |
GroupContractProperties
グループ コントラクトのプロパティ。
名前 | 型 | 説明 |
---|---|---|
builtIn |
boolean |
グループが 3 つのシステム グループ (管理者、開発者、ゲスト) のいずれかである場合は true。それ以外の場合は false。 |
description |
string maxLength: 1000 |
グループの説明。 HTML 書式設定タグを含めることができます。 |
displayName |
string minLength: 1maxLength: 300 |
グループ名。 |
externalId |
string |
外部グループの場合、このプロパティには、Azure Active Directory |
type |
グループの種類。 |
GroupType
グループの種類。
値 | 説明 |
---|---|
custom | |
external | |
system |
UserCollection
[Paged Users]\(ページングされたユーザー\) リストの表現。
名前 | 型 | 説明 |
---|---|---|
count |
integer (int64) |
すべてのページの合計レコード数。 |
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 (date-time) |
ユーザー登録の日付。 日付は、ISO 8601 標準で指定された |
|
properties.state | active |
アカウントの状態。 ユーザーがアクティブかどうかを指定します。 ブロックされたユーザーは、開発者ポータルにサインインしたり、サブスクライブされた製品の API を呼び出したりできません。 既定の状態はアクティブです。 |
|
type |
string |
リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
UserIdentityContract
ユーザー ID の詳細。
名前 | 型 | 説明 |
---|---|---|
id |
string |
プロバイダー内の識別子の値。 |
provider |
string |
ID プロバイダー名。 |
UserState
アカウントの状態。 ユーザーがアクティブかどうかを指定します。 ブロックされたユーザーは、開発者ポータルにサインインしたり、サブスクライブされた製品の API を呼び出したりできません。 既定の状態はアクティブです。
値 | 説明 |
---|---|
active |
ユーザーの状態がアクティブです。 |
blocked |
ユーザーがブロックされています。 ブロックされたユーザーは、開発者ポータルで認証したり、API を呼び出したりできません。 |
deleted |
ユーザー アカウントが閉じられました。 すべての ID と関連エンティティが削除されます。 |
pending |
ユーザー アカウントが保留中です。 アクティブにする前に、ID の確認が必要です。 |