qovery-typescript-axios 1.1.1052 → 1.1.1053
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 +556 -75
- package/dist/api.d.ts +368 -75
- package/dist/api.js +446 -72
- package/dist/esm/api.d.ts +368 -75
- package/dist/esm/api.js +446 -72
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -11802,13 +11802,13 @@ export interface ContainerRequest {
|
|
|
11802
11802
|
*/
|
|
11803
11803
|
'healthchecks': Healthcheck;
|
|
11804
11804
|
/**
|
|
11805
|
-
* Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment. On a container with a Git repository source,
|
|
11805
|
+
* Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment. On a container with a Git repository source, `true` makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. When not specified: false on a create from, or a switch to, `git_repository`; the stored value on an update that keeps `git_repository`; false on a switch from `git_repository` to an image.
|
|
11806
11806
|
* @type {boolean}
|
|
11807
11807
|
* @memberof ContainerRequest
|
|
11808
11808
|
*/
|
|
11809
11809
|
'auto_preview'?: boolean;
|
|
11810
11810
|
/**
|
|
11811
|
-
* Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the \"Auto Deploy container\" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments On a container with a Git repository source,
|
|
11811
|
+
* Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the \"Auto Deploy container\" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments On a container with a Git repository source, `true` makes a push to the source branch deploy the container: anyone who can push to that branch can deploy it. On a preview\'s copy of the container, `true` makes later pushes to the pull request redeploy it, as for applications. When not specified: false on a create from, or a switch to, `git_repository`; the stored value on an update that keeps `git_repository`.
|
|
11812
11812
|
* @type {boolean}
|
|
11813
11813
|
* @memberof ContainerRequest
|
|
11814
11814
|
*/
|
|
@@ -12093,7 +12093,7 @@ export interface ContainerSource {
|
|
|
12093
12093
|
}
|
|
12094
12094
|
/**
|
|
12095
12095
|
* @type ContainerSourceRequest
|
|
12096
|
-
* Where the container image comes from. Send exactly one of `image` or `git_repository`; both, or neither, returns 400. A `null` `image` or `git_repository` counts as not sent. - `image`: an image from a container registry, like the flat `registry_id`, `image_name` and `tag` fields. - `git_repository`: a Git repository with a Dockerfile. Qovery builds the image from the deployed commit. Accepted on create (`POST /environment/{environmentId}/container`) and on update (`PUT /container/{containerId}`). Building from Git needs Qovery engine v1.417.0 or later on the cluster: on an older engine, the deployment fails. Switching the source keeps the same container: its id, Kubernetes names, volumes and built-in variables. The switch does not deploy; the next deployment uses the new source. A container with a Git repository source has three more built-in variables. `<ID>` is the identifier its other built-in variables use, as in `QOVERY_CONTAINER_<ID>_HOST_INTERNAL`: - `QOVERY_CONTAINER_<ID>_GIT_COMMIT_ID`: the deployed commit; - `QOVERY_CONTAINER_<ID>_GIT_BRANCH`: the branch configured on the source; - `QOVERY_CONTAINER_<ID>_GIT_REPOSITORY_URL`: the repository URL, without credentials, query or fragment. They are added when missing, when the container is created from, or switched to, a Git repository. A switch back to an image keeps them, with empty values. Rules: - On update (`PUT /container/{containerId}`), `source` is ignored when it repeats the stored source, and the flat `registry_id`, `image_name` and `tag` fields are ignored when every one sent equals the image the container runs (the `registry.id`, `image_name` and `tag` that GET returns). A body built from the GET response is accepted as is; only the side the client changed is applied. - On update, `source` and the flat fields both asking for a change returns 400, unless both name the same image. This includes a `source.git_repository` change sent with changed flat fields. On create, sending `source` together with the flat fields still returns 400. - On update of a container with an image source, `source.image.registry_id` may be omitted: the stored registry is kept. Switching a container with a Git repository source back to an image, and create, require it. - When `source` is not sent, the stored source is kept. Flat fields never switch the source. - On a container with a Git repository source, flat fields equal to the `registry.id`, `image_name` and `tag` that GET returns are accepted and change nothing; different values return 400 unless `source.image` asks for the same image. A deployment that finishes between the GET and the PUT changes these values: get the container again and retry. Send `source.image` to switch back to an image. -
|
|
12096
|
+
* Where the container image comes from. Send exactly one of `image` or `git_repository`; both, or neither, returns 400. A `null` `image` or `git_repository` counts as not sent. - `image`: an image from a container registry, like the flat `registry_id`, `image_name` and `tag` fields. - `git_repository`: a Git repository with a Dockerfile. Qovery builds the image from the deployed commit. Accepted on create (`POST /environment/{environmentId}/container`) and on update (`PUT /container/{containerId}`). Building from Git needs Qovery engine v1.417.0 or later on the cluster: on an older engine, the deployment fails. Switching the source keeps the same container: its id, Kubernetes names, volumes and built-in variables. The switch does not deploy; the next deployment uses the new source. A container with a Git repository source has three more built-in variables. `<ID>` is the identifier its other built-in variables use, as in `QOVERY_CONTAINER_<ID>_HOST_INTERNAL`: - `QOVERY_CONTAINER_<ID>_GIT_COMMIT_ID`: the deployed commit; - `QOVERY_CONTAINER_<ID>_GIT_BRANCH`: the branch configured on the source; - `QOVERY_CONTAINER_<ID>_GIT_REPOSITORY_URL`: the repository URL, without credentials, query or fragment. They are added when missing, when the container is created from, or switched to, a Git repository. A switch back to an image keeps them, with empty values. Rules: - On update (`PUT /container/{containerId}`), `source` is ignored when it repeats the stored source, and the flat `registry_id`, `image_name` and `tag` fields are ignored when every one sent equals the image the container runs (the `registry.id`, `image_name` and `tag` that GET returns). A body built from the GET response is accepted as is; only the side the client changed is applied. - On update, `source` and the flat fields both asking for a change returns 400, unless both name the same image. This includes a `source.git_repository` change sent with changed flat fields. On create, sending `source` together with the flat fields still returns 400. - On update of a container with an image source, `source.image.registry_id` may be omitted: the stored registry is kept. Switching a container with a Git repository source back to an image, and create, require it. - When `source` is not sent, the stored source is kept. Flat fields never switch the source. - On a container with a Git repository source, flat fields equal to the `registry.id`, `image_name` and `tag` that GET returns are accepted and change nothing; different values return 400 unless `source.image` asks for the same image. A deployment that finishes between the GET and the PUT changes these values: get the container again and retry. Send `source.image` to switch back to an image. - `auto_deploy` and `auto_preview` are accepted with a `git_repository` source. When not sent, they are set to false on a create from, or a switch to, `git_repository`, and keep their stored values on an update that keeps `git_repository`. A switch from `git_repository` to an image without `auto_preview` sets it to false. - With `auto_deploy` true, a push to the source branch deploys the container: anyone who can push to that branch can deploy it. Deployment restrictions (`/service/{serviceId}/deploymentRestriction`) limit which changed paths trigger it. - With `auto_preview` true, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications.
|
|
12097
12097
|
* @export
|
|
12098
12098
|
*/
|
|
12099
12099
|
export type ContainerSourceRequest = ContainerSourceRequestOneOf | ContainerSourceRequestOneOf1;
|
|
@@ -28773,6 +28773,91 @@ export interface ServiceAnnotationRequest {
|
|
|
28773
28773
|
*/
|
|
28774
28774
|
'id': string;
|
|
28775
28775
|
}
|
|
28776
|
+
/**
|
|
28777
|
+
*
|
|
28778
|
+
* @export
|
|
28779
|
+
* @interface ServiceDeploymentRestrictionRequest
|
|
28780
|
+
*/
|
|
28781
|
+
export interface ServiceDeploymentRestrictionRequest {
|
|
28782
|
+
/**
|
|
28783
|
+
*
|
|
28784
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
28785
|
+
* @memberof ServiceDeploymentRestrictionRequest
|
|
28786
|
+
*/
|
|
28787
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
28788
|
+
/**
|
|
28789
|
+
*
|
|
28790
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
28791
|
+
* @memberof ServiceDeploymentRestrictionRequest
|
|
28792
|
+
*/
|
|
28793
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
28794
|
+
/**
|
|
28795
|
+
* For `PATH` restrictions, the value must not start with `/`
|
|
28796
|
+
* @type {string}
|
|
28797
|
+
* @memberof ServiceDeploymentRestrictionRequest
|
|
28798
|
+
*/
|
|
28799
|
+
'value': string;
|
|
28800
|
+
}
|
|
28801
|
+
|
|
28802
|
+
|
|
28803
|
+
/**
|
|
28804
|
+
*
|
|
28805
|
+
* @export
|
|
28806
|
+
* @interface ServiceDeploymentRestrictionResponse
|
|
28807
|
+
*/
|
|
28808
|
+
export interface ServiceDeploymentRestrictionResponse {
|
|
28809
|
+
/**
|
|
28810
|
+
*
|
|
28811
|
+
* @type {string}
|
|
28812
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28813
|
+
*/
|
|
28814
|
+
'id': string;
|
|
28815
|
+
/**
|
|
28816
|
+
*
|
|
28817
|
+
* @type {string}
|
|
28818
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28819
|
+
*/
|
|
28820
|
+
'created_at': string;
|
|
28821
|
+
/**
|
|
28822
|
+
*
|
|
28823
|
+
* @type {string}
|
|
28824
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28825
|
+
*/
|
|
28826
|
+
'updated_at'?: string;
|
|
28827
|
+
/**
|
|
28828
|
+
*
|
|
28829
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
28830
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28831
|
+
*/
|
|
28832
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
28833
|
+
/**
|
|
28834
|
+
*
|
|
28835
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
28836
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28837
|
+
*/
|
|
28838
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
28839
|
+
/**
|
|
28840
|
+
* For `PATH` restrictions, the value must not start with `/`
|
|
28841
|
+
* @type {string}
|
|
28842
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28843
|
+
*/
|
|
28844
|
+
'value': string;
|
|
28845
|
+
}
|
|
28846
|
+
|
|
28847
|
+
|
|
28848
|
+
/**
|
|
28849
|
+
*
|
|
28850
|
+
* @export
|
|
28851
|
+
* @interface ServiceDeploymentRestrictionResponseList
|
|
28852
|
+
*/
|
|
28853
|
+
export interface ServiceDeploymentRestrictionResponseList {
|
|
28854
|
+
/**
|
|
28855
|
+
*
|
|
28856
|
+
* @type {Array<ServiceDeploymentRestrictionResponse>}
|
|
28857
|
+
* @memberof ServiceDeploymentRestrictionResponseList
|
|
28858
|
+
*/
|
|
28859
|
+
'results'?: Array<ServiceDeploymentRestrictionResponse>;
|
|
28860
|
+
}
|
|
28776
28861
|
/**
|
|
28777
28862
|
*
|
|
28778
28863
|
* @export
|
|
@@ -37693,11 +37778,12 @@ export class ApplicationDeploymentHistoryApi extends BaseAPI {
|
|
|
37693
37778
|
export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37694
37779
|
return {
|
|
37695
37780
|
/**
|
|
37696
|
-
* Create an application deployment restriction
|
|
37781
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37697
37782
|
* @summary Create an application deployment restriction
|
|
37698
37783
|
* @param {string} applicationId Application ID
|
|
37699
37784
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37700
37785
|
* @param {*} [options] Override http request option.
|
|
37786
|
+
* @deprecated
|
|
37701
37787
|
* @throws {RequiredError}
|
|
37702
37788
|
*/
|
|
37703
37789
|
createApplicationDeploymentRestriction: async (applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37738,11 +37824,12 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
37738
37824
|
};
|
|
37739
37825
|
},
|
|
37740
37826
|
/**
|
|
37741
|
-
* Delete an application deployment restriction
|
|
37827
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37742
37828
|
* @summary Delete an application deployment restriction
|
|
37743
37829
|
* @param {string} applicationId Application ID
|
|
37744
37830
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37745
37831
|
* @param {*} [options] Override http request option.
|
|
37832
|
+
* @deprecated
|
|
37746
37833
|
* @throws {RequiredError}
|
|
37747
37834
|
*/
|
|
37748
37835
|
deleteApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37783,12 +37870,13 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
37783
37870
|
};
|
|
37784
37871
|
},
|
|
37785
37872
|
/**
|
|
37786
|
-
* Edit an application deployment restriction
|
|
37873
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37787
37874
|
* @summary Edit an application deployment restriction
|
|
37788
37875
|
* @param {string} applicationId Application ID
|
|
37789
37876
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37790
37877
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37791
37878
|
* @param {*} [options] Override http request option.
|
|
37879
|
+
* @deprecated
|
|
37792
37880
|
* @throws {RequiredError}
|
|
37793
37881
|
*/
|
|
37794
37882
|
editApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37832,10 +37920,11 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
37832
37920
|
};
|
|
37833
37921
|
},
|
|
37834
37922
|
/**
|
|
37835
|
-
* Get application deployment restrictions
|
|
37923
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37836
37924
|
* @summary Get application deployment restrictions
|
|
37837
37925
|
* @param {string} applicationId Application ID
|
|
37838
37926
|
* @param {*} [options] Override http request option.
|
|
37927
|
+
* @deprecated
|
|
37839
37928
|
* @throws {RequiredError}
|
|
37840
37929
|
*/
|
|
37841
37930
|
getApplicationDeploymentRestrictions: async (applicationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37883,11 +37972,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37883
37972
|
const localVarAxiosParamCreator = ApplicationDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
37884
37973
|
return {
|
|
37885
37974
|
/**
|
|
37886
|
-
* Create an application deployment restriction
|
|
37975
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37887
37976
|
* @summary Create an application deployment restriction
|
|
37888
37977
|
* @param {string} applicationId Application ID
|
|
37889
37978
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37890
37979
|
* @param {*} [options] Override http request option.
|
|
37980
|
+
* @deprecated
|
|
37891
37981
|
* @throws {RequiredError}
|
|
37892
37982
|
*/
|
|
37893
37983
|
async createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
@@ -37897,11 +37987,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37897
37987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37898
37988
|
},
|
|
37899
37989
|
/**
|
|
37900
|
-
* Delete an application deployment restriction
|
|
37990
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37901
37991
|
* @summary Delete an application deployment restriction
|
|
37902
37992
|
* @param {string} applicationId Application ID
|
|
37903
37993
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37904
37994
|
* @param {*} [options] Override http request option.
|
|
37995
|
+
* @deprecated
|
|
37905
37996
|
* @throws {RequiredError}
|
|
37906
37997
|
*/
|
|
37907
37998
|
async deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -37911,12 +38002,13 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37911
38002
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37912
38003
|
},
|
|
37913
38004
|
/**
|
|
37914
|
-
* Edit an application deployment restriction
|
|
38005
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37915
38006
|
* @summary Edit an application deployment restriction
|
|
37916
38007
|
* @param {string} applicationId Application ID
|
|
37917
38008
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37918
38009
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37919
38010
|
* @param {*} [options] Override http request option.
|
|
38011
|
+
* @deprecated
|
|
37920
38012
|
* @throws {RequiredError}
|
|
37921
38013
|
*/
|
|
37922
38014
|
async editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
@@ -37926,10 +38018,11 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37926
38018
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37927
38019
|
},
|
|
37928
38020
|
/**
|
|
37929
|
-
* Get application deployment restrictions
|
|
38021
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37930
38022
|
* @summary Get application deployment restrictions
|
|
37931
38023
|
* @param {string} applicationId Application ID
|
|
37932
38024
|
* @param {*} [options] Override http request option.
|
|
38025
|
+
* @deprecated
|
|
37933
38026
|
* @throws {RequiredError}
|
|
37934
38027
|
*/
|
|
37935
38028
|
async getApplicationDeploymentRestrictions(applicationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestrictionResponseList>> {
|
|
@@ -37949,44 +38042,48 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
|
|
|
37949
38042
|
const localVarFp = ApplicationDeploymentRestrictionApiFp(configuration)
|
|
37950
38043
|
return {
|
|
37951
38044
|
/**
|
|
37952
|
-
* Create an application deployment restriction
|
|
38045
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37953
38046
|
* @summary Create an application deployment restriction
|
|
37954
38047
|
* @param {string} applicationId Application ID
|
|
37955
38048
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37956
38049
|
* @param {*} [options] Override http request option.
|
|
38050
|
+
* @deprecated
|
|
37957
38051
|
* @throws {RequiredError}
|
|
37958
38052
|
*/
|
|
37959
38053
|
createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
37960
38054
|
return localVarFp.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37961
38055
|
},
|
|
37962
38056
|
/**
|
|
37963
|
-
* Delete an application deployment restriction
|
|
38057
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37964
38058
|
* @summary Delete an application deployment restriction
|
|
37965
38059
|
* @param {string} applicationId Application ID
|
|
37966
38060
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37967
38061
|
* @param {*} [options] Override http request option.
|
|
38062
|
+
* @deprecated
|
|
37968
38063
|
* @throws {RequiredError}
|
|
37969
38064
|
*/
|
|
37970
38065
|
deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
37971
38066
|
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
37972
38067
|
},
|
|
37973
38068
|
/**
|
|
37974
|
-
* Edit an application deployment restriction
|
|
38069
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37975
38070
|
* @summary Edit an application deployment restriction
|
|
37976
38071
|
* @param {string} applicationId Application ID
|
|
37977
38072
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37978
38073
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37979
38074
|
* @param {*} [options] Override http request option.
|
|
38075
|
+
* @deprecated
|
|
37980
38076
|
* @throws {RequiredError}
|
|
37981
38077
|
*/
|
|
37982
38078
|
editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
37983
38079
|
return localVarFp.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37984
38080
|
},
|
|
37985
38081
|
/**
|
|
37986
|
-
* Get application deployment restrictions
|
|
38082
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37987
38083
|
* @summary Get application deployment restrictions
|
|
37988
38084
|
* @param {string} applicationId Application ID
|
|
37989
38085
|
* @param {*} [options] Override http request option.
|
|
38086
|
+
* @deprecated
|
|
37990
38087
|
* @throws {RequiredError}
|
|
37991
38088
|
*/
|
|
37992
38089
|
getApplicationDeploymentRestrictions(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestrictionResponseList> {
|
|
@@ -38003,11 +38100,12 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
|
|
|
38003
38100
|
*/
|
|
38004
38101
|
export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
38005
38102
|
/**
|
|
38006
|
-
* Create an application deployment restriction
|
|
38103
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38007
38104
|
* @summary Create an application deployment restriction
|
|
38008
38105
|
* @param {string} applicationId Application ID
|
|
38009
38106
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
38010
38107
|
* @param {*} [options] Override http request option.
|
|
38108
|
+
* @deprecated
|
|
38011
38109
|
* @throws {RequiredError}
|
|
38012
38110
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38013
38111
|
*/
|
|
@@ -38016,11 +38114,12 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
38016
38114
|
}
|
|
38017
38115
|
|
|
38018
38116
|
/**
|
|
38019
|
-
* Delete an application deployment restriction
|
|
38117
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38020
38118
|
* @summary Delete an application deployment restriction
|
|
38021
38119
|
* @param {string} applicationId Application ID
|
|
38022
38120
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
38023
38121
|
* @param {*} [options] Override http request option.
|
|
38122
|
+
* @deprecated
|
|
38024
38123
|
* @throws {RequiredError}
|
|
38025
38124
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38026
38125
|
*/
|
|
@@ -38029,12 +38128,13 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
38029
38128
|
}
|
|
38030
38129
|
|
|
38031
38130
|
/**
|
|
38032
|
-
* Edit an application deployment restriction
|
|
38131
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38033
38132
|
* @summary Edit an application deployment restriction
|
|
38034
38133
|
* @param {string} applicationId Application ID
|
|
38035
38134
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
38036
38135
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
38037
38136
|
* @param {*} [options] Override http request option.
|
|
38137
|
+
* @deprecated
|
|
38038
38138
|
* @throws {RequiredError}
|
|
38039
38139
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38040
38140
|
*/
|
|
@@ -38043,10 +38143,11 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
38043
38143
|
}
|
|
38044
38144
|
|
|
38045
38145
|
/**
|
|
38046
|
-
* Get application deployment restrictions
|
|
38146
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38047
38147
|
* @summary Get application deployment restrictions
|
|
38048
38148
|
* @param {string} applicationId Application ID
|
|
38049
38149
|
* @param {*} [options] Override http request option.
|
|
38150
|
+
* @deprecated
|
|
38050
38151
|
* @throws {RequiredError}
|
|
38051
38152
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38052
38153
|
*/
|
|
@@ -53162,7 +53263,7 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
53162
53263
|
};
|
|
53163
53264
|
},
|
|
53164
53265
|
/**
|
|
53165
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `
|
|
53266
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
53166
53267
|
* @summary Edit container
|
|
53167
53268
|
* @param {string} containerId Container ID
|
|
53168
53269
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -53405,7 +53506,7 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
53405
53506
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53406
53507
|
},
|
|
53407
53508
|
/**
|
|
53408
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `
|
|
53509
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
53409
53510
|
* @summary Edit container
|
|
53410
53511
|
* @param {string} containerId Container ID
|
|
53411
53512
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -53494,7 +53595,7 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
|
|
|
53494
53595
|
return localVarFp.deleteContainer(containerId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
53495
53596
|
},
|
|
53496
53597
|
/**
|
|
53497
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `
|
|
53598
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
53498
53599
|
* @summary Edit container
|
|
53499
53600
|
* @param {string} containerId Container ID
|
|
53500
53601
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -53570,7 +53671,7 @@ export class ContainerMainCallsApi extends BaseAPI {
|
|
|
53570
53671
|
}
|
|
53571
53672
|
|
|
53572
53673
|
/**
|
|
53573
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `
|
|
53674
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
53574
53675
|
* @summary Edit container
|
|
53575
53676
|
* @param {string} containerId Container ID
|
|
53576
53677
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -54907,7 +55008,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
54907
55008
|
};
|
|
54908
55009
|
},
|
|
54909
55010
|
/**
|
|
54910
|
-
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `
|
|
55011
|
+
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
|
|
54911
55012
|
* @summary Create a container
|
|
54912
55013
|
* @param {string} environmentId Environment ID
|
|
54913
55014
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -55199,7 +55300,7 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
55199
55300
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
55200
55301
|
},
|
|
55201
55302
|
/**
|
|
55202
|
-
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `
|
|
55303
|
+
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
|
|
55203
55304
|
* @summary Create a container
|
|
55204
55305
|
* @param {string} environmentId Environment ID
|
|
55205
55306
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -55311,7 +55412,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
55311
55412
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
55312
55413
|
},
|
|
55313
55414
|
/**
|
|
55314
|
-
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `
|
|
55415
|
+
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
|
|
55315
55416
|
* @summary Create a container
|
|
55316
55417
|
* @param {string} environmentId Environment ID
|
|
55317
55418
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -55409,7 +55510,7 @@ export class ContainersApi extends BaseAPI {
|
|
|
55409
55510
|
}
|
|
55410
55511
|
|
|
55411
55512
|
/**
|
|
55412
|
-
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `
|
|
55513
|
+
* A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
|
|
55413
55514
|
* @summary Create a container
|
|
55414
55515
|
* @param {string} environmentId Environment ID
|
|
55415
55516
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -65113,11 +65214,12 @@ export class HelmDeploymentHistoryApi extends BaseAPI {
|
|
|
65113
65214
|
export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
65114
65215
|
return {
|
|
65115
65216
|
/**
|
|
65116
|
-
* Create a helm deployment restriction
|
|
65217
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65117
65218
|
* @summary Create a helm deployment restriction
|
|
65118
65219
|
* @param {string} helmId Helm ID
|
|
65119
65220
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65120
65221
|
* @param {*} [options] Override http request option.
|
|
65222
|
+
* @deprecated
|
|
65121
65223
|
* @throws {RequiredError}
|
|
65122
65224
|
*/
|
|
65123
65225
|
createHelmDeploymentRestriction: async (helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65158,11 +65260,12 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
65158
65260
|
};
|
|
65159
65261
|
},
|
|
65160
65262
|
/**
|
|
65161
|
-
* Delete a helm deployment restriction
|
|
65263
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65162
65264
|
* @summary Delete a helm deployment restriction
|
|
65163
65265
|
* @param {string} helmId Helm ID
|
|
65164
65266
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65165
65267
|
* @param {*} [options] Override http request option.
|
|
65268
|
+
* @deprecated
|
|
65166
65269
|
* @throws {RequiredError}
|
|
65167
65270
|
*/
|
|
65168
65271
|
deleteHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65203,12 +65306,13 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
65203
65306
|
};
|
|
65204
65307
|
},
|
|
65205
65308
|
/**
|
|
65206
|
-
* Edit a helm deployment restriction
|
|
65309
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65207
65310
|
* @summary Edit a helm deployment restriction
|
|
65208
65311
|
* @param {string} helmId Helm ID
|
|
65209
65312
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65210
65313
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65211
65314
|
* @param {*} [options] Override http request option.
|
|
65315
|
+
* @deprecated
|
|
65212
65316
|
* @throws {RequiredError}
|
|
65213
65317
|
*/
|
|
65214
65318
|
editHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65252,10 +65356,11 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
65252
65356
|
};
|
|
65253
65357
|
},
|
|
65254
65358
|
/**
|
|
65255
|
-
* Get helm deployment restrictions
|
|
65359
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65256
65360
|
* @summary Get helm deployment restrictions
|
|
65257
65361
|
* @param {string} helmId Helm ID
|
|
65258
65362
|
* @param {*} [options] Override http request option.
|
|
65363
|
+
* @deprecated
|
|
65259
65364
|
* @throws {RequiredError}
|
|
65260
65365
|
*/
|
|
65261
65366
|
getHelmDeploymentRestrictions: async (helmId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65303,11 +65408,12 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65303
65408
|
const localVarAxiosParamCreator = HelmDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
65304
65409
|
return {
|
|
65305
65410
|
/**
|
|
65306
|
-
* Create a helm deployment restriction
|
|
65411
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65307
65412
|
* @summary Create a helm deployment restriction
|
|
65308
65413
|
* @param {string} helmId Helm ID
|
|
65309
65414
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65310
65415
|
* @param {*} [options] Override http request option.
|
|
65416
|
+
* @deprecated
|
|
65311
65417
|
* @throws {RequiredError}
|
|
65312
65418
|
*/
|
|
65313
65419
|
async createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
|
|
@@ -65317,11 +65423,12 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65317
65423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65318
65424
|
},
|
|
65319
65425
|
/**
|
|
65320
|
-
* Delete a helm deployment restriction
|
|
65426
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65321
65427
|
* @summary Delete a helm deployment restriction
|
|
65322
65428
|
* @param {string} helmId Helm ID
|
|
65323
65429
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65324
65430
|
* @param {*} [options] Override http request option.
|
|
65431
|
+
* @deprecated
|
|
65325
65432
|
* @throws {RequiredError}
|
|
65326
65433
|
*/
|
|
65327
65434
|
async deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -65331,12 +65438,13 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65331
65438
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65332
65439
|
},
|
|
65333
65440
|
/**
|
|
65334
|
-
* Edit a helm deployment restriction
|
|
65441
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65335
65442
|
* @summary Edit a helm deployment restriction
|
|
65336
65443
|
* @param {string} helmId Helm ID
|
|
65337
65444
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65338
65445
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65339
65446
|
* @param {*} [options] Override http request option.
|
|
65447
|
+
* @deprecated
|
|
65340
65448
|
* @throws {RequiredError}
|
|
65341
65449
|
*/
|
|
65342
65450
|
async editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
|
|
@@ -65346,10 +65454,11 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65346
65454
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65347
65455
|
},
|
|
65348
65456
|
/**
|
|
65349
|
-
* Get helm deployment restrictions
|
|
65457
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65350
65458
|
* @summary Get helm deployment restrictions
|
|
65351
65459
|
* @param {string} helmId Helm ID
|
|
65352
65460
|
* @param {*} [options] Override http request option.
|
|
65461
|
+
* @deprecated
|
|
65353
65462
|
* @throws {RequiredError}
|
|
65354
65463
|
*/
|
|
65355
65464
|
async getHelmDeploymentRestrictions(helmId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponseList>> {
|
|
@@ -65369,44 +65478,48 @@ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Con
|
|
|
65369
65478
|
const localVarFp = HelmDeploymentRestrictionApiFp(configuration)
|
|
65370
65479
|
return {
|
|
65371
65480
|
/**
|
|
65372
|
-
* Create a helm deployment restriction
|
|
65481
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65373
65482
|
* @summary Create a helm deployment restriction
|
|
65374
65483
|
* @param {string} helmId Helm ID
|
|
65375
65484
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65376
65485
|
* @param {*} [options] Override http request option.
|
|
65486
|
+
* @deprecated
|
|
65377
65487
|
* @throws {RequiredError}
|
|
65378
65488
|
*/
|
|
65379
65489
|
createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponse> {
|
|
65380
65490
|
return localVarFp.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
65381
65491
|
},
|
|
65382
65492
|
/**
|
|
65383
|
-
* Delete a helm deployment restriction
|
|
65493
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65384
65494
|
* @summary Delete a helm deployment restriction
|
|
65385
65495
|
* @param {string} helmId Helm ID
|
|
65386
65496
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65387
65497
|
* @param {*} [options] Override http request option.
|
|
65498
|
+
* @deprecated
|
|
65388
65499
|
* @throws {RequiredError}
|
|
65389
65500
|
*/
|
|
65390
65501
|
deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
65391
65502
|
return localVarFp.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
65392
65503
|
},
|
|
65393
65504
|
/**
|
|
65394
|
-
* Edit a helm deployment restriction
|
|
65505
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65395
65506
|
* @summary Edit a helm deployment restriction
|
|
65396
65507
|
* @param {string} helmId Helm ID
|
|
65397
65508
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65398
65509
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65399
65510
|
* @param {*} [options] Override http request option.
|
|
65511
|
+
* @deprecated
|
|
65400
65512
|
* @throws {RequiredError}
|
|
65401
65513
|
*/
|
|
65402
65514
|
editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponse> {
|
|
65403
65515
|
return localVarFp.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
65404
65516
|
},
|
|
65405
65517
|
/**
|
|
65406
|
-
* Get helm deployment restrictions
|
|
65518
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65407
65519
|
* @summary Get helm deployment restrictions
|
|
65408
65520
|
* @param {string} helmId Helm ID
|
|
65409
65521
|
* @param {*} [options] Override http request option.
|
|
65522
|
+
* @deprecated
|
|
65410
65523
|
* @throws {RequiredError}
|
|
65411
65524
|
*/
|
|
65412
65525
|
getHelmDeploymentRestrictions(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponseList> {
|
|
@@ -65423,11 +65536,12 @@ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Con
|
|
|
65423
65536
|
*/
|
|
65424
65537
|
export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
65425
65538
|
/**
|
|
65426
|
-
* Create a helm deployment restriction
|
|
65539
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65427
65540
|
* @summary Create a helm deployment restriction
|
|
65428
65541
|
* @param {string} helmId Helm ID
|
|
65429
65542
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65430
65543
|
* @param {*} [options] Override http request option.
|
|
65544
|
+
* @deprecated
|
|
65431
65545
|
* @throws {RequiredError}
|
|
65432
65546
|
* @memberof HelmDeploymentRestrictionApi
|
|
65433
65547
|
*/
|
|
@@ -65436,11 +65550,12 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
|
65436
65550
|
}
|
|
65437
65551
|
|
|
65438
65552
|
/**
|
|
65439
|
-
* Delete a helm deployment restriction
|
|
65553
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65440
65554
|
* @summary Delete a helm deployment restriction
|
|
65441
65555
|
* @param {string} helmId Helm ID
|
|
65442
65556
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65443
65557
|
* @param {*} [options] Override http request option.
|
|
65558
|
+
* @deprecated
|
|
65444
65559
|
* @throws {RequiredError}
|
|
65445
65560
|
* @memberof HelmDeploymentRestrictionApi
|
|
65446
65561
|
*/
|
|
@@ -65449,12 +65564,13 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
|
65449
65564
|
}
|
|
65450
65565
|
|
|
65451
65566
|
/**
|
|
65452
|
-
* Edit a helm deployment restriction
|
|
65567
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65453
65568
|
* @summary Edit a helm deployment restriction
|
|
65454
65569
|
* @param {string} helmId Helm ID
|
|
65455
65570
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65456
65571
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65457
65572
|
* @param {*} [options] Override http request option.
|
|
65573
|
+
* @deprecated
|
|
65458
65574
|
* @throws {RequiredError}
|
|
65459
65575
|
* @memberof HelmDeploymentRestrictionApi
|
|
65460
65576
|
*/
|
|
@@ -65463,10 +65579,11 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
|
65463
65579
|
}
|
|
65464
65580
|
|
|
65465
65581
|
/**
|
|
65466
|
-
* Get helm deployment restrictions
|
|
65582
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65467
65583
|
* @summary Get helm deployment restrictions
|
|
65468
65584
|
* @param {string} helmId Helm ID
|
|
65469
65585
|
* @param {*} [options] Override http request option.
|
|
65586
|
+
* @deprecated
|
|
65470
65587
|
* @throws {RequiredError}
|
|
65471
65588
|
* @memberof HelmDeploymentRestrictionApi
|
|
65472
65589
|
*/
|
|
@@ -68348,11 +68465,12 @@ export class JobDeploymentHistoryApi extends BaseAPI {
|
|
|
68348
68465
|
export const JobDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
68349
68466
|
return {
|
|
68350
68467
|
/**
|
|
68351
|
-
* Create a job deployment restriction
|
|
68468
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68352
68469
|
* @summary Create a job deployment restriction
|
|
68353
68470
|
* @param {string} jobId Job ID
|
|
68354
68471
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68355
68472
|
* @param {*} [options] Override http request option.
|
|
68473
|
+
* @deprecated
|
|
68356
68474
|
* @throws {RequiredError}
|
|
68357
68475
|
*/
|
|
68358
68476
|
createJobDeploymentRestriction: async (jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68393,11 +68511,12 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
|
|
|
68393
68511
|
};
|
|
68394
68512
|
},
|
|
68395
68513
|
/**
|
|
68396
|
-
* Delete a job deployment restriction
|
|
68514
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68397
68515
|
* @summary Delete a job deployment restriction
|
|
68398
68516
|
* @param {string} jobId Job ID
|
|
68399
68517
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68400
68518
|
* @param {*} [options] Override http request option.
|
|
68519
|
+
* @deprecated
|
|
68401
68520
|
* @throws {RequiredError}
|
|
68402
68521
|
*/
|
|
68403
68522
|
deleteJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68438,12 +68557,13 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
|
|
|
68438
68557
|
};
|
|
68439
68558
|
},
|
|
68440
68559
|
/**
|
|
68441
|
-
* Edit a job deployment restriction
|
|
68560
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68442
68561
|
* @summary Edit a job deployment restriction
|
|
68443
68562
|
* @param {string} jobId Job ID
|
|
68444
68563
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68445
68564
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68446
68565
|
* @param {*} [options] Override http request option.
|
|
68566
|
+
* @deprecated
|
|
68447
68567
|
* @throws {RequiredError}
|
|
68448
68568
|
*/
|
|
68449
68569
|
editJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68487,10 +68607,11 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
|
|
|
68487
68607
|
};
|
|
68488
68608
|
},
|
|
68489
68609
|
/**
|
|
68490
|
-
* Get job deployment restrictions
|
|
68610
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68491
68611
|
* @summary Get job deployment restrictions
|
|
68492
68612
|
* @param {string} jobId Job ID
|
|
68493
68613
|
* @param {*} [options] Override http request option.
|
|
68614
|
+
* @deprecated
|
|
68494
68615
|
* @throws {RequiredError}
|
|
68495
68616
|
*/
|
|
68496
68617
|
getJobDeploymentRestrictions: async (jobId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68538,11 +68659,12 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68538
68659
|
const localVarAxiosParamCreator = JobDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
68539
68660
|
return {
|
|
68540
68661
|
/**
|
|
68541
|
-
* Create a job deployment restriction
|
|
68662
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68542
68663
|
* @summary Create a job deployment restriction
|
|
68543
68664
|
* @param {string} jobId Job ID
|
|
68544
68665
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68545
68666
|
* @param {*} [options] Override http request option.
|
|
68667
|
+
* @deprecated
|
|
68546
68668
|
* @throws {RequiredError}
|
|
68547
68669
|
*/
|
|
68548
68670
|
async createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
|
|
@@ -68552,11 +68674,12 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68552
68674
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68553
68675
|
},
|
|
68554
68676
|
/**
|
|
68555
|
-
* Delete a job deployment restriction
|
|
68677
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68556
68678
|
* @summary Delete a job deployment restriction
|
|
68557
68679
|
* @param {string} jobId Job ID
|
|
68558
68680
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68559
68681
|
* @param {*} [options] Override http request option.
|
|
68682
|
+
* @deprecated
|
|
68560
68683
|
* @throws {RequiredError}
|
|
68561
68684
|
*/
|
|
68562
68685
|
async deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -68566,12 +68689,13 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68566
68689
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68567
68690
|
},
|
|
68568
68691
|
/**
|
|
68569
|
-
* Edit a job deployment restriction
|
|
68692
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68570
68693
|
* @summary Edit a job deployment restriction
|
|
68571
68694
|
* @param {string} jobId Job ID
|
|
68572
68695
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68573
68696
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68574
68697
|
* @param {*} [options] Override http request option.
|
|
68698
|
+
* @deprecated
|
|
68575
68699
|
* @throws {RequiredError}
|
|
68576
68700
|
*/
|
|
68577
68701
|
async editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
|
|
@@ -68581,10 +68705,11 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68581
68705
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68582
68706
|
},
|
|
68583
68707
|
/**
|
|
68584
|
-
* Get job deployment restrictions
|
|
68708
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68585
68709
|
* @summary Get job deployment restrictions
|
|
68586
68710
|
* @param {string} jobId Job ID
|
|
68587
68711
|
* @param {*} [options] Override http request option.
|
|
68712
|
+
* @deprecated
|
|
68588
68713
|
* @throws {RequiredError}
|
|
68589
68714
|
*/
|
|
68590
68715
|
async getJobDeploymentRestrictions(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponseList>> {
|
|
@@ -68604,44 +68729,48 @@ export const JobDeploymentRestrictionApiFactory = function (configuration?: Conf
|
|
|
68604
68729
|
const localVarFp = JobDeploymentRestrictionApiFp(configuration)
|
|
68605
68730
|
return {
|
|
68606
68731
|
/**
|
|
68607
|
-
* Create a job deployment restriction
|
|
68732
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68608
68733
|
* @summary Create a job deployment restriction
|
|
68609
68734
|
* @param {string} jobId Job ID
|
|
68610
68735
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68611
68736
|
* @param {*} [options] Override http request option.
|
|
68737
|
+
* @deprecated
|
|
68612
68738
|
* @throws {RequiredError}
|
|
68613
68739
|
*/
|
|
68614
68740
|
createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponse> {
|
|
68615
68741
|
return localVarFp.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
68616
68742
|
},
|
|
68617
68743
|
/**
|
|
68618
|
-
* Delete a job deployment restriction
|
|
68744
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68619
68745
|
* @summary Delete a job deployment restriction
|
|
68620
68746
|
* @param {string} jobId Job ID
|
|
68621
68747
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68622
68748
|
* @param {*} [options] Override http request option.
|
|
68749
|
+
* @deprecated
|
|
68623
68750
|
* @throws {RequiredError}
|
|
68624
68751
|
*/
|
|
68625
68752
|
deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
68626
68753
|
return localVarFp.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
68627
68754
|
},
|
|
68628
68755
|
/**
|
|
68629
|
-
* Edit a job deployment restriction
|
|
68756
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68630
68757
|
* @summary Edit a job deployment restriction
|
|
68631
68758
|
* @param {string} jobId Job ID
|
|
68632
68759
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68633
68760
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68634
68761
|
* @param {*} [options] Override http request option.
|
|
68762
|
+
* @deprecated
|
|
68635
68763
|
* @throws {RequiredError}
|
|
68636
68764
|
*/
|
|
68637
68765
|
editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponse> {
|
|
68638
68766
|
return localVarFp.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
68639
68767
|
},
|
|
68640
68768
|
/**
|
|
68641
|
-
* Get job deployment restrictions
|
|
68769
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68642
68770
|
* @summary Get job deployment restrictions
|
|
68643
68771
|
* @param {string} jobId Job ID
|
|
68644
68772
|
* @param {*} [options] Override http request option.
|
|
68773
|
+
* @deprecated
|
|
68645
68774
|
* @throws {RequiredError}
|
|
68646
68775
|
*/
|
|
68647
68776
|
getJobDeploymentRestrictions(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponseList> {
|
|
@@ -68658,11 +68787,12 @@ export const JobDeploymentRestrictionApiFactory = function (configuration?: Conf
|
|
|
68658
68787
|
*/
|
|
68659
68788
|
export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
68660
68789
|
/**
|
|
68661
|
-
* Create a job deployment restriction
|
|
68790
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68662
68791
|
* @summary Create a job deployment restriction
|
|
68663
68792
|
* @param {string} jobId Job ID
|
|
68664
68793
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68665
68794
|
* @param {*} [options] Override http request option.
|
|
68795
|
+
* @deprecated
|
|
68666
68796
|
* @throws {RequiredError}
|
|
68667
68797
|
* @memberof JobDeploymentRestrictionApi
|
|
68668
68798
|
*/
|
|
@@ -68671,11 +68801,12 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
|
68671
68801
|
}
|
|
68672
68802
|
|
|
68673
68803
|
/**
|
|
68674
|
-
* Delete a job deployment restriction
|
|
68804
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68675
68805
|
* @summary Delete a job deployment restriction
|
|
68676
68806
|
* @param {string} jobId Job ID
|
|
68677
68807
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68678
68808
|
* @param {*} [options] Override http request option.
|
|
68809
|
+
* @deprecated
|
|
68679
68810
|
* @throws {RequiredError}
|
|
68680
68811
|
* @memberof JobDeploymentRestrictionApi
|
|
68681
68812
|
*/
|
|
@@ -68684,12 +68815,13 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
|
68684
68815
|
}
|
|
68685
68816
|
|
|
68686
68817
|
/**
|
|
68687
|
-
* Edit a job deployment restriction
|
|
68818
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68688
68819
|
* @summary Edit a job deployment restriction
|
|
68689
68820
|
* @param {string} jobId Job ID
|
|
68690
68821
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68691
68822
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68692
68823
|
* @param {*} [options] Override http request option.
|
|
68824
|
+
* @deprecated
|
|
68693
68825
|
* @throws {RequiredError}
|
|
68694
68826
|
* @memberof JobDeploymentRestrictionApi
|
|
68695
68827
|
*/
|
|
@@ -68698,10 +68830,11 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
|
68698
68830
|
}
|
|
68699
68831
|
|
|
68700
68832
|
/**
|
|
68701
|
-
* Get job deployment restrictions
|
|
68833
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68702
68834
|
* @summary Get job deployment restrictions
|
|
68703
68835
|
* @param {string} jobId Job ID
|
|
68704
68836
|
* @param {*} [options] Override http request option.
|
|
68837
|
+
* @deprecated
|
|
68705
68838
|
* @throws {RequiredError}
|
|
68706
68839
|
* @memberof JobDeploymentRestrictionApi
|
|
68707
68840
|
*/
|
|
@@ -82800,6 +82933,145 @@ export class SecretManagerAccessApi extends BaseAPI {
|
|
|
82800
82933
|
*/
|
|
82801
82934
|
export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
82802
82935
|
return {
|
|
82936
|
+
/**
|
|
82937
|
+
* Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
|
|
82938
|
+
* @summary Create a service deployment restriction
|
|
82939
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
82940
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
82941
|
+
* @param {*} [options] Override http request option.
|
|
82942
|
+
* @throws {RequiredError}
|
|
82943
|
+
*/
|
|
82944
|
+
createServiceDeploymentRestriction: async (serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
82945
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
82946
|
+
assertParamExists('createServiceDeploymentRestriction', 'serviceId', serviceId)
|
|
82947
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction`
|
|
82948
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
82949
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82950
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82951
|
+
let baseOptions;
|
|
82952
|
+
if (configuration) {
|
|
82953
|
+
baseOptions = configuration.baseOptions;
|
|
82954
|
+
}
|
|
82955
|
+
|
|
82956
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
82957
|
+
const localVarHeaderParameter = {} as any;
|
|
82958
|
+
const localVarQueryParameter = {} as any;
|
|
82959
|
+
|
|
82960
|
+
// authentication ApiKeyAuth required
|
|
82961
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
82962
|
+
|
|
82963
|
+
// authentication bearerAuth required
|
|
82964
|
+
// http bearer authentication required
|
|
82965
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
82966
|
+
|
|
82967
|
+
|
|
82968
|
+
|
|
82969
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
82970
|
+
|
|
82971
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
82972
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
82973
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
82974
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serviceDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
82975
|
+
|
|
82976
|
+
return {
|
|
82977
|
+
url: toPathString(localVarUrlObj),
|
|
82978
|
+
options: localVarRequestOptions,
|
|
82979
|
+
};
|
|
82980
|
+
},
|
|
82981
|
+
/**
|
|
82982
|
+
* Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
82983
|
+
* @summary Delete a service deployment restriction
|
|
82984
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
82985
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
82986
|
+
* @param {*} [options] Override http request option.
|
|
82987
|
+
* @throws {RequiredError}
|
|
82988
|
+
*/
|
|
82989
|
+
deleteServiceDeploymentRestriction: async (serviceId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
82990
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
82991
|
+
assertParamExists('deleteServiceDeploymentRestriction', 'serviceId', serviceId)
|
|
82992
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
82993
|
+
assertParamExists('deleteServiceDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
82994
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
82995
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
82996
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
82997
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82998
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82999
|
+
let baseOptions;
|
|
83000
|
+
if (configuration) {
|
|
83001
|
+
baseOptions = configuration.baseOptions;
|
|
83002
|
+
}
|
|
83003
|
+
|
|
83004
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
83005
|
+
const localVarHeaderParameter = {} as any;
|
|
83006
|
+
const localVarQueryParameter = {} as any;
|
|
83007
|
+
|
|
83008
|
+
// authentication ApiKeyAuth required
|
|
83009
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83010
|
+
|
|
83011
|
+
// authentication bearerAuth required
|
|
83012
|
+
// http bearer authentication required
|
|
83013
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83014
|
+
|
|
83015
|
+
|
|
83016
|
+
|
|
83017
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83018
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83019
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83020
|
+
|
|
83021
|
+
return {
|
|
83022
|
+
url: toPathString(localVarUrlObj),
|
|
83023
|
+
options: localVarRequestOptions,
|
|
83024
|
+
};
|
|
83025
|
+
},
|
|
83026
|
+
/**
|
|
83027
|
+
* Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83028
|
+
* @summary Edit a service deployment restriction
|
|
83029
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83030
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83031
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83032
|
+
* @param {*} [options] Override http request option.
|
|
83033
|
+
* @throws {RequiredError}
|
|
83034
|
+
*/
|
|
83035
|
+
editServiceDeploymentRestriction: async (serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83036
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
83037
|
+
assertParamExists('editServiceDeploymentRestriction', 'serviceId', serviceId)
|
|
83038
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
83039
|
+
assertParamExists('editServiceDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
83040
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
83041
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
83042
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
83043
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83044
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83045
|
+
let baseOptions;
|
|
83046
|
+
if (configuration) {
|
|
83047
|
+
baseOptions = configuration.baseOptions;
|
|
83048
|
+
}
|
|
83049
|
+
|
|
83050
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
83051
|
+
const localVarHeaderParameter = {} as any;
|
|
83052
|
+
const localVarQueryParameter = {} as any;
|
|
83053
|
+
|
|
83054
|
+
// authentication ApiKeyAuth required
|
|
83055
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83056
|
+
|
|
83057
|
+
// authentication bearerAuth required
|
|
83058
|
+
// http bearer authentication required
|
|
83059
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83060
|
+
|
|
83061
|
+
|
|
83062
|
+
|
|
83063
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83064
|
+
|
|
83065
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83066
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83067
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83068
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serviceDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
83069
|
+
|
|
83070
|
+
return {
|
|
83071
|
+
url: toPathString(localVarUrlObj),
|
|
83072
|
+
options: localVarRequestOptions,
|
|
83073
|
+
};
|
|
83074
|
+
},
|
|
82803
83075
|
/**
|
|
82804
83076
|
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
82805
83077
|
* @summary Get git webhook status for a service
|
|
@@ -82832,6 +83104,47 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82832
83104
|
|
|
82833
83105
|
|
|
82834
83106
|
|
|
83107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83110
|
+
|
|
83111
|
+
return {
|
|
83112
|
+
url: toPathString(localVarUrlObj),
|
|
83113
|
+
options: localVarRequestOptions,
|
|
83114
|
+
};
|
|
83115
|
+
},
|
|
83116
|
+
/**
|
|
83117
|
+
* Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83118
|
+
* @summary List service deployment restrictions
|
|
83119
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83120
|
+
* @param {*} [options] Override http request option.
|
|
83121
|
+
* @throws {RequiredError}
|
|
83122
|
+
*/
|
|
83123
|
+
listServiceDeploymentRestrictions: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83124
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
83125
|
+
assertParamExists('listServiceDeploymentRestrictions', 'serviceId', serviceId)
|
|
83126
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction`
|
|
83127
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
83128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83130
|
+
let baseOptions;
|
|
83131
|
+
if (configuration) {
|
|
83132
|
+
baseOptions = configuration.baseOptions;
|
|
83133
|
+
}
|
|
83134
|
+
|
|
83135
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
83136
|
+
const localVarHeaderParameter = {} as any;
|
|
83137
|
+
const localVarQueryParameter = {} as any;
|
|
83138
|
+
|
|
83139
|
+
// authentication ApiKeyAuth required
|
|
83140
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83141
|
+
|
|
83142
|
+
// authentication bearerAuth required
|
|
83143
|
+
// http bearer authentication required
|
|
83144
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83145
|
+
|
|
83146
|
+
|
|
83147
|
+
|
|
82835
83148
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
82836
83149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
82837
83150
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -82892,6 +83205,49 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82892
83205
|
export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
82893
83206
|
const localVarAxiosParamCreator = ServiceMainCallsApiAxiosParamCreator(configuration)
|
|
82894
83207
|
return {
|
|
83208
|
+
/**
|
|
83209
|
+
* Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
|
|
83210
|
+
* @summary Create a service deployment restriction
|
|
83211
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83212
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83213
|
+
* @param {*} [options] Override http request option.
|
|
83214
|
+
* @throws {RequiredError}
|
|
83215
|
+
*/
|
|
83216
|
+
async createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponse>> {
|
|
83217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options);
|
|
83218
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83219
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.createServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
83220
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83221
|
+
},
|
|
83222
|
+
/**
|
|
83223
|
+
* Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83224
|
+
* @summary Delete a service deployment restriction
|
|
83225
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83226
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83227
|
+
* @param {*} [options] Override http request option.
|
|
83228
|
+
* @throws {RequiredError}
|
|
83229
|
+
*/
|
|
83230
|
+
async deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
83231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options);
|
|
83232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83233
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.deleteServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
83234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83235
|
+
},
|
|
83236
|
+
/**
|
|
83237
|
+
* Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83238
|
+
* @summary Edit a service deployment restriction
|
|
83239
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83240
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83241
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83242
|
+
* @param {*} [options] Override http request option.
|
|
83243
|
+
* @throws {RequiredError}
|
|
83244
|
+
*/
|
|
83245
|
+
async editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponse>> {
|
|
83246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options);
|
|
83247
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83248
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.editServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
83249
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83250
|
+
},
|
|
82895
83251
|
/**
|
|
82896
83252
|
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
82897
83253
|
* @summary Get git webhook status for a service
|
|
@@ -82905,6 +83261,19 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
82905
83261
|
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.getServiceGitWebhookStatus']?.[localVarOperationServerIndex]?.url;
|
|
82906
83262
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
82907
83263
|
},
|
|
83264
|
+
/**
|
|
83265
|
+
* Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83266
|
+
* @summary List service deployment restrictions
|
|
83267
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83268
|
+
* @param {*} [options] Override http request option.
|
|
83269
|
+
* @throws {RequiredError}
|
|
83270
|
+
*/
|
|
83271
|
+
async listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponseList>> {
|
|
83272
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceDeploymentRestrictions(serviceId, options);
|
|
83273
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83274
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.listServiceDeploymentRestrictions']?.[localVarOperationServerIndex]?.url;
|
|
83275
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83276
|
+
},
|
|
82908
83277
|
/**
|
|
82909
83278
|
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
82910
83279
|
* @summary Synchronize git webhook for a service
|
|
@@ -82928,6 +83297,40 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
82928
83297
|
export const ServiceMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
82929
83298
|
const localVarFp = ServiceMainCallsApiFp(configuration)
|
|
82930
83299
|
return {
|
|
83300
|
+
/**
|
|
83301
|
+
* Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
|
|
83302
|
+
* @summary Create a service deployment restriction
|
|
83303
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83304
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83305
|
+
* @param {*} [options] Override http request option.
|
|
83306
|
+
* @throws {RequiredError}
|
|
83307
|
+
*/
|
|
83308
|
+
createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponse> {
|
|
83309
|
+
return localVarFp.createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
83310
|
+
},
|
|
83311
|
+
/**
|
|
83312
|
+
* Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83313
|
+
* @summary Delete a service deployment restriction
|
|
83314
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83315
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83316
|
+
* @param {*} [options] Override http request option.
|
|
83317
|
+
* @throws {RequiredError}
|
|
83318
|
+
*/
|
|
83319
|
+
deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
83320
|
+
return localVarFp.deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
83321
|
+
},
|
|
83322
|
+
/**
|
|
83323
|
+
* Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83324
|
+
* @summary Edit a service deployment restriction
|
|
83325
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83326
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83327
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83328
|
+
* @param {*} [options] Override http request option.
|
|
83329
|
+
* @throws {RequiredError}
|
|
83330
|
+
*/
|
|
83331
|
+
editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponse> {
|
|
83332
|
+
return localVarFp.editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
83333
|
+
},
|
|
82931
83334
|
/**
|
|
82932
83335
|
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
82933
83336
|
* @summary Get git webhook status for a service
|
|
@@ -82938,6 +83341,16 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
|
|
|
82938
83341
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse> {
|
|
82939
83342
|
return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
|
|
82940
83343
|
},
|
|
83344
|
+
/**
|
|
83345
|
+
* Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83346
|
+
* @summary List service deployment restrictions
|
|
83347
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83348
|
+
* @param {*} [options] Override http request option.
|
|
83349
|
+
* @throws {RequiredError}
|
|
83350
|
+
*/
|
|
83351
|
+
listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponseList> {
|
|
83352
|
+
return localVarFp.listServiceDeploymentRestrictions(serviceId, options).then((request) => request(axios, basePath));
|
|
83353
|
+
},
|
|
82941
83354
|
/**
|
|
82942
83355
|
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
82943
83356
|
* @summary Synchronize git webhook for a service
|
|
@@ -82958,6 +83371,46 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
|
|
|
82958
83371
|
* @extends {BaseAPI}
|
|
82959
83372
|
*/
|
|
82960
83373
|
export class ServiceMainCallsApi extends BaseAPI {
|
|
83374
|
+
/**
|
|
83375
|
+
* Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
|
|
83376
|
+
* @summary Create a service deployment restriction
|
|
83377
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83378
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83379
|
+
* @param {*} [options] Override http request option.
|
|
83380
|
+
* @throws {RequiredError}
|
|
83381
|
+
* @memberof ServiceMainCallsApi
|
|
83382
|
+
*/
|
|
83383
|
+
public createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
83384
|
+
return ServiceMainCallsApiFp(this.configuration).createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
83385
|
+
}
|
|
83386
|
+
|
|
83387
|
+
/**
|
|
83388
|
+
* Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83389
|
+
* @summary Delete a service deployment restriction
|
|
83390
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83391
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83392
|
+
* @param {*} [options] Override http request option.
|
|
83393
|
+
* @throws {RequiredError}
|
|
83394
|
+
* @memberof ServiceMainCallsApi
|
|
83395
|
+
*/
|
|
83396
|
+
public deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) {
|
|
83397
|
+
return ServiceMainCallsApiFp(this.configuration).deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
83398
|
+
}
|
|
83399
|
+
|
|
83400
|
+
/**
|
|
83401
|
+
* Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83402
|
+
* @summary Edit a service deployment restriction
|
|
83403
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83404
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83405
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83406
|
+
* @param {*} [options] Override http request option.
|
|
83407
|
+
* @throws {RequiredError}
|
|
83408
|
+
* @memberof ServiceMainCallsApi
|
|
83409
|
+
*/
|
|
83410
|
+
public editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
83411
|
+
return ServiceMainCallsApiFp(this.configuration).editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
83412
|
+
}
|
|
83413
|
+
|
|
82961
83414
|
/**
|
|
82962
83415
|
* Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
|
|
82963
83416
|
* @summary Get git webhook status for a service
|
|
@@ -82970,6 +83423,18 @@ export class ServiceMainCallsApi extends BaseAPI {
|
|
|
82970
83423
|
return ServiceMainCallsApiFp(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
82971
83424
|
}
|
|
82972
83425
|
|
|
83426
|
+
/**
|
|
83427
|
+
* Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
|
|
83428
|
+
* @summary List service deployment restrictions
|
|
83429
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83430
|
+
* @param {*} [options] Override http request option.
|
|
83431
|
+
* @throws {RequiredError}
|
|
83432
|
+
* @memberof ServiceMainCallsApi
|
|
83433
|
+
*/
|
|
83434
|
+
public listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
83435
|
+
return ServiceMainCallsApiFp(this.configuration).listServiceDeploymentRestrictions(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
83436
|
+
}
|
|
83437
|
+
|
|
82973
83438
|
/**
|
|
82974
83439
|
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
82975
83440
|
* @summary Synchronize git webhook for a service
|
|
@@ -84581,11 +85046,12 @@ export class TerraformDeploymentHistoryApi extends BaseAPI {
|
|
|
84581
85046
|
export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
84582
85047
|
return {
|
|
84583
85048
|
/**
|
|
84584
|
-
* Create a terraform deployment restriction
|
|
85049
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84585
85050
|
* @summary Create a terraform deployment restriction
|
|
84586
85051
|
* @param {string} terraformId
|
|
84587
85052
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84588
85053
|
* @param {*} [options] Override http request option.
|
|
85054
|
+
* @deprecated
|
|
84589
85055
|
* @throws {RequiredError}
|
|
84590
85056
|
*/
|
|
84591
85057
|
createTerraformDeploymentRestriction: async (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84626,11 +85092,12 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
84626
85092
|
};
|
|
84627
85093
|
},
|
|
84628
85094
|
/**
|
|
84629
|
-
* Delete a terraform deployment restriction
|
|
85095
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84630
85096
|
* @summary Delete a terraform deployment restriction
|
|
84631
85097
|
* @param {string} terraformId
|
|
84632
85098
|
* @param {string} deploymentRestrictionId
|
|
84633
85099
|
* @param {*} [options] Override http request option.
|
|
85100
|
+
* @deprecated
|
|
84634
85101
|
* @throws {RequiredError}
|
|
84635
85102
|
*/
|
|
84636
85103
|
deleteTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84671,12 +85138,13 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
84671
85138
|
};
|
|
84672
85139
|
},
|
|
84673
85140
|
/**
|
|
84674
|
-
* Edit a terraform deployment restriction
|
|
85141
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84675
85142
|
* @summary Edit a terraform deployment restriction
|
|
84676
85143
|
* @param {string} terraformId
|
|
84677
85144
|
* @param {string} deploymentRestrictionId
|
|
84678
85145
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84679
85146
|
* @param {*} [options] Override http request option.
|
|
85147
|
+
* @deprecated
|
|
84680
85148
|
* @throws {RequiredError}
|
|
84681
85149
|
*/
|
|
84682
85150
|
editTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84720,10 +85188,11 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
84720
85188
|
};
|
|
84721
85189
|
},
|
|
84722
85190
|
/**
|
|
84723
|
-
* Get terraform deployment restrictions
|
|
85191
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84724
85192
|
* @summary Get terraform deployment restrictions
|
|
84725
85193
|
* @param {string} terraformId
|
|
84726
85194
|
* @param {*} [options] Override http request option.
|
|
85195
|
+
* @deprecated
|
|
84727
85196
|
* @throws {RequiredError}
|
|
84728
85197
|
*/
|
|
84729
85198
|
getTerraformDeploymentRestrictions: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84771,11 +85240,12 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84771
85240
|
const localVarAxiosParamCreator = TerraformDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
84772
85241
|
return {
|
|
84773
85242
|
/**
|
|
84774
|
-
* Create a terraform deployment restriction
|
|
85243
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84775
85244
|
* @summary Create a terraform deployment restriction
|
|
84776
85245
|
* @param {string} terraformId
|
|
84777
85246
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84778
85247
|
* @param {*} [options] Override http request option.
|
|
85248
|
+
* @deprecated
|
|
84779
85249
|
* @throws {RequiredError}
|
|
84780
85250
|
*/
|
|
84781
85251
|
async createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
@@ -84785,11 +85255,12 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84785
85255
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84786
85256
|
},
|
|
84787
85257
|
/**
|
|
84788
|
-
* Delete a terraform deployment restriction
|
|
85258
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84789
85259
|
* @summary Delete a terraform deployment restriction
|
|
84790
85260
|
* @param {string} terraformId
|
|
84791
85261
|
* @param {string} deploymentRestrictionId
|
|
84792
85262
|
* @param {*} [options] Override http request option.
|
|
85263
|
+
* @deprecated
|
|
84793
85264
|
* @throws {RequiredError}
|
|
84794
85265
|
*/
|
|
84795
85266
|
async deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -84799,12 +85270,13 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84799
85270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84800
85271
|
},
|
|
84801
85272
|
/**
|
|
84802
|
-
* Edit a terraform deployment restriction
|
|
85273
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84803
85274
|
* @summary Edit a terraform deployment restriction
|
|
84804
85275
|
* @param {string} terraformId
|
|
84805
85276
|
* @param {string} deploymentRestrictionId
|
|
84806
85277
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84807
85278
|
* @param {*} [options] Override http request option.
|
|
85279
|
+
* @deprecated
|
|
84808
85280
|
* @throws {RequiredError}
|
|
84809
85281
|
*/
|
|
84810
85282
|
async editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
@@ -84814,10 +85286,11 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84814
85286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84815
85287
|
},
|
|
84816
85288
|
/**
|
|
84817
|
-
* Get terraform deployment restrictions
|
|
85289
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84818
85290
|
* @summary Get terraform deployment restrictions
|
|
84819
85291
|
* @param {string} terraformId
|
|
84820
85292
|
* @param {*} [options] Override http request option.
|
|
85293
|
+
* @deprecated
|
|
84821
85294
|
* @throws {RequiredError}
|
|
84822
85295
|
*/
|
|
84823
85296
|
async getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponseList>> {
|
|
@@ -84837,44 +85310,48 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
|
|
|
84837
85310
|
const localVarFp = TerraformDeploymentRestrictionApiFp(configuration)
|
|
84838
85311
|
return {
|
|
84839
85312
|
/**
|
|
84840
|
-
* Create a terraform deployment restriction
|
|
85313
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84841
85314
|
* @summary Create a terraform deployment restriction
|
|
84842
85315
|
* @param {string} terraformId
|
|
84843
85316
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84844
85317
|
* @param {*} [options] Override http request option.
|
|
85318
|
+
* @deprecated
|
|
84845
85319
|
* @throws {RequiredError}
|
|
84846
85320
|
*/
|
|
84847
85321
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
84848
85322
|
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
84849
85323
|
},
|
|
84850
85324
|
/**
|
|
84851
|
-
* Delete a terraform deployment restriction
|
|
85325
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84852
85326
|
* @summary Delete a terraform deployment restriction
|
|
84853
85327
|
* @param {string} terraformId
|
|
84854
85328
|
* @param {string} deploymentRestrictionId
|
|
84855
85329
|
* @param {*} [options] Override http request option.
|
|
85330
|
+
* @deprecated
|
|
84856
85331
|
* @throws {RequiredError}
|
|
84857
85332
|
*/
|
|
84858
85333
|
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
84859
85334
|
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
84860
85335
|
},
|
|
84861
85336
|
/**
|
|
84862
|
-
* Edit a terraform deployment restriction
|
|
85337
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84863
85338
|
* @summary Edit a terraform deployment restriction
|
|
84864
85339
|
* @param {string} terraformId
|
|
84865
85340
|
* @param {string} deploymentRestrictionId
|
|
84866
85341
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84867
85342
|
* @param {*} [options] Override http request option.
|
|
85343
|
+
* @deprecated
|
|
84868
85344
|
* @throws {RequiredError}
|
|
84869
85345
|
*/
|
|
84870
85346
|
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
84871
85347
|
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
84872
85348
|
},
|
|
84873
85349
|
/**
|
|
84874
|
-
* Get terraform deployment restrictions
|
|
85350
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84875
85351
|
* @summary Get terraform deployment restrictions
|
|
84876
85352
|
* @param {string} terraformId
|
|
84877
85353
|
* @param {*} [options] Override http request option.
|
|
85354
|
+
* @deprecated
|
|
84878
85355
|
* @throws {RequiredError}
|
|
84879
85356
|
*/
|
|
84880
85357
|
getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponseList> {
|
|
@@ -84891,11 +85368,12 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
|
|
|
84891
85368
|
*/
|
|
84892
85369
|
export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
84893
85370
|
/**
|
|
84894
|
-
* Create a terraform deployment restriction
|
|
85371
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84895
85372
|
* @summary Create a terraform deployment restriction
|
|
84896
85373
|
* @param {string} terraformId
|
|
84897
85374
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84898
85375
|
* @param {*} [options] Override http request option.
|
|
85376
|
+
* @deprecated
|
|
84899
85377
|
* @throws {RequiredError}
|
|
84900
85378
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84901
85379
|
*/
|
|
@@ -84904,11 +85382,12 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
84904
85382
|
}
|
|
84905
85383
|
|
|
84906
85384
|
/**
|
|
84907
|
-
* Delete a terraform deployment restriction
|
|
85385
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84908
85386
|
* @summary Delete a terraform deployment restriction
|
|
84909
85387
|
* @param {string} terraformId
|
|
84910
85388
|
* @param {string} deploymentRestrictionId
|
|
84911
85389
|
* @param {*} [options] Override http request option.
|
|
85390
|
+
* @deprecated
|
|
84912
85391
|
* @throws {RequiredError}
|
|
84913
85392
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84914
85393
|
*/
|
|
@@ -84917,12 +85396,13 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
84917
85396
|
}
|
|
84918
85397
|
|
|
84919
85398
|
/**
|
|
84920
|
-
* Edit a terraform deployment restriction
|
|
85399
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84921
85400
|
* @summary Edit a terraform deployment restriction
|
|
84922
85401
|
* @param {string} terraformId
|
|
84923
85402
|
* @param {string} deploymentRestrictionId
|
|
84924
85403
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84925
85404
|
* @param {*} [options] Override http request option.
|
|
85405
|
+
* @deprecated
|
|
84926
85406
|
* @throws {RequiredError}
|
|
84927
85407
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84928
85408
|
*/
|
|
@@ -84931,10 +85411,11 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
84931
85411
|
}
|
|
84932
85412
|
|
|
84933
85413
|
/**
|
|
84934
|
-
* Get terraform deployment restrictions
|
|
85414
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84935
85415
|
* @summary Get terraform deployment restrictions
|
|
84936
85416
|
* @param {string} terraformId
|
|
84937
85417
|
* @param {*} [options] Override http request option.
|
|
85418
|
+
* @deprecated
|
|
84938
85419
|
* @throws {RequiredError}
|
|
84939
85420
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84940
85421
|
*/
|