Class: Azure::ARM::SQL::Models::RecoverableDatabase
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::RecoverableDatabase
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/recoverable_database.rb
Overview
A recoverable database
Instance Attribute Summary collapse
-
#edition ⇒ String
The edition of the database.
-
#elastic_pool_name ⇒ String
The elastic pool name of the database.
-
#last_available_backup_date ⇒ DateTime
(ISO8601 format).
-
#service_level_objective ⇒ String
The service level objective name of the database.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecoverableDatabase class as Ruby Hash.
Instance Attribute Details
#edition ⇒ String
Returns The edition of the database.
17 18 19 |
# File 'lib/generated/azure_mgmt_sql/models/recoverable_database.rb', line 17 def edition @edition end |
#elastic_pool_name ⇒ String
Returns The elastic pool name of the database.
23 24 25 |
# File 'lib/generated/azure_mgmt_sql/models/recoverable_database.rb', line 23 def elastic_pool_name @elastic_pool_name end |
#last_available_backup_date ⇒ DateTime
(ISO8601 format)
27 28 29 |
# File 'lib/generated/azure_mgmt_sql/models/recoverable_database.rb', line 27 def last_available_backup_date @last_available_backup_date end |
#service_level_objective ⇒ String
Returns The service level objective name of the database.
20 21 22 |
# File 'lib/generated/azure_mgmt_sql/models/recoverable_database.rb', line 20 def service_level_objective @service_level_objective end |
Class Method Details
.mapper ⇒ Object
Mapper for RecoverableDatabase 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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/generated/azure_mgmt_sql/models/recoverable_database.rb', line 34 def self.mapper() { required: false, serialized_name: 'RecoverableDatabase', type: { name: 'Composite', class_name: 'RecoverableDatabase', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, edition: { required: false, read_only: true, serialized_name: 'properties.edition', type: { name: 'String' } }, service_level_objective: { required: false, read_only: true, serialized_name: 'properties.serviceLevelObjective', type: { name: 'String' } }, elastic_pool_name: { required: false, read_only: true, serialized_name: 'properties.elasticPoolName', type: { name: 'String' } }, last_available_backup_date: { required: false, read_only: true, serialized_name: 'properties.lastAvailableBackupDate', type: { name: 'DateTime' } } } } } end |