Class: Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableMongodbDatabasePropertiesResource
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableMongodbDatabasePropertiesResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#_rid ⇒ String
A system generated property.
-
#event_timestamp ⇒ String
The timestamp of this database event.
-
#operation_type ⇒ OperationType
Possible values include: ‘Create’, ‘Replace’, ‘Delete’, ‘SystemOperation’.
-
#owner_id ⇒ String
The name of this restorable MongoDB database.
-
#owner_resource_id ⇒ String
The resource Id of this restorable MongoDB database.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestorableMongodbDatabasePropertiesResource class as Ruby Hash.
Instance Attribute Details
#_rid ⇒ String
Returns A system generated property. A unique identifier.
17 18 19 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb', line 17 def _rid @_rid end |
#event_timestamp ⇒ String
Returns The timestamp of this database event.
25 26 27 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb', line 25 def end |
#operation_type ⇒ OperationType
Possible values include: ‘Create’, ‘Replace’, ‘Delete’, ‘SystemOperation’
22 23 24 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb', line 22 def operation_type @operation_type end |
#owner_id ⇒ String
Returns The name of this restorable MongoDB database.
28 29 30 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb', line 28 def owner_id @owner_id end |
#owner_resource_id ⇒ String
Returns The resource Id of this restorable MongoDB database.
31 32 33 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb', line 31 def owner_resource_id @owner_resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RestorableMongodbDatabasePropertiesResource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestorableMongodbDatabaseProperties_resource', type: { name: 'Composite', class_name: 'RestorableMongodbDatabasePropertiesResource', model_properties: { _rid: { client_side_validation: true, required: false, read_only: true, serialized_name: '_rid', type: { name: 'String' } }, operation_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'operationType', type: { name: 'String' } }, event_timestamp: { client_side_validation: true, required: false, read_only: true, serialized_name: 'eventTimestamp', type: { name: 'String' } }, owner_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'ownerId', type: { name: 'String' } }, owner_resource_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'ownerResourceId', type: { name: 'String' } } } } } end |