IRequestContext Interface
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.RequestContextTypeConverter))]
public interface IRequestContext : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.RequestContextTypeConverter))>]
type IRequestContext = interface
interface IJsonSerializable
Public Interface IRequestContext
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
RequestBodyBillingPeriod |
This parameter can be used only by Enterprise Agreement customers. Use the YearMonth(e.g. 202008) format. This parameter cannot be used alongside either the invoiceId or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost. |
RequestBodyInvoiceId |
This parameter can only be used by Microsoft Customer Agreement customers. Additionally, it can only be used at the Billing Profile or Customer scope. This parameter cannot be used alongside either the billingPeriod or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost. |
RequestBodyMetric |
The type of the detailed report. By default ActualCost is provided |
RequestScope |
The request scope of the request. |
TimePeriodEnd |
The end date to pull data to. example format 2020-03-15 |
TimePeriodStart |
The start date to pull data from. example format 2020-03-15 |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |