Class: Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableLocationResource
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableLocationResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb
Overview
Properties of the regional restorable account.
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
database account (ISO-8601 format).
-
#deletion_time ⇒ DateTime
account has been deleted (ISO-8601 format).
-
#location_name ⇒ String
The location of the regional restorable account.
-
#regional_database_account_instance_id ⇒ String
The instance id of the regional restorable account.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestorableLocationResource class as Ruby Hash.
Instance Attribute Details
#creation_time ⇒ DateTime
database account (ISO-8601 format).
23 24 25 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 23 def creation_time @creation_time end |
#deletion_time ⇒ DateTime
account has been deleted (ISO-8601 format).
27 28 29 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 27 def deletion_time @deletion_time end |
#location_name ⇒ String
Returns The location of the regional restorable account.
16 17 18 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 16 def location_name @location_name end |
#regional_database_account_instance_id ⇒ String
Returns The instance id of the regional restorable account.
19 20 21 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 19 def regional_database_account_instance_id @regional_database_account_instance_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RestorableLocationResource 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 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestorableLocationResource', type: { name: 'Composite', class_name: 'RestorableLocationResource', model_properties: { location_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'locationName', type: { name: 'String' } }, regional_database_account_instance_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'regionalDatabaseAccountInstanceId', type: { name: 'String' } }, creation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'creationTime', type: { name: 'DateTime' } }, deletion_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'deletionTime', type: { name: 'DateTime' } } } } } end |