@maxim_mazurok/gapi.client.compute-alpha 0.2.20260625 → 0.2.20260709
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 +2105 -121
- package/package.json +1 -1
- package/readme.md +87 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -97,6 +97,31 @@ After that you can use Compute Engine API resources: <!-- TODO: make this work f
|
|
|
97
97
|
|
|
98
98
|
```typescript
|
|
99
99
|
|
|
100
|
+
/*
|
|
101
|
+
Deletes the specified AcceleratorPodController resource.
|
|
102
|
+
*/
|
|
103
|
+
await gapi.client.compute.acceleratorPodControllers.delete({ project: "project", resourceId: "resourceId", zone: "zone", });
|
|
104
|
+
|
|
105
|
+
/*
|
|
106
|
+
Gets the specified AcceleratorPodController resource.
|
|
107
|
+
*/
|
|
108
|
+
await gapi.client.compute.acceleratorPodControllers.get({ project: "project", resourceId: "resourceId", zone: "zone", });
|
|
109
|
+
|
|
110
|
+
/*
|
|
111
|
+
Inserts a new AcceleratorPodController resource.
|
|
112
|
+
*/
|
|
113
|
+
await gapi.client.compute.acceleratorPodControllers.insert({ project: "project", zone: "zone", });
|
|
114
|
+
|
|
115
|
+
/*
|
|
116
|
+
Lists the AcceleratorPodController resources in the specified zone.
|
|
117
|
+
*/
|
|
118
|
+
await gapi.client.compute.acceleratorPodControllers.list({ project: "project", zone: "zone", });
|
|
119
|
+
|
|
120
|
+
/*
|
|
121
|
+
Patches the specified AcceleratorPodController resource.
|
|
122
|
+
*/
|
|
123
|
+
await gapi.client.compute.acceleratorPodControllers.patch({ project: "project", resourceId: "resourceId", zone: "zone", });
|
|
124
|
+
|
|
100
125
|
/*
|
|
101
126
|
Retrieves an aggregated list of accelerator types.
|
|
102
127
|
|
|
@@ -383,7 +408,10 @@ project.
|
|
|
383
408
|
await gapi.client.compute.backendServices.list({ project: "project", });
|
|
384
409
|
|
|
385
410
|
/*
|
|
386
|
-
Retrieves a list of all usable backend services
|
|
411
|
+
Retrieves a list of all usable backend services for Application Load
|
|
412
|
+
Balancers and Proxy Network Load Balancers in the specified project.
|
|
413
|
+
Backend services for external and internal passthrough Network Load
|
|
414
|
+
Balancers are not included in the response.
|
|
387
415
|
*/
|
|
388
416
|
await gapi.client.compute.backendServices.listUsable({ project: "project", });
|
|
389
417
|
|
|
@@ -455,6 +483,40 @@ patch format and processing rules.
|
|
|
455
483
|
*/
|
|
456
484
|
await gapi.client.compute.crossSiteNetworks.patch({ crossSiteNetwork: "crossSiteNetwork", project: "project", });
|
|
457
485
|
|
|
486
|
+
/*
|
|
487
|
+
Deletes the specified DhcpOptionsConfig in the given location
|
|
488
|
+
*/
|
|
489
|
+
await gapi.client.compute.dhcpOptionsConfigs.delete({ dhcpOptionsConfig: "dhcpOptionsConfig", project: "project", region: "region", });
|
|
490
|
+
|
|
491
|
+
/*
|
|
492
|
+
Returns the specified DhcpOptionsConfig resource in the given location.
|
|
493
|
+
*/
|
|
494
|
+
await gapi.client.compute.dhcpOptionsConfigs.get({ dhcpOptionsConfig: "dhcpOptionsConfig", project: "project", region: "region", });
|
|
495
|
+
|
|
496
|
+
/*
|
|
497
|
+
Creates a DhcpOptionsConfig in the specified project in the given location
|
|
498
|
+
using the parameters that are included in the request.
|
|
499
|
+
*/
|
|
500
|
+
await gapi.client.compute.dhcpOptionsConfigs.insert({ project: "project", region: "region", });
|
|
501
|
+
|
|
502
|
+
/*
|
|
503
|
+
Lists the DhcpOptionsConfigs for a project in the given location.
|
|
504
|
+
*/
|
|
505
|
+
await gapi.client.compute.dhcpOptionsConfigs.list({ project: "project", region: "region", });
|
|
506
|
+
|
|
507
|
+
/*
|
|
508
|
+
Patches the specified DhcpOptionsConfig resource with the data included in
|
|
509
|
+
the request. This method supports PATCH
|
|
510
|
+
semantics and usesJSON merge
|
|
511
|
+
patch format and processing rules.
|
|
512
|
+
*/
|
|
513
|
+
await gapi.client.compute.dhcpOptionsConfigs.patch({ dhcpOptionsConfig: "dhcpOptionsConfig", project: "project", region: "region", });
|
|
514
|
+
|
|
515
|
+
/*
|
|
516
|
+
Returns permissions that a caller has on the specified resource.
|
|
517
|
+
*/
|
|
518
|
+
await gapi.client.compute.dhcpOptionsConfigs.testIamPermissions({ project: "project", region: "region", resource: "resource", });
|
|
519
|
+
|
|
458
520
|
/*
|
|
459
521
|
Adds existing resource policies to a disk. You can only add one
|
|
460
522
|
policy which will be applied to this disk for scheduling snapshot
|
|
@@ -2876,6 +2938,11 @@ Resources documentation.
|
|
|
2876
2938
|
*/
|
|
2877
2939
|
await gapi.client.compute.interconnects.setLabels({ project: "project", resource: "resource", });
|
|
2878
2940
|
|
|
2941
|
+
/*
|
|
2942
|
+
Sets name of an interconnect.
|
|
2943
|
+
*/
|
|
2944
|
+
await gapi.client.compute.interconnects.setName({ interconnect: "interconnect", project: "project", });
|
|
2945
|
+
|
|
2879
2946
|
/*
|
|
2880
2947
|
Returns permissions that a caller has on the specified resource.
|
|
2881
2948
|
*/
|
|
@@ -3055,6 +3122,16 @@ project.
|
|
|
3055
3122
|
*/
|
|
3056
3123
|
await gapi.client.compute.machineTypes.list({ project: "project", zone: "zone", });
|
|
3057
3124
|
|
|
3125
|
+
/*
|
|
3126
|
+
Gets the details for the specified managed ruleset name.
|
|
3127
|
+
*/
|
|
3128
|
+
await gapi.client.compute.managedRulesets.get({ managedRuleset: "managedRuleset", project: "project", });
|
|
3129
|
+
|
|
3130
|
+
/*
|
|
3131
|
+
Retrieves the list of all the managed rulesets available.
|
|
3132
|
+
*/
|
|
3133
|
+
await gapi.client.compute.managedRulesets.list({ project: "project", });
|
|
3134
|
+
|
|
3058
3135
|
/*
|
|
3059
3136
|
Retrieves the list of all NetworkAttachment resources,
|
|
3060
3137
|
regional and global, available to the specified project.
|
|
@@ -4333,8 +4410,10 @@ specified project in the given region.
|
|
|
4333
4410
|
await gapi.client.compute.regionBackendServices.list({ project: "project", region: "region", });
|
|
4334
4411
|
|
|
4335
4412
|
/*
|
|
4336
|
-
Retrieves a list of all usable backend services
|
|
4337
|
-
the
|
|
4413
|
+
Retrieves a list of all usable backend services for Application Load
|
|
4414
|
+
Balancers and Proxy Network Load Balancers in the specified project in the
|
|
4415
|
+
given region. Backend services for external and internal passthrough
|
|
4416
|
+
Network Load Balancers are not included in the response.
|
|
4338
4417
|
*/
|
|
4339
4418
|
await gapi.client.compute.regionBackendServices.listUsable({ project: "project", region: "region", });
|
|
4340
4419
|
|
|
@@ -6106,6 +6185,11 @@ Allows customers to perform maintenance on a reservation block
|
|
|
6106
6185
|
*/
|
|
6107
6186
|
await gapi.client.compute.reservationBlocks.performMaintenance({ project: "project", reservation: "reservation", reservationBlock: "reservationBlock", zone: "zone", });
|
|
6108
6187
|
|
|
6188
|
+
/*
|
|
6189
|
+
Lists the instances consuming capacity from a specific reservation.
|
|
6190
|
+
*/
|
|
6191
|
+
await gapi.client.compute.reservationConsumedInstances.list({ project: "project", reservation: "reservation", zone: "zone", });
|
|
6192
|
+
|
|
6109
6193
|
/*
|
|
6110
6194
|
Retrieves an aggregated list of reservations.
|
|
6111
6195
|
|