qovery-typescript-axios 1.1.910 → 1.1.912
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/api.ts +157 -10
- package/dist/api.d.ts +115 -10
- package/dist/api.js +83 -4
- package/dist/esm/api.d.ts +115 -10
- package/dist/esm/api.js +83 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3844,17 +3844,17 @@ export interface BlueprintUpdatePreviewRequest {
|
|
|
3844
3844
|
*/
|
|
3845
3845
|
'icon': string;
|
|
3846
3846
|
/**
|
|
3847
|
-
*
|
|
3848
|
-
* @type {
|
|
3847
|
+
* RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
|
|
3848
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3849
3849
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3850
3850
|
*/
|
|
3851
|
-
'variables'?:
|
|
3851
|
+
'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
|
|
3852
3852
|
/**
|
|
3853
|
-
*
|
|
3854
|
-
* @type {{ [key: string]: any; }}
|
|
3853
|
+
* JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
|
|
3854
|
+
* @type {{ [key: string]: any | null; }}
|
|
3855
3855
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3856
3856
|
*/
|
|
3857
|
-
'spec_overrides'?: { [key: string]: any; } | null;
|
|
3857
|
+
'spec_overrides'?: { [key: string]: any | null; } | null;
|
|
3858
3858
|
}
|
|
3859
3859
|
/**
|
|
3860
3860
|
*
|
|
@@ -3896,6 +3896,43 @@ export interface BlueprintUpdateRemovedValue {
|
|
|
3896
3896
|
*/
|
|
3897
3897
|
'name': string;
|
|
3898
3898
|
}
|
|
3899
|
+
/**
|
|
3900
|
+
*
|
|
3901
|
+
* @export
|
|
3902
|
+
* @interface BlueprintUpdateRequest
|
|
3903
|
+
*/
|
|
3904
|
+
export interface BlueprintUpdateRequest {
|
|
3905
|
+
/**
|
|
3906
|
+
* Display name for the service
|
|
3907
|
+
* @type {string}
|
|
3908
|
+
* @memberof BlueprintUpdateRequest
|
|
3909
|
+
*/
|
|
3910
|
+
'name': string;
|
|
3911
|
+
/**
|
|
3912
|
+
* Catalog tag identifying the target blueprint version
|
|
3913
|
+
* @type {string}
|
|
3914
|
+
* @memberof BlueprintUpdateRequest
|
|
3915
|
+
*/
|
|
3916
|
+
'tag': string;
|
|
3917
|
+
/**
|
|
3918
|
+
* Icon URL for the service
|
|
3919
|
+
* @type {string}
|
|
3920
|
+
* @memberof BlueprintUpdateRequest
|
|
3921
|
+
*/
|
|
3922
|
+
'icon': string;
|
|
3923
|
+
/**
|
|
3924
|
+
* RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
|
|
3925
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3926
|
+
* @memberof BlueprintUpdateRequest
|
|
3927
|
+
*/
|
|
3928
|
+
'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
|
|
3929
|
+
/**
|
|
3930
|
+
* JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
|
|
3931
|
+
* @type {{ [key: string]: any | null; }}
|
|
3932
|
+
* @memberof BlueprintUpdateRequest
|
|
3933
|
+
*/
|
|
3934
|
+
'spec_overrides'?: { [key: string]: any | null; } | null;
|
|
3935
|
+
}
|
|
3899
3936
|
/**
|
|
3900
3937
|
*
|
|
3901
3938
|
* @export
|
|
@@ -3976,6 +4013,25 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
3976
4013
|
*/
|
|
3977
4014
|
'current_value'?: string | null;
|
|
3978
4015
|
}
|
|
4016
|
+
/**
|
|
4017
|
+
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
4018
|
+
* @export
|
|
4019
|
+
* @interface BlueprintUpdateVariableValue
|
|
4020
|
+
*/
|
|
4021
|
+
export interface BlueprintUpdateVariableValue {
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {string}
|
|
4025
|
+
* @memberof BlueprintUpdateVariableValue
|
|
4026
|
+
*/
|
|
4027
|
+
'value': string;
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @type {boolean}
|
|
4031
|
+
* @memberof BlueprintUpdateVariableValue
|
|
4032
|
+
*/
|
|
4033
|
+
'is_secret'?: boolean;
|
|
4034
|
+
}
|
|
3979
4035
|
/**
|
|
3980
4036
|
*
|
|
3981
4037
|
* @export
|
|
@@ -5467,6 +5523,12 @@ export interface ClusterFeatureGcpExistingVpc {
|
|
|
5467
5523
|
* @memberof ClusterFeatureGcpExistingVpc
|
|
5468
5524
|
*/
|
|
5469
5525
|
'additional_ip_range_pods_names'?: Array<string>;
|
|
5526
|
+
/**
|
|
5527
|
+
*
|
|
5528
|
+
* @type {boolean}
|
|
5529
|
+
* @memberof ClusterFeatureGcpExistingVpc
|
|
5530
|
+
*/
|
|
5531
|
+
'private_nodes'?: boolean;
|
|
5470
5532
|
}
|
|
5471
5533
|
/**
|
|
5472
5534
|
*
|
|
@@ -32985,7 +33047,7 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
32985
33047
|
};
|
|
32986
33048
|
},
|
|
32987
33049
|
/**
|
|
32988
|
-
* Dry-runs a blueprint update
|
|
33050
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
32989
33051
|
* @summary Preview a blueprint update
|
|
32990
33052
|
* @param {string} blueprintId Blueprint ID
|
|
32991
33053
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33026,6 +33088,53 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
33026
33088
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33027
33089
|
localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration)
|
|
33028
33090
|
|
|
33091
|
+
return {
|
|
33092
|
+
url: toPathString(localVarUrlObj),
|
|
33093
|
+
options: localVarRequestOptions,
|
|
33094
|
+
};
|
|
33095
|
+
},
|
|
33096
|
+
/**
|
|
33097
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
33098
|
+
* @summary Update a blueprint service
|
|
33099
|
+
* @param {string} blueprintId Blueprint ID
|
|
33100
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33101
|
+
* @param {*} [options] Override http request option.
|
|
33102
|
+
* @throws {RequiredError}
|
|
33103
|
+
*/
|
|
33104
|
+
updateBlueprint: async (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33105
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
33106
|
+
assertParamExists('updateBlueprint', 'blueprintId', blueprintId)
|
|
33107
|
+
// verify required parameter 'blueprintUpdateRequest' is not null or undefined
|
|
33108
|
+
assertParamExists('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest)
|
|
33109
|
+
const localVarPath = `/blueprint/{blueprintId}`
|
|
33110
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
33111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33113
|
+
let baseOptions;
|
|
33114
|
+
if (configuration) {
|
|
33115
|
+
baseOptions = configuration.baseOptions;
|
|
33116
|
+
}
|
|
33117
|
+
|
|
33118
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
33119
|
+
const localVarHeaderParameter = {} as any;
|
|
33120
|
+
const localVarQueryParameter = {} as any;
|
|
33121
|
+
|
|
33122
|
+
// authentication ApiKeyAuth required
|
|
33123
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33124
|
+
|
|
33125
|
+
// authentication bearerAuth required
|
|
33126
|
+
// http bearer authentication required
|
|
33127
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33128
|
+
|
|
33129
|
+
|
|
33130
|
+
|
|
33131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33132
|
+
|
|
33133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33135
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33136
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration)
|
|
33137
|
+
|
|
33029
33138
|
return {
|
|
33030
33139
|
url: toPathString(localVarUrlObj),
|
|
33031
33140
|
options: localVarRequestOptions,
|
|
@@ -33083,7 +33192,7 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33083
33192
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33084
33193
|
},
|
|
33085
33194
|
/**
|
|
33086
|
-
* Dry-runs a blueprint update
|
|
33195
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
33087
33196
|
* @summary Preview a blueprint update
|
|
33088
33197
|
* @param {string} blueprintId Blueprint ID
|
|
33089
33198
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33096,6 +33205,20 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33096
33205
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
|
|
33097
33206
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33098
33207
|
},
|
|
33208
|
+
/**
|
|
33209
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
33210
|
+
* @summary Update a blueprint service
|
|
33211
|
+
* @param {string} blueprintId Blueprint ID
|
|
33212
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33213
|
+
* @param {*} [options] Override http request option.
|
|
33214
|
+
* @throws {RequiredError}
|
|
33215
|
+
*/
|
|
33216
|
+
async updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>> {
|
|
33217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
|
|
33218
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33219
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.updateBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
33220
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33221
|
+
},
|
|
33099
33222
|
}
|
|
33100
33223
|
};
|
|
33101
33224
|
|
|
@@ -33139,7 +33262,7 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
33139
33262
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
33140
33263
|
},
|
|
33141
33264
|
/**
|
|
33142
|
-
* Dry-runs a blueprint update
|
|
33265
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
33143
33266
|
* @summary Preview a blueprint update
|
|
33144
33267
|
* @param {string} blueprintId Blueprint ID
|
|
33145
33268
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33149,6 +33272,17 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
33149
33272
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
|
|
33150
33273
|
return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
|
|
33151
33274
|
},
|
|
33275
|
+
/**
|
|
33276
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
33277
|
+
* @summary Update a blueprint service
|
|
33278
|
+
* @param {string} blueprintId Blueprint ID
|
|
33279
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33280
|
+
* @param {*} [options] Override http request option.
|
|
33281
|
+
* @throws {RequiredError}
|
|
33282
|
+
*/
|
|
33283
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse> {
|
|
33284
|
+
return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
|
|
33285
|
+
},
|
|
33152
33286
|
};
|
|
33153
33287
|
};
|
|
33154
33288
|
|
|
@@ -33198,7 +33332,7 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
33198
33332
|
}
|
|
33199
33333
|
|
|
33200
33334
|
/**
|
|
33201
|
-
* Dry-runs a blueprint update
|
|
33335
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
33202
33336
|
* @summary Preview a blueprint update
|
|
33203
33337
|
* @param {string} blueprintId Blueprint ID
|
|
33204
33338
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33209,6 +33343,19 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
33209
33343
|
public previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) {
|
|
33210
33344
|
return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33211
33345
|
}
|
|
33346
|
+
|
|
33347
|
+
/**
|
|
33348
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
33349
|
+
* @summary Update a blueprint service
|
|
33350
|
+
* @param {string} blueprintId Blueprint ID
|
|
33351
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33352
|
+
* @param {*} [options] Override http request option.
|
|
33353
|
+
* @throws {RequiredError}
|
|
33354
|
+
* @memberof BlueprintMainCallsApi
|
|
33355
|
+
*/
|
|
33356
|
+
public updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
33357
|
+
return BlueprintMainCallsApiFp(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33358
|
+
}
|
|
33212
33359
|
}
|
|
33213
33360
|
|
|
33214
33361
|
|
package/dist/api.d.ts
CHANGED
|
@@ -3714,18 +3714,20 @@ export interface BlueprintUpdatePreviewRequest {
|
|
|
3714
3714
|
*/
|
|
3715
3715
|
'icon': string;
|
|
3716
3716
|
/**
|
|
3717
|
-
*
|
|
3718
|
-
* @type {
|
|
3717
|
+
* RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
|
|
3718
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3719
3719
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3720
3720
|
*/
|
|
3721
|
-
'variables'?:
|
|
3721
|
+
'variables'?: {
|
|
3722
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3723
|
+
};
|
|
3722
3724
|
/**
|
|
3723
|
-
*
|
|
3724
|
-
* @type {{ [key: string]: any; }}
|
|
3725
|
+
* JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
|
|
3726
|
+
* @type {{ [key: string]: any | null; }}
|
|
3725
3727
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3726
3728
|
*/
|
|
3727
3729
|
'spec_overrides'?: {
|
|
3728
|
-
[key: string]: any;
|
|
3730
|
+
[key: string]: any | null;
|
|
3729
3731
|
} | null;
|
|
3730
3732
|
}
|
|
3731
3733
|
/**
|
|
@@ -3765,6 +3767,47 @@ export interface BlueprintUpdateRemovedValue {
|
|
|
3765
3767
|
*/
|
|
3766
3768
|
'name': string;
|
|
3767
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
*
|
|
3772
|
+
* @export
|
|
3773
|
+
* @interface BlueprintUpdateRequest
|
|
3774
|
+
*/
|
|
3775
|
+
export interface BlueprintUpdateRequest {
|
|
3776
|
+
/**
|
|
3777
|
+
* Display name for the service
|
|
3778
|
+
* @type {string}
|
|
3779
|
+
* @memberof BlueprintUpdateRequest
|
|
3780
|
+
*/
|
|
3781
|
+
'name': string;
|
|
3782
|
+
/**
|
|
3783
|
+
* Catalog tag identifying the target blueprint version
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof BlueprintUpdateRequest
|
|
3786
|
+
*/
|
|
3787
|
+
'tag': string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Icon URL for the service
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof BlueprintUpdateRequest
|
|
3792
|
+
*/
|
|
3793
|
+
'icon': string;
|
|
3794
|
+
/**
|
|
3795
|
+
* RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
|
|
3796
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3797
|
+
* @memberof BlueprintUpdateRequest
|
|
3798
|
+
*/
|
|
3799
|
+
'variables'?: {
|
|
3800
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3801
|
+
};
|
|
3802
|
+
/**
|
|
3803
|
+
* JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
|
|
3804
|
+
* @type {{ [key: string]: any | null; }}
|
|
3805
|
+
* @memberof BlueprintUpdateRequest
|
|
3806
|
+
*/
|
|
3807
|
+
'spec_overrides'?: {
|
|
3808
|
+
[key: string]: any | null;
|
|
3809
|
+
} | null;
|
|
3810
|
+
}
|
|
3768
3811
|
/**
|
|
3769
3812
|
*
|
|
3770
3813
|
* @export
|
|
@@ -3845,6 +3888,25 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
3845
3888
|
*/
|
|
3846
3889
|
'current_value'?: string | null;
|
|
3847
3890
|
}
|
|
3891
|
+
/**
|
|
3892
|
+
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
3893
|
+
* @export
|
|
3894
|
+
* @interface BlueprintUpdateVariableValue
|
|
3895
|
+
*/
|
|
3896
|
+
export interface BlueprintUpdateVariableValue {
|
|
3897
|
+
/**
|
|
3898
|
+
*
|
|
3899
|
+
* @type {string}
|
|
3900
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3901
|
+
*/
|
|
3902
|
+
'value': string;
|
|
3903
|
+
/**
|
|
3904
|
+
*
|
|
3905
|
+
* @type {boolean}
|
|
3906
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3907
|
+
*/
|
|
3908
|
+
'is_secret'?: boolean;
|
|
3909
|
+
}
|
|
3848
3910
|
/**
|
|
3849
3911
|
*
|
|
3850
3912
|
* @export
|
|
@@ -5308,6 +5370,12 @@ export interface ClusterFeatureGcpExistingVpc {
|
|
|
5308
5370
|
* @memberof ClusterFeatureGcpExistingVpc
|
|
5309
5371
|
*/
|
|
5310
5372
|
'additional_ip_range_pods_names'?: Array<string>;
|
|
5373
|
+
/**
|
|
5374
|
+
*
|
|
5375
|
+
* @type {boolean}
|
|
5376
|
+
* @memberof ClusterFeatureGcpExistingVpc
|
|
5377
|
+
*/
|
|
5378
|
+
'private_nodes'?: boolean;
|
|
5311
5379
|
}
|
|
5312
5380
|
/**
|
|
5313
5381
|
*
|
|
@@ -27706,7 +27774,7 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27706
27774
|
*/
|
|
27707
27775
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27708
27776
|
/**
|
|
27709
|
-
* Dry-runs a blueprint update
|
|
27777
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27710
27778
|
* @summary Preview a blueprint update
|
|
27711
27779
|
* @param {string} blueprintId Blueprint ID
|
|
27712
27780
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27714,6 +27782,15 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27714
27782
|
* @throws {RequiredError}
|
|
27715
27783
|
*/
|
|
27716
27784
|
previewBlueprintUpdate: (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27785
|
+
/**
|
|
27786
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27787
|
+
* @summary Update a blueprint service
|
|
27788
|
+
* @param {string} blueprintId Blueprint ID
|
|
27789
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27790
|
+
* @param {*} [options] Override http request option.
|
|
27791
|
+
* @throws {RequiredError}
|
|
27792
|
+
*/
|
|
27793
|
+
updateBlueprint: (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27717
27794
|
};
|
|
27718
27795
|
/**
|
|
27719
27796
|
* BlueprintMainCallsApi - functional programming interface
|
|
@@ -27747,7 +27824,7 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27747
27824
|
*/
|
|
27748
27825
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
27749
27826
|
/**
|
|
27750
|
-
* Dry-runs a blueprint update
|
|
27827
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27751
27828
|
* @summary Preview a blueprint update
|
|
27752
27829
|
* @param {string} blueprintId Blueprint ID
|
|
27753
27830
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27755,6 +27832,15 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27755
27832
|
* @throws {RequiredError}
|
|
27756
27833
|
*/
|
|
27757
27834
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>>;
|
|
27835
|
+
/**
|
|
27836
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27837
|
+
* @summary Update a blueprint service
|
|
27838
|
+
* @param {string} blueprintId Blueprint ID
|
|
27839
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27840
|
+
* @param {*} [options] Override http request option.
|
|
27841
|
+
* @throws {RequiredError}
|
|
27842
|
+
*/
|
|
27843
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
27758
27844
|
};
|
|
27759
27845
|
/**
|
|
27760
27846
|
* BlueprintMainCallsApi - factory interface
|
|
@@ -27788,7 +27874,7 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27788
27874
|
*/
|
|
27789
27875
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
27790
27876
|
/**
|
|
27791
|
-
* Dry-runs a blueprint update
|
|
27877
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27792
27878
|
* @summary Preview a blueprint update
|
|
27793
27879
|
* @param {string} blueprintId Blueprint ID
|
|
27794
27880
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27796,6 +27882,15 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27796
27882
|
* @throws {RequiredError}
|
|
27797
27883
|
*/
|
|
27798
27884
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse>;
|
|
27885
|
+
/**
|
|
27886
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27887
|
+
* @summary Update a blueprint service
|
|
27888
|
+
* @param {string} blueprintId Blueprint ID
|
|
27889
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27890
|
+
* @param {*} [options] Override http request option.
|
|
27891
|
+
* @throws {RequiredError}
|
|
27892
|
+
*/
|
|
27893
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
27799
27894
|
};
|
|
27800
27895
|
/**
|
|
27801
27896
|
* BlueprintMainCallsApi - object-oriented interface
|
|
@@ -27834,7 +27929,7 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27834
27929
|
*/
|
|
27835
27930
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
27836
27931
|
/**
|
|
27837
|
-
* Dry-runs a blueprint update
|
|
27932
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27838
27933
|
* @summary Preview a blueprint update
|
|
27839
27934
|
* @param {string} blueprintId Blueprint ID
|
|
27840
27935
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27843,6 +27938,16 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27843
27938
|
* @memberof BlueprintMainCallsApi
|
|
27844
27939
|
*/
|
|
27845
27940
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintUpdatePreviewResponse, any, {}>>;
|
|
27941
|
+
/**
|
|
27942
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27943
|
+
* @summary Update a blueprint service
|
|
27944
|
+
* @param {string} blueprintId Blueprint ID
|
|
27945
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27946
|
+
* @param {*} [options] Override http request option.
|
|
27947
|
+
* @throws {RequiredError}
|
|
27948
|
+
* @memberof BlueprintMainCallsApi
|
|
27949
|
+
*/
|
|
27950
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
27846
27951
|
}
|
|
27847
27952
|
/**
|
|
27848
27953
|
* CloudProviderApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -9201,7 +9201,7 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9201
9201
|
};
|
|
9202
9202
|
}),
|
|
9203
9203
|
/**
|
|
9204
|
-
* Dry-runs a blueprint update
|
|
9204
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9205
9205
|
* @summary Preview a blueprint update
|
|
9206
9206
|
* @param {string} blueprintId Blueprint ID
|
|
9207
9207
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9239,6 +9239,45 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9239
9239
|
options: localVarRequestOptions,
|
|
9240
9240
|
};
|
|
9241
9241
|
}),
|
|
9242
|
+
/**
|
|
9243
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9244
|
+
* @summary Update a blueprint service
|
|
9245
|
+
* @param {string} blueprintId Blueprint ID
|
|
9246
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9247
|
+
* @param {*} [options] Override http request option.
|
|
9248
|
+
* @throws {RequiredError}
|
|
9249
|
+
*/
|
|
9250
|
+
updateBlueprint: (blueprintId_1, blueprintUpdateRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdateRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdateRequest, options = {}) {
|
|
9251
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9252
|
+
(0, common_1.assertParamExists)('updateBlueprint', 'blueprintId', blueprintId);
|
|
9253
|
+
// verify required parameter 'blueprintUpdateRequest' is not null or undefined
|
|
9254
|
+
(0, common_1.assertParamExists)('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest);
|
|
9255
|
+
const localVarPath = `/blueprint/{blueprintId}`
|
|
9256
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9258
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9259
|
+
let baseOptions;
|
|
9260
|
+
if (configuration) {
|
|
9261
|
+
baseOptions = configuration.baseOptions;
|
|
9262
|
+
}
|
|
9263
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
9264
|
+
const localVarHeaderParameter = {};
|
|
9265
|
+
const localVarQueryParameter = {};
|
|
9266
|
+
// authentication ApiKeyAuth required
|
|
9267
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9268
|
+
// authentication bearerAuth required
|
|
9269
|
+
// http bearer authentication required
|
|
9270
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9271
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9272
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9273
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9274
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9275
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(blueprintUpdateRequest, localVarRequestOptions, configuration);
|
|
9276
|
+
return {
|
|
9277
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9278
|
+
options: localVarRequestOptions,
|
|
9279
|
+
};
|
|
9280
|
+
}),
|
|
9242
9281
|
};
|
|
9243
9282
|
};
|
|
9244
9283
|
exports.BlueprintMainCallsApiAxiosParamCreator = BlueprintMainCallsApiAxiosParamCreator;
|
|
@@ -9300,7 +9339,7 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9300
9339
|
});
|
|
9301
9340
|
},
|
|
9302
9341
|
/**
|
|
9303
|
-
* Dry-runs a blueprint update
|
|
9342
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9304
9343
|
* @summary Preview a blueprint update
|
|
9305
9344
|
* @param {string} blueprintId Blueprint ID
|
|
9306
9345
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9316,6 +9355,23 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9316
9355
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9317
9356
|
});
|
|
9318
9357
|
},
|
|
9358
|
+
/**
|
|
9359
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9360
|
+
* @summary Update a blueprint service
|
|
9361
|
+
* @param {string} blueprintId Blueprint ID
|
|
9362
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9363
|
+
* @param {*} [options] Override http request option.
|
|
9364
|
+
* @throws {RequiredError}
|
|
9365
|
+
*/
|
|
9366
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9368
|
+
var _a, _b, _c;
|
|
9369
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
|
|
9370
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9371
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.updateBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9372
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9373
|
+
});
|
|
9374
|
+
},
|
|
9319
9375
|
};
|
|
9320
9376
|
};
|
|
9321
9377
|
exports.BlueprintMainCallsApiFp = BlueprintMainCallsApiFp;
|
|
@@ -9359,7 +9415,7 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
9359
9415
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
9360
9416
|
},
|
|
9361
9417
|
/**
|
|
9362
|
-
* Dry-runs a blueprint update
|
|
9418
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9363
9419
|
* @summary Preview a blueprint update
|
|
9364
9420
|
* @param {string} blueprintId Blueprint ID
|
|
9365
9421
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9369,6 +9425,17 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
9369
9425
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9370
9426
|
return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
|
|
9371
9427
|
},
|
|
9428
|
+
/**
|
|
9429
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9430
|
+
* @summary Update a blueprint service
|
|
9431
|
+
* @param {string} blueprintId Blueprint ID
|
|
9432
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9433
|
+
* @param {*} [options] Override http request option.
|
|
9434
|
+
* @throws {RequiredError}
|
|
9435
|
+
*/
|
|
9436
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9437
|
+
return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
|
|
9438
|
+
},
|
|
9372
9439
|
};
|
|
9373
9440
|
};
|
|
9374
9441
|
exports.BlueprintMainCallsApiFactory = BlueprintMainCallsApiFactory;
|
|
@@ -9415,7 +9482,7 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
9415
9482
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
9416
9483
|
}
|
|
9417
9484
|
/**
|
|
9418
|
-
* Dry-runs a blueprint update
|
|
9485
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9419
9486
|
* @summary Preview a blueprint update
|
|
9420
9487
|
* @param {string} blueprintId Blueprint ID
|
|
9421
9488
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9426,6 +9493,18 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
9426
9493
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9427
9494
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9428
9495
|
}
|
|
9496
|
+
/**
|
|
9497
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9498
|
+
* @summary Update a blueprint service
|
|
9499
|
+
* @param {string} blueprintId Blueprint ID
|
|
9500
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9501
|
+
* @param {*} [options] Override http request option.
|
|
9502
|
+
* @throws {RequiredError}
|
|
9503
|
+
* @memberof BlueprintMainCallsApi
|
|
9504
|
+
*/
|
|
9505
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9506
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9507
|
+
}
|
|
9429
9508
|
}
|
|
9430
9509
|
exports.BlueprintMainCallsApi = BlueprintMainCallsApi;
|
|
9431
9510
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3714,18 +3714,20 @@ export interface BlueprintUpdatePreviewRequest {
|
|
|
3714
3714
|
*/
|
|
3715
3715
|
'icon': string;
|
|
3716
3716
|
/**
|
|
3717
|
-
*
|
|
3718
|
-
* @type {
|
|
3717
|
+
* RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
|
|
3718
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3719
3719
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3720
3720
|
*/
|
|
3721
|
-
'variables'?:
|
|
3721
|
+
'variables'?: {
|
|
3722
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3723
|
+
};
|
|
3722
3724
|
/**
|
|
3723
|
-
*
|
|
3724
|
-
* @type {{ [key: string]: any; }}
|
|
3725
|
+
* JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
|
|
3726
|
+
* @type {{ [key: string]: any | null; }}
|
|
3725
3727
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3726
3728
|
*/
|
|
3727
3729
|
'spec_overrides'?: {
|
|
3728
|
-
[key: string]: any;
|
|
3730
|
+
[key: string]: any | null;
|
|
3729
3731
|
} | null;
|
|
3730
3732
|
}
|
|
3731
3733
|
/**
|
|
@@ -3765,6 +3767,47 @@ export interface BlueprintUpdateRemovedValue {
|
|
|
3765
3767
|
*/
|
|
3766
3768
|
'name': string;
|
|
3767
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
*
|
|
3772
|
+
* @export
|
|
3773
|
+
* @interface BlueprintUpdateRequest
|
|
3774
|
+
*/
|
|
3775
|
+
export interface BlueprintUpdateRequest {
|
|
3776
|
+
/**
|
|
3777
|
+
* Display name for the service
|
|
3778
|
+
* @type {string}
|
|
3779
|
+
* @memberof BlueprintUpdateRequest
|
|
3780
|
+
*/
|
|
3781
|
+
'name': string;
|
|
3782
|
+
/**
|
|
3783
|
+
* Catalog tag identifying the target blueprint version
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof BlueprintUpdateRequest
|
|
3786
|
+
*/
|
|
3787
|
+
'tag': string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Icon URL for the service
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof BlueprintUpdateRequest
|
|
3792
|
+
*/
|
|
3793
|
+
'icon': string;
|
|
3794
|
+
/**
|
|
3795
|
+
* RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
|
|
3796
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3797
|
+
* @memberof BlueprintUpdateRequest
|
|
3798
|
+
*/
|
|
3799
|
+
'variables'?: {
|
|
3800
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3801
|
+
};
|
|
3802
|
+
/**
|
|
3803
|
+
* JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
|
|
3804
|
+
* @type {{ [key: string]: any | null; }}
|
|
3805
|
+
* @memberof BlueprintUpdateRequest
|
|
3806
|
+
*/
|
|
3807
|
+
'spec_overrides'?: {
|
|
3808
|
+
[key: string]: any | null;
|
|
3809
|
+
} | null;
|
|
3810
|
+
}
|
|
3768
3811
|
/**
|
|
3769
3812
|
*
|
|
3770
3813
|
* @export
|
|
@@ -3845,6 +3888,25 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
3845
3888
|
*/
|
|
3846
3889
|
'current_value'?: string | null;
|
|
3847
3890
|
}
|
|
3891
|
+
/**
|
|
3892
|
+
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
3893
|
+
* @export
|
|
3894
|
+
* @interface BlueprintUpdateVariableValue
|
|
3895
|
+
*/
|
|
3896
|
+
export interface BlueprintUpdateVariableValue {
|
|
3897
|
+
/**
|
|
3898
|
+
*
|
|
3899
|
+
* @type {string}
|
|
3900
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3901
|
+
*/
|
|
3902
|
+
'value': string;
|
|
3903
|
+
/**
|
|
3904
|
+
*
|
|
3905
|
+
* @type {boolean}
|
|
3906
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3907
|
+
*/
|
|
3908
|
+
'is_secret'?: boolean;
|
|
3909
|
+
}
|
|
3848
3910
|
/**
|
|
3849
3911
|
*
|
|
3850
3912
|
* @export
|
|
@@ -5308,6 +5370,12 @@ export interface ClusterFeatureGcpExistingVpc {
|
|
|
5308
5370
|
* @memberof ClusterFeatureGcpExistingVpc
|
|
5309
5371
|
*/
|
|
5310
5372
|
'additional_ip_range_pods_names'?: Array<string>;
|
|
5373
|
+
/**
|
|
5374
|
+
*
|
|
5375
|
+
* @type {boolean}
|
|
5376
|
+
* @memberof ClusterFeatureGcpExistingVpc
|
|
5377
|
+
*/
|
|
5378
|
+
'private_nodes'?: boolean;
|
|
5311
5379
|
}
|
|
5312
5380
|
/**
|
|
5313
5381
|
*
|
|
@@ -27706,7 +27774,7 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27706
27774
|
*/
|
|
27707
27775
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27708
27776
|
/**
|
|
27709
|
-
* Dry-runs a blueprint update
|
|
27777
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27710
27778
|
* @summary Preview a blueprint update
|
|
27711
27779
|
* @param {string} blueprintId Blueprint ID
|
|
27712
27780
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27714,6 +27782,15 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27714
27782
|
* @throws {RequiredError}
|
|
27715
27783
|
*/
|
|
27716
27784
|
previewBlueprintUpdate: (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27785
|
+
/**
|
|
27786
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27787
|
+
* @summary Update a blueprint service
|
|
27788
|
+
* @param {string} blueprintId Blueprint ID
|
|
27789
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27790
|
+
* @param {*} [options] Override http request option.
|
|
27791
|
+
* @throws {RequiredError}
|
|
27792
|
+
*/
|
|
27793
|
+
updateBlueprint: (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27717
27794
|
};
|
|
27718
27795
|
/**
|
|
27719
27796
|
* BlueprintMainCallsApi - functional programming interface
|
|
@@ -27747,7 +27824,7 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27747
27824
|
*/
|
|
27748
27825
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
27749
27826
|
/**
|
|
27750
|
-
* Dry-runs a blueprint update
|
|
27827
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27751
27828
|
* @summary Preview a blueprint update
|
|
27752
27829
|
* @param {string} blueprintId Blueprint ID
|
|
27753
27830
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27755,6 +27832,15 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27755
27832
|
* @throws {RequiredError}
|
|
27756
27833
|
*/
|
|
27757
27834
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>>;
|
|
27835
|
+
/**
|
|
27836
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27837
|
+
* @summary Update a blueprint service
|
|
27838
|
+
* @param {string} blueprintId Blueprint ID
|
|
27839
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27840
|
+
* @param {*} [options] Override http request option.
|
|
27841
|
+
* @throws {RequiredError}
|
|
27842
|
+
*/
|
|
27843
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
27758
27844
|
};
|
|
27759
27845
|
/**
|
|
27760
27846
|
* BlueprintMainCallsApi - factory interface
|
|
@@ -27788,7 +27874,7 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27788
27874
|
*/
|
|
27789
27875
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
27790
27876
|
/**
|
|
27791
|
-
* Dry-runs a blueprint update
|
|
27877
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27792
27878
|
* @summary Preview a blueprint update
|
|
27793
27879
|
* @param {string} blueprintId Blueprint ID
|
|
27794
27880
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27796,6 +27882,15 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27796
27882
|
* @throws {RequiredError}
|
|
27797
27883
|
*/
|
|
27798
27884
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse>;
|
|
27885
|
+
/**
|
|
27886
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27887
|
+
* @summary Update a blueprint service
|
|
27888
|
+
* @param {string} blueprintId Blueprint ID
|
|
27889
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27890
|
+
* @param {*} [options] Override http request option.
|
|
27891
|
+
* @throws {RequiredError}
|
|
27892
|
+
*/
|
|
27893
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
27799
27894
|
};
|
|
27800
27895
|
/**
|
|
27801
27896
|
* BlueprintMainCallsApi - object-oriented interface
|
|
@@ -27834,7 +27929,7 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27834
27929
|
*/
|
|
27835
27930
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
27836
27931
|
/**
|
|
27837
|
-
* Dry-runs a blueprint update
|
|
27932
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
27838
27933
|
* @summary Preview a blueprint update
|
|
27839
27934
|
* @param {string} blueprintId Blueprint ID
|
|
27840
27935
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27843,6 +27938,16 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27843
27938
|
* @memberof BlueprintMainCallsApi
|
|
27844
27939
|
*/
|
|
27845
27940
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintUpdatePreviewResponse, any, {}>>;
|
|
27941
|
+
/**
|
|
27942
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
27943
|
+
* @summary Update a blueprint service
|
|
27944
|
+
* @param {string} blueprintId Blueprint ID
|
|
27945
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27946
|
+
* @param {*} [options] Override http request option.
|
|
27947
|
+
* @throws {RequiredError}
|
|
27948
|
+
* @memberof BlueprintMainCallsApi
|
|
27949
|
+
*/
|
|
27950
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
27846
27951
|
}
|
|
27847
27952
|
/**
|
|
27848
27953
|
* CloudProviderApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -9119,7 +9119,7 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9119
9119
|
};
|
|
9120
9120
|
}),
|
|
9121
9121
|
/**
|
|
9122
|
-
* Dry-runs a blueprint update
|
|
9122
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9123
9123
|
* @summary Preview a blueprint update
|
|
9124
9124
|
* @param {string} blueprintId Blueprint ID
|
|
9125
9125
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9157,6 +9157,45 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9157
9157
|
options: localVarRequestOptions,
|
|
9158
9158
|
};
|
|
9159
9159
|
}),
|
|
9160
|
+
/**
|
|
9161
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9162
|
+
* @summary Update a blueprint service
|
|
9163
|
+
* @param {string} blueprintId Blueprint ID
|
|
9164
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9165
|
+
* @param {*} [options] Override http request option.
|
|
9166
|
+
* @throws {RequiredError}
|
|
9167
|
+
*/
|
|
9168
|
+
updateBlueprint: (blueprintId_1, blueprintUpdateRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdateRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdateRequest, options = {}) {
|
|
9169
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9170
|
+
assertParamExists('updateBlueprint', 'blueprintId', blueprintId);
|
|
9171
|
+
// verify required parameter 'blueprintUpdateRequest' is not null or undefined
|
|
9172
|
+
assertParamExists('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest);
|
|
9173
|
+
const localVarPath = `/blueprint/{blueprintId}`
|
|
9174
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9177
|
+
let baseOptions;
|
|
9178
|
+
if (configuration) {
|
|
9179
|
+
baseOptions = configuration.baseOptions;
|
|
9180
|
+
}
|
|
9181
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
9182
|
+
const localVarHeaderParameter = {};
|
|
9183
|
+
const localVarQueryParameter = {};
|
|
9184
|
+
// authentication ApiKeyAuth required
|
|
9185
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9186
|
+
// authentication bearerAuth required
|
|
9187
|
+
// http bearer authentication required
|
|
9188
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9189
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9193
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration);
|
|
9194
|
+
return {
|
|
9195
|
+
url: toPathString(localVarUrlObj),
|
|
9196
|
+
options: localVarRequestOptions,
|
|
9197
|
+
};
|
|
9198
|
+
}),
|
|
9160
9199
|
};
|
|
9161
9200
|
};
|
|
9162
9201
|
/**
|
|
@@ -9217,7 +9256,7 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9217
9256
|
});
|
|
9218
9257
|
},
|
|
9219
9258
|
/**
|
|
9220
|
-
* Dry-runs a blueprint update
|
|
9259
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9221
9260
|
* @summary Preview a blueprint update
|
|
9222
9261
|
* @param {string} blueprintId Blueprint ID
|
|
9223
9262
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9233,6 +9272,23 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9233
9272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9234
9273
|
});
|
|
9235
9274
|
},
|
|
9275
|
+
/**
|
|
9276
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9277
|
+
* @summary Update a blueprint service
|
|
9278
|
+
* @param {string} blueprintId Blueprint ID
|
|
9279
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9280
|
+
* @param {*} [options] Override http request option.
|
|
9281
|
+
* @throws {RequiredError}
|
|
9282
|
+
*/
|
|
9283
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9285
|
+
var _a, _b, _c;
|
|
9286
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
|
|
9287
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9288
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.updateBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9289
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9290
|
+
});
|
|
9291
|
+
},
|
|
9236
9292
|
};
|
|
9237
9293
|
};
|
|
9238
9294
|
/**
|
|
@@ -9275,7 +9331,7 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
9275
9331
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
9276
9332
|
},
|
|
9277
9333
|
/**
|
|
9278
|
-
* Dry-runs a blueprint update
|
|
9334
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9279
9335
|
* @summary Preview a blueprint update
|
|
9280
9336
|
* @param {string} blueprintId Blueprint ID
|
|
9281
9337
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9285,6 +9341,17 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
9285
9341
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9286
9342
|
return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
|
|
9287
9343
|
},
|
|
9344
|
+
/**
|
|
9345
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9346
|
+
* @summary Update a blueprint service
|
|
9347
|
+
* @param {string} blueprintId Blueprint ID
|
|
9348
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9349
|
+
* @param {*} [options] Override http request option.
|
|
9350
|
+
* @throws {RequiredError}
|
|
9351
|
+
*/
|
|
9352
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9353
|
+
return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
|
|
9354
|
+
},
|
|
9288
9355
|
};
|
|
9289
9356
|
};
|
|
9290
9357
|
/**
|
|
@@ -9330,7 +9397,7 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
9330
9397
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
9331
9398
|
}
|
|
9332
9399
|
/**
|
|
9333
|
-
* Dry-runs a blueprint update
|
|
9400
|
+
* Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
|
|
9334
9401
|
* @summary Preview a blueprint update
|
|
9335
9402
|
* @param {string} blueprintId Blueprint ID
|
|
9336
9403
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9341,6 +9408,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
9341
9408
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9342
9409
|
return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9343
9410
|
}
|
|
9411
|
+
/**
|
|
9412
|
+
* Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
|
|
9413
|
+
* @summary Update a blueprint service
|
|
9414
|
+
* @param {string} blueprintId Blueprint ID
|
|
9415
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9416
|
+
* @param {*} [options] Override http request option.
|
|
9417
|
+
* @throws {RequiredError}
|
|
9418
|
+
* @memberof BlueprintMainCallsApi
|
|
9419
|
+
*/
|
|
9420
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9421
|
+
return BlueprintMainCallsApiFp(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9422
|
+
}
|
|
9344
9423
|
}
|
|
9345
9424
|
/**
|
|
9346
9425
|
* CloudProviderApi - axios parameter creator
|