Class: Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb
Overview
A restorable dropped database
Instance Attribute Summary collapse
-
#creation_date ⇒ DateTime
The creation date of the database (ISO8601 format).
-
#database_name ⇒ String
The name of the database.
-
#deletion_date ⇒ DateTime
The deletion date of the database (ISO8601 format).
-
#earliest_restore_date ⇒ DateTime
format).
-
#edition ⇒ String
The edition of the database.
-
#elastic_pool_name ⇒ String
The elastic pool name of the database.
-
#location ⇒ String
The geo-location where the resource lives.
-
#max_size_bytes ⇒ String
The max size in bytes of the database.
-
#service_level_objective ⇒ String
The service level objective name of the database.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestorableDroppedDatabase class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#creation_date ⇒ DateTime
Returns The creation date of the database (ISO8601 format).
34 35 36 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 34 def creation_date @creation_date end |
#database_name ⇒ String
Returns The name of the database.
19 20 21 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 19 def database_name @database_name end |
#deletion_date ⇒ DateTime
Returns The deletion date of the database (ISO8601 format).
37 38 39 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 37 def deletion_date @deletion_date end |
#earliest_restore_date ⇒ DateTime
format)
41 42 43 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 41 def earliest_restore_date @earliest_restore_date end |
#edition ⇒ String
Returns The edition of the database.
22 23 24 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 22 def edition @edition end |
#elastic_pool_name ⇒ String
Returns The elastic pool name of the database.
31 32 33 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 31 def elastic_pool_name @elastic_pool_name end |
#location ⇒ String
Returns The geo-location where the resource lives.
16 17 18 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 16 def location @location end |
#max_size_bytes ⇒ String
Returns The max size in bytes of the database.
25 26 27 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 25 def max_size_bytes @max_size_bytes end |
#service_level_objective ⇒ String
Returns The service level objective name of the database.
28 29 30 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 28 def service_level_objective @service_level_objective end |
Class Method Details
.mapper ⇒ Object
Mapper for RestorableDroppedDatabase class as Ruby Hash. This will be used for serialization/deserialization.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/restorable_dropped_database.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestorableDroppedDatabase', type: { name: 'Composite', class_name: 'RestorableDroppedDatabase', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, database_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.databaseName', type: { name: 'String' } }, edition: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.edition', type: { name: 'String' } }, max_size_bytes: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxSizeBytes', type: { name: 'String' } }, service_level_objective: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceLevelObjective', type: { name: 'String' } }, elastic_pool_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.elasticPoolName', type: { name: 'String' } }, creation_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', type: { name: 'DateTime' } }, deletion_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.deletionDate', type: { name: 'DateTime' } }, earliest_restore_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', type: { name: 'DateTime' } } } } } end |