Class: Azure::Consumption::Mgmt::V2018_05_31::Models::QueryOptions

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-31/generated/azure_mgmt_consumption/models/query_options.rb

Overview

Additional parameters for a set of operations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#applyString

tags or (tags and properties/usageStart)

Returns:

  • (String)

    OData apply expression to aggregate usageDetails by



17
18
19
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/query_options.rb', line 17

def apply
  @apply
end

Class Method Details

.mapperObject

Mapper for QueryOptions class as Ruby Hash. This will be used for serialization/deserialization.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/query_options.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    type: {
      name: 'Composite',
      class_name: 'QueryOptions',
      model_properties: {
        apply: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end