wallee
Version:
TypeScript/JavaScript client for wallee
46 lines (45 loc) • 2.06 kB
TypeScript
/**
* The metric usage is the actual usage of a metric for a particular subscription as collected by an external application.
* @export
* @interface SubscriptionMetricUsageReportCreate
*/
export interface SubscriptionMetricUsageReportCreate {
/**
* The number of resources consumed, will be charged in the next billing cycle.
* @type {number}
* @memberof SubscriptionMetricUsageReportCreate
*/
consumedUnits: number;
/**
* The metric that the usage report is recorded for.
* @type {number}
* @memberof SubscriptionMetricUsageReportCreate
*/
metric: number;
/**
* A description used to identify the usage report.
* @type {string}
* @memberof SubscriptionMetricUsageReportCreate
*/
description?: string;
/**
* A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result.
* @type {string}
* @memberof SubscriptionMetricUsageReportCreate
*/
externalId: string;
/**
* The subscription that the usage report is recorded for.
* @type {number}
* @memberof SubscriptionMetricUsageReportCreate
*/
subscription: number;
}
/**
* Check if a given object implements the SubscriptionMetricUsageReportCreate interface.
*/
export declare function instanceOfSubscriptionMetricUsageReportCreate(value: object): value is SubscriptionMetricUsageReportCreate;
export declare function SubscriptionMetricUsageReportCreateFromJSON(json: any): SubscriptionMetricUsageReportCreate;
export declare function SubscriptionMetricUsageReportCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionMetricUsageReportCreate;
export declare function SubscriptionMetricUsageReportCreateToJSON(json: any): SubscriptionMetricUsageReportCreate;
export declare function SubscriptionMetricUsageReportCreateToJSONTyped(value?: SubscriptionMetricUsageReportCreate | null, ignoreDiscriminator?: boolean): any;