Class: Azure::ARM::Web::Models::DatabaseBackupSetting
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::DatabaseBackupSetting
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/database_backup_setting.rb
Overview
Note: properties are serialized in JSON format and stored in DB. if new properties are added they might not be in the previous data rows so please handle nulls
Instance Attribute Summary collapse
-
#connection_string ⇒ String
being backed up/restored.
-
#connection_string_name ⇒ String
the SiteConfig.ConnectionStrings.
-
#database_type ⇒ String
SqlAzure / MySql.
- #name ⇒ String
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatabaseBackupSetting class as Ruby Hash.
Instance Attribute Details
#connection_string ⇒ String
being backed up/restored. If the restore should happen to a new database, the database name inside is the new one.
33 34 35 |
# File 'lib/generated/azure_mgmt_web/models/database_backup_setting.rb', line 33 def connection_string @connection_string end |
#connection_string_name ⇒ String
the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
28 29 30 |
# File 'lib/generated/azure_mgmt_web/models/database_backup_setting.rb', line 28 def connection_string_name @connection_string_name end |
#database_type ⇒ String
Returns SqlAzure / MySql.
19 20 21 |
# File 'lib/generated/azure_mgmt_web/models/database_backup_setting.rb', line 19 def database_type @database_type end |
#name ⇒ String
22 23 24 |
# File 'lib/generated/azure_mgmt_web/models/database_backup_setting.rb', line 22 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for DatabaseBackupSetting class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_web/models/database_backup_setting.rb', line 40 def self.mapper() { required: false, serialized_name: 'DatabaseBackupSetting', type: { name: 'Composite', class_name: 'DatabaseBackupSetting', model_properties: { database_type: { required: false, serialized_name: 'databaseType', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, connection_string_name: { required: false, serialized_name: 'connectionStringName', type: { name: 'String' } }, connection_string: { required: false, serialized_name: 'connectionString', type: { name: 'String' } } } } } end |