@azure/arm-commerce package

Classes

UsageManagementClient

Interfaces

ErrorResponse

Describes the format of Error response.

InfoField

Key-value pairs of instance details in the legacy format.

MeterInfo

Detailed information about the meter.

MonetaryCommitment

Indicates that a monetary commitment is required for this offer

MonetaryCredit

Indicates that this is a monetary credit offer.

OfferTermInfoAutoGenerated

Describes the offer term.

RateCard

Interface representing a RateCard.

RateCardGetOptionalParams

Optional parameters.

RateCardQueryParameters

Parameters that are used in the odata $filter query parameter for providing RateCard information.

RecurringCharge

Indicates a recurring charge is present for this offer.

ResourceRateCardInfo

Price and Metadata information for resources

UsageAggregates

Interface representing a UsageAggregates.

UsageAggregatesListNextOptionalParams

Optional parameters.

UsageAggregatesListOptionalParams

Optional parameters.

UsageAggregation

Describes the usageAggregation.

UsageAggregationListResult

The Get UsageAggregates operation response.

UsageManagementClientOptionalParams

Optional parameters.

Type Aliases

AggregationGranularity

Defines values for AggregationGranularity.

OfferTermInfo

Defines values for OfferTermInfo.

OfferTermInfoAutoGeneratedUnion
RateCardGetResponse

Contains response data for the get operation.

UsageAggregatesListNextResponse

Contains response data for the listNext operation.

UsageAggregatesListResponse

Contains response data for the list operation.

Functions

getContinuationToken(unknown)

Given a result page from a pageable operation, returns a continuation token that can be used to begin paging from that point later.

Function Details

getContinuationToken(unknown)

Given a result page from a pageable operation, returns a continuation token that can be used to begin paging from that point later.

function getContinuationToken(page: unknown): string | undefined

Parameters

page

unknown

A result object from calling .byPage() on a paged operation.

Returns

string | undefined

The continuation token that can be passed into byPage().