Class: Azure::Cosmosdb::Mgmt::V2019_12_12::Models::CreateUpdateOptions
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2019_12_12::Models::CreateUpdateOptions
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/create_update_options.rb
Overview
CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are “If-Match”, “If-None-Match”, “Session-Token” and “Throughput”
Instance Attribute Summary collapse
-
#additional_properties ⇒ Hash{String => String}
are deserialized this collection.
-
#throughput ⇒ String
“10000”.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CreateUpdateOptions class as Ruby Hash.
Instance Attribute Details
#additional_properties ⇒ Hash{String => String}
are deserialized this collection
19 20 21 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/create_update_options.rb', line 19 def additional_properties @additional_properties end |
#throughput ⇒ String
“10000”.
23 24 25 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/create_update_options.rb', line 23 def throughput @throughput end |
Class Method Details
.mapper ⇒ Object
Mapper for CreateUpdateOptions class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 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 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/create_update_options.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CreateUpdateOptions', type: { name: 'Composite', class_name: 'CreateUpdateOptions', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, throughput: { client_side_validation: true, required: false, serialized_name: 'throughput', type: { name: 'String' } } } } } end |