Show / Hide Table of Contents

Class BillingProductProperties

A product.

Inheritance
System.Object
BillingProductProperties
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public class BillingProductProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingProductProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingProductProperties>

Constructors

BillingProductProperties()

Initializes a new instance of BillingProductProperties.

Declaration
public BillingProductProperties ();

Properties

AutoRenew

Indicates whether auto renewal is turned on or off for a product.

Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> AutoRenew { get; set; }
Property Value
System.Nullable<BillingSubscriptionAutoRenewState>

AvailabilityId

The availability of the product.

Declaration
public string AvailabilityId { get; }
Property Value
System.String

BillingFrequency

The frequency at which the product will be billed.

Declaration
public string BillingFrequency { get; }
Property Value
System.String

BillingProfileDisplayName

The name of the billing profile to which the product is billed.

Declaration
public string BillingProfileDisplayName { get; }
Property Value
System.String

BillingProfileId

The ID of the billing profile to which the product is billed.

Declaration
public Azure.Core.ResourceIdentifier BillingProfileId { get; }
Property Value
Azure.Core.ResourceIdentifier

CustomerDisplayName

The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.

Declaration
public string CustomerDisplayName { get; }
Property Value
System.String

CustomerId

The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.

Declaration
public Azure.Core.ResourceIdentifier CustomerId { get; }
Property Value
Azure.Core.ResourceIdentifier

DisplayName

The display name of the product.

Declaration
public string DisplayName { get; }
Property Value
System.String

EndDate

The date when the product will be renewed or canceled.

Declaration
public string EndDate { get; }
Property Value
System.String

InvoiceSectionDisplayName

The name of the invoice section to which the product is billed.

Declaration
public string InvoiceSectionDisplayName { get; }
Property Value
System.String

InvoiceSectionId

The ID of the invoice section to which the product is billed.

Declaration
public Azure.Core.ResourceIdentifier InvoiceSectionId { get; }
Property Value
Azure.Core.ResourceIdentifier

LastCharge

The last month charges.

Declaration
public Azure.ResourceManager.Billing.Models.BillingAmount LastCharge { get; }
Property Value
BillingAmount

LastChargeDate

The date of the last charge.

Declaration
public string LastChargeDate { get; }
Property Value
System.String

ProductType

The description of the type of product.

Declaration
public string ProductType { get; }
Property Value
System.String

ProductTypeId

The ID of the type of product.

Declaration
public string ProductTypeId { get; }
Property Value
System.String

PurchaseDate

The date when the product was purchased.

Declaration
public string PurchaseDate { get; }
Property Value
System.String

Quantity

The quantity purchased for the product.

Declaration
public Nullable<long> Quantity { get; }
Property Value
System.Nullable<System.Int64>

Reseller

Reseller for this product. The fields is not available for Microsoft Partner Agreement products.

Declaration
public Azure.ResourceManager.Billing.Models.BillingAmount Reseller { get; }
Property Value
BillingAmount

SkuDescription

The sku description of the product.

Declaration
public string SkuDescription { get; }
Property Value
System.String

SkuId

The sku ID of the product.

Declaration
public string SkuId { get; }
Property Value
System.String

Status

The status of the product.

Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingProductStatus> Status { get; }
Property Value
System.Nullable<BillingProductStatus>

TenantId

The id of the tenant in which the product is used.

Declaration
public Nullable<Guid> TenantId { get; }
Property Value
System.Nullable<System.Guid>

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Declaration
protected virtual void JsonModelWriteCore (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonWriter writer

The JSON writer.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The client options for reading and writing models.

Explicit Interface Implementations

IJsonModel<BillingProductProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

Declaration
Azure.ResourceManager.Billing.Models.BillingProductProperties IJsonModel<BillingProductProperties>.Create (ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonReader reader

The System.Text.Json.Utf8JsonReader to read.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
BillingProductProperties

A T representation of the JSON value.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IJsonModel<BillingProductProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

Declaration
void IJsonModel<BillingProductProperties>.Write (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonWriter writer

The System.Text.Json.Utf8JsonWriter to write into.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IPersistableModel<BillingProductProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

Declaration
Azure.ResourceManager.Billing.Models.BillingProductProperties IPersistableModel<BillingProductProperties>.Create (BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.BinaryData data

The System.BinaryData to parse.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
BillingProductProperties

A T representation of the data.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IPersistableModel<BillingProductProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

Declaration
string IPersistableModel<BillingProductProperties>.GetFormatFromOptions (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to consider when serializing and deserializing the model.

Returns
System.String

The format that the model uses when communicating with the serivce.

IPersistableModel<BillingProductProperties>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Declaration
BinaryData IPersistableModel<BillingProductProperties>.Write (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
System.BinaryData

A binary representation of the written model.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

Back to top Azure SDK for .NET