Skip to content

Commit 52d2f83

Browse files
authored
doc(edge_services): review wording (#1494)
1 parent 279b60a commit 52d2f83

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

packages/clients/src/api/edge_services/v1alpha1/api.gen.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,8 +831,10 @@ export class API extends ParentAPI {
831831
})
832832

833833
/**
834-
* Gives information on current edge-services subscription plan and used
835-
* resources with associated price.
834+
* Gives information on the currently selected Edge Services subscription
835+
* plan, resource usage and associated billing information for this calendar
836+
* month (including whether consumption falls within or exceeds the currently
837+
* selected subscription plan.).
836838
*
837839
* @param request - The request {@link GetBillingRequest}
838840
* @returns A Promise of GetBillingResponse

packages/clients/src/api/edge_services/v1alpha1/types.gen.ts

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export interface PlanDetails {
283283
planName: PlanName
284284
/** Amount of egress data from cache included in subscription plan. */
285285
packageGb: number
286-
/** Number of pipeline included in subscription plan. */
286+
/** Number of pipelines included in subscription plan. */
287287
pipelineLimit: number
288288
}
289289

@@ -509,23 +509,39 @@ export type GetBillingRequest = {
509509
}
510510

511511
export interface GetBillingResponse {
512-
/** Information on the current edge-service subscription plan. */
512+
/**
513+
* Information on the currently-selected, active Edge Services subscription
514+
* plan.
515+
*/
513516
currentPlan?: PlanDetails
514517
/** Price of the current subscription plan. */
515518
planCost?: Money
516-
/** Total number of pipeline currently configured. */
519+
/** Total number of pipelines currently configured. */
517520
pipelineNumber: number
518-
/** Cost to date of the pipelines not included in the plans. */
521+
/**
522+
* Cost to date (this month) of pipelines not included in the subscription
523+
* plan.
524+
*/
519525
extraPipelinesCost?: Money
520-
/** Total amount of data egressed from cache in current subscription plan. */
526+
/**
527+
* Total amount of data egressed from the cache (this month), included in the
528+
* active subscription plan.
529+
*/
521530
currentPlanCacheUsage: number
522-
/** Total amount of data egressed from cache not included in the plans. */
531+
/**
532+
* Total amount of data egressed from cache (this month), not included in the
533+
* active subscription plan.
534+
*/
523535
extraCacheUsage: number
524-
/** Cost to date of the data egressed from cache not included in the plans. */
536+
/**
537+
* Cost to date (this month) of the data egressed from the cache that is not
538+
* included in the active subscription plan.
539+
*/
525540
extraCacheCost?: Money
526541
/**
527-
* Total cost to date of edge-service product for the month including current
528-
* plan, previous plans, extra pipelines and extra egress cache data.
542+
* Total cost to date (this month) of all Edge Services resources including
543+
* active subscription plan, previously active plans, extra pipelines and
544+
* extra egress cache data.
529545
*/
530546
totalCost?: Money
531547
}

0 commit comments

Comments
 (0)