ArmConsumptionModelFactory.ConsumptionMarketplace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ConsumptionMarketplace.
public static Azure.ResourceManager.Consumption.Models.ConsumptionMarketplace ConsumptionMarketplace (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string billingPeriodId = default, DateTimeOffset? usageStartOn = default, DateTimeOffset? usageEndOn = default, decimal? resourceRate = default, string offerName = default, string resourceGroup = default, string additionalInfo = default, string orderNumber = default, string instanceName = default, string instanceId = default, string currency = default, decimal? consumedQuantity = default, string unitOfMeasure = default, decimal? pretaxCost = default, bool? isEstimated = default, Guid? meterId = default, Guid? subscriptionGuid = default, string subscriptionName = default, string accountName = default, string departmentName = default, string consumedService = default, string costCenter = default, string additionalProperties = default, string publisherName = default, string planName = default, bool? isRecurringCharge = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionMarketplace : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<decimal> * string * string * string * string * string * string * string * Nullable<decimal> * string * Nullable<decimal> * Nullable<bool> * Nullable<Guid> * Nullable<Guid> * string * string * string * string * string * string * string * string * Nullable<bool> * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionMarketplace
Public Shared Function ConsumptionMarketplace (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional usageEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional resourceRate As Nullable(Of Decimal) = Nothing, Optional offerName As String = Nothing, Optional resourceGroup As String = Nothing, Optional additionalInfo As String = Nothing, Optional orderNumber As String = Nothing, Optional instanceName As String = Nothing, Optional instanceId As String = Nothing, Optional currency As String = Nothing, Optional consumedQuantity As Nullable(Of Decimal) = Nothing, Optional unitOfMeasure As String = Nothing, Optional pretaxCost As Nullable(Of Decimal) = Nothing, Optional isEstimated As Nullable(Of Boolean) = Nothing, Optional meterId As Nullable(Of Guid) = Nothing, Optional subscriptionGuid As Nullable(Of Guid) = Nothing, Optional subscriptionName As String = Nothing, Optional accountName As String = Nothing, Optional departmentName As String = Nothing, Optional consumedService As String = Nothing, Optional costCenter As String = Nothing, Optional additionalProperties As String = Nothing, Optional publisherName As String = Nothing, Optional planName As String = Nothing, Optional isRecurringCharge As Nullable(Of Boolean) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionMarketplace
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- billingPeriodId
- String
The id of the billing period resource that the usage belongs to.
- usageStartOn
- Nullable<DateTimeOffset>
The start of the date time range covered by the usage detail.
- usageEndOn
- Nullable<DateTimeOffset>
The end of the date time range covered by the usage detail.
- offerName
- String
The type of offer.
- resourceGroup
- String
The name of resource group.
- additionalInfo
- String
Additional information.
- orderNumber
- String
The order number.
- instanceName
- String
The name of the resource instance that the usage is about.
- instanceId
- String
The uri of the resource instance that the usage is about.
- currency
- String
The ISO currency in which the meter is charged, for example, USD.
- unitOfMeasure
- String
The unit of measure.
- subscriptionName
- String
Subscription name.
- accountName
- String
Account name.
- departmentName
- String
Department name.
- consumedService
- String
Consumed service name.
- costCenter
- String
The cost center of this department if it is a department and a costcenter exists.
- additionalProperties
- String
Additional details of this usage item. By default this is not populated, unless it's specified in $expand.
- publisherName
- String
The name of publisher.
- planName
- String
The name of plan.
- tags
- IReadOnlyDictionary<String,String>
Resource tags.
Returns
A new ConsumptionMarketplace instance for mocking.