@maxim_mazurok/gapi.client.cloudbilling-v1beta 0.0.20221029 → 0.0.20230130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +114 -12
- package/package.json +1 -1
- package/tests.ts +369 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudbilling.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230130
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,55 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "cloudbilling", version: "v1beta", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace cloudbilling {
|
|
25
|
+
interface CacheFillRegions {
|
|
26
|
+
/** The destination region for cache fill. */
|
|
27
|
+
destinationRegion?: string;
|
|
28
|
+
/** The source region for cache fill. */
|
|
29
|
+
sourceRegion?: string;
|
|
30
|
+
}
|
|
31
|
+
interface CloudCdnEgressWorkload {
|
|
32
|
+
/** The destination for the cache egress charges. */
|
|
33
|
+
cacheEgressDestination?: string;
|
|
34
|
+
/** Cache egress usage. The rate of data cache egressed in the destination. For example : units such as "GiBy/s" or "TBy/mo". */
|
|
35
|
+
cacheEgressRate?: Usage;
|
|
36
|
+
}
|
|
37
|
+
interface CloudCdnWorkload {
|
|
38
|
+
/** The source service for the cache fill. */
|
|
39
|
+
cacheFillOriginService?: string;
|
|
40
|
+
/** Cache fill usage. The rate of data transferred between cache fill regions. For example: units such as "GiBy/s" or "TBy/mo". */
|
|
41
|
+
cacheFillRate?: Usage;
|
|
42
|
+
/** The regions where data is transferred from Google data locations into Google global cache servers. The SKU prices for cache fill across services are the same. */
|
|
43
|
+
cacheFillRegions?: CacheFillRegions;
|
|
44
|
+
/** Cache look up requests. This is specified to indicate the number of requests. For example: units such as "1/s". */
|
|
45
|
+
cacheLookUpRate?: Usage;
|
|
46
|
+
}
|
|
47
|
+
interface CloudInterconnectEgressWorkload {
|
|
48
|
+
/** Data egress usage. This usage applies when you move or copy data from one Google Cloud service to another service. Expected units such as "GiBy/s, By/s, etc." */
|
|
49
|
+
egressRate?: Usage;
|
|
50
|
+
/** Locations in the [Interconnect connection location table](https://cloud.google.com/vpc/network-pricing#interconnect-pricing). This is the interconnect egress charges. */
|
|
51
|
+
interconnectConnectionLocation?: string;
|
|
52
|
+
}
|
|
53
|
+
interface CloudInterconnectWorkload {
|
|
54
|
+
/** VLAN attachment used for interconnect. */
|
|
55
|
+
interconnectAttachments?: VlanAttachment[];
|
|
56
|
+
/** Vlan attachment type. */
|
|
57
|
+
interconnectType?: string;
|
|
58
|
+
/** Interconnect circuit link type. */
|
|
59
|
+
linkType?: string;
|
|
60
|
+
/** Interconnect usage. This is specified as a unitless quantity which indicates the number of circuit provisioned in interconnect. */
|
|
61
|
+
provisionedLinkCount?: Usage;
|
|
62
|
+
}
|
|
63
|
+
interface CloudStorageEgressWorkload {
|
|
64
|
+
/** Where the data is sent to. */
|
|
65
|
+
destinationContinent?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Egress usage rate. This usage applies when you move or copy data from one Cloud Storage bucket to another or when another Google Cloud service accesses data in your Cloud Storage
|
|
68
|
+
* bucket. Expected units such as "GiBy/s, By/s, ..."
|
|
69
|
+
*/
|
|
70
|
+
egressRate?: Usage;
|
|
71
|
+
/** Where the data comes from. */
|
|
72
|
+
sourceContinent?: string;
|
|
73
|
+
}
|
|
25
74
|
interface CloudStorageWorkload {
|
|
26
75
|
/** Data retrieval usage. A retrieval cost applies when data or metadata is read, copied, or rewritten . For example: units such as "GiBy/s" or "By/s". */
|
|
27
76
|
dataRetrieval?: Usage;
|
|
@@ -47,7 +96,7 @@ declare namespace gapi.client {
|
|
|
47
96
|
storageClass?: string;
|
|
48
97
|
}
|
|
49
98
|
interface Commitment {
|
|
50
|
-
/** Required. A name for this commitment. All commitments in a CostScenario must have unique names. Each name
|
|
99
|
+
/** Required. A name for this commitment. All commitments in a CostScenario must have unique names. Each name may be at most 128 characters long. */
|
|
51
100
|
name?: string;
|
|
52
101
|
/** A resource-based committed use discount (CUD). */
|
|
53
102
|
vmResourceBasedCud?: VmResourceBasedCud;
|
|
@@ -157,6 +206,18 @@ declare namespace gapi.client {
|
|
|
157
206
|
/** The type of the guest accelerator cards. For example: "nvidia-tesla-t4". */
|
|
158
207
|
acceleratorType?: string;
|
|
159
208
|
}
|
|
209
|
+
interface InterRegionEgress {
|
|
210
|
+
/** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data goes to. */
|
|
211
|
+
destinationRegion?: string;
|
|
212
|
+
/** VM to VM egress usage. Expected units such as "GiBy/s, By/s, etc." */
|
|
213
|
+
egressRate?: Usage;
|
|
214
|
+
/** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
|
|
215
|
+
sourceRegion?: string;
|
|
216
|
+
}
|
|
217
|
+
interface IntraRegionEgress {
|
|
218
|
+
/** VM to VM egress usage. Expected units such as "GiBy/s, By/s, etc." */
|
|
219
|
+
egressRate?: Usage;
|
|
220
|
+
}
|
|
160
221
|
interface MachineType {
|
|
161
222
|
customMachineType?: CustomMachineType;
|
|
162
223
|
predefinedMachineType?: PredefinedMachineType;
|
|
@@ -194,6 +255,14 @@ declare namespace gapi.client {
|
|
|
194
255
|
/** The [machine type](https://cloud.google.com/compute/docs/machine-types). For example: "n1-standard1". */
|
|
195
256
|
machineType?: string;
|
|
196
257
|
}
|
|
258
|
+
interface PremiumTierEgressWorkload {
|
|
259
|
+
/** Where the data is sent to. */
|
|
260
|
+
destinationContinent?: string;
|
|
261
|
+
/** Premium Tier egress usage. Expected units such as "GiBy/s, By/s, etc." */
|
|
262
|
+
egressRate?: Usage;
|
|
263
|
+
/** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
|
|
264
|
+
sourceRegion?: string;
|
|
265
|
+
}
|
|
197
266
|
interface Price {
|
|
198
267
|
/** The timestamp within the estimation time frame when the price was set. */
|
|
199
268
|
effectiveTime?: EstimationTimePoint;
|
|
@@ -223,7 +292,8 @@ declare namespace gapi.client {
|
|
|
223
292
|
interface ScenarioConfig {
|
|
224
293
|
/**
|
|
225
294
|
* Time frame for the estimate. Workloads must specify usage for this duration. Duration must be at least 1 hour (3,600 seconds) and at most 10 years (315,360,000 seconds). The
|
|
226
|
-
* calculations for years and months are based on a 730-hour (2,628,000-second) month.
|
|
295
|
+
* calculations for years and months are based on a 730-hour (2,628,000-second) month. For durations longer than one month (2,628,000 seconds), the duration is rounded up to the next
|
|
296
|
+
* month, so the estimate shows you the costs for full months. For example, a duration of 3,232,800 seconds (roughly 5 weeks) is rounded up to 2 months.
|
|
227
297
|
*/
|
|
228
298
|
estimateDuration?: string;
|
|
229
299
|
}
|
|
@@ -258,20 +328,26 @@ declare namespace gapi.client {
|
|
|
258
328
|
/** The unit for the usage on this SKU. */
|
|
259
329
|
usageUnit?: string;
|
|
260
330
|
}
|
|
331
|
+
interface StandardTierEgressWorkload {
|
|
332
|
+
/** Standard tier egress usage. Expected units such as "GiBy/s, By/s, etc." */
|
|
333
|
+
egressRate?: Usage;
|
|
334
|
+
/** Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress data comes from. */
|
|
335
|
+
sourceRegion?: string;
|
|
336
|
+
}
|
|
261
337
|
interface Usage {
|
|
262
338
|
/** A timeline of usage rates over the estimate interval. */
|
|
263
339
|
usageRateTimeline?: UsageRateTimeline;
|
|
264
340
|
}
|
|
265
341
|
interface UsageRateTimeline {
|
|
266
342
|
/**
|
|
267
|
-
* The unit for the usage rate in each timeline entry.
|
|
268
|
-
* (TIME-UNIT)** * `s` second * `min` minute * `h` hour * `d` day * `wk` week *
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* connectors: * `/` division or ratio (as an infix operator). For example: `kBy/{email}` or
|
|
272
|
-
* `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: ``` Expression = Component { "."
|
|
273
|
-
* Annotation | "1" ; UNIT = TIME-UNIT | STORAGE-UNIT | DATA-UNIT | COUNT-UNIT Annotation = "{"
|
|
274
|
-
* `GiBy` * GibiBytes * seconds: `GiBy.s`
|
|
343
|
+
* The unit for the usage rate in each timeline entry. If you provide an incorrect unit for an instance, the correct unit is provided in the error message. The supported units are a
|
|
344
|
+
* subset of [The Unified Code for Units of Measure](https://ucum.org/ucum.html) standard: * **Time units (TIME-UNIT)** * `s` second * `min` minute * `h` hour * `d` day * `wk` week *
|
|
345
|
+
* `mo` month * `yr` year * `ms` millisecond * `us` microsecond * `ns` nanosecond * **Basic storage units (BASIC-STORAGE-UNIT)** * `bit` bit * `By` byte * **Count units (COUNT-UNIT)**
|
|
346
|
+
* * `count` count * **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi
|
|
347
|
+
* (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For example: `kBy/{email}` or
|
|
348
|
+
* `MiBy/10ms`. * `.` multiplication or composition (as an infix operator). For example: `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: ``` Expression = Component { "."
|
|
349
|
+
* Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; UNIT = TIME-UNIT | STORAGE-UNIT | DATA-UNIT | COUNT-UNIT Annotation = "{"
|
|
350
|
+
* NAME "}" ; ``` Examples: * Request per second: `1/s` or `{requests}/s` * GibiBytes: `GiBy` * GibiBytes * seconds: `GiBy.s`
|
|
275
351
|
*/
|
|
276
352
|
unit?: string;
|
|
277
353
|
/**
|
|
@@ -289,6 +365,12 @@ declare namespace gapi.client {
|
|
|
289
365
|
/** The usage rate. */
|
|
290
366
|
usageRate?: number;
|
|
291
367
|
}
|
|
368
|
+
interface VlanAttachment {
|
|
369
|
+
/** Capacities in the [pricing table](https://cloud.google.com/vpc/network-pricing#interconnect-pricing) Examples of capacity are: 50/100/200/300/400/500-Mbps, 1/2/5/10/20/50-Gbps. */
|
|
370
|
+
bandwidth?: string;
|
|
371
|
+
/** VLAN usage. This is specified as a unitless quantity which indicates the number of VLAN attachment used in interconnect. */
|
|
372
|
+
vlanCount?: Usage;
|
|
373
|
+
}
|
|
292
374
|
interface VmResourceBasedCud {
|
|
293
375
|
/** Guest accelerator, known as GPU. */
|
|
294
376
|
guestAccelerator?: GuestAccelerator;
|
|
@@ -307,13 +389,33 @@ declare namespace gapi.client {
|
|
|
307
389
|
/** The number of vCPUs. The number of vCPUs must be an integer of 0 or more and can be even or odd. */
|
|
308
390
|
virtualCpuCount?: string;
|
|
309
391
|
}
|
|
392
|
+
interface VmToVmEgressWorkload {
|
|
393
|
+
interRegionEgress?: InterRegionEgress;
|
|
394
|
+
intraRegionEgress?: IntraRegionEgress;
|
|
395
|
+
}
|
|
310
396
|
interface Workload {
|
|
397
|
+
/** Usage on Google Cloud CDN Egress. */
|
|
398
|
+
cloudCdnEgressWorkload?: CloudCdnEgressWorkload;
|
|
399
|
+
/** Usage on Google Cloud CDN. */
|
|
400
|
+
cloudCdnWorkload?: CloudCdnWorkload;
|
|
401
|
+
/** Usage on Google Cloud Interconnect Egress. */
|
|
402
|
+
cloudInterconnectEgressWorkload?: CloudInterconnectEgressWorkload;
|
|
403
|
+
/** Usage on Google Cloud Interconnect. */
|
|
404
|
+
cloudInterconnectWorkload?: CloudInterconnectWorkload;
|
|
405
|
+
/** Usage on a cloud storage egress. */
|
|
406
|
+
cloudStorageEgressWorkload?: CloudStorageEgressWorkload;
|
|
311
407
|
/** Usage on Google Cloud Storage. */
|
|
312
408
|
cloudStorageWorkload?: CloudStorageWorkload;
|
|
313
409
|
/** Usage of a Google Compute Engine Virtual Machine. */
|
|
314
410
|
computeVmWorkload?: ComputeVmWorkload;
|
|
315
|
-
/** Required. A name for this workload. All workloads in a `CostScenario` must have a unique `name`. Each `name`
|
|
411
|
+
/** Required. A name for this workload. All workloads in a `CostScenario` must have a unique `name`. Each `name` may be at most 128 characters long. */
|
|
316
412
|
name?: string;
|
|
413
|
+
/** Usage on Premium Tier Internet Egress. */
|
|
414
|
+
premiumTierEgressWorkload?: PremiumTierEgressWorkload;
|
|
415
|
+
/** Usage on Standard Tier Internet Egress. */
|
|
416
|
+
standardTierEgressWorkload?: StandardTierEgressWorkload;
|
|
417
|
+
/** Usage on Vm to Vm Egress. */
|
|
418
|
+
vmToVmEgressWorkload?: VmToVmEgressWorkload;
|
|
317
419
|
}
|
|
318
420
|
interface WorkloadCostEstimate {
|
|
319
421
|
/** The name of the workload, as specified in the `CostScenario`. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230130
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -59,6 +59,123 @@ gapi.load('client', async () => {
|
|
|
59
59
|
},
|
|
60
60
|
workloads: [
|
|
61
61
|
{
|
|
62
|
+
cloudCdnEgressWorkload: {
|
|
63
|
+
cacheEgressDestination: "Test string",
|
|
64
|
+
cacheEgressRate: {
|
|
65
|
+
usageRateTimeline: {
|
|
66
|
+
unit: "Test string",
|
|
67
|
+
usageRateTimelineEntries: [
|
|
68
|
+
{
|
|
69
|
+
effectiveTime: {
|
|
70
|
+
estimationTimeFrameOffset: "Test string",
|
|
71
|
+
},
|
|
72
|
+
usageRate: 42,
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
cloudCdnWorkload: {
|
|
79
|
+
cacheFillOriginService: "Test string",
|
|
80
|
+
cacheFillRate: {
|
|
81
|
+
usageRateTimeline: {
|
|
82
|
+
unit: "Test string",
|
|
83
|
+
usageRateTimelineEntries: [
|
|
84
|
+
{
|
|
85
|
+
effectiveTime: {
|
|
86
|
+
estimationTimeFrameOffset: "Test string",
|
|
87
|
+
},
|
|
88
|
+
usageRate: 42,
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
cacheFillRegions: {
|
|
94
|
+
destinationRegion: "Test string",
|
|
95
|
+
sourceRegion: "Test string",
|
|
96
|
+
},
|
|
97
|
+
cacheLookUpRate: {
|
|
98
|
+
usageRateTimeline: {
|
|
99
|
+
unit: "Test string",
|
|
100
|
+
usageRateTimelineEntries: [
|
|
101
|
+
{
|
|
102
|
+
effectiveTime: {
|
|
103
|
+
estimationTimeFrameOffset: "Test string",
|
|
104
|
+
},
|
|
105
|
+
usageRate: 42,
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
cloudInterconnectEgressWorkload: {
|
|
112
|
+
egressRate: {
|
|
113
|
+
usageRateTimeline: {
|
|
114
|
+
unit: "Test string",
|
|
115
|
+
usageRateTimelineEntries: [
|
|
116
|
+
{
|
|
117
|
+
effectiveTime: {
|
|
118
|
+
estimationTimeFrameOffset: "Test string",
|
|
119
|
+
},
|
|
120
|
+
usageRate: 42,
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
interconnectConnectionLocation: "Test string",
|
|
126
|
+
},
|
|
127
|
+
cloudInterconnectWorkload: {
|
|
128
|
+
interconnectAttachments: [
|
|
129
|
+
{
|
|
130
|
+
bandwidth: "Test string",
|
|
131
|
+
vlanCount: {
|
|
132
|
+
usageRateTimeline: {
|
|
133
|
+
unit: "Test string",
|
|
134
|
+
usageRateTimelineEntries: [
|
|
135
|
+
{
|
|
136
|
+
effectiveTime: {
|
|
137
|
+
estimationTimeFrameOffset: "Test string",
|
|
138
|
+
},
|
|
139
|
+
usageRate: 42,
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
interconnectType: "Test string",
|
|
147
|
+
linkType: "Test string",
|
|
148
|
+
provisionedLinkCount: {
|
|
149
|
+
usageRateTimeline: {
|
|
150
|
+
unit: "Test string",
|
|
151
|
+
usageRateTimelineEntries: [
|
|
152
|
+
{
|
|
153
|
+
effectiveTime: {
|
|
154
|
+
estimationTimeFrameOffset: "Test string",
|
|
155
|
+
},
|
|
156
|
+
usageRate: 42,
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
cloudStorageEgressWorkload: {
|
|
163
|
+
destinationContinent: "Test string",
|
|
164
|
+
egressRate: {
|
|
165
|
+
usageRateTimeline: {
|
|
166
|
+
unit: "Test string",
|
|
167
|
+
usageRateTimelineEntries: [
|
|
168
|
+
{
|
|
169
|
+
effectiveTime: {
|
|
170
|
+
estimationTimeFrameOffset: "Test string",
|
|
171
|
+
},
|
|
172
|
+
usageRate: 42,
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
sourceContinent: "Test string",
|
|
178
|
+
},
|
|
62
179
|
cloudStorageWorkload: {
|
|
63
180
|
dataRetrieval: {
|
|
64
181
|
usageRateTimeline: {
|
|
@@ -191,6 +308,73 @@ gapi.load('client', async () => {
|
|
|
191
308
|
region: "Test string",
|
|
192
309
|
},
|
|
193
310
|
name: "Test string",
|
|
311
|
+
premiumTierEgressWorkload: {
|
|
312
|
+
destinationContinent: "Test string",
|
|
313
|
+
egressRate: {
|
|
314
|
+
usageRateTimeline: {
|
|
315
|
+
unit: "Test string",
|
|
316
|
+
usageRateTimelineEntries: [
|
|
317
|
+
{
|
|
318
|
+
effectiveTime: {
|
|
319
|
+
estimationTimeFrameOffset: "Test string",
|
|
320
|
+
},
|
|
321
|
+
usageRate: 42,
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
sourceRegion: "Test string",
|
|
327
|
+
},
|
|
328
|
+
standardTierEgressWorkload: {
|
|
329
|
+
egressRate: {
|
|
330
|
+
usageRateTimeline: {
|
|
331
|
+
unit: "Test string",
|
|
332
|
+
usageRateTimelineEntries: [
|
|
333
|
+
{
|
|
334
|
+
effectiveTime: {
|
|
335
|
+
estimationTimeFrameOffset: "Test string",
|
|
336
|
+
},
|
|
337
|
+
usageRate: 42,
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
sourceRegion: "Test string",
|
|
343
|
+
},
|
|
344
|
+
vmToVmEgressWorkload: {
|
|
345
|
+
interRegionEgress: {
|
|
346
|
+
destinationRegion: "Test string",
|
|
347
|
+
egressRate: {
|
|
348
|
+
usageRateTimeline: {
|
|
349
|
+
unit: "Test string",
|
|
350
|
+
usageRateTimelineEntries: [
|
|
351
|
+
{
|
|
352
|
+
effectiveTime: {
|
|
353
|
+
estimationTimeFrameOffset: "Test string",
|
|
354
|
+
},
|
|
355
|
+
usageRate: 42,
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
sourceRegion: "Test string",
|
|
361
|
+
},
|
|
362
|
+
intraRegionEgress: {
|
|
363
|
+
egressRate: {
|
|
364
|
+
usageRateTimeline: {
|
|
365
|
+
unit: "Test string",
|
|
366
|
+
usageRateTimelineEntries: [
|
|
367
|
+
{
|
|
368
|
+
effectiveTime: {
|
|
369
|
+
estimationTimeFrameOffset: "Test string",
|
|
370
|
+
},
|
|
371
|
+
usageRate: 42,
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
},
|
|
194
378
|
}
|
|
195
379
|
],
|
|
196
380
|
},
|
|
@@ -220,6 +404,123 @@ gapi.load('client', async () => {
|
|
|
220
404
|
},
|
|
221
405
|
workloads: [
|
|
222
406
|
{
|
|
407
|
+
cloudCdnEgressWorkload: {
|
|
408
|
+
cacheEgressDestination: "Test string",
|
|
409
|
+
cacheEgressRate: {
|
|
410
|
+
usageRateTimeline: {
|
|
411
|
+
unit: "Test string",
|
|
412
|
+
usageRateTimelineEntries: [
|
|
413
|
+
{
|
|
414
|
+
effectiveTime: {
|
|
415
|
+
estimationTimeFrameOffset: "Test string",
|
|
416
|
+
},
|
|
417
|
+
usageRate: 42,
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
cloudCdnWorkload: {
|
|
424
|
+
cacheFillOriginService: "Test string",
|
|
425
|
+
cacheFillRate: {
|
|
426
|
+
usageRateTimeline: {
|
|
427
|
+
unit: "Test string",
|
|
428
|
+
usageRateTimelineEntries: [
|
|
429
|
+
{
|
|
430
|
+
effectiveTime: {
|
|
431
|
+
estimationTimeFrameOffset: "Test string",
|
|
432
|
+
},
|
|
433
|
+
usageRate: 42,
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
cacheFillRegions: {
|
|
439
|
+
destinationRegion: "Test string",
|
|
440
|
+
sourceRegion: "Test string",
|
|
441
|
+
},
|
|
442
|
+
cacheLookUpRate: {
|
|
443
|
+
usageRateTimeline: {
|
|
444
|
+
unit: "Test string",
|
|
445
|
+
usageRateTimelineEntries: [
|
|
446
|
+
{
|
|
447
|
+
effectiveTime: {
|
|
448
|
+
estimationTimeFrameOffset: "Test string",
|
|
449
|
+
},
|
|
450
|
+
usageRate: 42,
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
cloudInterconnectEgressWorkload: {
|
|
457
|
+
egressRate: {
|
|
458
|
+
usageRateTimeline: {
|
|
459
|
+
unit: "Test string",
|
|
460
|
+
usageRateTimelineEntries: [
|
|
461
|
+
{
|
|
462
|
+
effectiveTime: {
|
|
463
|
+
estimationTimeFrameOffset: "Test string",
|
|
464
|
+
},
|
|
465
|
+
usageRate: 42,
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
interconnectConnectionLocation: "Test string",
|
|
471
|
+
},
|
|
472
|
+
cloudInterconnectWorkload: {
|
|
473
|
+
interconnectAttachments: [
|
|
474
|
+
{
|
|
475
|
+
bandwidth: "Test string",
|
|
476
|
+
vlanCount: {
|
|
477
|
+
usageRateTimeline: {
|
|
478
|
+
unit: "Test string",
|
|
479
|
+
usageRateTimelineEntries: [
|
|
480
|
+
{
|
|
481
|
+
effectiveTime: {
|
|
482
|
+
estimationTimeFrameOffset: "Test string",
|
|
483
|
+
},
|
|
484
|
+
usageRate: 42,
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
},
|
|
488
|
+
},
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
interconnectType: "Test string",
|
|
492
|
+
linkType: "Test string",
|
|
493
|
+
provisionedLinkCount: {
|
|
494
|
+
usageRateTimeline: {
|
|
495
|
+
unit: "Test string",
|
|
496
|
+
usageRateTimelineEntries: [
|
|
497
|
+
{
|
|
498
|
+
effectiveTime: {
|
|
499
|
+
estimationTimeFrameOffset: "Test string",
|
|
500
|
+
},
|
|
501
|
+
usageRate: 42,
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
},
|
|
507
|
+
cloudStorageEgressWorkload: {
|
|
508
|
+
destinationContinent: "Test string",
|
|
509
|
+
egressRate: {
|
|
510
|
+
usageRateTimeline: {
|
|
511
|
+
unit: "Test string",
|
|
512
|
+
usageRateTimelineEntries: [
|
|
513
|
+
{
|
|
514
|
+
effectiveTime: {
|
|
515
|
+
estimationTimeFrameOffset: "Test string",
|
|
516
|
+
},
|
|
517
|
+
usageRate: 42,
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
},
|
|
521
|
+
},
|
|
522
|
+
sourceContinent: "Test string",
|
|
523
|
+
},
|
|
223
524
|
cloudStorageWorkload: {
|
|
224
525
|
dataRetrieval: {
|
|
225
526
|
usageRateTimeline: {
|
|
@@ -352,6 +653,73 @@ gapi.load('client', async () => {
|
|
|
352
653
|
region: "Test string",
|
|
353
654
|
},
|
|
354
655
|
name: "Test string",
|
|
656
|
+
premiumTierEgressWorkload: {
|
|
657
|
+
destinationContinent: "Test string",
|
|
658
|
+
egressRate: {
|
|
659
|
+
usageRateTimeline: {
|
|
660
|
+
unit: "Test string",
|
|
661
|
+
usageRateTimelineEntries: [
|
|
662
|
+
{
|
|
663
|
+
effectiveTime: {
|
|
664
|
+
estimationTimeFrameOffset: "Test string",
|
|
665
|
+
},
|
|
666
|
+
usageRate: 42,
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
},
|
|
670
|
+
},
|
|
671
|
+
sourceRegion: "Test string",
|
|
672
|
+
},
|
|
673
|
+
standardTierEgressWorkload: {
|
|
674
|
+
egressRate: {
|
|
675
|
+
usageRateTimeline: {
|
|
676
|
+
unit: "Test string",
|
|
677
|
+
usageRateTimelineEntries: [
|
|
678
|
+
{
|
|
679
|
+
effectiveTime: {
|
|
680
|
+
estimationTimeFrameOffset: "Test string",
|
|
681
|
+
},
|
|
682
|
+
usageRate: 42,
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
},
|
|
686
|
+
},
|
|
687
|
+
sourceRegion: "Test string",
|
|
688
|
+
},
|
|
689
|
+
vmToVmEgressWorkload: {
|
|
690
|
+
interRegionEgress: {
|
|
691
|
+
destinationRegion: "Test string",
|
|
692
|
+
egressRate: {
|
|
693
|
+
usageRateTimeline: {
|
|
694
|
+
unit: "Test string",
|
|
695
|
+
usageRateTimelineEntries: [
|
|
696
|
+
{
|
|
697
|
+
effectiveTime: {
|
|
698
|
+
estimationTimeFrameOffset: "Test string",
|
|
699
|
+
},
|
|
700
|
+
usageRate: 42,
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
},
|
|
704
|
+
},
|
|
705
|
+
sourceRegion: "Test string",
|
|
706
|
+
},
|
|
707
|
+
intraRegionEgress: {
|
|
708
|
+
egressRate: {
|
|
709
|
+
usageRateTimeline: {
|
|
710
|
+
unit: "Test string",
|
|
711
|
+
usageRateTimelineEntries: [
|
|
712
|
+
{
|
|
713
|
+
effectiveTime: {
|
|
714
|
+
estimationTimeFrameOffset: "Test string",
|
|
715
|
+
},
|
|
716
|
+
usageRate: 42,
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
},
|
|
720
|
+
},
|
|
721
|
+
},
|
|
722
|
+
},
|
|
355
723
|
}
|
|
356
724
|
],
|
|
357
725
|
},
|