class Azure::Compute::Mgmt::V2019_12_01::Models::TargetRegion

Describes the target region information.

Attributes

encryption[RW]

@return [EncryptionImages]

name[RW]

@return [String] The name of the region.

regional_replica_count[RW]

@return [Integer] The number of replicas of the Image Version to be created per region. This property is updatable.

storage_account_type[RW]

@return [StorageAccountType] 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'

Private Class Methods

mapper() click to toggle source

Mapper for TargetRegion class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TargetRegion',
    type: {
      name: 'Composite',
      class_name: 'TargetRegion',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        regional_replica_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'regionalReplicaCount',
          type: {
            name: 'Number'
          }
        },
        storage_account_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageAccountType',
          type: {
            name: 'String'
          }
        },
        encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encryption',
          type: {
            name: 'Composite',
            class_name: 'EncryptionImages'
          }
        }
      }
    }
  }
end