次の方法で共有


ManagedServiceIdentity クラス

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.ManagedServiceIdentity

public final class ManagedServiceIdentity

マネージド サービス ID (システム割り当て ID またはユーザー割り当て ID)。

コンストラクターの概要

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

マネージドサービスID クラスのインスタンスを作成します。

メソッドの概要

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

プリンシパルID プロパティの取得: システム割り当て ID のサービス プリンシパル ID。

UUID tenantId()

テナントID プロパティの取得: システム割り当て ID のテナント ID。

ManagedServiceIdentityType type()

type プロパティを取得します。マネージド サービス ID の種類 (システム割り当て型とユーザー割り当て型の両方が許可されます)。

Map<String,UserAssignedIdentity> userAssignedIdentities()

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

void validate()

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

ManagedServiceIdentity withType(ManagedServiceIdentityType type)

type プロパティを設定します。マネージド サービス ID の種類 (システム割り当て型とユーザー割り当て型の両方が許可されます)。

ManagedServiceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

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

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

コンストラクターの詳細

ManagedServiceIdentity

public ManagedServiceIdentity()

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

メソッドの詳細

principalId

public UUID principalId()

principalId プロパティの取得: システム割り当て ID のサービス プリンシパル ID。 このプロパティは、システム割り当て ID に対してのみ提供されます。

Returns:

principalId 値。

tenantId

public UUID tenantId()

tenantId プロパティの取得: システム割り当て ID のテナント ID。 このプロパティは、システム割り当て ID に対してのみ提供されます。

Returns:

tenantId 値。

type

public ManagedServiceIdentityType type()

type プロパティを取得します。マネージド サービス ID の型 (SystemAssigned 型と UserAssigned 型の両方が許可されます)。

Returns:

型の値。

userAssignedIdentities

public Map userAssignedIdentities()

userAssignedIdentities プロパティの取得: リソースに関連付けられているユーザー割り当て ID のセット。 userAssignedIdentities ディクショナリ キーは、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} という形式の ARM リソース ID になります。 ディクショナリ値には、要求で空のオブジェクト ({}) を指定できます。

Returns:

userAssignedIdentities 値。

validate

public void validate()

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

withType

public ManagedServiceIdentity withType(ManagedServiceIdentityType type)

type プロパティを設定します。マネージド サービス ID の種類 (SystemAssigned 型と UserAssigned 型の両方が許可されます)。

Parameters:

type - 設定する型の値。

Returns:

ManagedServiceIdentity オブジェクト自体。

withUserAssignedIdentities

public ManagedServiceIdentity withUserAssignedIdentities(Map userAssignedIdentities)

userAssignedIdentities プロパティを設定します。リソースに関連付けられているユーザー割り当て ID のセット。 userAssignedIdentities ディクショナリ キーは、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} という形式の ARM リソース ID になります。 ディクショナリ値には、要求で空のオブジェクト ({}) を指定できます。

Parameters:

userAssignedIdentities - 設定する userAssignedIdentities 値。

Returns:

ManagedServiceIdentity オブジェクト自体。

適用対象