User Assigned Identities - Get

ID を取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}?api-version=2023-01-31

URI パラメーター

名前 / 必須 説明
resourceGroupName
path True

string

ID が属するリソース グループの名前。

resourceName
path True

string

ID リソースの名前。

subscriptionId
path True

string

ID が属するサブスクリプションの ID。

api-version
query True

string

呼び出す API のバージョン。

応答

名前 説明
200 OK

Identity

OK です。 要求された ID。

Other Status Codes

CloudError

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

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

IdentityGet

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/resourceName?api-version=2023-01-31

Sample Response

{
  "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
  "location": "eastus",
  "name": "identityName",
  "properties": {
    "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
    "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
    "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
  },
  "tags": {
    "key1": "value1",
    "key2": "value2"
  },
  "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
}

定義

名前 説明
CloudError

ManagedServiceIdentity サービスからのエラー応答。

CloudErrorBody

ManagedServiceIdentity サービスからのエラー応答。

createdByType

リソースを作成した ID の種類。

Identity

ID リソースについて説明します。

systemData

リソースの作成と最後の変更に関連するメタデータ。

CloudError

ManagedServiceIdentity サービスからのエラー応答。

名前 説明
error

CloudErrorBody

エラーに関する追加の詳細の一覧。

CloudErrorBody

ManagedServiceIdentity サービスからのエラー応答。

名前 説明
code

string

エラーの識別子。

details

CloudErrorBody[]

エラーに関する追加の詳細の一覧。

message

string

ユーザー インターフェイスでの表示に適したエラーを説明するメッセージ。

target

string

特定のエラーのターゲット。 たとえば、エラーが発生したプロパティの名前です。

createdByType

リソースを作成した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

Identity

ID リソースについて説明します。

名前 説明
id

string

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

リソースが保存されている地理的な場所

name

string

リソースの名前

properties.clientId

string

ID に関連付けられているアプリの ID。 これは、MSI によってランダムに生成された UUID です。

properties.principalId

string

作成された ID に関連付けられているサービス プリンシパル オブジェクトの ID。

properties.tenantId

string

ID が属するテナントの ID。

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

tags

object

リソース タグ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。