Class: Azure::Postgresql::Mgmt::V2017_12_01::Models::StorageProfile
- Inherits:
-
Object
- Object
- Azure::Postgresql::Mgmt::V2017_12_01::Models::StorageProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_postgresql/models/storage_profile.rb
Overview
Storage Profile properties of a server
Instance Attribute Summary collapse
-
#backup_retention_days ⇒ Integer
Backup retention days for the server.
-
#geo_redundant_backup ⇒ GeoRedundantBackup
backup.
-
#storage_autogrow ⇒ StorageAutogrow
include: 'Enabled', 'Disabled'.
-
#storage_mb ⇒ Integer
Max storage allowed for a server.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageProfile class as Ruby Hash.
Instance Attribute Details
#backup_retention_days ⇒ Integer
Returns Backup retention days for the server.
16 17 18 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/storage_profile.rb', line 16 def backup_retention_days @backup_retention_days end |
#geo_redundant_backup ⇒ GeoRedundantBackup
backup. Possible values include: 'Enabled', 'Disabled'
20 21 22 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/storage_profile.rb', line 20 def geo_redundant_backup @geo_redundant_backup end |
#storage_autogrow ⇒ StorageAutogrow
include: 'Enabled', 'Disabled'
27 28 29 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/storage_profile.rb', line 27 def storage_autogrow @storage_autogrow end |
#storage_mb ⇒ Integer
Returns Max storage allowed for a server.
23 24 25 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/storage_profile.rb', line 23 def storage_mb @storage_mb end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageProfile class as Ruby Hash. This will be used for serialization/deserialization.
34 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 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/storage_profile.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { name: 'Composite', class_name: 'StorageProfile', model_properties: { backup_retention_days: { client_side_validation: true, required: false, serialized_name: 'backupRetentionDays', type: { name: 'Number' } }, geo_redundant_backup: { client_side_validation: true, required: false, serialized_name: 'geoRedundantBackup', type: { name: 'String' } }, storage_mb: { client_side_validation: true, required: false, serialized_name: 'storageMB', type: { name: 'Number' } }, storage_autogrow: { client_side_validation: true, required: false, serialized_name: 'storageAutogrow', type: { name: 'String' } } } } } end |