@pulumi/cloud-sdk 2026.9.3 → 2026.9.8-post1036

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.
@@ -79,12 +79,12 @@ export declare class Environments {
79
79
  CheckYAML_esc(params: {
80
80
  orgName: string;
81
81
  showSecrets?: boolean;
82
- }): Promise<EnvironmentResponse>;
82
+ }, request: string): Promise<EnvironmentResponse>;
83
83
  CheckYAML_preview__generateUrl(orgName: string): string;
84
84
  CheckYAML_preview(params: {
85
85
  orgName: string;
86
86
  showSecrets?: boolean;
87
- }): Promise<EnvironmentResponse>;
87
+ }, request: string): Promise<EnvironmentResponse>;
88
88
  CloneEnvironment__generateUrl(orgName: string, projectName: string, envName: string): string;
89
89
  CloneEnvironment(params: {
90
90
  orgName: string;
@@ -200,7 +200,7 @@ class Environments {
200
200
  url = url.replace("{orgName}", encodeURIComponent(String(orgName)));
201
201
  return url;
202
202
  }
203
- CheckYAML_esc(params) {
203
+ CheckYAML_esc(params, request) {
204
204
  if (params === undefined) {
205
205
  throw new Error("Required parameter params was null or undefined when calling CheckYAML_esc.");
206
206
  }
@@ -208,12 +208,19 @@ class Environments {
208
208
  if (params.orgName === null || params.orgName === undefined) {
209
209
  throw new Error("Required parameter orgName was null or undefined when calling CheckYAML_esc.");
210
210
  }
211
+ // verify required parameter 'request' is not null or undefined
212
+ if (request === null || request === undefined) {
213
+ throw new Error("Required parameter request was null or undefined when calling CheckYAML_esc.");
214
+ }
211
215
  const __path = this.CheckYAML_esc__generateUrl(params.orgName);
212
216
  let __requestOptions = new api_client_1.ApiRequest();
213
217
  if (params.showSecrets !== undefined) {
214
218
  __requestOptions.setQueryParam("showSecrets", params.showSecrets);
215
219
  }
220
+ __requestOptions.setConsume("application/x-yaml");
216
221
  __requestOptions.setProduce("application/json");
222
+ __requestOptions.body = request;
223
+ __requestOptions.hasBodyParam = true;
217
224
  __requestOptions.method = "POST";
218
225
  return this.client.callWithOptions(__path, __requestOptions, (__res0) => {
219
226
  if (__res0) {
@@ -226,7 +233,7 @@ class Environments {
226
233
  url = url.replace("{orgName}", encodeURIComponent(String(orgName)));
227
234
  return url;
228
235
  }
229
- CheckYAML_preview(params) {
236
+ CheckYAML_preview(params, request) {
230
237
  if (params === undefined) {
231
238
  throw new Error("Required parameter params was null or undefined when calling CheckYAML_preview.");
232
239
  }
@@ -234,12 +241,19 @@ class Environments {
234
241
  if (params.orgName === null || params.orgName === undefined) {
235
242
  throw new Error("Required parameter orgName was null or undefined when calling CheckYAML_preview.");
236
243
  }
244
+ // verify required parameter 'request' is not null or undefined
245
+ if (request === null || request === undefined) {
246
+ throw new Error("Required parameter request was null or undefined when calling CheckYAML_preview.");
247
+ }
237
248
  const __path = this.CheckYAML_preview__generateUrl(params.orgName);
238
249
  let __requestOptions = new api_client_1.ApiRequest();
239
250
  if (params.showSecrets !== undefined) {
240
251
  __requestOptions.setQueryParam("showSecrets", params.showSecrets);
241
252
  }
253
+ __requestOptions.setConsume("application/x-yaml");
242
254
  __requestOptions.setProduce("application/json");
255
+ __requestOptions.body = request;
256
+ __requestOptions.hasBodyParam = true;
243
257
  __requestOptions.method = "POST";
244
258
  return this.client.callWithOptions(__path, __requestOptions, (__res0) => {
245
259
  if (__res0) {