Class BillingSubscriptionPatch
The billing properties of a subscription.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public class BillingSubscriptionPatch : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch>
Constructors
BillingSubscriptionPatch()
Initializes a new instance of BillingSubscriptionPatch.
Declaration
public BillingSubscriptionPatch ();
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>
|
Beneficiary
The beneficiary of the billing subscription.
Declaration
public Azure.ResourceManager.Billing.Models.BillingBeneficiary Beneficiary { get; set; }
Property Value
BillingBeneficiary
|
BeneficiaryTenantId
The provisioning tenant of the subscription.
Declaration
public Nullable<Guid> BeneficiaryTenantId { get; set; }
Property Value
System.Nullable<System.Guid>
|
BillingFrequency
The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y.
Declaration
public string BillingFrequency { get; set; }
Property Value
System.String
|
BillingPolicies
Dictionary of billing policies associated with the subscription.
Declaration
public System.Collections.Generic.IReadOnlyDictionary<string,string> BillingPolicies { get; }
Property Value
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
|
BillingProfileDisplayName
The name of the billing profile.
Declaration
public string BillingProfileDisplayName { get; }
Property Value
System.String
|
BillingProfileId
The fully qualified ID that uniquely identifies a billing profile.
Declaration
public Azure.Core.ResourceIdentifier BillingProfileId { get; set; }
Property Value
Azure.Core.ResourceIdentifier
|
BillingProfileName
The ID that uniquely identifies a billing profile.
Declaration
public string BillingProfileName { get; }
Property Value
System.String
|
ConsumptionCostCenter
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement or Enterprise Agreement Type billing accounts.
Declaration
public string ConsumptionCostCenter { get; set; }
Property Value
System.String
|
CustomerDisplayName
The name of the customer.
Declaration
public string CustomerDisplayName { get; }
Property Value
System.String
|
CustomerId
The fully qualified ID that uniquely identifies a customer.
Declaration
public string CustomerId { get; set; }
Property Value
System.String
|
CustomerName
The ID that uniquely identifies a customer.
Declaration
public string CustomerName { get; }
Property Value
System.String
|
DisplayName
The name of the billing subscription.
Declaration
public string DisplayName { get; set; }
Property Value
System.String
|
EnrollmentAccountDisplayName
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts.
Declaration
public string EnrollmentAccountDisplayName { get; }
Property Value
System.String
|
EnrollmentAccountId
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts.
Declaration
public string EnrollmentAccountId { get; }
Property Value
System.String
|
EnrollmentAccountStartOn
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement Type.
Declaration
public Nullable<DateTimeOffset> EnrollmentAccountStartOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
InvoiceSectionDisplayName
The name of the invoice section.
Declaration
public string InvoiceSectionDisplayName { get; }
Property Value
System.String
|
InvoiceSectionId
The fully qualified ID that uniquely identifies an invoice section.
Declaration
public Azure.Core.ResourceIdentifier InvoiceSectionId { get; set; }
Property Value
Azure.Core.ResourceIdentifier
|
InvoiceSectionName
The ID that uniquely identifies an invoice section.
Declaration
public string InvoiceSectionName { get; }
Property Value
System.String
|
LastMonthCharges
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts.
Declaration
public Azure.ResourceManager.Billing.Models.BillingAmount LastMonthCharges { get; }
Property Value
BillingAmount
|
MonthToDateCharges
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts.
Declaration
public Azure.ResourceManager.Billing.Models.BillingAmount MonthToDateCharges { get; }
Property Value
BillingAmount
|
NextBillingCycleBillingFrequency
Billing frequency of the product under the subscription.
Declaration
public string NextBillingCycleBillingFrequency { get; }
Property Value
System.String
|
OfferId
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts.
Declaration
public string OfferId { get; }
Property Value
System.String
|
OperationStatus
The status of an operation on the subscription. When None, there is no ongoing operation. When LockedForUpdate, write operations will be blocked on the Billing Subscription. Other is the default value and you may need to refer to the latest API version for more details.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionOperationStatus> OperationStatus { get; }
Property Value
System.Nullable<BillingSubscriptionOperationStatus>
|
ProductCategory
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other.
Declaration
public string ProductCategory { get; }
Property Value
System.String
|
ProductType
Type of the product for which the subscription is purchased.
Declaration
public string ProductType { get; }
Property Value
System.String
|
ProductTypeId
Id of the product for which the subscription is purchased.
Declaration
public string ProductTypeId { get; set; }
Property Value
System.String
|
ProvisioningState
The provisioning state of the resource during a long-running operation.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> ProvisioningState { get; }
Property Value
System.Nullable<BillingProvisioningState>
|
ProvisioningTenantId
The tenant in which the subscription is provisioned.
Declaration
public Nullable<Guid> ProvisioningTenantId { get; set; }
Property Value
System.Nullable<System.Guid>
|
PurchaseOn
Purchase date of the product in UTC time.
Declaration
public Nullable<DateTimeOffset> PurchaseOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
Quantity
The quantity of licenses or fulfillment units for the subscription.
Declaration
public Nullable<long> Quantity { get; set; }
Property Value
System.Nullable<System.Int64>
|
RenewalTermDetails
Details for the next renewal term of a subscription.
Declaration
public Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails RenewalTermDetails { get; }
Property Value
SubscriptionRenewalTermDetails
|
Reseller
Reseller for this subscription. The fields is not available for Microsoft Partner Agreement billing accounts.
Declaration
public Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller Reseller { get; }
Property Value
CreatedSubscriptionReseller
|
ResourceUri
Unique identifier of the linked resource.
Declaration
public Uri ResourceUri { get; }
Property Value
System.Uri
|
SkuDescription
The SKU description of the product for which the subscription is purchased. This field is is only available for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Declaration
public string SkuDescription { get; }
Property Value
System.String
|
SkuId
The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts.
Declaration
public string SkuId { get; set; }
Property Value
System.String
|
Status
The status of the subscription. This field is not available for Enterprise Agreement billing accounts.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> Status { get; }
Property Value
System.Nullable<BillingSubscriptionStatus>
|
SubscriptionEnrollmentAccountStatus
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement Type.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> SubscriptionEnrollmentAccountStatus { get; }
Property Value
System.Nullable<SubscriptionEnrollmentAccountStatus>
|
SubscriptionId
The ID of the subscription.
Declaration
public string SubscriptionId { get; }
Property Value
System.String
|
SuspensionReasonDetails
The suspension details for a subscription. This field is not available for Enterprise Agreement billing accounts.
Declaration
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> SuspensionReasonDetails { get; }
Property Value
System.Collections.Generic.IReadOnlyList<BillingSubscriptionStatusDetails>
|
SuspensionReasons
The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts.
Declaration
public System.Collections.Generic.IReadOnlyList<string> SuspensionReasons { get; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
|
SystemOverrides
System imposed policies that regulate behavior of the subscription.
Declaration
public Azure.ResourceManager.Billing.Models.BillingSystemOverrides SystemOverrides { get; set; }
Property Value
BillingSystemOverrides
|
Tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Declaration
public System.Collections.Generic.IDictionary<string,string> Tags { get; }
Property Value
System.Collections.Generic.IDictionary<System.String,System.String>
|
TermDuration
The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y.
Declaration
public Nullable<TimeSpan> TermDuration { get; set; }
Property Value
System.Nullable<System.TimeSpan>
|
TermEndOn
End date of the term in UTC time.
Declaration
public Nullable<DateTimeOffset> TermEndOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
TermStartOn
Start date of the term in UTC time.
Declaration
public Nullable<DateTimeOffset> TermStartOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
Declaration
protected override 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<BillingSubscriptionPatch>.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.BillingSubscriptionPatch IJsonModel<BillingSubscriptionPatch>.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
BillingSubscriptionPatch
A |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IJsonModel<BillingSubscriptionPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
Writes the model to the provided System.Text.Json.Utf8JsonWriter.
Declaration
void IJsonModel<BillingSubscriptionPatch>.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<BillingSubscriptionPatch>.Create(BinaryData, ModelReaderWriterOptions)
Converts the provided System.BinaryData into a model.
Declaration
Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch IPersistableModel<BillingSubscriptionPatch>.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
BillingSubscriptionPatch
A |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IPersistableModel<BillingSubscriptionPatch>.GetFormatFromOptions(ModelReaderWriterOptions)
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.
Declaration
string IPersistableModel<BillingSubscriptionPatch>.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<BillingSubscriptionPatch>.Write(ModelReaderWriterOptions)
Writes the model into a System.BinaryData.
Declaration
BinaryData IPersistableModel<BillingSubscriptionPatch>.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. |