Identity Provider - Get
指定したサービス インスタンスで構成された ID プロバイダーの構成の詳細を取得します。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}?api-version=2021-08-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
identity
|
path | True |
ID プロバイダーの種類識別子。 |
|
resource
|
path | True |
string |
リソース グループの名前。 |
service
|
path | True |
string |
API Management サービスの名前。 正規表現パターン: |
subscription
|
path | True |
string |
Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。 |
api-version
|
query | True |
string |
クライアント要求で使用される API のバージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
応答本文には、指定された IdentityProvider エンティティ構成の詳細が含まれています。 ヘッダー ETag: string |
|
Other Status Codes |
操作に失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
ApiManagementGetIdentityProvider
要求のサンプル
応答のサンプル
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/AadB2C",
"type": "Microsoft.ApiManagement/service/identityProviders",
"name": "AadB2C",
"properties": {
"clientId": "f02dafe2-b8b8-48ec-a38e-27e5c16c51e5",
"type": "aadB2C",
"authority": "login.microsoftonline.com",
"signinTenant": "contosoaadb2c.onmicrosoft.com",
"allowedTenants": [
"contosoaadb2c.onmicrosoft.com",
"contoso2aadb2c.onmicrosoft.com"
],
"signupPolicyName": "B2C_1_policy-signup",
"signinPolicyName": "B2C_1_policy-signin"
}
}
定義
名前 | 説明 |
---|---|
Error |
エラー フィールド コントラクト。 |
Error |
エラー応答。 |
Identity |
ID プロバイダーの詳細。 |
Identity |
ID プロバイダーの種類識別子。 |
ErrorFieldContract
エラー フィールド コントラクト。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プロパティ レベルのエラー コード。 |
message |
string |
プロパティ レベルエラーの人間が判読できる表現。 |
target |
string |
プロパティ名。 |
ErrorResponse
エラー応答。
名前 | 型 | 説明 |
---|---|---|
error.code |
string |
サービスによって定義されたエラー コード。 このコードは、応答に指定された HTTP エラー コードのサブステータスとして機能します。 |
error.details |
検証エラーが発生した場合に要求で送信される無効なフィールドの一覧。 |
|
error.message |
string |
人が判読できるエラーの表現。 |
IdentityProviderContract
ID プロバイダーの詳細。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
リソースの名前 |
properties.allowedTenants |
string[] |
Azure Active Directory ログインを構成するときに許可されるテナントの一覧。 |
properties.authority |
string |
AAD または AAD B2C の OpenID Connect 検出エンドポイントホスト名。 |
properties.clientId |
string |
外部 ID プロバイダー内のアプリケーションのクライアント ID。 これは、Facebook ログインのアプリ ID、Google ログインのクライアント ID、Microsoft のアプリ ID です。 |
properties.clientSecret |
string |
ログイン要求の認証に使用される、外部 ID プロバイダー内のアプリケーションのクライアント シークレット。 たとえば、Facebook ログインのアプリ シークレット、Google ログイン用 API キー、Microsoft の公開キーなどです。 このプロパティは 'GET' 操作では入力されません。 値を取得するには、'/listSecrets' POST 要求を使用します。 |
properties.passwordResetPolicyName |
string |
パスワード リセット ポリシー名。 AAD B2C ID プロバイダーにのみ適用されます。 |
properties.profileEditingPolicyName |
string |
プロファイル編集ポリシー名。 AAD B2C ID プロバイダーにのみ適用されます。 |
properties.signinPolicyName |
string |
サインイン ポリシー名。 AAD B2C ID プロバイダーにのみ適用されます。 |
properties.signinTenant |
string |
Active Directory にログインするときに Common ではなく使用する TenantId |
properties.signupPolicyName |
string |
サインアップ ポリシー名。 AAD B2C ID プロバイダーにのみ適用されます。 |
properties.type |
ID プロバイダーの種類識別子。 |
|
type |
string |
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
IdentityProviderType
ID プロバイダーの種類識別子。
名前 | 型 | 説明 |
---|---|---|
aad |
string |
ID プロバイダーとしての Azure Active Directory。 |
aadB2C |
string |
ID プロバイダーとしての Azure Active Directory B2C。 |
string |
ID プロバイダーとしてFacebookします。 |
|
string |
Id プロバイダーとしての Google。 |
|
microsoft |
string |
Id プロバイダーとしての Microsoft Live。 |
string |
Id プロバイダーとしての Twitter。 |