Class TargetRegion

java.lang.Object
com.microsoft.azure.management.compute.TargetRegion

public class TargetRegion extends Object
Describes the target region information.
  • Constructor Details

    • TargetRegion

      public TargetRegion()
  • Method Details

    • name

      public String name()
      Get the name of the region.
      Returns:
      the name value
    • withName

      public TargetRegion withName(String name)
      Set the name of the region.
      Parameters:
      name - the name value to set
      Returns:
      the TargetRegion object itself.
    • regionalReplicaCount

      public Integer regionalReplicaCount()
      Get the number of replicas of the Image Version to be created per region. This property is updatable.
      Returns:
      the regionalReplicaCount value
    • withRegionalReplicaCount

      public TargetRegion withRegionalReplicaCount(Integer regionalReplicaCount)
      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

      public StorageAccountType 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

      public TargetRegion withStorageAccountType(StorageAccountType storageAccountType)
      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

      public EncryptionImages encryption()
      Get the encryption value.
      Returns:
      the encryption value
    • withEncryption

      public TargetRegion withEncryption(EncryptionImages encryption)
      Set the encryption value.
      Parameters:
      encryption - the encryption value to set
      Returns:
      the TargetRegion object itself.