qovery-typescript-axios 1.1.1052 → 1.1.1054
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 +743 -75
- package/dist/api.d.ts +490 -75
- package/dist/api.js +552 -72
- package/dist/esm/api.d.ts +490 -75
- package/dist/esm/api.js +552 -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;
|
|
@@ -24140,6 +24140,44 @@ export interface OrganizationCurrentCost {
|
|
|
24140
24140
|
}
|
|
24141
24141
|
|
|
24142
24142
|
|
|
24143
|
+
/**
|
|
24144
|
+
*
|
|
24145
|
+
* @export
|
|
24146
|
+
* @interface OrganizationCustomDomainCheckListResponse
|
|
24147
|
+
*/
|
|
24148
|
+
export interface OrganizationCustomDomainCheckListResponse {
|
|
24149
|
+
/**
|
|
24150
|
+
* One result per domain name of one environment of the page, in the order of `listOrganizationCustomDomain`.
|
|
24151
|
+
* @type {Array<OrganizationCustomDomainCheckResponse>}
|
|
24152
|
+
* @memberof OrganizationCustomDomainCheckListResponse
|
|
24153
|
+
*/
|
|
24154
|
+
'results': Array<OrganizationCustomDomainCheckResponse>;
|
|
24155
|
+
}
|
|
24156
|
+
/**
|
|
24157
|
+
* The DNS checks of one domain name of one environment. `environment_id` and `domain` identify it, as in `OrganizationCustomDomainResponse`.
|
|
24158
|
+
* @export
|
|
24159
|
+
* @interface OrganizationCustomDomainCheckResponse
|
|
24160
|
+
*/
|
|
24161
|
+
export interface OrganizationCustomDomainCheckResponse {
|
|
24162
|
+
/**
|
|
24163
|
+
* Id of the environment of the domain.
|
|
24164
|
+
* @type {string}
|
|
24165
|
+
* @memberof OrganizationCustomDomainCheckResponse
|
|
24166
|
+
*/
|
|
24167
|
+
'environment_id': string;
|
|
24168
|
+
/**
|
|
24169
|
+
* The domain name as `listOrganizationCustomDomain` returns it. A wildcard domain keeps its `*.` prefix.
|
|
24170
|
+
* @type {string}
|
|
24171
|
+
* @memberof OrganizationCustomDomainCheckResponse
|
|
24172
|
+
*/
|
|
24173
|
+
'domain': string;
|
|
24174
|
+
/**
|
|
24175
|
+
* One check per service the domain routes to. Empty when no service of the domain can be checked.
|
|
24176
|
+
* @type {Array<OrganizationCustomDomainServiceCheck>}
|
|
24177
|
+
* @memberof OrganizationCustomDomainCheckResponse
|
|
24178
|
+
*/
|
|
24179
|
+
'checks': Array<OrganizationCustomDomainServiceCheck>;
|
|
24180
|
+
}
|
|
24143
24181
|
/**
|
|
24144
24182
|
*
|
|
24145
24183
|
* @export
|
|
@@ -24245,6 +24283,39 @@ export interface OrganizationCustomDomainResponseList {
|
|
|
24245
24283
|
*/
|
|
24246
24284
|
'results': Array<OrganizationCustomDomainResponse>;
|
|
24247
24285
|
}
|
|
24286
|
+
/**
|
|
24287
|
+
* The DNS check of a domain for one service it routes to.
|
|
24288
|
+
* @export
|
|
24289
|
+
* @interface OrganizationCustomDomainServiceCheck
|
|
24290
|
+
*/
|
|
24291
|
+
export interface OrganizationCustomDomainServiceCheck {
|
|
24292
|
+
/**
|
|
24293
|
+
* Id of the service.
|
|
24294
|
+
* @type {string}
|
|
24295
|
+
* @memberof OrganizationCustomDomainServiceCheck
|
|
24296
|
+
*/
|
|
24297
|
+
'service_id': string;
|
|
24298
|
+
/**
|
|
24299
|
+
* Type of the service. Only `APPLICATION`, `CONTAINER` and `HELM` services have custom domains.
|
|
24300
|
+
* @type {ServiceTypeEnum}
|
|
24301
|
+
* @memberof OrganizationCustomDomainServiceCheck
|
|
24302
|
+
*/
|
|
24303
|
+
'service_type': ServiceTypeEnum;
|
|
24304
|
+
/**
|
|
24305
|
+
* The result of the check. `null` when the check could not run (cluster unreachable, timeout, service never deployed); `error_details` then gives the reason.
|
|
24306
|
+
* @type {CheckedCustomDomainStatus}
|
|
24307
|
+
* @memberof OrganizationCustomDomainServiceCheck
|
|
24308
|
+
*/
|
|
24309
|
+
'status': CheckedCustomDomainStatus | null;
|
|
24310
|
+
/**
|
|
24311
|
+
* Why the check failed or could not run. `null` when the check succeeded.
|
|
24312
|
+
* @type {string}
|
|
24313
|
+
* @memberof OrganizationCustomDomainServiceCheck
|
|
24314
|
+
*/
|
|
24315
|
+
'error_details': string | null;
|
|
24316
|
+
}
|
|
24317
|
+
|
|
24318
|
+
|
|
24248
24319
|
/**
|
|
24249
24320
|
*
|
|
24250
24321
|
* @export
|
|
@@ -28773,6 +28844,91 @@ export interface ServiceAnnotationRequest {
|
|
|
28773
28844
|
*/
|
|
28774
28845
|
'id': string;
|
|
28775
28846
|
}
|
|
28847
|
+
/**
|
|
28848
|
+
*
|
|
28849
|
+
* @export
|
|
28850
|
+
* @interface ServiceDeploymentRestrictionRequest
|
|
28851
|
+
*/
|
|
28852
|
+
export interface ServiceDeploymentRestrictionRequest {
|
|
28853
|
+
/**
|
|
28854
|
+
*
|
|
28855
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
28856
|
+
* @memberof ServiceDeploymentRestrictionRequest
|
|
28857
|
+
*/
|
|
28858
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
28859
|
+
/**
|
|
28860
|
+
*
|
|
28861
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
28862
|
+
* @memberof ServiceDeploymentRestrictionRequest
|
|
28863
|
+
*/
|
|
28864
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
28865
|
+
/**
|
|
28866
|
+
* For `PATH` restrictions, the value must not start with `/`
|
|
28867
|
+
* @type {string}
|
|
28868
|
+
* @memberof ServiceDeploymentRestrictionRequest
|
|
28869
|
+
*/
|
|
28870
|
+
'value': string;
|
|
28871
|
+
}
|
|
28872
|
+
|
|
28873
|
+
|
|
28874
|
+
/**
|
|
28875
|
+
*
|
|
28876
|
+
* @export
|
|
28877
|
+
* @interface ServiceDeploymentRestrictionResponse
|
|
28878
|
+
*/
|
|
28879
|
+
export interface ServiceDeploymentRestrictionResponse {
|
|
28880
|
+
/**
|
|
28881
|
+
*
|
|
28882
|
+
* @type {string}
|
|
28883
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28884
|
+
*/
|
|
28885
|
+
'id': string;
|
|
28886
|
+
/**
|
|
28887
|
+
*
|
|
28888
|
+
* @type {string}
|
|
28889
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28890
|
+
*/
|
|
28891
|
+
'created_at': string;
|
|
28892
|
+
/**
|
|
28893
|
+
*
|
|
28894
|
+
* @type {string}
|
|
28895
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28896
|
+
*/
|
|
28897
|
+
'updated_at'?: string;
|
|
28898
|
+
/**
|
|
28899
|
+
*
|
|
28900
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
28901
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28902
|
+
*/
|
|
28903
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
28904
|
+
/**
|
|
28905
|
+
*
|
|
28906
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
28907
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28908
|
+
*/
|
|
28909
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
28910
|
+
/**
|
|
28911
|
+
* For `PATH` restrictions, the value must not start with `/`
|
|
28912
|
+
* @type {string}
|
|
28913
|
+
* @memberof ServiceDeploymentRestrictionResponse
|
|
28914
|
+
*/
|
|
28915
|
+
'value': string;
|
|
28916
|
+
}
|
|
28917
|
+
|
|
28918
|
+
|
|
28919
|
+
/**
|
|
28920
|
+
*
|
|
28921
|
+
* @export
|
|
28922
|
+
* @interface ServiceDeploymentRestrictionResponseList
|
|
28923
|
+
*/
|
|
28924
|
+
export interface ServiceDeploymentRestrictionResponseList {
|
|
28925
|
+
/**
|
|
28926
|
+
*
|
|
28927
|
+
* @type {Array<ServiceDeploymentRestrictionResponse>}
|
|
28928
|
+
* @memberof ServiceDeploymentRestrictionResponseList
|
|
28929
|
+
*/
|
|
28930
|
+
'results'?: Array<ServiceDeploymentRestrictionResponse>;
|
|
28931
|
+
}
|
|
28776
28932
|
/**
|
|
28777
28933
|
*
|
|
28778
28934
|
* @export
|
|
@@ -37693,11 +37849,12 @@ export class ApplicationDeploymentHistoryApi extends BaseAPI {
|
|
|
37693
37849
|
export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37694
37850
|
return {
|
|
37695
37851
|
/**
|
|
37696
|
-
* Create an application deployment restriction
|
|
37852
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37697
37853
|
* @summary Create an application deployment restriction
|
|
37698
37854
|
* @param {string} applicationId Application ID
|
|
37699
37855
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37700
37856
|
* @param {*} [options] Override http request option.
|
|
37857
|
+
* @deprecated
|
|
37701
37858
|
* @throws {RequiredError}
|
|
37702
37859
|
*/
|
|
37703
37860
|
createApplicationDeploymentRestriction: async (applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37738,11 +37895,12 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
37738
37895
|
};
|
|
37739
37896
|
},
|
|
37740
37897
|
/**
|
|
37741
|
-
* Delete an application deployment restriction
|
|
37898
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37742
37899
|
* @summary Delete an application deployment restriction
|
|
37743
37900
|
* @param {string} applicationId Application ID
|
|
37744
37901
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37745
37902
|
* @param {*} [options] Override http request option.
|
|
37903
|
+
* @deprecated
|
|
37746
37904
|
* @throws {RequiredError}
|
|
37747
37905
|
*/
|
|
37748
37906
|
deleteApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37783,12 +37941,13 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
37783
37941
|
};
|
|
37784
37942
|
},
|
|
37785
37943
|
/**
|
|
37786
|
-
* Edit an application deployment restriction
|
|
37944
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37787
37945
|
* @summary Edit an application deployment restriction
|
|
37788
37946
|
* @param {string} applicationId Application ID
|
|
37789
37947
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37790
37948
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37791
37949
|
* @param {*} [options] Override http request option.
|
|
37950
|
+
* @deprecated
|
|
37792
37951
|
* @throws {RequiredError}
|
|
37793
37952
|
*/
|
|
37794
37953
|
editApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37832,10 +37991,11 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
37832
37991
|
};
|
|
37833
37992
|
},
|
|
37834
37993
|
/**
|
|
37835
|
-
* Get application deployment restrictions
|
|
37994
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37836
37995
|
* @summary Get application deployment restrictions
|
|
37837
37996
|
* @param {string} applicationId Application ID
|
|
37838
37997
|
* @param {*} [options] Override http request option.
|
|
37998
|
+
* @deprecated
|
|
37839
37999
|
* @throws {RequiredError}
|
|
37840
38000
|
*/
|
|
37841
38001
|
getApplicationDeploymentRestrictions: async (applicationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -37883,11 +38043,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37883
38043
|
const localVarAxiosParamCreator = ApplicationDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
37884
38044
|
return {
|
|
37885
38045
|
/**
|
|
37886
|
-
* Create an application deployment restriction
|
|
38046
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37887
38047
|
* @summary Create an application deployment restriction
|
|
37888
38048
|
* @param {string} applicationId Application ID
|
|
37889
38049
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37890
38050
|
* @param {*} [options] Override http request option.
|
|
38051
|
+
* @deprecated
|
|
37891
38052
|
* @throws {RequiredError}
|
|
37892
38053
|
*/
|
|
37893
38054
|
async createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
@@ -37897,11 +38058,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37897
38058
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37898
38059
|
},
|
|
37899
38060
|
/**
|
|
37900
|
-
* Delete an application deployment restriction
|
|
38061
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37901
38062
|
* @summary Delete an application deployment restriction
|
|
37902
38063
|
* @param {string} applicationId Application ID
|
|
37903
38064
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37904
38065
|
* @param {*} [options] Override http request option.
|
|
38066
|
+
* @deprecated
|
|
37905
38067
|
* @throws {RequiredError}
|
|
37906
38068
|
*/
|
|
37907
38069
|
async deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -37911,12 +38073,13 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37911
38073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37912
38074
|
},
|
|
37913
38075
|
/**
|
|
37914
|
-
* Edit an application deployment restriction
|
|
38076
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37915
38077
|
* @summary Edit an application deployment restriction
|
|
37916
38078
|
* @param {string} applicationId Application ID
|
|
37917
38079
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37918
38080
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37919
38081
|
* @param {*} [options] Override http request option.
|
|
38082
|
+
* @deprecated
|
|
37920
38083
|
* @throws {RequiredError}
|
|
37921
38084
|
*/
|
|
37922
38085
|
async editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
@@ -37926,10 +38089,11 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
37926
38089
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37927
38090
|
},
|
|
37928
38091
|
/**
|
|
37929
|
-
* Get application deployment restrictions
|
|
38092
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37930
38093
|
* @summary Get application deployment restrictions
|
|
37931
38094
|
* @param {string} applicationId Application ID
|
|
37932
38095
|
* @param {*} [options] Override http request option.
|
|
38096
|
+
* @deprecated
|
|
37933
38097
|
* @throws {RequiredError}
|
|
37934
38098
|
*/
|
|
37935
38099
|
async getApplicationDeploymentRestrictions(applicationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestrictionResponseList>> {
|
|
@@ -37949,44 +38113,48 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
|
|
|
37949
38113
|
const localVarFp = ApplicationDeploymentRestrictionApiFp(configuration)
|
|
37950
38114
|
return {
|
|
37951
38115
|
/**
|
|
37952
|
-
* Create an application deployment restriction
|
|
38116
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37953
38117
|
* @summary Create an application deployment restriction
|
|
37954
38118
|
* @param {string} applicationId Application ID
|
|
37955
38119
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37956
38120
|
* @param {*} [options] Override http request option.
|
|
38121
|
+
* @deprecated
|
|
37957
38122
|
* @throws {RequiredError}
|
|
37958
38123
|
*/
|
|
37959
38124
|
createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
37960
38125
|
return localVarFp.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37961
38126
|
},
|
|
37962
38127
|
/**
|
|
37963
|
-
* Delete an application deployment restriction
|
|
38128
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37964
38129
|
* @summary Delete an application deployment restriction
|
|
37965
38130
|
* @param {string} applicationId Application ID
|
|
37966
38131
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37967
38132
|
* @param {*} [options] Override http request option.
|
|
38133
|
+
* @deprecated
|
|
37968
38134
|
* @throws {RequiredError}
|
|
37969
38135
|
*/
|
|
37970
38136
|
deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
37971
38137
|
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
37972
38138
|
},
|
|
37973
38139
|
/**
|
|
37974
|
-
* Edit an application deployment restriction
|
|
38140
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37975
38141
|
* @summary Edit an application deployment restriction
|
|
37976
38142
|
* @param {string} applicationId Application ID
|
|
37977
38143
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37978
38144
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
37979
38145
|
* @param {*} [options] Override http request option.
|
|
38146
|
+
* @deprecated
|
|
37980
38147
|
* @throws {RequiredError}
|
|
37981
38148
|
*/
|
|
37982
38149
|
editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
37983
38150
|
return localVarFp.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37984
38151
|
},
|
|
37985
38152
|
/**
|
|
37986
|
-
* Get application deployment restrictions
|
|
38153
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
37987
38154
|
* @summary Get application deployment restrictions
|
|
37988
38155
|
* @param {string} applicationId Application ID
|
|
37989
38156
|
* @param {*} [options] Override http request option.
|
|
38157
|
+
* @deprecated
|
|
37990
38158
|
* @throws {RequiredError}
|
|
37991
38159
|
*/
|
|
37992
38160
|
getApplicationDeploymentRestrictions(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestrictionResponseList> {
|
|
@@ -38003,11 +38171,12 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
|
|
|
38003
38171
|
*/
|
|
38004
38172
|
export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
38005
38173
|
/**
|
|
38006
|
-
* Create an application deployment restriction
|
|
38174
|
+
* Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38007
38175
|
* @summary Create an application deployment restriction
|
|
38008
38176
|
* @param {string} applicationId Application ID
|
|
38009
38177
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
38010
38178
|
* @param {*} [options] Override http request option.
|
|
38179
|
+
* @deprecated
|
|
38011
38180
|
* @throws {RequiredError}
|
|
38012
38181
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38013
38182
|
*/
|
|
@@ -38016,11 +38185,12 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
38016
38185
|
}
|
|
38017
38186
|
|
|
38018
38187
|
/**
|
|
38019
|
-
* Delete an application deployment restriction
|
|
38188
|
+
* Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38020
38189
|
* @summary Delete an application deployment restriction
|
|
38021
38190
|
* @param {string} applicationId Application ID
|
|
38022
38191
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
38023
38192
|
* @param {*} [options] Override http request option.
|
|
38193
|
+
* @deprecated
|
|
38024
38194
|
* @throws {RequiredError}
|
|
38025
38195
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38026
38196
|
*/
|
|
@@ -38029,12 +38199,13 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
38029
38199
|
}
|
|
38030
38200
|
|
|
38031
38201
|
/**
|
|
38032
|
-
* Edit an application deployment restriction
|
|
38202
|
+
* Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38033
38203
|
* @summary Edit an application deployment restriction
|
|
38034
38204
|
* @param {string} applicationId Application ID
|
|
38035
38205
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
38036
38206
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
38037
38207
|
* @param {*} [options] Override http request option.
|
|
38208
|
+
* @deprecated
|
|
38038
38209
|
* @throws {RequiredError}
|
|
38039
38210
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38040
38211
|
*/
|
|
@@ -38043,10 +38214,11 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
38043
38214
|
}
|
|
38044
38215
|
|
|
38045
38216
|
/**
|
|
38046
|
-
* Get application deployment restrictions
|
|
38217
|
+
* Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
38047
38218
|
* @summary Get application deployment restrictions
|
|
38048
38219
|
* @param {string} applicationId Application ID
|
|
38049
38220
|
* @param {*} [options] Override http request option.
|
|
38221
|
+
* @deprecated
|
|
38050
38222
|
* @throws {RequiredError}
|
|
38051
38223
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
38052
38224
|
*/
|
|
@@ -53162,7 +53334,7 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
53162
53334
|
};
|
|
53163
53335
|
},
|
|
53164
53336
|
/**
|
|
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; - `
|
|
53337
|
+
* - 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
53338
|
* @summary Edit container
|
|
53167
53339
|
* @param {string} containerId Container ID
|
|
53168
53340
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -53405,7 +53577,7 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
53405
53577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53406
53578
|
},
|
|
53407
53579
|
/**
|
|
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; - `
|
|
53580
|
+
* - 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
53581
|
* @summary Edit container
|
|
53410
53582
|
* @param {string} containerId Container ID
|
|
53411
53583
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -53494,7 +53666,7 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
|
|
|
53494
53666
|
return localVarFp.deleteContainer(containerId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
53495
53667
|
},
|
|
53496
53668
|
/**
|
|
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; - `
|
|
53669
|
+
* - 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
53670
|
* @summary Edit container
|
|
53499
53671
|
* @param {string} containerId Container ID
|
|
53500
53672
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -53570,7 +53742,7 @@ export class ContainerMainCallsApi extends BaseAPI {
|
|
|
53570
53742
|
}
|
|
53571
53743
|
|
|
53572
53744
|
/**
|
|
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; - `
|
|
53745
|
+
* - 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
53746
|
* @summary Edit container
|
|
53575
53747
|
* @param {string} containerId Container ID
|
|
53576
53748
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -54907,7 +55079,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
54907
55079
|
};
|
|
54908
55080
|
},
|
|
54909
55081
|
/**
|
|
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; - `
|
|
55082
|
+
* 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
55083
|
* @summary Create a container
|
|
54912
55084
|
* @param {string} environmentId Environment ID
|
|
54913
55085
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -55199,7 +55371,7 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
55199
55371
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
55200
55372
|
},
|
|
55201
55373
|
/**
|
|
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; - `
|
|
55374
|
+
* 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
55375
|
* @summary Create a container
|
|
55204
55376
|
* @param {string} environmentId Environment ID
|
|
55205
55377
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -55311,7 +55483,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
55311
55483
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
55312
55484
|
},
|
|
55313
55485
|
/**
|
|
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; - `
|
|
55486
|
+
* 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
55487
|
* @summary Create a container
|
|
55316
55488
|
* @param {string} environmentId Environment ID
|
|
55317
55489
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -55409,7 +55581,7 @@ export class ContainersApi extends BaseAPI {
|
|
|
55409
55581
|
}
|
|
55410
55582
|
|
|
55411
55583
|
/**
|
|
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; - `
|
|
55584
|
+
* 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
55585
|
* @summary Create a container
|
|
55414
55586
|
* @param {string} environmentId Environment ID
|
|
55415
55587
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -65113,11 +65285,12 @@ export class HelmDeploymentHistoryApi extends BaseAPI {
|
|
|
65113
65285
|
export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
65114
65286
|
return {
|
|
65115
65287
|
/**
|
|
65116
|
-
* Create a helm deployment restriction
|
|
65288
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65117
65289
|
* @summary Create a helm deployment restriction
|
|
65118
65290
|
* @param {string} helmId Helm ID
|
|
65119
65291
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65120
65292
|
* @param {*} [options] Override http request option.
|
|
65293
|
+
* @deprecated
|
|
65121
65294
|
* @throws {RequiredError}
|
|
65122
65295
|
*/
|
|
65123
65296
|
createHelmDeploymentRestriction: async (helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65158,11 +65331,12 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
65158
65331
|
};
|
|
65159
65332
|
},
|
|
65160
65333
|
/**
|
|
65161
|
-
* Delete a helm deployment restriction
|
|
65334
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65162
65335
|
* @summary Delete a helm deployment restriction
|
|
65163
65336
|
* @param {string} helmId Helm ID
|
|
65164
65337
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65165
65338
|
* @param {*} [options] Override http request option.
|
|
65339
|
+
* @deprecated
|
|
65166
65340
|
* @throws {RequiredError}
|
|
65167
65341
|
*/
|
|
65168
65342
|
deleteHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65203,12 +65377,13 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
65203
65377
|
};
|
|
65204
65378
|
},
|
|
65205
65379
|
/**
|
|
65206
|
-
* Edit a helm deployment restriction
|
|
65380
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65207
65381
|
* @summary Edit a helm deployment restriction
|
|
65208
65382
|
* @param {string} helmId Helm ID
|
|
65209
65383
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65210
65384
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65211
65385
|
* @param {*} [options] Override http request option.
|
|
65386
|
+
* @deprecated
|
|
65212
65387
|
* @throws {RequiredError}
|
|
65213
65388
|
*/
|
|
65214
65389
|
editHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65252,10 +65427,11 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
65252
65427
|
};
|
|
65253
65428
|
},
|
|
65254
65429
|
/**
|
|
65255
|
-
* Get helm deployment restrictions
|
|
65430
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65256
65431
|
* @summary Get helm deployment restrictions
|
|
65257
65432
|
* @param {string} helmId Helm ID
|
|
65258
65433
|
* @param {*} [options] Override http request option.
|
|
65434
|
+
* @deprecated
|
|
65259
65435
|
* @throws {RequiredError}
|
|
65260
65436
|
*/
|
|
65261
65437
|
getHelmDeploymentRestrictions: async (helmId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -65303,11 +65479,12 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65303
65479
|
const localVarAxiosParamCreator = HelmDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
65304
65480
|
return {
|
|
65305
65481
|
/**
|
|
65306
|
-
* Create a helm deployment restriction
|
|
65482
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65307
65483
|
* @summary Create a helm deployment restriction
|
|
65308
65484
|
* @param {string} helmId Helm ID
|
|
65309
65485
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65310
65486
|
* @param {*} [options] Override http request option.
|
|
65487
|
+
* @deprecated
|
|
65311
65488
|
* @throws {RequiredError}
|
|
65312
65489
|
*/
|
|
65313
65490
|
async createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
|
|
@@ -65317,11 +65494,12 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65317
65494
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65318
65495
|
},
|
|
65319
65496
|
/**
|
|
65320
|
-
* Delete a helm deployment restriction
|
|
65497
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65321
65498
|
* @summary Delete a helm deployment restriction
|
|
65322
65499
|
* @param {string} helmId Helm ID
|
|
65323
65500
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65324
65501
|
* @param {*} [options] Override http request option.
|
|
65502
|
+
* @deprecated
|
|
65325
65503
|
* @throws {RequiredError}
|
|
65326
65504
|
*/
|
|
65327
65505
|
async deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -65331,12 +65509,13 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65331
65509
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65332
65510
|
},
|
|
65333
65511
|
/**
|
|
65334
|
-
* Edit a helm deployment restriction
|
|
65512
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65335
65513
|
* @summary Edit a helm deployment restriction
|
|
65336
65514
|
* @param {string} helmId Helm ID
|
|
65337
65515
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65338
65516
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65339
65517
|
* @param {*} [options] Override http request option.
|
|
65518
|
+
* @deprecated
|
|
65340
65519
|
* @throws {RequiredError}
|
|
65341
65520
|
*/
|
|
65342
65521
|
async editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
|
|
@@ -65346,10 +65525,11 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
|
|
|
65346
65525
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65347
65526
|
},
|
|
65348
65527
|
/**
|
|
65349
|
-
* Get helm deployment restrictions
|
|
65528
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65350
65529
|
* @summary Get helm deployment restrictions
|
|
65351
65530
|
* @param {string} helmId Helm ID
|
|
65352
65531
|
* @param {*} [options] Override http request option.
|
|
65532
|
+
* @deprecated
|
|
65353
65533
|
* @throws {RequiredError}
|
|
65354
65534
|
*/
|
|
65355
65535
|
async getHelmDeploymentRestrictions(helmId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponseList>> {
|
|
@@ -65369,44 +65549,48 @@ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Con
|
|
|
65369
65549
|
const localVarFp = HelmDeploymentRestrictionApiFp(configuration)
|
|
65370
65550
|
return {
|
|
65371
65551
|
/**
|
|
65372
|
-
* Create a helm deployment restriction
|
|
65552
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65373
65553
|
* @summary Create a helm deployment restriction
|
|
65374
65554
|
* @param {string} helmId Helm ID
|
|
65375
65555
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65376
65556
|
* @param {*} [options] Override http request option.
|
|
65557
|
+
* @deprecated
|
|
65377
65558
|
* @throws {RequiredError}
|
|
65378
65559
|
*/
|
|
65379
65560
|
createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponse> {
|
|
65380
65561
|
return localVarFp.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
65381
65562
|
},
|
|
65382
65563
|
/**
|
|
65383
|
-
* Delete a helm deployment restriction
|
|
65564
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65384
65565
|
* @summary Delete a helm deployment restriction
|
|
65385
65566
|
* @param {string} helmId Helm ID
|
|
65386
65567
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65387
65568
|
* @param {*} [options] Override http request option.
|
|
65569
|
+
* @deprecated
|
|
65388
65570
|
* @throws {RequiredError}
|
|
65389
65571
|
*/
|
|
65390
65572
|
deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
65391
65573
|
return localVarFp.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
65392
65574
|
},
|
|
65393
65575
|
/**
|
|
65394
|
-
* Edit a helm deployment restriction
|
|
65576
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65395
65577
|
* @summary Edit a helm deployment restriction
|
|
65396
65578
|
* @param {string} helmId Helm ID
|
|
65397
65579
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65398
65580
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65399
65581
|
* @param {*} [options] Override http request option.
|
|
65582
|
+
* @deprecated
|
|
65400
65583
|
* @throws {RequiredError}
|
|
65401
65584
|
*/
|
|
65402
65585
|
editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponse> {
|
|
65403
65586
|
return localVarFp.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
65404
65587
|
},
|
|
65405
65588
|
/**
|
|
65406
|
-
* Get helm deployment restrictions
|
|
65589
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65407
65590
|
* @summary Get helm deployment restrictions
|
|
65408
65591
|
* @param {string} helmId Helm ID
|
|
65409
65592
|
* @param {*} [options] Override http request option.
|
|
65593
|
+
* @deprecated
|
|
65410
65594
|
* @throws {RequiredError}
|
|
65411
65595
|
*/
|
|
65412
65596
|
getHelmDeploymentRestrictions(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponseList> {
|
|
@@ -65423,11 +65607,12 @@ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Con
|
|
|
65423
65607
|
*/
|
|
65424
65608
|
export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
65425
65609
|
/**
|
|
65426
|
-
* Create a helm deployment restriction
|
|
65610
|
+
* Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65427
65611
|
* @summary Create a helm deployment restriction
|
|
65428
65612
|
* @param {string} helmId Helm ID
|
|
65429
65613
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65430
65614
|
* @param {*} [options] Override http request option.
|
|
65615
|
+
* @deprecated
|
|
65431
65616
|
* @throws {RequiredError}
|
|
65432
65617
|
* @memberof HelmDeploymentRestrictionApi
|
|
65433
65618
|
*/
|
|
@@ -65436,11 +65621,12 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
|
65436
65621
|
}
|
|
65437
65622
|
|
|
65438
65623
|
/**
|
|
65439
|
-
* Delete a helm deployment restriction
|
|
65624
|
+
* Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65440
65625
|
* @summary Delete a helm deployment restriction
|
|
65441
65626
|
* @param {string} helmId Helm ID
|
|
65442
65627
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65443
65628
|
* @param {*} [options] Override http request option.
|
|
65629
|
+
* @deprecated
|
|
65444
65630
|
* @throws {RequiredError}
|
|
65445
65631
|
* @memberof HelmDeploymentRestrictionApi
|
|
65446
65632
|
*/
|
|
@@ -65449,12 +65635,13 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
|
65449
65635
|
}
|
|
65450
65636
|
|
|
65451
65637
|
/**
|
|
65452
|
-
* Edit a helm deployment restriction
|
|
65638
|
+
* Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65453
65639
|
* @summary Edit a helm deployment restriction
|
|
65454
65640
|
* @param {string} helmId Helm ID
|
|
65455
65641
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
65456
65642
|
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
65457
65643
|
* @param {*} [options] Override http request option.
|
|
65644
|
+
* @deprecated
|
|
65458
65645
|
* @throws {RequiredError}
|
|
65459
65646
|
* @memberof HelmDeploymentRestrictionApi
|
|
65460
65647
|
*/
|
|
@@ -65463,10 +65650,11 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
|
65463
65650
|
}
|
|
65464
65651
|
|
|
65465
65652
|
/**
|
|
65466
|
-
* Get helm deployment restrictions
|
|
65653
|
+
* Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
65467
65654
|
* @summary Get helm deployment restrictions
|
|
65468
65655
|
* @param {string} helmId Helm ID
|
|
65469
65656
|
* @param {*} [options] Override http request option.
|
|
65657
|
+
* @deprecated
|
|
65470
65658
|
* @throws {RequiredError}
|
|
65471
65659
|
* @memberof HelmDeploymentRestrictionApi
|
|
65472
65660
|
*/
|
|
@@ -68348,11 +68536,12 @@ export class JobDeploymentHistoryApi extends BaseAPI {
|
|
|
68348
68536
|
export const JobDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
68349
68537
|
return {
|
|
68350
68538
|
/**
|
|
68351
|
-
* Create a job deployment restriction
|
|
68539
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68352
68540
|
* @summary Create a job deployment restriction
|
|
68353
68541
|
* @param {string} jobId Job ID
|
|
68354
68542
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68355
68543
|
* @param {*} [options] Override http request option.
|
|
68544
|
+
* @deprecated
|
|
68356
68545
|
* @throws {RequiredError}
|
|
68357
68546
|
*/
|
|
68358
68547
|
createJobDeploymentRestriction: async (jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68393,11 +68582,12 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
|
|
|
68393
68582
|
};
|
|
68394
68583
|
},
|
|
68395
68584
|
/**
|
|
68396
|
-
* Delete a job deployment restriction
|
|
68585
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68397
68586
|
* @summary Delete a job deployment restriction
|
|
68398
68587
|
* @param {string} jobId Job ID
|
|
68399
68588
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68400
68589
|
* @param {*} [options] Override http request option.
|
|
68590
|
+
* @deprecated
|
|
68401
68591
|
* @throws {RequiredError}
|
|
68402
68592
|
*/
|
|
68403
68593
|
deleteJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68438,12 +68628,13 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
|
|
|
68438
68628
|
};
|
|
68439
68629
|
},
|
|
68440
68630
|
/**
|
|
68441
|
-
* Edit a job deployment restriction
|
|
68631
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68442
68632
|
* @summary Edit a job deployment restriction
|
|
68443
68633
|
* @param {string} jobId Job ID
|
|
68444
68634
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68445
68635
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68446
68636
|
* @param {*} [options] Override http request option.
|
|
68637
|
+
* @deprecated
|
|
68447
68638
|
* @throws {RequiredError}
|
|
68448
68639
|
*/
|
|
68449
68640
|
editJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68487,10 +68678,11 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
|
|
|
68487
68678
|
};
|
|
68488
68679
|
},
|
|
68489
68680
|
/**
|
|
68490
|
-
* Get job deployment restrictions
|
|
68681
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68491
68682
|
* @summary Get job deployment restrictions
|
|
68492
68683
|
* @param {string} jobId Job ID
|
|
68493
68684
|
* @param {*} [options] Override http request option.
|
|
68685
|
+
* @deprecated
|
|
68494
68686
|
* @throws {RequiredError}
|
|
68495
68687
|
*/
|
|
68496
68688
|
getJobDeploymentRestrictions: async (jobId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -68538,11 +68730,12 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68538
68730
|
const localVarAxiosParamCreator = JobDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
68539
68731
|
return {
|
|
68540
68732
|
/**
|
|
68541
|
-
* Create a job deployment restriction
|
|
68733
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68542
68734
|
* @summary Create a job deployment restriction
|
|
68543
68735
|
* @param {string} jobId Job ID
|
|
68544
68736
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68545
68737
|
* @param {*} [options] Override http request option.
|
|
68738
|
+
* @deprecated
|
|
68546
68739
|
* @throws {RequiredError}
|
|
68547
68740
|
*/
|
|
68548
68741
|
async createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
|
|
@@ -68552,11 +68745,12 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68552
68745
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68553
68746
|
},
|
|
68554
68747
|
/**
|
|
68555
|
-
* Delete a job deployment restriction
|
|
68748
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68556
68749
|
* @summary Delete a job deployment restriction
|
|
68557
68750
|
* @param {string} jobId Job ID
|
|
68558
68751
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68559
68752
|
* @param {*} [options] Override http request option.
|
|
68753
|
+
* @deprecated
|
|
68560
68754
|
* @throws {RequiredError}
|
|
68561
68755
|
*/
|
|
68562
68756
|
async deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -68566,12 +68760,13 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68566
68760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68567
68761
|
},
|
|
68568
68762
|
/**
|
|
68569
|
-
* Edit a job deployment restriction
|
|
68763
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68570
68764
|
* @summary Edit a job deployment restriction
|
|
68571
68765
|
* @param {string} jobId Job ID
|
|
68572
68766
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68573
68767
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68574
68768
|
* @param {*} [options] Override http request option.
|
|
68769
|
+
* @deprecated
|
|
68575
68770
|
* @throws {RequiredError}
|
|
68576
68771
|
*/
|
|
68577
68772
|
async editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
|
|
@@ -68581,10 +68776,11 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
|
|
|
68581
68776
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68582
68777
|
},
|
|
68583
68778
|
/**
|
|
68584
|
-
* Get job deployment restrictions
|
|
68779
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68585
68780
|
* @summary Get job deployment restrictions
|
|
68586
68781
|
* @param {string} jobId Job ID
|
|
68587
68782
|
* @param {*} [options] Override http request option.
|
|
68783
|
+
* @deprecated
|
|
68588
68784
|
* @throws {RequiredError}
|
|
68589
68785
|
*/
|
|
68590
68786
|
async getJobDeploymentRestrictions(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponseList>> {
|
|
@@ -68604,44 +68800,48 @@ export const JobDeploymentRestrictionApiFactory = function (configuration?: Conf
|
|
|
68604
68800
|
const localVarFp = JobDeploymentRestrictionApiFp(configuration)
|
|
68605
68801
|
return {
|
|
68606
68802
|
/**
|
|
68607
|
-
* Create a job deployment restriction
|
|
68803
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68608
68804
|
* @summary Create a job deployment restriction
|
|
68609
68805
|
* @param {string} jobId Job ID
|
|
68610
68806
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68611
68807
|
* @param {*} [options] Override http request option.
|
|
68808
|
+
* @deprecated
|
|
68612
68809
|
* @throws {RequiredError}
|
|
68613
68810
|
*/
|
|
68614
68811
|
createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponse> {
|
|
68615
68812
|
return localVarFp.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
68616
68813
|
},
|
|
68617
68814
|
/**
|
|
68618
|
-
* Delete a job deployment restriction
|
|
68815
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68619
68816
|
* @summary Delete a job deployment restriction
|
|
68620
68817
|
* @param {string} jobId Job ID
|
|
68621
68818
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68622
68819
|
* @param {*} [options] Override http request option.
|
|
68820
|
+
* @deprecated
|
|
68623
68821
|
* @throws {RequiredError}
|
|
68624
68822
|
*/
|
|
68625
68823
|
deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
68626
68824
|
return localVarFp.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
68627
68825
|
},
|
|
68628
68826
|
/**
|
|
68629
|
-
* Edit a job deployment restriction
|
|
68827
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68630
68828
|
* @summary Edit a job deployment restriction
|
|
68631
68829
|
* @param {string} jobId Job ID
|
|
68632
68830
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68633
68831
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68634
68832
|
* @param {*} [options] Override http request option.
|
|
68833
|
+
* @deprecated
|
|
68635
68834
|
* @throws {RequiredError}
|
|
68636
68835
|
*/
|
|
68637
68836
|
editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponse> {
|
|
68638
68837
|
return localVarFp.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
68639
68838
|
},
|
|
68640
68839
|
/**
|
|
68641
|
-
* Get job deployment restrictions
|
|
68840
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68642
68841
|
* @summary Get job deployment restrictions
|
|
68643
68842
|
* @param {string} jobId Job ID
|
|
68644
68843
|
* @param {*} [options] Override http request option.
|
|
68844
|
+
* @deprecated
|
|
68645
68845
|
* @throws {RequiredError}
|
|
68646
68846
|
*/
|
|
68647
68847
|
getJobDeploymentRestrictions(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponseList> {
|
|
@@ -68658,11 +68858,12 @@ export const JobDeploymentRestrictionApiFactory = function (configuration?: Conf
|
|
|
68658
68858
|
*/
|
|
68659
68859
|
export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
68660
68860
|
/**
|
|
68661
|
-
* Create a job deployment restriction
|
|
68861
|
+
* Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68662
68862
|
* @summary Create a job deployment restriction
|
|
68663
68863
|
* @param {string} jobId Job ID
|
|
68664
68864
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68665
68865
|
* @param {*} [options] Override http request option.
|
|
68866
|
+
* @deprecated
|
|
68666
68867
|
* @throws {RequiredError}
|
|
68667
68868
|
* @memberof JobDeploymentRestrictionApi
|
|
68668
68869
|
*/
|
|
@@ -68671,11 +68872,12 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
|
68671
68872
|
}
|
|
68672
68873
|
|
|
68673
68874
|
/**
|
|
68674
|
-
* Delete a job deployment restriction
|
|
68875
|
+
* Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68675
68876
|
* @summary Delete a job deployment restriction
|
|
68676
68877
|
* @param {string} jobId Job ID
|
|
68677
68878
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68678
68879
|
* @param {*} [options] Override http request option.
|
|
68880
|
+
* @deprecated
|
|
68679
68881
|
* @throws {RequiredError}
|
|
68680
68882
|
* @memberof JobDeploymentRestrictionApi
|
|
68681
68883
|
*/
|
|
@@ -68684,12 +68886,13 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
|
68684
68886
|
}
|
|
68685
68887
|
|
|
68686
68888
|
/**
|
|
68687
|
-
* Edit a job deployment restriction
|
|
68889
|
+
* Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68688
68890
|
* @summary Edit a job deployment restriction
|
|
68689
68891
|
* @param {string} jobId Job ID
|
|
68690
68892
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
68691
68893
|
* @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
|
|
68692
68894
|
* @param {*} [options] Override http request option.
|
|
68895
|
+
* @deprecated
|
|
68693
68896
|
* @throws {RequiredError}
|
|
68694
68897
|
* @memberof JobDeploymentRestrictionApi
|
|
68695
68898
|
*/
|
|
@@ -68698,10 +68901,11 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
|
|
|
68698
68901
|
}
|
|
68699
68902
|
|
|
68700
68903
|
/**
|
|
68701
|
-
* Get job deployment restrictions
|
|
68904
|
+
* Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
68702
68905
|
* @summary Get job deployment restrictions
|
|
68703
68906
|
* @param {string} jobId Job ID
|
|
68704
68907
|
* @param {*} [options] Override http request option.
|
|
68908
|
+
* @deprecated
|
|
68705
68909
|
* @throws {RequiredError}
|
|
68706
68910
|
* @memberof JobDeploymentRestrictionApi
|
|
68707
68911
|
*/
|
|
@@ -74765,6 +74969,72 @@ export const OrganizationCustomDomainApiAxiosParamCreator = function (configurat
|
|
|
74765
74969
|
options: localVarRequestOptions,
|
|
74766
74970
|
};
|
|
74767
74971
|
},
|
|
74972
|
+
/**
|
|
74973
|
+
* Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
|
|
74974
|
+
* @summary Check the DNS of the organization\'s custom domains
|
|
74975
|
+
* @param {string} organizationId Organization ID
|
|
74976
|
+
* @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
|
|
74977
|
+
* @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
|
|
74978
|
+
* @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
|
|
74979
|
+
* @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
|
|
74980
|
+
* @param {number} [pageSize] The number of domains per page.
|
|
74981
|
+
* @param {*} [options] Override http request option.
|
|
74982
|
+
* @throws {RequiredError}
|
|
74983
|
+
*/
|
|
74984
|
+
checkOrganizationCustomDomains: async (organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74985
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
74986
|
+
assertParamExists('checkOrganizationCustomDomains', 'organizationId', organizationId)
|
|
74987
|
+
const localVarPath = `/organization/{organizationId}/customDomain/check`
|
|
74988
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
74989
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74990
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74991
|
+
let baseOptions;
|
|
74992
|
+
if (configuration) {
|
|
74993
|
+
baseOptions = configuration.baseOptions;
|
|
74994
|
+
}
|
|
74995
|
+
|
|
74996
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
74997
|
+
const localVarHeaderParameter = {} as any;
|
|
74998
|
+
const localVarQueryParameter = {} as any;
|
|
74999
|
+
|
|
75000
|
+
// authentication ApiKeyAuth required
|
|
75001
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
75002
|
+
|
|
75003
|
+
// authentication bearerAuth required
|
|
75004
|
+
// http bearer authentication required
|
|
75005
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75006
|
+
|
|
75007
|
+
if (projectId !== undefined) {
|
|
75008
|
+
localVarQueryParameter['projectId'] = projectId;
|
|
75009
|
+
}
|
|
75010
|
+
|
|
75011
|
+
if (environmentId !== undefined) {
|
|
75012
|
+
localVarQueryParameter['environmentId'] = environmentId;
|
|
75013
|
+
}
|
|
75014
|
+
|
|
75015
|
+
if (search !== undefined) {
|
|
75016
|
+
localVarQueryParameter['search'] = search;
|
|
75017
|
+
}
|
|
75018
|
+
|
|
75019
|
+
if (page !== undefined) {
|
|
75020
|
+
localVarQueryParameter['page'] = page;
|
|
75021
|
+
}
|
|
75022
|
+
|
|
75023
|
+
if (pageSize !== undefined) {
|
|
75024
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
75025
|
+
}
|
|
75026
|
+
|
|
75027
|
+
|
|
75028
|
+
|
|
75029
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75030
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75031
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
75032
|
+
|
|
75033
|
+
return {
|
|
75034
|
+
url: toPathString(localVarUrlObj),
|
|
75035
|
+
options: localVarRequestOptions,
|
|
75036
|
+
};
|
|
75037
|
+
},
|
|
74768
75038
|
/**
|
|
74769
75039
|
* List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
|
|
74770
75040
|
* @summary List organization custom domains
|
|
@@ -74855,6 +75125,24 @@ export const OrganizationCustomDomainApiFp = function(configuration?: Configurat
|
|
|
74855
75125
|
const localVarOperationServerBasePath = operationServerMap['OrganizationCustomDomainApi.bulkDeleteOrganizationCustomDomain']?.[localVarOperationServerIndex]?.url;
|
|
74856
75126
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74857
75127
|
},
|
|
75128
|
+
/**
|
|
75129
|
+
* Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
|
|
75130
|
+
* @summary Check the DNS of the organization\'s custom domains
|
|
75131
|
+
* @param {string} organizationId Organization ID
|
|
75132
|
+
* @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
|
|
75133
|
+
* @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
|
|
75134
|
+
* @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
|
|
75135
|
+
* @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
|
|
75136
|
+
* @param {number} [pageSize] The number of domains per page.
|
|
75137
|
+
* @param {*} [options] Override http request option.
|
|
75138
|
+
* @throws {RequiredError}
|
|
75139
|
+
*/
|
|
75140
|
+
async checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomDomainCheckListResponse>> {
|
|
75141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkOrganizationCustomDomains(organizationId, projectId, environmentId, search, page, pageSize, options);
|
|
75142
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
75143
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationCustomDomainApi.checkOrganizationCustomDomains']?.[localVarOperationServerIndex]?.url;
|
|
75144
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
75145
|
+
},
|
|
74858
75146
|
/**
|
|
74859
75147
|
* List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
|
|
74860
75148
|
* @summary List organization custom domains
|
|
@@ -74894,6 +75182,21 @@ export const OrganizationCustomDomainApiFactory = function (configuration?: Conf
|
|
|
74894
75182
|
bulkDeleteOrganizationCustomDomain(organizationId: string, customDomainBulkDeleteItemRequest: Array<CustomDomainBulkDeleteItemRequest>, options?: RawAxiosRequestConfig): AxiosPromise<CustomDomainDeletionResponse> {
|
|
74895
75183
|
return localVarFp.bulkDeleteOrganizationCustomDomain(organizationId, customDomainBulkDeleteItemRequest, options).then((request) => request(axios, basePath));
|
|
74896
75184
|
},
|
|
75185
|
+
/**
|
|
75186
|
+
* Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
|
|
75187
|
+
* @summary Check the DNS of the organization\'s custom domains
|
|
75188
|
+
* @param {string} organizationId Organization ID
|
|
75189
|
+
* @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
|
|
75190
|
+
* @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
|
|
75191
|
+
* @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
|
|
75192
|
+
* @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
|
|
75193
|
+
* @param {number} [pageSize] The number of domains per page.
|
|
75194
|
+
* @param {*} [options] Override http request option.
|
|
75195
|
+
* @throws {RequiredError}
|
|
75196
|
+
*/
|
|
75197
|
+
checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCustomDomainCheckListResponse> {
|
|
75198
|
+
return localVarFp.checkOrganizationCustomDomains(organizationId, projectId, environmentId, search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
75199
|
+
},
|
|
74897
75200
|
/**
|
|
74898
75201
|
* List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
|
|
74899
75202
|
* @summary List organization custom domains
|
|
@@ -74932,6 +75235,23 @@ export class OrganizationCustomDomainApi extends BaseAPI {
|
|
|
74932
75235
|
return OrganizationCustomDomainApiFp(this.configuration).bulkDeleteOrganizationCustomDomain(organizationId, customDomainBulkDeleteItemRequest, options).then((request) => request(this.axios, this.basePath));
|
|
74933
75236
|
}
|
|
74934
75237
|
|
|
75238
|
+
/**
|
|
75239
|
+
* Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
|
|
75240
|
+
* @summary Check the DNS of the organization\'s custom domains
|
|
75241
|
+
* @param {string} organizationId Organization ID
|
|
75242
|
+
* @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
|
|
75243
|
+
* @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
|
|
75244
|
+
* @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
|
|
75245
|
+
* @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
|
|
75246
|
+
* @param {number} [pageSize] The number of domains per page.
|
|
75247
|
+
* @param {*} [options] Override http request option.
|
|
75248
|
+
* @throws {RequiredError}
|
|
75249
|
+
* @memberof OrganizationCustomDomainApi
|
|
75250
|
+
*/
|
|
75251
|
+
public checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
75252
|
+
return OrganizationCustomDomainApiFp(this.configuration).checkOrganizationCustomDomains(organizationId, projectId, environmentId, search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
75253
|
+
}
|
|
75254
|
+
|
|
74935
75255
|
/**
|
|
74936
75256
|
* List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
|
|
74937
75257
|
* @summary List organization custom domains
|
|
@@ -82800,6 +83120,145 @@ export class SecretManagerAccessApi extends BaseAPI {
|
|
|
82800
83120
|
*/
|
|
82801
83121
|
export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
82802
83122
|
return {
|
|
83123
|
+
/**
|
|
83124
|
+
* 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.
|
|
83125
|
+
* @summary Create a service deployment restriction
|
|
83126
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83127
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83128
|
+
* @param {*} [options] Override http request option.
|
|
83129
|
+
* @throws {RequiredError}
|
|
83130
|
+
*/
|
|
83131
|
+
createServiceDeploymentRestriction: async (serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83132
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
83133
|
+
assertParamExists('createServiceDeploymentRestriction', 'serviceId', serviceId)
|
|
83134
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction`
|
|
83135
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
83136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83138
|
+
let baseOptions;
|
|
83139
|
+
if (configuration) {
|
|
83140
|
+
baseOptions = configuration.baseOptions;
|
|
83141
|
+
}
|
|
83142
|
+
|
|
83143
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
83144
|
+
const localVarHeaderParameter = {} as any;
|
|
83145
|
+
const localVarQueryParameter = {} as any;
|
|
83146
|
+
|
|
83147
|
+
// authentication ApiKeyAuth required
|
|
83148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83149
|
+
|
|
83150
|
+
// authentication bearerAuth required
|
|
83151
|
+
// http bearer authentication required
|
|
83152
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83153
|
+
|
|
83154
|
+
|
|
83155
|
+
|
|
83156
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83157
|
+
|
|
83158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83160
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83161
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serviceDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
83162
|
+
|
|
83163
|
+
return {
|
|
83164
|
+
url: toPathString(localVarUrlObj),
|
|
83165
|
+
options: localVarRequestOptions,
|
|
83166
|
+
};
|
|
83167
|
+
},
|
|
83168
|
+
/**
|
|
83169
|
+
* 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.
|
|
83170
|
+
* @summary Delete a service deployment restriction
|
|
83171
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83172
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83173
|
+
* @param {*} [options] Override http request option.
|
|
83174
|
+
* @throws {RequiredError}
|
|
83175
|
+
*/
|
|
83176
|
+
deleteServiceDeploymentRestriction: async (serviceId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83177
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
83178
|
+
assertParamExists('deleteServiceDeploymentRestriction', 'serviceId', serviceId)
|
|
83179
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
83180
|
+
assertParamExists('deleteServiceDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
83181
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
83182
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
83183
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
83184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83186
|
+
let baseOptions;
|
|
83187
|
+
if (configuration) {
|
|
83188
|
+
baseOptions = configuration.baseOptions;
|
|
83189
|
+
}
|
|
83190
|
+
|
|
83191
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
83192
|
+
const localVarHeaderParameter = {} as any;
|
|
83193
|
+
const localVarQueryParameter = {} as any;
|
|
83194
|
+
|
|
83195
|
+
// authentication ApiKeyAuth required
|
|
83196
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83197
|
+
|
|
83198
|
+
// authentication bearerAuth required
|
|
83199
|
+
// http bearer authentication required
|
|
83200
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83201
|
+
|
|
83202
|
+
|
|
83203
|
+
|
|
83204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83206
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83207
|
+
|
|
83208
|
+
return {
|
|
83209
|
+
url: toPathString(localVarUrlObj),
|
|
83210
|
+
options: localVarRequestOptions,
|
|
83211
|
+
};
|
|
83212
|
+
},
|
|
83213
|
+
/**
|
|
83214
|
+
* 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.
|
|
83215
|
+
* @summary Edit a service deployment restriction
|
|
83216
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83217
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83218
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83219
|
+
* @param {*} [options] Override http request option.
|
|
83220
|
+
* @throws {RequiredError}
|
|
83221
|
+
*/
|
|
83222
|
+
editServiceDeploymentRestriction: async (serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83223
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
83224
|
+
assertParamExists('editServiceDeploymentRestriction', 'serviceId', serviceId)
|
|
83225
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
83226
|
+
assertParamExists('editServiceDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
83227
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
83228
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
83229
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
83230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83232
|
+
let baseOptions;
|
|
83233
|
+
if (configuration) {
|
|
83234
|
+
baseOptions = configuration.baseOptions;
|
|
83235
|
+
}
|
|
83236
|
+
|
|
83237
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
83238
|
+
const localVarHeaderParameter = {} as any;
|
|
83239
|
+
const localVarQueryParameter = {} as any;
|
|
83240
|
+
|
|
83241
|
+
// authentication ApiKeyAuth required
|
|
83242
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83243
|
+
|
|
83244
|
+
// authentication bearerAuth required
|
|
83245
|
+
// http bearer authentication required
|
|
83246
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83247
|
+
|
|
83248
|
+
|
|
83249
|
+
|
|
83250
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83251
|
+
|
|
83252
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83253
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83254
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83255
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serviceDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
83256
|
+
|
|
83257
|
+
return {
|
|
83258
|
+
url: toPathString(localVarUrlObj),
|
|
83259
|
+
options: localVarRequestOptions,
|
|
83260
|
+
};
|
|
83261
|
+
},
|
|
82803
83262
|
/**
|
|
82804
83263
|
* 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
83264
|
* @summary Get git webhook status for a service
|
|
@@ -82832,6 +83291,47 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82832
83291
|
|
|
82833
83292
|
|
|
82834
83293
|
|
|
83294
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83295
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83296
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83297
|
+
|
|
83298
|
+
return {
|
|
83299
|
+
url: toPathString(localVarUrlObj),
|
|
83300
|
+
options: localVarRequestOptions,
|
|
83301
|
+
};
|
|
83302
|
+
},
|
|
83303
|
+
/**
|
|
83304
|
+
* 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.
|
|
83305
|
+
* @summary List service deployment restrictions
|
|
83306
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83307
|
+
* @param {*} [options] Override http request option.
|
|
83308
|
+
* @throws {RequiredError}
|
|
83309
|
+
*/
|
|
83310
|
+
listServiceDeploymentRestrictions: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83311
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
83312
|
+
assertParamExists('listServiceDeploymentRestrictions', 'serviceId', serviceId)
|
|
83313
|
+
const localVarPath = `/service/{serviceId}/deploymentRestriction`
|
|
83314
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
83315
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83317
|
+
let baseOptions;
|
|
83318
|
+
if (configuration) {
|
|
83319
|
+
baseOptions = configuration.baseOptions;
|
|
83320
|
+
}
|
|
83321
|
+
|
|
83322
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
83323
|
+
const localVarHeaderParameter = {} as any;
|
|
83324
|
+
const localVarQueryParameter = {} as any;
|
|
83325
|
+
|
|
83326
|
+
// authentication ApiKeyAuth required
|
|
83327
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
83328
|
+
|
|
83329
|
+
// authentication bearerAuth required
|
|
83330
|
+
// http bearer authentication required
|
|
83331
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83332
|
+
|
|
83333
|
+
|
|
83334
|
+
|
|
82835
83335
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
82836
83336
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
82837
83337
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -82892,6 +83392,49 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82892
83392
|
export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
82893
83393
|
const localVarAxiosParamCreator = ServiceMainCallsApiAxiosParamCreator(configuration)
|
|
82894
83394
|
return {
|
|
83395
|
+
/**
|
|
83396
|
+
* 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.
|
|
83397
|
+
* @summary Create a service deployment restriction
|
|
83398
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83399
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83400
|
+
* @param {*} [options] Override http request option.
|
|
83401
|
+
* @throws {RequiredError}
|
|
83402
|
+
*/
|
|
83403
|
+
async createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponse>> {
|
|
83404
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options);
|
|
83405
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83406
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.createServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
83407
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83408
|
+
},
|
|
83409
|
+
/**
|
|
83410
|
+
* 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.
|
|
83411
|
+
* @summary Delete a service deployment restriction
|
|
83412
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83413
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83414
|
+
* @param {*} [options] Override http request option.
|
|
83415
|
+
* @throws {RequiredError}
|
|
83416
|
+
*/
|
|
83417
|
+
async deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
83418
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options);
|
|
83419
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83420
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.deleteServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
83421
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83422
|
+
},
|
|
83423
|
+
/**
|
|
83424
|
+
* 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.
|
|
83425
|
+
* @summary Edit a service deployment restriction
|
|
83426
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83427
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83428
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83429
|
+
* @param {*} [options] Override http request option.
|
|
83430
|
+
* @throws {RequiredError}
|
|
83431
|
+
*/
|
|
83432
|
+
async editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponse>> {
|
|
83433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options);
|
|
83434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83435
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.editServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
83436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83437
|
+
},
|
|
82895
83438
|
/**
|
|
82896
83439
|
* 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
83440
|
* @summary Get git webhook status for a service
|
|
@@ -82905,6 +83448,19 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
82905
83448
|
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.getServiceGitWebhookStatus']?.[localVarOperationServerIndex]?.url;
|
|
82906
83449
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
82907
83450
|
},
|
|
83451
|
+
/**
|
|
83452
|
+
* 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.
|
|
83453
|
+
* @summary List service deployment restrictions
|
|
83454
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83455
|
+
* @param {*} [options] Override http request option.
|
|
83456
|
+
* @throws {RequiredError}
|
|
83457
|
+
*/
|
|
83458
|
+
async listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponseList>> {
|
|
83459
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceDeploymentRestrictions(serviceId, options);
|
|
83460
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
83461
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.listServiceDeploymentRestrictions']?.[localVarOperationServerIndex]?.url;
|
|
83462
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83463
|
+
},
|
|
82908
83464
|
/**
|
|
82909
83465
|
* 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
83466
|
* @summary Synchronize git webhook for a service
|
|
@@ -82928,6 +83484,40 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
82928
83484
|
export const ServiceMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
82929
83485
|
const localVarFp = ServiceMainCallsApiFp(configuration)
|
|
82930
83486
|
return {
|
|
83487
|
+
/**
|
|
83488
|
+
* 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.
|
|
83489
|
+
* @summary Create a service deployment restriction
|
|
83490
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83491
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83492
|
+
* @param {*} [options] Override http request option.
|
|
83493
|
+
* @throws {RequiredError}
|
|
83494
|
+
*/
|
|
83495
|
+
createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponse> {
|
|
83496
|
+
return localVarFp.createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
83497
|
+
},
|
|
83498
|
+
/**
|
|
83499
|
+
* 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.
|
|
83500
|
+
* @summary Delete a service deployment restriction
|
|
83501
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83502
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83503
|
+
* @param {*} [options] Override http request option.
|
|
83504
|
+
* @throws {RequiredError}
|
|
83505
|
+
*/
|
|
83506
|
+
deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
83507
|
+
return localVarFp.deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
83508
|
+
},
|
|
83509
|
+
/**
|
|
83510
|
+
* 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.
|
|
83511
|
+
* @summary Edit a service deployment restriction
|
|
83512
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83513
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83514
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83515
|
+
* @param {*} [options] Override http request option.
|
|
83516
|
+
* @throws {RequiredError}
|
|
83517
|
+
*/
|
|
83518
|
+
editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponse> {
|
|
83519
|
+
return localVarFp.editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
83520
|
+
},
|
|
82931
83521
|
/**
|
|
82932
83522
|
* 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
83523
|
* @summary Get git webhook status for a service
|
|
@@ -82938,6 +83528,16 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
|
|
|
82938
83528
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse> {
|
|
82939
83529
|
return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
|
|
82940
83530
|
},
|
|
83531
|
+
/**
|
|
83532
|
+
* 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.
|
|
83533
|
+
* @summary List service deployment restrictions
|
|
83534
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83535
|
+
* @param {*} [options] Override http request option.
|
|
83536
|
+
* @throws {RequiredError}
|
|
83537
|
+
*/
|
|
83538
|
+
listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponseList> {
|
|
83539
|
+
return localVarFp.listServiceDeploymentRestrictions(serviceId, options).then((request) => request(axios, basePath));
|
|
83540
|
+
},
|
|
82941
83541
|
/**
|
|
82942
83542
|
* 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
83543
|
* @summary Synchronize git webhook for a service
|
|
@@ -82958,6 +83558,46 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
|
|
|
82958
83558
|
* @extends {BaseAPI}
|
|
82959
83559
|
*/
|
|
82960
83560
|
export class ServiceMainCallsApi extends BaseAPI {
|
|
83561
|
+
/**
|
|
83562
|
+
* 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.
|
|
83563
|
+
* @summary Create a service deployment restriction
|
|
83564
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83565
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83566
|
+
* @param {*} [options] Override http request option.
|
|
83567
|
+
* @throws {RequiredError}
|
|
83568
|
+
* @memberof ServiceMainCallsApi
|
|
83569
|
+
*/
|
|
83570
|
+
public createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
83571
|
+
return ServiceMainCallsApiFp(this.configuration).createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
83572
|
+
}
|
|
83573
|
+
|
|
83574
|
+
/**
|
|
83575
|
+
* 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.
|
|
83576
|
+
* @summary Delete a service deployment restriction
|
|
83577
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83578
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83579
|
+
* @param {*} [options] Override http request option.
|
|
83580
|
+
* @throws {RequiredError}
|
|
83581
|
+
* @memberof ServiceMainCallsApi
|
|
83582
|
+
*/
|
|
83583
|
+
public deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) {
|
|
83584
|
+
return ServiceMainCallsApiFp(this.configuration).deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
83585
|
+
}
|
|
83586
|
+
|
|
83587
|
+
/**
|
|
83588
|
+
* 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.
|
|
83589
|
+
* @summary Edit a service deployment restriction
|
|
83590
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83591
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
83592
|
+
* @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
|
|
83593
|
+
* @param {*} [options] Override http request option.
|
|
83594
|
+
* @throws {RequiredError}
|
|
83595
|
+
* @memberof ServiceMainCallsApi
|
|
83596
|
+
*/
|
|
83597
|
+
public editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
83598
|
+
return ServiceMainCallsApiFp(this.configuration).editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
83599
|
+
}
|
|
83600
|
+
|
|
82961
83601
|
/**
|
|
82962
83602
|
* 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
83603
|
* @summary Get git webhook status for a service
|
|
@@ -82970,6 +83610,18 @@ export class ServiceMainCallsApi extends BaseAPI {
|
|
|
82970
83610
|
return ServiceMainCallsApiFp(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
82971
83611
|
}
|
|
82972
83612
|
|
|
83613
|
+
/**
|
|
83614
|
+
* 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.
|
|
83615
|
+
* @summary List service deployment restrictions
|
|
83616
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
83617
|
+
* @param {*} [options] Override http request option.
|
|
83618
|
+
* @throws {RequiredError}
|
|
83619
|
+
* @memberof ServiceMainCallsApi
|
|
83620
|
+
*/
|
|
83621
|
+
public listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
83622
|
+
return ServiceMainCallsApiFp(this.configuration).listServiceDeploymentRestrictions(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
83623
|
+
}
|
|
83624
|
+
|
|
82973
83625
|
/**
|
|
82974
83626
|
* 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
83627
|
* @summary Synchronize git webhook for a service
|
|
@@ -84581,11 +85233,12 @@ export class TerraformDeploymentHistoryApi extends BaseAPI {
|
|
|
84581
85233
|
export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
84582
85234
|
return {
|
|
84583
85235
|
/**
|
|
84584
|
-
* Create a terraform deployment restriction
|
|
85236
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84585
85237
|
* @summary Create a terraform deployment restriction
|
|
84586
85238
|
* @param {string} terraformId
|
|
84587
85239
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84588
85240
|
* @param {*} [options] Override http request option.
|
|
85241
|
+
* @deprecated
|
|
84589
85242
|
* @throws {RequiredError}
|
|
84590
85243
|
*/
|
|
84591
85244
|
createTerraformDeploymentRestriction: async (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84626,11 +85279,12 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
84626
85279
|
};
|
|
84627
85280
|
},
|
|
84628
85281
|
/**
|
|
84629
|
-
* Delete a terraform deployment restriction
|
|
85282
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84630
85283
|
* @summary Delete a terraform deployment restriction
|
|
84631
85284
|
* @param {string} terraformId
|
|
84632
85285
|
* @param {string} deploymentRestrictionId
|
|
84633
85286
|
* @param {*} [options] Override http request option.
|
|
85287
|
+
* @deprecated
|
|
84634
85288
|
* @throws {RequiredError}
|
|
84635
85289
|
*/
|
|
84636
85290
|
deleteTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84671,12 +85325,13 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
84671
85325
|
};
|
|
84672
85326
|
},
|
|
84673
85327
|
/**
|
|
84674
|
-
* Edit a terraform deployment restriction
|
|
85328
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84675
85329
|
* @summary Edit a terraform deployment restriction
|
|
84676
85330
|
* @param {string} terraformId
|
|
84677
85331
|
* @param {string} deploymentRestrictionId
|
|
84678
85332
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84679
85333
|
* @param {*} [options] Override http request option.
|
|
85334
|
+
* @deprecated
|
|
84680
85335
|
* @throws {RequiredError}
|
|
84681
85336
|
*/
|
|
84682
85337
|
editTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84720,10 +85375,11 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
84720
85375
|
};
|
|
84721
85376
|
},
|
|
84722
85377
|
/**
|
|
84723
|
-
* Get terraform deployment restrictions
|
|
85378
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84724
85379
|
* @summary Get terraform deployment restrictions
|
|
84725
85380
|
* @param {string} terraformId
|
|
84726
85381
|
* @param {*} [options] Override http request option.
|
|
85382
|
+
* @deprecated
|
|
84727
85383
|
* @throws {RequiredError}
|
|
84728
85384
|
*/
|
|
84729
85385
|
getTerraformDeploymentRestrictions: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -84771,11 +85427,12 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84771
85427
|
const localVarAxiosParamCreator = TerraformDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
84772
85428
|
return {
|
|
84773
85429
|
/**
|
|
84774
|
-
* Create a terraform deployment restriction
|
|
85430
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84775
85431
|
* @summary Create a terraform deployment restriction
|
|
84776
85432
|
* @param {string} terraformId
|
|
84777
85433
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84778
85434
|
* @param {*} [options] Override http request option.
|
|
85435
|
+
* @deprecated
|
|
84779
85436
|
* @throws {RequiredError}
|
|
84780
85437
|
*/
|
|
84781
85438
|
async createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
@@ -84785,11 +85442,12 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84785
85442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84786
85443
|
},
|
|
84787
85444
|
/**
|
|
84788
|
-
* Delete a terraform deployment restriction
|
|
85445
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84789
85446
|
* @summary Delete a terraform deployment restriction
|
|
84790
85447
|
* @param {string} terraformId
|
|
84791
85448
|
* @param {string} deploymentRestrictionId
|
|
84792
85449
|
* @param {*} [options] Override http request option.
|
|
85450
|
+
* @deprecated
|
|
84793
85451
|
* @throws {RequiredError}
|
|
84794
85452
|
*/
|
|
84795
85453
|
async deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -84799,12 +85457,13 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84799
85457
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84800
85458
|
},
|
|
84801
85459
|
/**
|
|
84802
|
-
* Edit a terraform deployment restriction
|
|
85460
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84803
85461
|
* @summary Edit a terraform deployment restriction
|
|
84804
85462
|
* @param {string} terraformId
|
|
84805
85463
|
* @param {string} deploymentRestrictionId
|
|
84806
85464
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84807
85465
|
* @param {*} [options] Override http request option.
|
|
85466
|
+
* @deprecated
|
|
84808
85467
|
* @throws {RequiredError}
|
|
84809
85468
|
*/
|
|
84810
85469
|
async editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
@@ -84814,10 +85473,11 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
84814
85473
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84815
85474
|
},
|
|
84816
85475
|
/**
|
|
84817
|
-
* Get terraform deployment restrictions
|
|
85476
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84818
85477
|
* @summary Get terraform deployment restrictions
|
|
84819
85478
|
* @param {string} terraformId
|
|
84820
85479
|
* @param {*} [options] Override http request option.
|
|
85480
|
+
* @deprecated
|
|
84821
85481
|
* @throws {RequiredError}
|
|
84822
85482
|
*/
|
|
84823
85483
|
async getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponseList>> {
|
|
@@ -84837,44 +85497,48 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
|
|
|
84837
85497
|
const localVarFp = TerraformDeploymentRestrictionApiFp(configuration)
|
|
84838
85498
|
return {
|
|
84839
85499
|
/**
|
|
84840
|
-
* Create a terraform deployment restriction
|
|
85500
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84841
85501
|
* @summary Create a terraform deployment restriction
|
|
84842
85502
|
* @param {string} terraformId
|
|
84843
85503
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84844
85504
|
* @param {*} [options] Override http request option.
|
|
85505
|
+
* @deprecated
|
|
84845
85506
|
* @throws {RequiredError}
|
|
84846
85507
|
*/
|
|
84847
85508
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
84848
85509
|
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
84849
85510
|
},
|
|
84850
85511
|
/**
|
|
84851
|
-
* Delete a terraform deployment restriction
|
|
85512
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84852
85513
|
* @summary Delete a terraform deployment restriction
|
|
84853
85514
|
* @param {string} terraformId
|
|
84854
85515
|
* @param {string} deploymentRestrictionId
|
|
84855
85516
|
* @param {*} [options] Override http request option.
|
|
85517
|
+
* @deprecated
|
|
84856
85518
|
* @throws {RequiredError}
|
|
84857
85519
|
*/
|
|
84858
85520
|
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
84859
85521
|
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
84860
85522
|
},
|
|
84861
85523
|
/**
|
|
84862
|
-
* Edit a terraform deployment restriction
|
|
85524
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84863
85525
|
* @summary Edit a terraform deployment restriction
|
|
84864
85526
|
* @param {string} terraformId
|
|
84865
85527
|
* @param {string} deploymentRestrictionId
|
|
84866
85528
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84867
85529
|
* @param {*} [options] Override http request option.
|
|
85530
|
+
* @deprecated
|
|
84868
85531
|
* @throws {RequiredError}
|
|
84869
85532
|
*/
|
|
84870
85533
|
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
84871
85534
|
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
84872
85535
|
},
|
|
84873
85536
|
/**
|
|
84874
|
-
* Get terraform deployment restrictions
|
|
85537
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84875
85538
|
* @summary Get terraform deployment restrictions
|
|
84876
85539
|
* @param {string} terraformId
|
|
84877
85540
|
* @param {*} [options] Override http request option.
|
|
85541
|
+
* @deprecated
|
|
84878
85542
|
* @throws {RequiredError}
|
|
84879
85543
|
*/
|
|
84880
85544
|
getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponseList> {
|
|
@@ -84891,11 +85555,12 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
|
|
|
84891
85555
|
*/
|
|
84892
85556
|
export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
84893
85557
|
/**
|
|
84894
|
-
* Create a terraform deployment restriction
|
|
85558
|
+
* Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84895
85559
|
* @summary Create a terraform deployment restriction
|
|
84896
85560
|
* @param {string} terraformId
|
|
84897
85561
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84898
85562
|
* @param {*} [options] Override http request option.
|
|
85563
|
+
* @deprecated
|
|
84899
85564
|
* @throws {RequiredError}
|
|
84900
85565
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84901
85566
|
*/
|
|
@@ -84904,11 +85569,12 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
84904
85569
|
}
|
|
84905
85570
|
|
|
84906
85571
|
/**
|
|
84907
|
-
* Delete a terraform deployment restriction
|
|
85572
|
+
* Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84908
85573
|
* @summary Delete a terraform deployment restriction
|
|
84909
85574
|
* @param {string} terraformId
|
|
84910
85575
|
* @param {string} deploymentRestrictionId
|
|
84911
85576
|
* @param {*} [options] Override http request option.
|
|
85577
|
+
* @deprecated
|
|
84912
85578
|
* @throws {RequiredError}
|
|
84913
85579
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84914
85580
|
*/
|
|
@@ -84917,12 +85583,13 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
84917
85583
|
}
|
|
84918
85584
|
|
|
84919
85585
|
/**
|
|
84920
|
-
* Edit a terraform deployment restriction
|
|
85586
|
+
* Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84921
85587
|
* @summary Edit a terraform deployment restriction
|
|
84922
85588
|
* @param {string} terraformId
|
|
84923
85589
|
* @param {string} deploymentRestrictionId
|
|
84924
85590
|
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
84925
85591
|
* @param {*} [options] Override http request option.
|
|
85592
|
+
* @deprecated
|
|
84926
85593
|
* @throws {RequiredError}
|
|
84927
85594
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84928
85595
|
*/
|
|
@@ -84931,10 +85598,11 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
84931
85598
|
}
|
|
84932
85599
|
|
|
84933
85600
|
/**
|
|
84934
|
-
* Get terraform deployment restrictions
|
|
85601
|
+
* Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
|
|
84935
85602
|
* @summary Get terraform deployment restrictions
|
|
84936
85603
|
* @param {string} terraformId
|
|
84937
85604
|
* @param {*} [options] Override http request option.
|
|
85605
|
+
* @deprecated
|
|
84938
85606
|
* @throws {RequiredError}
|
|
84939
85607
|
* @memberof TerraformDeploymentRestrictionApi
|
|
84940
85608
|
*/
|