Class BillingRequestProperties
A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public class BillingRequestProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingRequestProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingRequestProperties>
Constructors
BillingRequestProperties()
Initializes a new instance of BillingRequestProperties.
Declaration
public BillingRequestProperties ();
Properties
AdditionalInformation
Additional information for the billing request.
Declaration
public System.Collections.Generic.IDictionary<string,string> AdditionalInformation { get; }
Property Value
System.Collections.Generic.IDictionary<System.String,System.String>
|
BillingAccountDisplayName
The name of the billing account.
Declaration
public string BillingAccountDisplayName { get; }
Property Value
System.String
|
BillingAccountId
The fully qualified ID that uniquely identifies a billing account.
Declaration
public Azure.Core.ResourceIdentifier BillingAccountId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
BillingAccountName
The ID that uniquely identifies a billing account.
Declaration
public string BillingAccountName { get; }
Property Value
System.String
|
BillingAccountPrimaryBillingTenantId
The primary tenant ID of the billing account for which the billing request was submitted.
Declaration
public Nullable<Guid> BillingAccountPrimaryBillingTenantId { get; }
Property Value
System.Nullable<System.Guid>
|
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; }
Property Value
Azure.Core.ResourceIdentifier
|
BillingProfileName
The ID that uniquely identifies a billing profile.
Declaration
public string BillingProfileName { get; }
Property Value
System.String
|
BillingScope
The billing scope for which the request will be applied. This is a read only property derived by the service.
Declaration
public string BillingScope { get; }
Property Value
System.String
|
CreatedBy
The principal of the entity who created the request.
Declaration
public Azure.ResourceManager.Billing.Models.BillingPrincipal CreatedBy { get; set; }
Property Value
BillingPrincipal
|
CreatedOn
The date and time when the request was created.
Declaration
public Nullable<DateTimeOffset> CreatedOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
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 Azure.Core.ResourceIdentifier CustomerId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
CustomerName
The ID that uniquely identifies a customer.
Declaration
public string CustomerName { get; }
Property Value
System.String
|
DecisionReason
The reason to approve or decline the request.
Declaration
public string DecisionReason { get; set; }
Property Value
System.String
|
ExpireOn
The date and time when the request expires.
Declaration
public Nullable<DateTimeOffset> ExpireOn { 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; }
Property Value
Azure.Core.ResourceIdentifier
|
InvoiceSectionName
The ID that uniquely identifies an invoice section.
Declaration
public string InvoiceSectionName { get; }
Property Value
System.String
|
Justification
Justification for submitting request.
Declaration
public string Justification { get; set; }
Property Value
System.String
|
LastUpdatedBy
The principal of the entity who last updated the request.
Declaration
public Azure.ResourceManager.Billing.Models.BillingPrincipal LastUpdatedBy { get; set; }
Property Value
BillingPrincipal
|
LastUpdatedOn
Date and time of last update.
Declaration
public Nullable<DateTimeOffset> LastUpdatedOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
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>
|
Recipients
The recipients of the billing request.
Declaration
public System.Collections.Generic.IList<Azure.ResourceManager.Billing.Models.BillingPrincipal> Recipients { get; }
Property Value
System.Collections.Generic.IList<BillingPrincipal>
|
RequestScope
The billing scope for which the request was submitted (ex. '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}').
Declaration
public string RequestScope { get; set; }
Property Value
System.String
|
RequestType
Type of billing request.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingRequestType> RequestType { get; set; }
Property Value
System.Nullable<BillingRequestType>
|
ReviewalOn
The date and time when the request was reviewed.
Declaration
public Nullable<DateTimeOffset> ReviewalOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
ReviewedBy
The principal of the request reviewer. Will only be set if request is approved.
Declaration
public Azure.ResourceManager.Billing.Models.BillingPrincipal ReviewedBy { get; set; }
Property Value
BillingPrincipal
|
Status
Status of billing request.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingRequestStatus> Status { get; set; }
Property Value
System.Nullable<BillingRequestStatus>
|
SubscriptionDisplayName
The name of the billing subscription.
Declaration
public string SubscriptionDisplayName { get; }
Property Value
System.String
|
SubscriptionId
The fully qualified ID that uniquely identifies a billing subscription.
Declaration
public string SubscriptionId { get; }
Property Value
System.String
|
SubscriptionName
The ID that uniquely identifies a billing subscription.
Declaration
public string SubscriptionName { get; }
Property Value
System.String
|
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<BillingRequestProperties>.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.BillingRequestProperties IJsonModel<BillingRequestProperties>.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
BillingRequestProperties
A |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IJsonModel<BillingRequestProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
Writes the model to the provided System.Text.Json.Utf8JsonWriter.
Declaration
void IJsonModel<BillingRequestProperties>.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<BillingRequestProperties>.Create(BinaryData, ModelReaderWriterOptions)
Converts the provided System.BinaryData into a model.
Declaration
Azure.ResourceManager.Billing.Models.BillingRequestProperties IPersistableModel<BillingRequestProperties>.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
BillingRequestProperties
A |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IPersistableModel<BillingRequestProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.
Declaration
string IPersistableModel<BillingRequestProperties>.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<BillingRequestProperties>.Write(ModelReaderWriterOptions)
Writes the model into a System.BinaryData.
Declaration
BinaryData IPersistableModel<BillingRequestProperties>.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. |