class Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportDeliveryDestination

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 .

Attributes

container[RW]

@return [String] The name of the container where exports will be uploaded.

resource_id[RW]

@return [String] The resource id of the storage account where exports will be delivered.

root_folder_path[RW]

@return [String] The name of the directory where exports will be uploaded.

Public Class Methods

mapper() click to toggle source

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

# 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