@scaleway/sdk 2.21.1 → 2.23.0
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/dist/api/dedibox/index.js +2 -0
- package/dist/api/dedibox/v1/api.gen.js +974 -0
- package/dist/api/dedibox/v1/content.gen.js +31 -0
- package/dist/api/dedibox/v1/index.gen.js +7 -0
- package/dist/api/dedibox/v1/marshalling.gen.js +1198 -0
- package/dist/api/dedibox/v1/validation-rules.gen.js +544 -0
- package/dist/api/document_db/v1beta1/api.gen.js +15 -1
- package/dist/api/document_db/v1beta1/content.gen.js +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +15 -14
- package/dist/api/iam/v1alpha1/api.gen.js +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/lb/v1/api.gen.js +2 -2
- package/dist/api/llm_inference/index.js +2 -0
- package/dist/api/llm_inference/v1beta1/api.gen.js +233 -0
- package/dist/api/llm_inference/v1beta1/content.gen.js +7 -0
- package/dist/api/llm_inference/v1beta1/index.gen.js +7 -0
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +225 -0
- package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +55 -0
- package/dist/api/rdb/v1/api.gen.js +18 -1
- package/dist/api/rdb/v1/content.gen.js +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +15 -14
- package/dist/api/secret/v1beta1/api.gen.js +3 -2
- package/dist/api/secret/v1beta1/marshalling.gen.js +2 -1
- package/dist/api/vpc/v2/api.gen.js +14 -0
- package/dist/index.cjs +4435 -1005
- package/dist/index.d.ts +15177 -11168
- package/dist/index.js +52 -48
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -173,6 +173,20 @@ class API extends API$1 {
|
|
|
173
173
|
path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/enable-dhcp`
|
|
174
174
|
}, unmarshalPrivateNetwork);
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* Enable routing on a VPC. Enable routing on an existing VPC. Note that you
|
|
178
|
+
* will not be able to deactivate it afterwards.
|
|
179
|
+
*
|
|
180
|
+
* @param request - The request {@link EnableRoutingRequest}
|
|
181
|
+
* @returns A Promise of VPC
|
|
182
|
+
*/
|
|
183
|
+
enableRouting = request => this.client.fetch({
|
|
184
|
+
body: '{}',
|
|
185
|
+
headers: jsonContentHeaders,
|
|
186
|
+
method: 'POST',
|
|
187
|
+
path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs/${validatePathParam('vpcId', request.vpcId)}/enable-routing`
|
|
188
|
+
}, unmarshalVPC);
|
|
189
|
+
|
|
176
190
|
/**
|
|
177
191
|
* Set the subnets of a Private Network. Set subnets for an existing Private
|
|
178
192
|
* Network. Note that the method is PUT and not PATCH. Any existing subnets
|