class Azure::Consumption::Mgmt::V2019_10_01::Models::Marketplace
An marketplace resource.
Attributes
@return [String] Account name.
@return [String] Additional details of this usage item. By default this is not populated, unless it's specified in $expand.
@return [String] The id of the billing period resource that the usage belongs to.
@return The quantity of usage.
@return [String] Consumed service name.
@return [String] The cost center of this department if it is a department and a costcenter exists
@return [String] The ISO currency in which the meter is charged, for example, USD.
@return [String] Department name.
@return [String] The uri of the resource instance that the usage is about.
@return [String] The name of the resource instance that the usage is about.
@return [Boolean] The estimated usage is subject to change.
@return [Boolean] Flag indicating whether this is a recurring charge or not.
@return The meter id (GUID).
@return [String] The type of offer.
@return [String] The order number.
@return [String] The name of plan.
@return The amount of cost before tax.
@return [String] The name of publisher.
@return [String] The name of resource group.
@return The marketplace resource rate.
@return Subscription guid.
@return [String] Subscription name.
@return [String] The unit of measure.
@return [DateTime] The end of the date time range covered by the usage detail.
@return [DateTime] The start of the date time range covered by the usage detail.
Private Class Methods
Mapper for Marketplace
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-10-01/generated/azure_mgmt_consumption/models/marketplace.rb, line 104 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Marketplace', type: { name: 'Composite', class_name: 'Marketplace', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, billing_period_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', type: { name: 'String' } }, usage_start: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', type: { name: 'DateTime' } }, usage_end: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', type: { name: 'DateTime' } }, resource_rate: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceRate', type: { name: 'Number' } }, offer_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.offerName', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, order_number: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.orderNumber', type: { name: 'String' } }, instance_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', type: { name: 'String' } }, instance_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', type: { name: 'String' } }, currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', type: { name: 'String' } }, consumed_quantity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedQuantity', type: { name: 'Number' } }, unit_of_measure: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unitOfMeasure', type: { name: 'String' } }, pretax_cost: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pretaxCost', type: { name: 'Number' } }, is_estimated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isEstimated', type: { name: 'Boolean' } }, meter_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', type: { name: 'String' } }, subscription_guid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionGuid', type: { name: 'String' } }, subscription_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionName', type: { name: 'String' } }, account_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accountName', type: { name: 'String' } }, department_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.departmentName', type: { name: 'String' } }, consumed_service: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedService', type: { name: 'String' } }, cost_center: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costCenter', type: { name: 'String' } }, additional_properties: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalProperties', type: { name: 'String' } }, publisher_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisherName', type: { name: 'String' } }, plan_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.planName', type: { name: 'String' } }, is_recurring_charge: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isRecurringCharge', type: { name: 'Boolean' } } } } } end