AdditionalReplicaSet Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AdditionalReplicaSet
- com.
Implements
public final class AdditionalReplicaSet
implements JsonSerializable<AdditionalReplicaSet>
Describes the additional replica set information.
Constructor Summary
Constructor | Description |
---|---|
AdditionalReplicaSet() |
Creates an instance of Additional |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Additional |
fromJson(JsonReader jsonReader)
Reads an instance of Additional |
Integer |
regionalReplicaCount()
Get the regional |
Storage |
storageAccountType()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Additional |
withRegionalReplicaCount(Integer regionalReplicaCount)
Set the regional |
Additional |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
AdditionalReplicaSet
public AdditionalReplicaSet()
Creates an instance of AdditionalReplicaSet class.
Method Details
fromJson
public static AdditionalReplicaSet fromJson(JsonReader jsonReader)
Reads an instance of AdditionalReplicaSet from the JsonReader.
Parameters:
Returns:
Throws:
regionalReplicaCount
public Integer regionalReplicaCount()
Get the regionalReplicaCount property: The number of direct drive replicas of the Image Version to be created.This Property is updatable.
Returns:
storageAccountType
public StorageAccountType storageAccountType()
Get the storageAccountType property: Specifies the storage account type to be used to create the direct drive replicas.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRegionalReplicaCount
public AdditionalReplicaSet withRegionalReplicaCount(Integer regionalReplicaCount)
Set the regionalReplicaCount property: The number of direct drive replicas of the Image Version to be created.This Property is updatable.
Parameters:
Returns:
withStorageAccountType
public AdditionalReplicaSet withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: Specifies the storage account type to be used to create the direct drive replicas.
Parameters:
Returns:
Applies to
Azure SDK for Java