Partilhar via


TargetRegion Class

Describes the target region information.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
TargetRegion

Constructor

TargetRegion(*, name: str, regional_replica_count: int | None = None, storage_account_type: str | _models.StorageAccountType | None = None, encryption: _models.EncryptionImages | None = None, exclude_from_latest: bool | None = None, additional_replica_sets: List[_models.AdditionalReplicaSet] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the region. Required.

regional_replica_count
int

The number of replicas of the Image Version to be created per region. This property is updatable.

storage_account_type

Specifies the storage account type to be used to store the image. This property is not updatable. Known values are: "Standard_LRS", "Standard_ZRS", "Premium_LRS", and "PremiumV2_LRS".

encryption

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

exclude_from_latest

Contains the flag setting to hide an image when users specify version='latest'.

additional_replica_sets

List of storage sku with replica count to create direct drive replicas.

Variables

Name Description
name
str

The name of the region. Required.

regional_replica_count
int

The number of replicas of the Image Version to be created per region. This property is updatable.

storage_account_type

Specifies the storage account type to be used to store the image. This property is not updatable. Known values are: "Standard_LRS", "Standard_ZRS", "Premium_LRS", and "PremiumV2_LRS".

encryption

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

exclude_from_latest

Contains the flag setting to hide an image when users specify version='latest'.

additional_replica_sets

List of storage sku with replica count to create direct drive replicas.