你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SubscriptionBillingPeriodConsumptionResource.GetPriceSheet 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按 subscriptionId 和计费周期获取某个范围的价目表。 价目表仅在 2014 年 5 月 1 日或更高版本通过此 API 提供。
- 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default
- 操作IdPriceSheet_GetByBillingPeriod
public virtual Azure.Response<Azure.ResourceManager.Consumption.Models.PriceSheetResult> GetPriceSheet (string expand = default, string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPriceSheet : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.PriceSheetResult>
override this.GetPriceSheet : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.PriceSheetResult>
Public Overridable Function GetPriceSheet (Optional expand As String = Nothing, Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PriceSheetResult)
参数
- expand
- String
可用于扩展价目表中的属性/meterDetails。 默认情况下,返回价目表时不包括这些字段。
- skipToken
- String
仅当上一个操作返回了部分结果时,才使用 Skiptoken。 如果以前的响应包含 nextLink 元素,则 nextLink 元素的值将包含一个 skiptoken 参数,该参数指定要用于后续调用的起点。
- cancellationToken
- CancellationToken
要使用的取消标记。