@pulumi/esc-sdk 0.9.0-pubtest2 → 0.9.0-pubtest4
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/README.md +14 -55
- package/esc/index.d.ts +11 -2
- package/esc/index.js +92 -1
- package/esc/index.js.map +1 -1
- package/esc/raw/api.d.ts +462 -13
- package/esc/raw/api.js +741 -20
- package/esc/raw/api.js.map +1 -1
- package/esc/raw/common.d.ts +0 -5
- package/esc/raw/common.js +8 -15
- package/esc/raw/common.js.map +1 -1
- package/esc/raw/configuration.d.ts +5 -21
- package/esc/raw/configuration.js +1 -3
- package/esc/raw/configuration.js.map +1 -1
- package/package.json +5 -5
- package/package.json.bak +4 -4
- package/test/client.spec.js +35 -11
- package/test/client.spec.js.map +1 -1
package/esc/raw/api.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ESC (Environments, Secrets, Config) API
|
|
3
|
-
* Pulumi ESC allows you to compose and manage hierarchical collections of configuration and secrets and consume them in various ways.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
1
|
import type { Configuration } from './configuration';
|
|
13
2
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
3
|
import type { RequestArgs } from './base';
|
|
@@ -81,10 +70,10 @@ export interface CheckEnvironment {
|
|
|
81
70
|
};
|
|
82
71
|
/**
|
|
83
72
|
*
|
|
84
|
-
* @type {
|
|
73
|
+
* @type {any}
|
|
85
74
|
* @memberof CheckEnvironment
|
|
86
75
|
*/
|
|
87
|
-
'schema'?:
|
|
76
|
+
'schema'?: any;
|
|
88
77
|
/**
|
|
89
78
|
*
|
|
90
79
|
* @type {EvaluatedExecutionContext}
|
|
@@ -223,6 +212,105 @@ export interface EnvironmentDiagnostics {
|
|
|
223
212
|
*/
|
|
224
213
|
'diagnostics'?: Array<EnvironmentDiagnostic>;
|
|
225
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @export
|
|
218
|
+
* @interface EnvironmentRevision
|
|
219
|
+
*/
|
|
220
|
+
export interface EnvironmentRevision {
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @type {number}
|
|
224
|
+
* @memberof EnvironmentRevision
|
|
225
|
+
*/
|
|
226
|
+
'number': number;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof EnvironmentRevision
|
|
231
|
+
*/
|
|
232
|
+
'creatorLogin'?: string;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof EnvironmentRevision
|
|
237
|
+
*/
|
|
238
|
+
'created'?: string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof EnvironmentRevision
|
|
243
|
+
*/
|
|
244
|
+
'creatorName'?: string;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {Array<string>}
|
|
248
|
+
* @memberof EnvironmentRevision
|
|
249
|
+
*/
|
|
250
|
+
'tags'?: Array<string>;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @export
|
|
255
|
+
* @interface EnvironmentRevisionTag
|
|
256
|
+
*/
|
|
257
|
+
export interface EnvironmentRevisionTag {
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @type {number}
|
|
261
|
+
* @memberof EnvironmentRevisionTag
|
|
262
|
+
*/
|
|
263
|
+
'revision': number;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof EnvironmentRevisionTag
|
|
268
|
+
*/
|
|
269
|
+
'name': string;
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof EnvironmentRevisionTag
|
|
274
|
+
*/
|
|
275
|
+
'created'?: string;
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof EnvironmentRevisionTag
|
|
280
|
+
*/
|
|
281
|
+
'modified'?: string;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof EnvironmentRevisionTag
|
|
286
|
+
*/
|
|
287
|
+
'editorLogin'?: string;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof EnvironmentRevisionTag
|
|
292
|
+
*/
|
|
293
|
+
'editorName'?: string;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @export
|
|
298
|
+
* @interface EnvironmentRevisionTags
|
|
299
|
+
*/
|
|
300
|
+
export interface EnvironmentRevisionTags {
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {Array<EnvironmentRevisionTag>}
|
|
304
|
+
* @memberof EnvironmentRevisionTags
|
|
305
|
+
*/
|
|
306
|
+
'tags'?: Array<EnvironmentRevisionTag>;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof EnvironmentRevisionTags
|
|
311
|
+
*/
|
|
312
|
+
'nextToken'?: string;
|
|
313
|
+
}
|
|
226
314
|
/**
|
|
227
315
|
*
|
|
228
316
|
* @export
|
|
@@ -572,6 +660,19 @@ export interface Trace {
|
|
|
572
660
|
*/
|
|
573
661
|
'base'?: Value;
|
|
574
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @export
|
|
666
|
+
* @interface UpdateEnvironmentRevisionTag
|
|
667
|
+
*/
|
|
668
|
+
export interface UpdateEnvironmentRevisionTag {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {number}
|
|
672
|
+
* @memberof UpdateEnvironmentRevisionTag
|
|
673
|
+
*/
|
|
674
|
+
'revision': number;
|
|
675
|
+
}
|
|
575
676
|
/**
|
|
576
677
|
*
|
|
577
678
|
* @export
|
|
@@ -626,6 +727,17 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
626
727
|
* @throws {RequiredError}
|
|
627
728
|
*/
|
|
628
729
|
createEnvironment: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
730
|
+
/**
|
|
731
|
+
* Create environment revision tag
|
|
732
|
+
* @summary Create environment revision tag
|
|
733
|
+
* @param {string} orgName Organization name
|
|
734
|
+
* @param {string} envName Environment name
|
|
735
|
+
* @param {string} tagName Tag name
|
|
736
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
createEnvironmentRevisionTag: (orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
629
741
|
/**
|
|
630
742
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
631
743
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
@@ -644,6 +756,16 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
644
756
|
* @throws {RequiredError}
|
|
645
757
|
*/
|
|
646
758
|
deleteEnvironment: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
759
|
+
/**
|
|
760
|
+
* Delete environment revision tag
|
|
761
|
+
* @summary Delete environment revision tag
|
|
762
|
+
* @param {string} orgName Organization name
|
|
763
|
+
* @param {string} envName Environment name
|
|
764
|
+
* @param {string} tagName Tag name
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
deleteEnvironmentRevisionTag: (orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
647
769
|
/**
|
|
648
770
|
* Read an environment
|
|
649
771
|
* @summary Read an environment
|
|
@@ -653,6 +775,16 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
653
775
|
* @throws {RequiredError}
|
|
654
776
|
*/
|
|
655
777
|
getEnvironment: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
778
|
+
/**
|
|
779
|
+
* Read an environmentat a specific revision or tag
|
|
780
|
+
* @summary Read an environment at a specific version
|
|
781
|
+
* @param {string} orgName Organization name
|
|
782
|
+
* @param {string} envName Environment name
|
|
783
|
+
* @param {string} version Revision or tag
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
getEnvironmentAtVersion: (orgName: string, envName: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
656
788
|
/**
|
|
657
789
|
* Returns the ETag for the given environment if it exists.
|
|
658
790
|
* @summary Return an Environment ETag
|
|
@@ -662,6 +794,38 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
662
794
|
* @throws {RequiredError}
|
|
663
795
|
*/
|
|
664
796
|
getEnvironmentETag: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
797
|
+
/**
|
|
798
|
+
* Read environment revision tag
|
|
799
|
+
* @summary Read environment revision tag
|
|
800
|
+
* @param {string} orgName Organization name
|
|
801
|
+
* @param {string} envName Environment name
|
|
802
|
+
* @param {string} tagName Tag name
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
getEnvironmentRevisionTag: (orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
807
|
+
/**
|
|
808
|
+
* List environment revisions
|
|
809
|
+
* @summary List environment revisions
|
|
810
|
+
* @param {string} orgName Organization name
|
|
811
|
+
* @param {string} envName Environment name
|
|
812
|
+
* @param {string} [after] after tag for pagination
|
|
813
|
+
* @param {number} [count] limit of tags to return
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
*/
|
|
817
|
+
listEnvironmentRevisionTags: (orgName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
818
|
+
/**
|
|
819
|
+
* List environment revisions
|
|
820
|
+
* @summary List environment revisions
|
|
821
|
+
* @param {string} orgName Organization name
|
|
822
|
+
* @param {string} envName Environment name
|
|
823
|
+
* @param {number} [before] before revision number for pagination
|
|
824
|
+
* @param {number} [count] limit of revisions to return
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
listEnvironmentRevisions: (orgName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
665
829
|
/**
|
|
666
830
|
* List environments in the organization available to the current user
|
|
667
831
|
* @summary List environments in the organization
|
|
@@ -681,6 +845,17 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
681
845
|
* @throws {RequiredError}
|
|
682
846
|
*/
|
|
683
847
|
openEnvironment: (orgName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
848
|
+
/**
|
|
849
|
+
* Opens a session the given environment at a specific version for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
850
|
+
* @summary Open an environment session at a specific version
|
|
851
|
+
* @param {string} orgName Organization name
|
|
852
|
+
* @param {string} envName Environment name
|
|
853
|
+
* @param {string} version Revision or tag
|
|
854
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
openEnvironmentAtVersion: (orgName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
684
859
|
/**
|
|
685
860
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
686
861
|
* @summary Read an open environment
|
|
@@ -702,6 +877,17 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
702
877
|
* @throws {RequiredError}
|
|
703
878
|
*/
|
|
704
879
|
readOpenEnvironmentProperty: (orgName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
880
|
+
/**
|
|
881
|
+
* Update environment revision tag
|
|
882
|
+
* @summary Update environment revision tag
|
|
883
|
+
* @param {string} orgName Organization name
|
|
884
|
+
* @param {string} envName Environment name
|
|
885
|
+
* @param {string} tagName Tag name
|
|
886
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
*/
|
|
890
|
+
updateEnvironmentRevisionTag: (orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
705
891
|
/**
|
|
706
892
|
* Validates and updates the given environment\'s definition.
|
|
707
893
|
* @summary Update an existing environment with Yaml file
|
|
@@ -736,6 +922,17 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
736
922
|
* @throws {RequiredError}
|
|
737
923
|
*/
|
|
738
924
|
createEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>;
|
|
925
|
+
/**
|
|
926
|
+
* Create environment revision tag
|
|
927
|
+
* @summary Create environment revision tag
|
|
928
|
+
* @param {string} orgName Organization name
|
|
929
|
+
* @param {string} envName Environment name
|
|
930
|
+
* @param {string} tagName Tag name
|
|
931
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @throws {RequiredError}
|
|
934
|
+
*/
|
|
935
|
+
createEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
739
936
|
/**
|
|
740
937
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
741
938
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
@@ -754,6 +951,16 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
754
951
|
* @throws {RequiredError}
|
|
755
952
|
*/
|
|
756
953
|
deleteEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>;
|
|
954
|
+
/**
|
|
955
|
+
* Delete environment revision tag
|
|
956
|
+
* @summary Delete environment revision tag
|
|
957
|
+
* @param {string} orgName Organization name
|
|
958
|
+
* @param {string} envName Environment name
|
|
959
|
+
* @param {string} tagName Tag name
|
|
960
|
+
* @param {*} [options] Override http request option.
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
*/
|
|
963
|
+
deleteEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
757
964
|
/**
|
|
758
965
|
* Read an environment
|
|
759
966
|
* @summary Read an environment
|
|
@@ -763,6 +970,16 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
763
970
|
* @throws {RequiredError}
|
|
764
971
|
*/
|
|
765
972
|
getEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
973
|
+
/**
|
|
974
|
+
* Read an environmentat a specific revision or tag
|
|
975
|
+
* @summary Read an environment at a specific version
|
|
976
|
+
* @param {string} orgName Organization name
|
|
977
|
+
* @param {string} envName Environment name
|
|
978
|
+
* @param {string} version Revision or tag
|
|
979
|
+
* @param {*} [options] Override http request option.
|
|
980
|
+
* @throws {RequiredError}
|
|
981
|
+
*/
|
|
982
|
+
getEnvironmentAtVersion(orgName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
766
983
|
/**
|
|
767
984
|
* Returns the ETag for the given environment if it exists.
|
|
768
985
|
* @summary Return an Environment ETag
|
|
@@ -772,6 +989,38 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
772
989
|
* @throws {RequiredError}
|
|
773
990
|
*/
|
|
774
991
|
getEnvironmentETag(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
992
|
+
/**
|
|
993
|
+
* Read environment revision tag
|
|
994
|
+
* @summary Read environment revision tag
|
|
995
|
+
* @param {string} orgName Organization name
|
|
996
|
+
* @param {string} envName Environment name
|
|
997
|
+
* @param {string} tagName Tag name
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @throws {RequiredError}
|
|
1000
|
+
*/
|
|
1001
|
+
getEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentRevisionTag>>;
|
|
1002
|
+
/**
|
|
1003
|
+
* List environment revisions
|
|
1004
|
+
* @summary List environment revisions
|
|
1005
|
+
* @param {string} orgName Organization name
|
|
1006
|
+
* @param {string} envName Environment name
|
|
1007
|
+
* @param {string} [after] after tag for pagination
|
|
1008
|
+
* @param {number} [count] limit of tags to return
|
|
1009
|
+
* @param {*} [options] Override http request option.
|
|
1010
|
+
* @throws {RequiredError}
|
|
1011
|
+
*/
|
|
1012
|
+
listEnvironmentRevisionTags(orgName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentRevisionTags>>;
|
|
1013
|
+
/**
|
|
1014
|
+
* List environment revisions
|
|
1015
|
+
* @summary List environment revisions
|
|
1016
|
+
* @param {string} orgName Organization name
|
|
1017
|
+
* @param {string} envName Environment name
|
|
1018
|
+
* @param {number} [before] before revision number for pagination
|
|
1019
|
+
* @param {number} [count] limit of revisions to return
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
*/
|
|
1023
|
+
listEnvironmentRevisions(orgName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentRevision>>>;
|
|
775
1024
|
/**
|
|
776
1025
|
* List environments in the organization available to the current user
|
|
777
1026
|
* @summary List environments in the organization
|
|
@@ -791,6 +1040,17 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
791
1040
|
* @throws {RequiredError}
|
|
792
1041
|
*/
|
|
793
1042
|
openEnvironment(orgName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenEnvironment>>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Opens a session the given environment at a specific version for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1045
|
+
* @summary Open an environment session at a specific version
|
|
1046
|
+
* @param {string} orgName Organization name
|
|
1047
|
+
* @param {string} envName Environment name
|
|
1048
|
+
* @param {string} version Revision or tag
|
|
1049
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
*/
|
|
1053
|
+
openEnvironmentAtVersion(orgName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenEnvironment>>;
|
|
794
1054
|
/**
|
|
795
1055
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
796
1056
|
* @summary Read an open environment
|
|
@@ -812,6 +1072,17 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
812
1072
|
* @throws {RequiredError}
|
|
813
1073
|
*/
|
|
814
1074
|
readOpenEnvironmentProperty(orgName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Value>>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Update environment revision tag
|
|
1077
|
+
* @summary Update environment revision tag
|
|
1078
|
+
* @param {string} orgName Organization name
|
|
1079
|
+
* @param {string} envName Environment name
|
|
1080
|
+
* @param {string} tagName Tag name
|
|
1081
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @throws {RequiredError}
|
|
1084
|
+
*/
|
|
1085
|
+
updateEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
815
1086
|
/**
|
|
816
1087
|
* Validates and updates the given environment\'s definition.
|
|
817
1088
|
* @summary Update an existing environment with Yaml file
|
|
@@ -846,6 +1117,17 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
846
1117
|
* @throws {RequiredError}
|
|
847
1118
|
*/
|
|
848
1119
|
createEnvironment(orgName: string, envName: string, options?: any): AxiosPromise<Error>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Create environment revision tag
|
|
1122
|
+
* @summary Create environment revision tag
|
|
1123
|
+
* @param {string} orgName Organization name
|
|
1124
|
+
* @param {string} envName Environment name
|
|
1125
|
+
* @param {string} tagName Tag name
|
|
1126
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1127
|
+
* @param {*} [options] Override http request option.
|
|
1128
|
+
* @throws {RequiredError}
|
|
1129
|
+
*/
|
|
1130
|
+
createEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: any): AxiosPromise<void>;
|
|
849
1131
|
/**
|
|
850
1132
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
851
1133
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
@@ -864,6 +1146,16 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
864
1146
|
* @throws {RequiredError}
|
|
865
1147
|
*/
|
|
866
1148
|
deleteEnvironment(orgName: string, envName: string, options?: any): AxiosPromise<Error>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Delete environment revision tag
|
|
1151
|
+
* @summary Delete environment revision tag
|
|
1152
|
+
* @param {string} orgName Organization name
|
|
1153
|
+
* @param {string} envName Environment name
|
|
1154
|
+
* @param {string} tagName Tag name
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
deleteEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: any): AxiosPromise<void>;
|
|
867
1159
|
/**
|
|
868
1160
|
* Read an environment
|
|
869
1161
|
* @summary Read an environment
|
|
@@ -873,6 +1165,16 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
873
1165
|
* @throws {RequiredError}
|
|
874
1166
|
*/
|
|
875
1167
|
getEnvironment(orgName: string, envName: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Read an environmentat a specific revision or tag
|
|
1170
|
+
* @summary Read an environment at a specific version
|
|
1171
|
+
* @param {string} orgName Organization name
|
|
1172
|
+
* @param {string} envName Environment name
|
|
1173
|
+
* @param {string} version Revision or tag
|
|
1174
|
+
* @param {*} [options] Override http request option.
|
|
1175
|
+
* @throws {RequiredError}
|
|
1176
|
+
*/
|
|
1177
|
+
getEnvironmentAtVersion(orgName: string, envName: string, version: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
876
1178
|
/**
|
|
877
1179
|
* Returns the ETag for the given environment if it exists.
|
|
878
1180
|
* @summary Return an Environment ETag
|
|
@@ -882,6 +1184,38 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
882
1184
|
* @throws {RequiredError}
|
|
883
1185
|
*/
|
|
884
1186
|
getEnvironmentETag(orgName: string, envName: string, options?: any): AxiosPromise<void>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Read environment revision tag
|
|
1189
|
+
* @summary Read environment revision tag
|
|
1190
|
+
* @param {string} orgName Organization name
|
|
1191
|
+
* @param {string} envName Environment name
|
|
1192
|
+
* @param {string} tagName Tag name
|
|
1193
|
+
* @param {*} [options] Override http request option.
|
|
1194
|
+
* @throws {RequiredError}
|
|
1195
|
+
*/
|
|
1196
|
+
getEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: any): AxiosPromise<EnvironmentRevisionTag>;
|
|
1197
|
+
/**
|
|
1198
|
+
* List environment revisions
|
|
1199
|
+
* @summary List environment revisions
|
|
1200
|
+
* @param {string} orgName Organization name
|
|
1201
|
+
* @param {string} envName Environment name
|
|
1202
|
+
* @param {string} [after] after tag for pagination
|
|
1203
|
+
* @param {number} [count] limit of tags to return
|
|
1204
|
+
* @param {*} [options] Override http request option.
|
|
1205
|
+
* @throws {RequiredError}
|
|
1206
|
+
*/
|
|
1207
|
+
listEnvironmentRevisionTags(orgName: string, envName: string, after?: string, count?: number, options?: any): AxiosPromise<EnvironmentRevisionTags>;
|
|
1208
|
+
/**
|
|
1209
|
+
* List environment revisions
|
|
1210
|
+
* @summary List environment revisions
|
|
1211
|
+
* @param {string} orgName Organization name
|
|
1212
|
+
* @param {string} envName Environment name
|
|
1213
|
+
* @param {number} [before] before revision number for pagination
|
|
1214
|
+
* @param {number} [count] limit of revisions to return
|
|
1215
|
+
* @param {*} [options] Override http request option.
|
|
1216
|
+
* @throws {RequiredError}
|
|
1217
|
+
*/
|
|
1218
|
+
listEnvironmentRevisions(orgName: string, envName: string, before?: number, count?: number, options?: any): AxiosPromise<Array<EnvironmentRevision>>;
|
|
885
1219
|
/**
|
|
886
1220
|
* List environments in the organization available to the current user
|
|
887
1221
|
* @summary List environments in the organization
|
|
@@ -901,6 +1235,17 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
901
1235
|
* @throws {RequiredError}
|
|
902
1236
|
*/
|
|
903
1237
|
openEnvironment(orgName: string, envName: string, duration?: string, options?: any): AxiosPromise<OpenEnvironment>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Opens a session the given environment at a specific version for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1240
|
+
* @summary Open an environment session at a specific version
|
|
1241
|
+
* @param {string} orgName Organization name
|
|
1242
|
+
* @param {string} envName Environment name
|
|
1243
|
+
* @param {string} version Revision or tag
|
|
1244
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
1245
|
+
* @param {*} [options] Override http request option.
|
|
1246
|
+
* @throws {RequiredError}
|
|
1247
|
+
*/
|
|
1248
|
+
openEnvironmentAtVersion(orgName: string, envName: string, version: string, duration?: string, options?: any): AxiosPromise<OpenEnvironment>;
|
|
904
1249
|
/**
|
|
905
1250
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
906
1251
|
* @summary Read an open environment
|
|
@@ -922,6 +1267,17 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
922
1267
|
* @throws {RequiredError}
|
|
923
1268
|
*/
|
|
924
1269
|
readOpenEnvironmentProperty(orgName: string, envName: string, openSessionID: string, property: string, options?: any): AxiosPromise<Value>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Update environment revision tag
|
|
1272
|
+
* @summary Update environment revision tag
|
|
1273
|
+
* @param {string} orgName Organization name
|
|
1274
|
+
* @param {string} envName Environment name
|
|
1275
|
+
* @param {string} tagName Tag name
|
|
1276
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1277
|
+
* @param {*} [options] Override http request option.
|
|
1278
|
+
* @throws {RequiredError}
|
|
1279
|
+
*/
|
|
1280
|
+
updateEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: any): AxiosPromise<void>;
|
|
925
1281
|
/**
|
|
926
1282
|
* Validates and updates the given environment\'s definition.
|
|
927
1283
|
* @summary Update an existing environment with Yaml file
|
|
@@ -960,6 +1316,18 @@ export declare class EscApi extends BaseAPI {
|
|
|
960
1316
|
* @memberof EscApi
|
|
961
1317
|
*/
|
|
962
1318
|
createEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Create environment revision tag
|
|
1321
|
+
* @summary Create environment revision tag
|
|
1322
|
+
* @param {string} orgName Organization name
|
|
1323
|
+
* @param {string} envName Environment name
|
|
1324
|
+
* @param {string} tagName Tag name
|
|
1325
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1326
|
+
* @param {*} [options] Override http request option.
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
* @memberof EscApi
|
|
1329
|
+
*/
|
|
1330
|
+
createEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
963
1331
|
/**
|
|
964
1332
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
965
1333
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
@@ -980,6 +1348,17 @@ export declare class EscApi extends BaseAPI {
|
|
|
980
1348
|
* @memberof EscApi
|
|
981
1349
|
*/
|
|
982
1350
|
deleteEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Delete environment revision tag
|
|
1353
|
+
* @summary Delete environment revision tag
|
|
1354
|
+
* @param {string} orgName Organization name
|
|
1355
|
+
* @param {string} envName Environment name
|
|
1356
|
+
* @param {string} tagName Tag name
|
|
1357
|
+
* @param {*} [options] Override http request option.
|
|
1358
|
+
* @throws {RequiredError}
|
|
1359
|
+
* @memberof EscApi
|
|
1360
|
+
*/
|
|
1361
|
+
deleteEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
983
1362
|
/**
|
|
984
1363
|
* Read an environment
|
|
985
1364
|
* @summary Read an environment
|
|
@@ -990,6 +1369,17 @@ export declare class EscApi extends BaseAPI {
|
|
|
990
1369
|
* @memberof EscApi
|
|
991
1370
|
*/
|
|
992
1371
|
getEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Read an environmentat a specific revision or tag
|
|
1374
|
+
* @summary Read an environment at a specific version
|
|
1375
|
+
* @param {string} orgName Organization name
|
|
1376
|
+
* @param {string} envName Environment name
|
|
1377
|
+
* @param {string} version Revision or tag
|
|
1378
|
+
* @param {*} [options] Override http request option.
|
|
1379
|
+
* @throws {RequiredError}
|
|
1380
|
+
* @memberof EscApi
|
|
1381
|
+
*/
|
|
1382
|
+
getEnvironmentAtVersion(orgName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
993
1383
|
/**
|
|
994
1384
|
* Returns the ETag for the given environment if it exists.
|
|
995
1385
|
* @summary Return an Environment ETag
|
|
@@ -1000,6 +1390,41 @@ export declare class EscApi extends BaseAPI {
|
|
|
1000
1390
|
* @memberof EscApi
|
|
1001
1391
|
*/
|
|
1002
1392
|
getEnvironmentETag(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Read environment revision tag
|
|
1395
|
+
* @summary Read environment revision tag
|
|
1396
|
+
* @param {string} orgName Organization name
|
|
1397
|
+
* @param {string} envName Environment name
|
|
1398
|
+
* @param {string} tagName Tag name
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
* @memberof EscApi
|
|
1402
|
+
*/
|
|
1403
|
+
getEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTag, any>>;
|
|
1404
|
+
/**
|
|
1405
|
+
* List environment revisions
|
|
1406
|
+
* @summary List environment revisions
|
|
1407
|
+
* @param {string} orgName Organization name
|
|
1408
|
+
* @param {string} envName Environment name
|
|
1409
|
+
* @param {string} [after] after tag for pagination
|
|
1410
|
+
* @param {number} [count] limit of tags to return
|
|
1411
|
+
* @param {*} [options] Override http request option.
|
|
1412
|
+
* @throws {RequiredError}
|
|
1413
|
+
* @memberof EscApi
|
|
1414
|
+
*/
|
|
1415
|
+
listEnvironmentRevisionTags(orgName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTags, any>>;
|
|
1416
|
+
/**
|
|
1417
|
+
* List environment revisions
|
|
1418
|
+
* @summary List environment revisions
|
|
1419
|
+
* @param {string} orgName Organization name
|
|
1420
|
+
* @param {string} envName Environment name
|
|
1421
|
+
* @param {number} [before] before revision number for pagination
|
|
1422
|
+
* @param {number} [count] limit of revisions to return
|
|
1423
|
+
* @param {*} [options] Override http request option.
|
|
1424
|
+
* @throws {RequiredError}
|
|
1425
|
+
* @memberof EscApi
|
|
1426
|
+
*/
|
|
1427
|
+
listEnvironmentRevisions(orgName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevision[], any>>;
|
|
1003
1428
|
/**
|
|
1004
1429
|
* List environments in the organization available to the current user
|
|
1005
1430
|
* @summary List environments in the organization
|
|
@@ -1021,6 +1446,18 @@ export declare class EscApi extends BaseAPI {
|
|
|
1021
1446
|
* @memberof EscApi
|
|
1022
1447
|
*/
|
|
1023
1448
|
openEnvironment(orgName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Opens a session the given environment at a specific version for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1451
|
+
* @summary Open an environment session at a specific version
|
|
1452
|
+
* @param {string} orgName Organization name
|
|
1453
|
+
* @param {string} envName Environment name
|
|
1454
|
+
* @param {string} version Revision or tag
|
|
1455
|
+
* @param {string} [duration] open duration - A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as “300ms”, “1.5h” or “2h45m”. Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
|
|
1456
|
+
* @param {*} [options] Override http request option.
|
|
1457
|
+
* @throws {RequiredError}
|
|
1458
|
+
* @memberof EscApi
|
|
1459
|
+
*/
|
|
1460
|
+
openEnvironmentAtVersion(orgName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1024
1461
|
/**
|
|
1025
1462
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1026
1463
|
* @summary Read an open environment
|
|
@@ -1044,6 +1481,18 @@ export declare class EscApi extends BaseAPI {
|
|
|
1044
1481
|
* @memberof EscApi
|
|
1045
1482
|
*/
|
|
1046
1483
|
readOpenEnvironmentProperty(orgName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Value, any>>;
|
|
1484
|
+
/**
|
|
1485
|
+
* Update environment revision tag
|
|
1486
|
+
* @summary Update environment revision tag
|
|
1487
|
+
* @param {string} orgName Organization name
|
|
1488
|
+
* @param {string} envName Environment name
|
|
1489
|
+
* @param {string} tagName Tag name
|
|
1490
|
+
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1491
|
+
* @param {*} [options] Override http request option.
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
* @memberof EscApi
|
|
1494
|
+
*/
|
|
1495
|
+
updateEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1047
1496
|
/**
|
|
1048
1497
|
* Validates and updates the given environment\'s definition.
|
|
1049
1498
|
* @summary Update an existing environment with Yaml file
|