Skip to content

Commit c0de89f

Browse files
authored
fix(edge_services): review billing wording (scaleway#2252)
1 parent 0916311 commit c0de89f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

api/edge_services/v1alpha1/edge_services_sdk.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ type PlanDetails struct {
931931
// PackageGb: amount of egress data from cache included in subscription plan.
932932
PackageGb uint64 `json:"package_gb"`
933933

934-
// PipelineLimit: number of pipeline included in subscription plan.
934+
// PipelineLimit: number of pipelines included in subscription plan.
935935
PipelineLimit uint32 `json:"pipeline_limit"`
936936
}
937937

@@ -1159,28 +1159,28 @@ type GetBillingRequest struct {
11591159

11601160
// GetBillingResponse: get billing response.
11611161
type GetBillingResponse struct {
1162-
// CurrentPlan: information on the current edge-service subscription plan.
1162+
// CurrentPlan: information on the currently-selected, active Edge Services subscription plan.
11631163
CurrentPlan *PlanDetails `json:"current_plan"`
11641164

11651165
// PlanCost: price of the current subscription plan.
11661166
PlanCost *scw.Money `json:"plan_cost"`
11671167

1168-
// PipelineNumber: total number of pipeline currently configured.
1168+
// PipelineNumber: total number of pipelines currently configured.
11691169
PipelineNumber uint32 `json:"pipeline_number"`
11701170

1171-
// ExtraPipelinesCost: cost to date of the pipelines not included in the plans.
1171+
// ExtraPipelinesCost: cost to date (this month) of pipelines not included in the subscription plan.
11721172
ExtraPipelinesCost *scw.Money `json:"extra_pipelines_cost"`
11731173

1174-
// CurrentPlanCacheUsage: total amount of data egressed from cache in current subscription plan.
1174+
// CurrentPlanCacheUsage: total amount of data egressed from the cache (this month), included in the active subscription plan.
11751175
CurrentPlanCacheUsage uint64 `json:"current_plan_cache_usage"`
11761176

1177-
// ExtraCacheUsage: total amount of data egressed from cache not included in the plans.
1177+
// ExtraCacheUsage: total amount of data egressed from cache (this month), not included in the active subscription plan.
11781178
ExtraCacheUsage uint64 `json:"extra_cache_usage"`
11791179

1180-
// ExtraCacheCost: cost to date of the data egressed from cache not included in the plans.
1180+
// ExtraCacheCost: cost to date (this month) of the data egressed from the cache that is not included in the active subscription plan.
11811181
ExtraCacheCost *scw.Money `json:"extra_cache_cost"`
11821182

1183-
// TotalCost: total cost to date of edge-service product for the month including current plan, previous plans, extra pipelines and extra egress cache data.
1183+
// TotalCost: total cost to date (this month) of all Edge Services resources including active subscription plan, previously active plans, extra pipelines and extra egress cache data.
11841184
TotalCost *scw.Money `json:"total_cost"`
11851185
}
11861186

@@ -2565,7 +2565,7 @@ func (s *API) DeleteCurrentPlan(req *DeleteCurrentPlanRequest, opts ...scw.Reque
25652565
return nil
25662566
}
25672567

2568-
// GetBilling: Gives information on current edge-services subscription plan and used resources with associated price.
2568+
// GetBilling: Gives information on the currently selected Edge Services subscription plan, resource usage and associated billing information for this calendar month (including whether consumption falls within or exceeds the currently selected subscription plan.).
25692569
func (s *API) GetBilling(req *GetBillingRequest, opts ...scw.RequestOption) (*GetBillingResponse, error) {
25702570
var err error
25712571

0 commit comments

Comments
 (0)