Class: Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportDeliveryDestination

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

Overview

The destination information for the delivery of the export. To allow access to a storage account, you must register the account’s subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically. However, API users need to register the subscription. For more information see docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#containerString

uploaded.

Returns:

  • (String)

    The name of the container where exports will be



28
29
30
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_delivery_destination.rb', line 28

def container
  @container
end

#resource_idString

will be delivered.

Returns:

  • (String)

    The resource id of the storage account where exports



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

def resource_id
  @resource_id
end

#root_folder_pathString

uploaded.

Returns:

  • (String)

    The name of the directory where exports will be



32
33
34
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_delivery_destination.rb', line 32

def root_folder_path
  @root_folder_path
end

Class Method Details

.mapperObject

Mapper for ExportDeliveryDestination 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
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_delivery_destination.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExportDeliveryDestination',
    type: {
      name: 'Composite',
      class_name: 'ExportDeliveryDestination',
      model_properties: {
        resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        container: {
          client_side_validation: true,
          required: true,
          serialized_name: 'container',
          type: {
            name: 'String'
          }
        },
        root_folder_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rootFolderPath',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end