Class: Azure::CostManagement::Mgmt::V2019_01_01::Models::CommonExportProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01/generated/azure_mgmt_cost_management/models/common_export_properties.rb

Overview

The common properties of the export.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#definitionQueryDefinition

Returns Has definition for the export.

Returns:



23
24
25
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/common_export_properties.rb', line 23

def definition
  @definition
end

#delivery_infoExportDeliveryInfo

Returns Has delivery information for the export.

Returns:



20
21
22
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/common_export_properties.rb', line 20

def delivery_info
  @delivery_info
end

#formatFormatType

values include: ‘Csv’

Returns:

  • (FormatType)

    The format of the export being delivered. Possible



17
18
19
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/common_export_properties.rb', line 17

def format
  @format
end

Class Method Details

.mapperObject

Mapper for CommonExportProperties 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
66
67
68
69
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/common_export_properties.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CommonExportProperties',
    type: {
      name: 'Composite',
      class_name: 'CommonExportProperties',
      model_properties: {
        format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'format',
          type: {
            name: 'String'
          }
        },
        delivery_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'deliveryInfo',
          type: {
            name: 'Composite',
            class_name: 'ExportDeliveryInfo'
          }
        },
        definition: {
          client_side_validation: true,
          required: true,
          serialized_name: 'definition',
          default_value: {},
          type: {
            name: 'Composite',
            class_name: 'QueryDefinition'
          }
        }
      }
    }
  }
end