IdentityProperties クラス
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. IdentityProperties
- com.
public final class IdentityProperties
リソースのマネージド ID。
コンストラクターの概要
コンストラクター | 説明 |
---|---|
IdentityProperties() |
Identity Properties クラスのインスタンスを |
メソッドの概要
修飾子と型 | メソッドと説明 |
---|---|
String |
principalId()
プリンシパル |
String |
tenantId()
テナント |
Resource |
type()
type プロパティを取得します。ID の種類。 |
Map<String,User |
userAssignedIdentities()
ユーザー |
void |
validate()
インスタンスを検証します。 |
Identity |
withType(ResourceIdentityType type)
type プロパティを設定します。ID の種類。 |
Identity |
withUserAssignedIdentities(Map<String,UserIdentityProperties> userAssignedIdentities)
ユーザー |
メソッドの継承元: java.lang.Object
コンストラクターの詳細
IdentityProperties
public IdentityProperties()
IdentityProperties クラスのインスタンスを作成します。
メソッドの詳細
principalId
public String principalId()
principalId プロパティを取得します。リソース ID のプリンシパル ID。
Returns:
tenantId
public String tenantId()
tenantId プロパティを取得します。リソースのテナント ID。
Returns:
type
public ResourceIdentityType type()
type プロパティを取得します。ID の種類。
Returns:
userAssignedIdentities
public Map
userAssignedIdentities プロパティの取得: リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}' という形式の ARM リソース ID になります。
Returns:
validate
public void validate()
インスタンスを検証します。
withType
public IdentityProperties withType(ResourceIdentityType type)
type プロパティを設定します。ID の種類。
Parameters:
Returns:
withUserAssignedIdentities
public IdentityProperties withUserAssignedIdentities(Map
userAssignedIdentities プロパティを設定します。リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}' という形式の ARM リソース ID になります。
Parameters:
Returns:
適用対象
Azure SDK for Java