次の方法で共有


IdentityProperties クラス

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.IdentityProperties

public final class IdentityProperties

リソースのマネージド ID。

コンストラクターの概要

コンストラクター 説明
IdentityProperties()

Identity Properties クラスのインスタンスを作成します。

メソッドの概要

修飾子と型 メソッドと説明
String principalId()

プリンシパルID プロパティの取得: リソース ID のプリンシパル ID。

String tenantId()

テナントID プロパティを取得します。リソースのテナント ID。

ResourceIdentityType type()

type プロパティを取得します。ID の種類。

Map<String,UserIdentityProperties> userAssignedIdentities()

ユーザー割り当て ID プロパティの取得: リソースに関連付けられているユーザー ID の一覧。

void validate()

インスタンスを検証します。

IdentityProperties withType(ResourceIdentityType type)

type プロパティを設定します。ID の種類。

IdentityProperties withUserAssignedIdentities(Map<String,UserIdentityProperties> userAssignedIdentities)

ユーザー割り当て ID プロパティを設定する: リソースに関連付けられているユーザー ID の一覧。

メソッドの継承元: java.lang.Object

コンストラクターの詳細

IdentityProperties

public IdentityProperties()

IdentityProperties クラスのインスタンスを作成します。

メソッドの詳細

principalId

public String principalId()

principalId プロパティを取得します。リソース ID のプリンシパル ID。

Returns:

principalId 値。

tenantId

public String tenantId()

tenantId プロパティを取得します。リソースのテナント ID。

Returns:

tenantId 値。

type

public ResourceIdentityType type()

type プロパティを取得します。ID の種類。

Returns:

型の値。

userAssignedIdentities

public Map userAssignedIdentities()

userAssignedIdentities プロパティの取得: リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}' という形式の ARM リソース ID になります。

Returns:

userAssignedIdentities 値。

validate

public void validate()

インスタンスを検証します。

withType

public IdentityProperties withType(ResourceIdentityType type)

type プロパティを設定します。ID の種類。

Parameters:

type - 設定する型の値。

Returns:

IdentityProperties オブジェクト自体。

withUserAssignedIdentities

public IdentityProperties withUserAssignedIdentities(Map userAssignedIdentities)

userAssignedIdentities プロパティを設定します。リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}' という形式の ARM リソース ID になります。

Parameters:

userAssignedIdentities - 設定する userAssignedIdentities 値。

Returns:

IdentityProperties オブジェクト自体。

適用対象