Class TargetRegion
java.lang.Object
com.microsoft.azure.management.compute.TargetRegion
Describes the target region information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the encryption value.name()
Get the name of the region.Get the number of replicas of the Image Version to be created per region.Get specifies the storage account type to be used to store the image.withEncryption
(EncryptionImages encryption) Set the encryption value.Set the name of the region.withRegionalReplicaCount
(Integer regionalReplicaCount) Set the number of replicas of the Image Version to be created per region.withStorageAccountType
(StorageAccountType storageAccountType) Set specifies the storage account type to be used to store the image.
-
Constructor Details
-
TargetRegion
public TargetRegion()
-
-
Method Details
-
name
Get the name of the region.- Returns:
- the name value
-
withName
Set the name of the region.- Parameters:
name
- the name value to set- Returns:
- the TargetRegion object itself.
-
regionalReplicaCount
Get the number of replicas of the Image Version to be created per region. This property is updatable.- Returns:
- the regionalReplicaCount value
-
withRegionalReplicaCount
Set the number of replicas of the Image Version to be created per region. This property is updatable.- Parameters:
regionalReplicaCount
- the regionalReplicaCount value to set- Returns:
- the TargetRegion object itself.
-
storageAccountType
Get specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'.- Returns:
- the storageAccountType value
-
withStorageAccountType
Set specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'.- Parameters:
storageAccountType
- the storageAccountType value to set- Returns:
- the TargetRegion object itself.
-
encryption
Get the encryption value.- Returns:
- the encryption value
-
withEncryption
Set the encryption value.- Parameters:
encryption
- the encryption value to set- Returns:
- the TargetRegion object itself.
-