共用方式為


BatchAccountIdentity 類別

定義

如果已設定,Batch 帳戶的身分識別。 當使用者將 'Microsoft.KeyVault' 指定為其 Batch 帳戶加密組態,或選取為自動儲存體驗證模式時 ManagedIdentity ,就會使用此功能。

public class BatchAccountIdentity
type BatchAccountIdentity = class
Public Class BatchAccountIdentity
繼承
BatchAccountIdentity

建構函式

BatchAccountIdentity()

初始化 BatchAccountIdentity 類別的新實例。

BatchAccountIdentity(ResourceIdentityType, IDictionary<String,BatchAccountIdentityUserAssignedIdentitiesValue>)
已淘汰.

如果已設定,Batch 帳戶的身分識別。 當使用者將 'Microsoft.KeyVault' 指定為其 Batch 帳戶加密組態,或選取為自動儲存體驗證模式時 ManagedIdentity ,就會使用此功能。

BatchAccountIdentity(ResourceIdentityType, IDictionary<String,UserAssignedIdentities>)

如果已設定,Batch 帳戶的身分識別。 當使用者將 'Microsoft.KeyVault' 指定為其 Batch 帳戶加密組態,或選取為自動儲存體驗證模式時 ManagedIdentity ,就會使用此功能。

BatchAccountIdentity(ResourceIdentityType, String, String, IDictionary<String,UserAssignedIdentities>)

初始化 BatchAccountIdentity 類別的新實例。

屬性

PrincipalId

取得 Batch 帳戶的主體識別碼。 此屬性只會針對系統指派的身分識別提供。

TenantId

取得與 Batch 帳戶相關聯的租使用者識別碼。 此屬性只會針對系統指派的身分識別提供。

Type

取得或設定 Batch 帳戶所使用的身分識別類型。 可能的值包括:'SystemAssigned'、'UserAssigned'、'None'

UserAssignedIdentities

取得或設定與 Batch 帳戶相關聯的使用者身分識別清單。

方法

Validate()

驗證 物件。

適用於