你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
UsageDetailsOperationsExtensions.ListByBillingPeriod 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按计费周期列出某个范围的使用情况详细信息。 使用情况详细信息仅在 2014 年 5 月 1 日或更高版本通过此 API 提供。 https://docs.microsoft.com/en-us/rest/api/consumption/
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.UsageDetail> ListByBillingPeriod(this Microsoft.Azure.Management.Consumption.IUsageDetailsOperations operations, string billingPeriodName, string expand = default, string filter = default, string skiptoken = default, int? top = default);
static member ListByBillingPeriod : Microsoft.Azure.Management.Consumption.IUsageDetailsOperations * string * string * string * string * Nullable<int> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.UsageDetail>
<Extension()>
Public Function ListByBillingPeriod (operations As IUsageDetailsOperations, billingPeriodName As String, Optional expand As String = Nothing, Optional filter As String = Nothing, Optional skiptoken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing) As IPage(Of UsageDetail)
参数
- operations
- IUsageDetailsOperations
此扩展方法的操作组。
- billingPeriodName
- String
计费周期名称。
- expand
- String
可用于在使用情况详细信息列表中展开 properties/additionalProperties 或 properties/meterDetails。 默认情况下,列出使用情况详细信息时不包括这些字段。
- filter
- String
可用于按 properties/usageEnd (Utc 时间) 、properties/usageStart (Utc 时间) 、properties/resourceGroup、properties/instanceName 或 properties/instanceId 筛选 usageDetails。 筛选器支持“eq”、“lt”、“gt”、“le”、“ge”和“and”。 它当前不支持“ne”、“or”或“not”。
- skiptoken
- String
仅当上一个操作返回部分结果时,才使用 Skiptoken。 如果上一个响应包含 nextLink 元素,则 nextLink 元素的值将包含一个 skiptoken 参数,该参数指定用于后续调用的起点。