UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

50 lines (49 loc) 2.31 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Uses Azure REST API version 2023-11-01-preview. * * Other available API versions: 2022-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native testbase [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getBillingHubServiceUsage(args: GetBillingHubServiceUsageArgs, opts?: pulumi.InvokeOptions): Promise<GetBillingHubServiceUsageResult>; export interface GetBillingHubServiceUsageArgs { endTimeStamp: string; pageIndex?: number; pageSize?: number; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; startTimeStamp: string; /** * The resource name of the Test Base Account. */ testBaseAccountName: string; } export interface GetBillingHubServiceUsageResult { readonly nextRequest?: outputs.testbase.BillingHubGetUsageRequestResponse; readonly packageUsageEntries?: outputs.testbase.BillingHubPackageUsageResponse[]; readonly totalCharges?: number; readonly totalUsedBillableHours?: number; readonly totalUsedFreeHours?: number; } /** * Uses Azure REST API version 2023-11-01-preview. * * Other available API versions: 2022-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native testbase [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getBillingHubServiceUsageOutput(args: GetBillingHubServiceUsageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBillingHubServiceUsageResult>; export interface GetBillingHubServiceUsageOutputArgs { endTimeStamp: pulumi.Input<string>; pageIndex?: pulumi.Input<number>; pageSize?: pulumi.Input<number>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; startTimeStamp: pulumi.Input<string>; /** * The resource name of the Test Base Account. */ testBaseAccountName: pulumi.Input<string>; }