BatchPoolIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. BatchPoolIdentity
- com.
Implements
public final class BatchPoolIdentity
implements JsonSerializable<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.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchPoolIdentity() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Pool |
type()
Get the type property: The type of identity used for the Batch Pool. |
|
Map<String,User |
userAssignedIdentities()
Get the user |
| void |
validate()
Validates the instance. |
|
Batch |
withType(PoolIdentityType type)
Set the type property: The type of identity used for the Batch Pool. |
|
Batch |
withUserAssignedIdentities(Map<String,UserAssignedIdentities> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
BatchPoolIdentity
public BatchPoolIdentity()
Creates an instance of BatchPoolIdentity class.
Method Details
fromJson
public static BatchPoolIdentity fromJson(JsonReader jsonReader)
Reads an instance of BatchPoolIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public PoolIdentityType type()
Get the type property: The type of identity used for the Batch Pool.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentities> userAssignedIdentities()
Get the userAssignedIdentities property: The list of user identities associated with the Batch pool.
Returns:
validate
public void validate()
Validates the instance.
withType
public BatchPoolIdentity withType(PoolIdentityType type)
Set the type property: The type of identity used for the Batch Pool.
Parameters:
Returns:
withUserAssignedIdentities
public BatchPoolIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentities> userAssignedIdentities)
Set the userAssignedIdentities property: The list of user identities associated with the Batch pool.
Parameters:
Returns: