Class: Azure::Compute::Mgmt::V2019_12_01::Models::TargetRegion
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_12_01::Models::TargetRegion
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb
Overview
Describes the target region information.
Instance Attribute Summary collapse
- #encryption ⇒ EncryptionImages
-
#name ⇒ String
The name of the region.
-
#regional_replica_count ⇒ Integer
created per region.
-
#storage_account_type ⇒ StorageAccountType
used to store the image.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TargetRegion class as Ruby Hash.
Instance Attribute Details
#encryption ⇒ EncryptionImages
28 29 30 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb', line 28 def encryption @encryption end |
#name ⇒ String
Returns The name of the region.
16 17 18 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb', line 16 def name @name end |
#regional_replica_count ⇒ Integer
created per region. This property is updatable.
20 21 22 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb', line 20 def regional_replica_count @regional_replica_count end |
#storage_account_type ⇒ StorageAccountType
used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'
25 26 27 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb', line 25 def storage_account_type @storage_account_type end |
Class Method Details
.mapper ⇒ Object
Mapper for TargetRegion class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# 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 |