BatchPoolIdentity Class
- java.
lang. Object - com.
microsoft. azure. management. batch. BatchPoolIdentity
- com.
public class BatchPoolIdentity
The identity of the Batch pool, if configured. If the pool identity is updated during update an existing pool, only the new vms which are created after the pool shrinks to 0 will have the updated identities.
Method Summary
Modifier and Type | Method and Description |
---|---|
Pool |
type()
Get the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'. |
Map<String, User |
userAssignedIdentities()
Get the list of user identities associated with the Batch pool. |
Batch |
withType(PoolIdentityType type)
Set the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'. |
Batch |
withUserAssignedIdentities(Map<String, UserAssignedIdentities> userAssignedIdentities)
Set the list of user identities associated with the Batch pool. |
Method Details
type
public PoolIdentityType type()
Get the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'.
Returns:
userAssignedIdentities
public Map
Get the list of user identities associated with the Batch pool.
Returns:
withType
public BatchPoolIdentity withType(PoolIdentityType type)
Set the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'.
Parameters:
Returns:
withUserAssignedIdentities
public BatchPoolIdentity withUserAssignedIdentities(Map
Set the list of user identities associated with the Batch pool.
Parameters:
Returns:
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應