@pulumi/esc-sdk 0.9.2 → 0.10.1
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/esc/index.d.ts +94 -20
- package/esc/index.js +173 -41
- package/esc/index.js.map +1 -1
- package/esc/raw/api.d.ts +551 -80
- package/esc/raw/api.js +738 -161
- package/esc/raw/api.js.map +1 -1
- package/esc/raw/base.js +1 -1
- package/esc/raw/base.js.map +1 -1
- package/package.json +1 -1
- package/test/client.spec.js +45 -27
- package/test/client.spec.js.map +1 -1
package/esc/raw/api.d.ts
CHANGED
|
@@ -87,6 +87,63 @@ export interface CheckEnvironment {
|
|
|
87
87
|
*/
|
|
88
88
|
'diagnostics'?: Array<EnvironmentDiagnostic>;
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @export
|
|
93
|
+
* @interface CreateEnvironment
|
|
94
|
+
*/
|
|
95
|
+
export interface CreateEnvironment {
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CreateEnvironment
|
|
100
|
+
*/
|
|
101
|
+
'project': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CreateEnvironment
|
|
106
|
+
*/
|
|
107
|
+
'name': string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
* @interface CreateEnvironmentRevisionTag
|
|
113
|
+
*/
|
|
114
|
+
export interface CreateEnvironmentRevisionTag {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof CreateEnvironmentRevisionTag
|
|
119
|
+
*/
|
|
120
|
+
'name': string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof CreateEnvironmentRevisionTag
|
|
125
|
+
*/
|
|
126
|
+
'revision': number;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @export
|
|
131
|
+
* @interface CreateEnvironmentTag
|
|
132
|
+
*/
|
|
133
|
+
export interface CreateEnvironmentTag {
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof CreateEnvironmentTag
|
|
138
|
+
*/
|
|
139
|
+
'name': string;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof CreateEnvironmentTag
|
|
144
|
+
*/
|
|
145
|
+
'value': string;
|
|
146
|
+
}
|
|
90
147
|
/**
|
|
91
148
|
*
|
|
92
149
|
* @export
|
|
@@ -311,6 +368,49 @@ export interface EnvironmentRevisionTags {
|
|
|
311
368
|
*/
|
|
312
369
|
'nextToken'?: string;
|
|
313
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @export
|
|
374
|
+
* @interface EnvironmentTag
|
|
375
|
+
*/
|
|
376
|
+
export interface EnvironmentTag {
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {string}
|
|
380
|
+
* @memberof EnvironmentTag
|
|
381
|
+
*/
|
|
382
|
+
'name': string;
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof EnvironmentTag
|
|
387
|
+
*/
|
|
388
|
+
'value'?: string;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @type {string}
|
|
392
|
+
* @memberof EnvironmentTag
|
|
393
|
+
*/
|
|
394
|
+
'created': string;
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof EnvironmentTag
|
|
399
|
+
*/
|
|
400
|
+
'modified': string;
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @type {string}
|
|
404
|
+
* @memberof EnvironmentTag
|
|
405
|
+
*/
|
|
406
|
+
'editorLogin': string;
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof EnvironmentTag
|
|
411
|
+
*/
|
|
412
|
+
'editorName': string;
|
|
413
|
+
}
|
|
314
414
|
/**
|
|
315
415
|
*
|
|
316
416
|
* @export
|
|
@@ -459,6 +559,27 @@ export interface Interpolation {
|
|
|
459
559
|
*/
|
|
460
560
|
'value'?: Array<PropertyAccessor>;
|
|
461
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @export
|
|
565
|
+
* @interface ListEnvironmentTags
|
|
566
|
+
*/
|
|
567
|
+
export interface ListEnvironmentTags {
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {{ [key: string]: EnvironmentTag; }}
|
|
571
|
+
* @memberof ListEnvironmentTags
|
|
572
|
+
*/
|
|
573
|
+
'tags': {
|
|
574
|
+
[key: string]: EnvironmentTag;
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof ListEnvironmentTags
|
|
580
|
+
*/
|
|
581
|
+
'nextToken': string;
|
|
582
|
+
}
|
|
462
583
|
/**
|
|
463
584
|
*
|
|
464
585
|
* @export
|
|
@@ -510,6 +631,12 @@ export interface OrgEnvironment {
|
|
|
510
631
|
* @memberof OrgEnvironment
|
|
511
632
|
*/
|
|
512
633
|
'organization'?: string;
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @type {string}
|
|
637
|
+
* @memberof OrgEnvironment
|
|
638
|
+
*/
|
|
639
|
+
'project': string;
|
|
513
640
|
/**
|
|
514
641
|
*
|
|
515
642
|
* @type {string}
|
|
@@ -674,6 +801,57 @@ export interface UpdateEnvironmentRevisionTag {
|
|
|
674
801
|
*/
|
|
675
802
|
'revision': number;
|
|
676
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @export
|
|
807
|
+
* @interface UpdateEnvironmentTag
|
|
808
|
+
*/
|
|
809
|
+
export interface UpdateEnvironmentTag {
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @type {UpdateEnvironmentTagCurrentTag}
|
|
813
|
+
* @memberof UpdateEnvironmentTag
|
|
814
|
+
*/
|
|
815
|
+
'currentTag': UpdateEnvironmentTagCurrentTag;
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @type {UpdateEnvironmentTagNewTag}
|
|
819
|
+
* @memberof UpdateEnvironmentTag
|
|
820
|
+
*/
|
|
821
|
+
'newTag': UpdateEnvironmentTagNewTag;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @export
|
|
826
|
+
* @interface UpdateEnvironmentTagCurrentTag
|
|
827
|
+
*/
|
|
828
|
+
export interface UpdateEnvironmentTagCurrentTag {
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
* @type {string}
|
|
832
|
+
* @memberof UpdateEnvironmentTagCurrentTag
|
|
833
|
+
*/
|
|
834
|
+
'value': string;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @export
|
|
839
|
+
* @interface UpdateEnvironmentTagNewTag
|
|
840
|
+
*/
|
|
841
|
+
export interface UpdateEnvironmentTagNewTag {
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @type {string}
|
|
845
|
+
* @memberof UpdateEnvironmentTagNewTag
|
|
846
|
+
*/
|
|
847
|
+
'name': string;
|
|
848
|
+
/**
|
|
849
|
+
*
|
|
850
|
+
* @type {string}
|
|
851
|
+
* @memberof UpdateEnvironmentTagNewTag
|
|
852
|
+
*/
|
|
853
|
+
'value': string;
|
|
854
|
+
}
|
|
677
855
|
/**
|
|
678
856
|
*
|
|
679
857
|
* @export
|
|
@@ -723,110 +901,164 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
723
901
|
* Creates an environment in the given org with the given name.
|
|
724
902
|
* @summary Create a new environment
|
|
725
903
|
* @param {string} orgName Organization name
|
|
726
|
-
* @param {
|
|
904
|
+
* @param {CreateEnvironment} createEnvironment Create Environment
|
|
727
905
|
* @param {*} [options] Override http request option.
|
|
728
906
|
* @throws {RequiredError}
|
|
729
907
|
*/
|
|
730
|
-
createEnvironment: (orgName: string,
|
|
908
|
+
createEnvironment: (orgName: string, createEnvironment: CreateEnvironment, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
731
909
|
/**
|
|
732
910
|
* Create environment revision tag
|
|
733
911
|
* @summary Create environment revision tag
|
|
734
912
|
* @param {string} orgName Organization name
|
|
913
|
+
* @param {string} projectName Project name
|
|
735
914
|
* @param {string} envName Environment name
|
|
736
|
-
* @param {
|
|
737
|
-
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
915
|
+
* @param {CreateEnvironmentRevisionTag} createEnvironmentRevisionTag Create environment revision tag
|
|
738
916
|
* @param {*} [options] Override http request option.
|
|
739
917
|
* @throws {RequiredError}
|
|
740
918
|
*/
|
|
741
|
-
createEnvironmentRevisionTag: (orgName: string,
|
|
919
|
+
createEnvironmentRevisionTag: (orgName: string, projectName: string, envName: string, createEnvironmentRevisionTag: CreateEnvironmentRevisionTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
920
|
+
/**
|
|
921
|
+
* Create environment tag
|
|
922
|
+
* @summary Create environment tag
|
|
923
|
+
* @param {string} orgName Organization name
|
|
924
|
+
* @param {string} projectName Project name
|
|
925
|
+
* @param {string} envName Environment name
|
|
926
|
+
* @param {CreateEnvironmentTag} createEnvironmentTag Create environment tag
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
*/
|
|
930
|
+
createEnvironmentTag: (orgName: string, projectName: string, envName: string, createEnvironmentTag: CreateEnvironmentTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
742
931
|
/**
|
|
743
932
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
744
933
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
745
934
|
* @param {string} orgName Organization name
|
|
935
|
+
* @param {string} projectName Project name
|
|
746
936
|
* @param {string} envName Environment name
|
|
747
937
|
* @param {*} [options] Override http request option.
|
|
748
938
|
* @throws {RequiredError}
|
|
749
939
|
*/
|
|
750
|
-
decryptEnvironment: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
940
|
+
decryptEnvironment: (orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
751
941
|
/**
|
|
752
942
|
* Delete an environment
|
|
753
943
|
* @summary Delete an environment
|
|
754
944
|
* @param {string} orgName Organization name
|
|
945
|
+
* @param {string} projectName Project name
|
|
755
946
|
* @param {string} envName Environment name
|
|
756
947
|
* @param {*} [options] Override http request option.
|
|
757
948
|
* @throws {RequiredError}
|
|
758
949
|
*/
|
|
759
|
-
deleteEnvironment: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
950
|
+
deleteEnvironment: (orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
760
951
|
/**
|
|
761
952
|
* Delete environment revision tag
|
|
762
953
|
* @summary Delete environment revision tag
|
|
763
954
|
* @param {string} orgName Organization name
|
|
955
|
+
* @param {string} projectName Project name
|
|
956
|
+
* @param {string} envName Environment name
|
|
957
|
+
* @param {string} tagName Tag name
|
|
958
|
+
* @param {*} [options] Override http request option.
|
|
959
|
+
* @throws {RequiredError}
|
|
960
|
+
*/
|
|
961
|
+
deleteEnvironmentRevisionTag: (orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
962
|
+
/**
|
|
963
|
+
* Delete environment tag
|
|
964
|
+
* @summary Delete environment tag
|
|
965
|
+
* @param {string} orgName Organization name
|
|
966
|
+
* @param {string} projectName Project name
|
|
764
967
|
* @param {string} envName Environment name
|
|
765
968
|
* @param {string} tagName Tag name
|
|
766
969
|
* @param {*} [options] Override http request option.
|
|
767
970
|
* @throws {RequiredError}
|
|
768
971
|
*/
|
|
769
|
-
|
|
972
|
+
deleteEnvironmentTag: (orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
770
973
|
/**
|
|
771
974
|
* Read an environment
|
|
772
975
|
* @summary Read an environment
|
|
773
976
|
* @param {string} orgName Organization name
|
|
977
|
+
* @param {string} projectName Project name
|
|
774
978
|
* @param {string} envName Environment name
|
|
775
979
|
* @param {*} [options] Override http request option.
|
|
776
980
|
* @throws {RequiredError}
|
|
777
981
|
*/
|
|
778
|
-
getEnvironment: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
982
|
+
getEnvironment: (orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
779
983
|
/**
|
|
780
984
|
* Read an environmentat a specific revision or tag
|
|
781
985
|
* @summary Read an environment at a specific version
|
|
782
986
|
* @param {string} orgName Organization name
|
|
987
|
+
* @param {string} projectName Project name
|
|
783
988
|
* @param {string} envName Environment name
|
|
784
989
|
* @param {string} version Revision or tag
|
|
785
990
|
* @param {*} [options] Override http request option.
|
|
786
991
|
* @throws {RequiredError}
|
|
787
992
|
*/
|
|
788
|
-
getEnvironmentAtVersion: (orgName: string, envName: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
993
|
+
getEnvironmentAtVersion: (orgName: string, projectName: string, envName: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
789
994
|
/**
|
|
790
995
|
* Returns the ETag for the given environment if it exists.
|
|
791
996
|
* @summary Return an Environment ETag
|
|
792
997
|
* @param {string} orgName Organization name
|
|
998
|
+
* @param {string} projectName Project name
|
|
793
999
|
* @param {string} envName Environment name
|
|
794
1000
|
* @param {*} [options] Override http request option.
|
|
795
1001
|
* @throws {RequiredError}
|
|
796
1002
|
*/
|
|
797
|
-
getEnvironmentETag: (orgName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1003
|
+
getEnvironmentETag: (orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
798
1004
|
/**
|
|
799
1005
|
* Read environment revision tag
|
|
800
1006
|
* @summary Read environment revision tag
|
|
801
1007
|
* @param {string} orgName Organization name
|
|
1008
|
+
* @param {string} projectName Project name
|
|
802
1009
|
* @param {string} envName Environment name
|
|
803
1010
|
* @param {string} tagName Tag name
|
|
804
1011
|
* @param {*} [options] Override http request option.
|
|
805
1012
|
* @throws {RequiredError}
|
|
806
1013
|
*/
|
|
807
|
-
getEnvironmentRevisionTag: (orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1014
|
+
getEnvironmentRevisionTag: (orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Read an environment tag
|
|
1017
|
+
* @summary Read an environment tag
|
|
1018
|
+
* @param {string} orgName Organization name
|
|
1019
|
+
* @param {string} projectName Project name
|
|
1020
|
+
* @param {string} envName Environment name
|
|
1021
|
+
* @param {string} tagName Tag name
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @throws {RequiredError}
|
|
1024
|
+
*/
|
|
1025
|
+
getEnvironmentTag: (orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
808
1026
|
/**
|
|
809
1027
|
* List environment revisions
|
|
810
1028
|
* @summary List environment revisions
|
|
811
1029
|
* @param {string} orgName Organization name
|
|
1030
|
+
* @param {string} projectName Project name
|
|
812
1031
|
* @param {string} envName Environment name
|
|
813
1032
|
* @param {string} [after] after tag for pagination
|
|
814
1033
|
* @param {number} [count] limit of tags to return
|
|
815
1034
|
* @param {*} [options] Override http request option.
|
|
816
1035
|
* @throws {RequiredError}
|
|
817
1036
|
*/
|
|
818
|
-
listEnvironmentRevisionTags: (orgName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1037
|
+
listEnvironmentRevisionTags: (orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
819
1038
|
/**
|
|
820
1039
|
* List environment revisions
|
|
821
1040
|
* @summary List environment revisions
|
|
822
1041
|
* @param {string} orgName Organization name
|
|
1042
|
+
* @param {string} projectName Project name
|
|
823
1043
|
* @param {string} envName Environment name
|
|
824
1044
|
* @param {number} [before] before revision number for pagination
|
|
825
1045
|
* @param {number} [count] limit of revisions to return
|
|
826
1046
|
* @param {*} [options] Override http request option.
|
|
827
1047
|
* @throws {RequiredError}
|
|
828
1048
|
*/
|
|
829
|
-
listEnvironmentRevisions: (orgName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1049
|
+
listEnvironmentRevisions: (orgName: string, projectName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1050
|
+
/**
|
|
1051
|
+
* List environment tags
|
|
1052
|
+
* @summary List environment tags
|
|
1053
|
+
* @param {string} orgName Organization name
|
|
1054
|
+
* @param {string} projectName Project name
|
|
1055
|
+
* @param {string} envName Environment name
|
|
1056
|
+
* @param {string} [after] after tag for pagination
|
|
1057
|
+
* @param {number} [count] limit of tags to return
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
listEnvironmentTags: (orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
830
1062
|
/**
|
|
831
1063
|
* List environments in the organization available to the current user
|
|
832
1064
|
* @summary List environments in the organization
|
|
@@ -840,65 +1072,83 @@ export declare const EscApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
840
1072
|
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
841
1073
|
* @summary Open an environment session
|
|
842
1074
|
* @param {string} orgName Organization name
|
|
1075
|
+
* @param {string} projectName Project name
|
|
843
1076
|
* @param {string} envName Environment name
|
|
844
1077
|
* @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”.
|
|
845
1078
|
* @param {*} [options] Override http request option.
|
|
846
1079
|
* @throws {RequiredError}
|
|
847
1080
|
*/
|
|
848
|
-
openEnvironment: (orgName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1081
|
+
openEnvironment: (orgName: string, projectName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
849
1082
|
/**
|
|
850
1083
|
* 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.
|
|
851
1084
|
* @summary Open an environment session at a specific version
|
|
852
1085
|
* @param {string} orgName Organization name
|
|
1086
|
+
* @param {string} projectName Project name
|
|
853
1087
|
* @param {string} envName Environment name
|
|
854
1088
|
* @param {string} version Revision or tag
|
|
855
1089
|
* @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”.
|
|
856
1090
|
* @param {*} [options] Override http request option.
|
|
857
1091
|
* @throws {RequiredError}
|
|
858
1092
|
*/
|
|
859
|
-
openEnvironmentAtVersion: (orgName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1093
|
+
openEnvironmentAtVersion: (orgName: string, projectName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
860
1094
|
/**
|
|
861
1095
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
862
1096
|
* @summary Read an open environment
|
|
863
1097
|
* @param {string} orgName Organization name
|
|
1098
|
+
* @param {string} projectName Project name
|
|
864
1099
|
* @param {string} envName Environment name
|
|
865
1100
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
866
1101
|
* @param {*} [options] Override http request option.
|
|
867
1102
|
* @throws {RequiredError}
|
|
868
1103
|
*/
|
|
869
|
-
readOpenEnvironment: (orgName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1104
|
+
readOpenEnvironment: (orgName: string, projectName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
870
1105
|
/**
|
|
871
1106
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
872
1107
|
* @summary Read an open environment
|
|
873
1108
|
* @param {string} orgName Organization name
|
|
1109
|
+
* @param {string} projectName Project name
|
|
874
1110
|
* @param {string} envName Environment name
|
|
875
1111
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
876
1112
|
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
877
1113
|
* @param {*} [options] Override http request option.
|
|
878
1114
|
* @throws {RequiredError}
|
|
879
1115
|
*/
|
|
880
|
-
readOpenEnvironmentProperty: (orgName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1116
|
+
readOpenEnvironmentProperty: (orgName: string, projectName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
881
1117
|
/**
|
|
882
1118
|
* Update environment revision tag
|
|
883
1119
|
* @summary Update environment revision tag
|
|
884
1120
|
* @param {string} orgName Organization name
|
|
1121
|
+
* @param {string} projectName Project name
|
|
885
1122
|
* @param {string} envName Environment name
|
|
886
1123
|
* @param {string} tagName Tag name
|
|
887
1124
|
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
888
1125
|
* @param {*} [options] Override http request option.
|
|
889
1126
|
* @throws {RequiredError}
|
|
890
1127
|
*/
|
|
891
|
-
updateEnvironmentRevisionTag: (orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1128
|
+
updateEnvironmentRevisionTag: (orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Update an environment tag
|
|
1131
|
+
* @summary Update an environment tag
|
|
1132
|
+
* @param {string} orgName Organization name
|
|
1133
|
+
* @param {string} projectName Project name
|
|
1134
|
+
* @param {string} envName Environment name
|
|
1135
|
+
* @param {string} tagName Tag name
|
|
1136
|
+
* @param {UpdateEnvironmentTag} updateEnvironmentTag Update environment tag
|
|
1137
|
+
* @param {*} [options] Override http request option.
|
|
1138
|
+
* @throws {RequiredError}
|
|
1139
|
+
*/
|
|
1140
|
+
updateEnvironmentTag: (orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentTag: UpdateEnvironmentTag, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
892
1141
|
/**
|
|
893
1142
|
* Validates and updates the given environment\'s definition.
|
|
894
1143
|
* @summary Update an existing environment with Yaml file
|
|
895
1144
|
* @param {string} orgName Organization name
|
|
1145
|
+
* @param {string} projectName Project name
|
|
896
1146
|
* @param {string} envName Environment name
|
|
897
1147
|
* @param {string} body Environment Yaml content
|
|
898
1148
|
* @param {*} [options] Override http request option.
|
|
899
1149
|
* @throws {RequiredError}
|
|
900
1150
|
*/
|
|
901
|
-
updateEnvironmentYaml: (orgName: string, envName: string, body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1151
|
+
updateEnvironmentYaml: (orgName: string, projectName: string, envName: string, body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
902
1152
|
};
|
|
903
1153
|
/**
|
|
904
1154
|
* EscApi - functional programming interface
|
|
@@ -918,110 +1168,164 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
918
1168
|
* Creates an environment in the given org with the given name.
|
|
919
1169
|
* @summary Create a new environment
|
|
920
1170
|
* @param {string} orgName Organization name
|
|
921
|
-
* @param {
|
|
1171
|
+
* @param {CreateEnvironment} createEnvironment Create Environment
|
|
922
1172
|
* @param {*} [options] Override http request option.
|
|
923
1173
|
* @throws {RequiredError}
|
|
924
1174
|
*/
|
|
925
|
-
createEnvironment(orgName: string,
|
|
1175
|
+
createEnvironment(orgName: string, createEnvironment: CreateEnvironment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>;
|
|
926
1176
|
/**
|
|
927
1177
|
* Create environment revision tag
|
|
928
1178
|
* @summary Create environment revision tag
|
|
929
1179
|
* @param {string} orgName Organization name
|
|
1180
|
+
* @param {string} projectName Project name
|
|
930
1181
|
* @param {string} envName Environment name
|
|
931
|
-
* @param {
|
|
932
|
-
* @param {
|
|
1182
|
+
* @param {CreateEnvironmentRevisionTag} createEnvironmentRevisionTag Create environment revision tag
|
|
1183
|
+
* @param {*} [options] Override http request option.
|
|
1184
|
+
* @throws {RequiredError}
|
|
1185
|
+
*/
|
|
1186
|
+
createEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, createEnvironmentRevisionTag: CreateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Create environment tag
|
|
1189
|
+
* @summary Create environment tag
|
|
1190
|
+
* @param {string} orgName Organization name
|
|
1191
|
+
* @param {string} projectName Project name
|
|
1192
|
+
* @param {string} envName Environment name
|
|
1193
|
+
* @param {CreateEnvironmentTag} createEnvironmentTag Create environment tag
|
|
933
1194
|
* @param {*} [options] Override http request option.
|
|
934
1195
|
* @throws {RequiredError}
|
|
935
1196
|
*/
|
|
936
|
-
|
|
1197
|
+
createEnvironmentTag(orgName: string, projectName: string, envName: string, createEnvironmentTag: CreateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentTag>>;
|
|
937
1198
|
/**
|
|
938
1199
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
939
1200
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
940
1201
|
* @param {string} orgName Organization name
|
|
1202
|
+
* @param {string} projectName Project name
|
|
941
1203
|
* @param {string} envName Environment name
|
|
942
1204
|
* @param {*} [options] Override http request option.
|
|
943
1205
|
* @throws {RequiredError}
|
|
944
1206
|
*/
|
|
945
|
-
decryptEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
1207
|
+
decryptEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
946
1208
|
/**
|
|
947
1209
|
* Delete an environment
|
|
948
1210
|
* @summary Delete an environment
|
|
949
1211
|
* @param {string} orgName Organization name
|
|
1212
|
+
* @param {string} projectName Project name
|
|
950
1213
|
* @param {string} envName Environment name
|
|
951
1214
|
* @param {*} [options] Override http request option.
|
|
952
1215
|
* @throws {RequiredError}
|
|
953
1216
|
*/
|
|
954
|
-
deleteEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>;
|
|
1217
|
+
deleteEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>;
|
|
955
1218
|
/**
|
|
956
1219
|
* Delete environment revision tag
|
|
957
1220
|
* @summary Delete environment revision tag
|
|
958
1221
|
* @param {string} orgName Organization name
|
|
1222
|
+
* @param {string} projectName Project name
|
|
959
1223
|
* @param {string} envName Environment name
|
|
960
1224
|
* @param {string} tagName Tag name
|
|
961
1225
|
* @param {*} [options] Override http request option.
|
|
962
1226
|
* @throws {RequiredError}
|
|
963
1227
|
*/
|
|
964
|
-
deleteEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1228
|
+
deleteEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Delete environment tag
|
|
1231
|
+
* @summary Delete environment tag
|
|
1232
|
+
* @param {string} orgName Organization name
|
|
1233
|
+
* @param {string} projectName Project name
|
|
1234
|
+
* @param {string} envName Environment name
|
|
1235
|
+
* @param {string} tagName Tag name
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
*/
|
|
1239
|
+
deleteEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
965
1240
|
/**
|
|
966
1241
|
* Read an environment
|
|
967
1242
|
* @summary Read an environment
|
|
968
1243
|
* @param {string} orgName Organization name
|
|
1244
|
+
* @param {string} projectName Project name
|
|
969
1245
|
* @param {string} envName Environment name
|
|
970
1246
|
* @param {*} [options] Override http request option.
|
|
971
1247
|
* @throws {RequiredError}
|
|
972
1248
|
*/
|
|
973
|
-
getEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
1249
|
+
getEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
974
1250
|
/**
|
|
975
1251
|
* Read an environmentat a specific revision or tag
|
|
976
1252
|
* @summary Read an environment at a specific version
|
|
977
1253
|
* @param {string} orgName Organization name
|
|
1254
|
+
* @param {string} projectName Project name
|
|
978
1255
|
* @param {string} envName Environment name
|
|
979
1256
|
* @param {string} version Revision or tag
|
|
980
1257
|
* @param {*} [options] Override http request option.
|
|
981
1258
|
* @throws {RequiredError}
|
|
982
1259
|
*/
|
|
983
|
-
getEnvironmentAtVersion(orgName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
1260
|
+
getEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDefinition>>;
|
|
984
1261
|
/**
|
|
985
1262
|
* Returns the ETag for the given environment if it exists.
|
|
986
1263
|
* @summary Return an Environment ETag
|
|
987
1264
|
* @param {string} orgName Organization name
|
|
1265
|
+
* @param {string} projectName Project name
|
|
988
1266
|
* @param {string} envName Environment name
|
|
989
1267
|
* @param {*} [options] Override http request option.
|
|
990
1268
|
* @throws {RequiredError}
|
|
991
1269
|
*/
|
|
992
|
-
getEnvironmentETag(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1270
|
+
getEnvironmentETag(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
993
1271
|
/**
|
|
994
1272
|
* Read environment revision tag
|
|
995
1273
|
* @summary Read environment revision tag
|
|
996
1274
|
* @param {string} orgName Organization name
|
|
1275
|
+
* @param {string} projectName Project name
|
|
1276
|
+
* @param {string} envName Environment name
|
|
1277
|
+
* @param {string} tagName Tag name
|
|
1278
|
+
* @param {*} [options] Override http request option.
|
|
1279
|
+
* @throws {RequiredError}
|
|
1280
|
+
*/
|
|
1281
|
+
getEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentRevisionTag>>;
|
|
1282
|
+
/**
|
|
1283
|
+
* Read an environment tag
|
|
1284
|
+
* @summary Read an environment tag
|
|
1285
|
+
* @param {string} orgName Organization name
|
|
1286
|
+
* @param {string} projectName Project name
|
|
997
1287
|
* @param {string} envName Environment name
|
|
998
1288
|
* @param {string} tagName Tag name
|
|
999
1289
|
* @param {*} [options] Override http request option.
|
|
1000
1290
|
* @throws {RequiredError}
|
|
1001
1291
|
*/
|
|
1002
|
-
|
|
1292
|
+
getEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentTag>>;
|
|
1003
1293
|
/**
|
|
1004
1294
|
* List environment revisions
|
|
1005
1295
|
* @summary List environment revisions
|
|
1006
1296
|
* @param {string} orgName Organization name
|
|
1297
|
+
* @param {string} projectName Project name
|
|
1007
1298
|
* @param {string} envName Environment name
|
|
1008
1299
|
* @param {string} [after] after tag for pagination
|
|
1009
1300
|
* @param {number} [count] limit of tags to return
|
|
1010
1301
|
* @param {*} [options] Override http request option.
|
|
1011
1302
|
* @throws {RequiredError}
|
|
1012
1303
|
*/
|
|
1013
|
-
listEnvironmentRevisionTags(orgName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentRevisionTags>>;
|
|
1304
|
+
listEnvironmentRevisionTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentRevisionTags>>;
|
|
1014
1305
|
/**
|
|
1015
1306
|
* List environment revisions
|
|
1016
1307
|
* @summary List environment revisions
|
|
1017
1308
|
* @param {string} orgName Organization name
|
|
1309
|
+
* @param {string} projectName Project name
|
|
1018
1310
|
* @param {string} envName Environment name
|
|
1019
1311
|
* @param {number} [before] before revision number for pagination
|
|
1020
1312
|
* @param {number} [count] limit of revisions to return
|
|
1021
1313
|
* @param {*} [options] Override http request option.
|
|
1022
1314
|
* @throws {RequiredError}
|
|
1023
1315
|
*/
|
|
1024
|
-
listEnvironmentRevisions(orgName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentRevision>>>;
|
|
1316
|
+
listEnvironmentRevisions(orgName: string, projectName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentRevision>>>;
|
|
1317
|
+
/**
|
|
1318
|
+
* List environment tags
|
|
1319
|
+
* @summary List environment tags
|
|
1320
|
+
* @param {string} orgName Organization name
|
|
1321
|
+
* @param {string} projectName Project name
|
|
1322
|
+
* @param {string} envName Environment name
|
|
1323
|
+
* @param {string} [after] after tag for pagination
|
|
1324
|
+
* @param {number} [count] limit of tags to return
|
|
1325
|
+
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @throws {RequiredError}
|
|
1327
|
+
*/
|
|
1328
|
+
listEnvironmentTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEnvironmentTags>>;
|
|
1025
1329
|
/**
|
|
1026
1330
|
* List environments in the organization available to the current user
|
|
1027
1331
|
* @summary List environments in the organization
|
|
@@ -1035,65 +1339,83 @@ export declare const EscApiFp: (configuration?: Configuration) => {
|
|
|
1035
1339
|
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1036
1340
|
* @summary Open an environment session
|
|
1037
1341
|
* @param {string} orgName Organization name
|
|
1342
|
+
* @param {string} projectName Project name
|
|
1038
1343
|
* @param {string} envName Environment name
|
|
1039
1344
|
* @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”.
|
|
1040
1345
|
* @param {*} [options] Override http request option.
|
|
1041
1346
|
* @throws {RequiredError}
|
|
1042
1347
|
*/
|
|
1043
|
-
openEnvironment(orgName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenEnvironment>>;
|
|
1348
|
+
openEnvironment(orgName: string, projectName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenEnvironment>>;
|
|
1044
1349
|
/**
|
|
1045
1350
|
* 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.
|
|
1046
1351
|
* @summary Open an environment session at a specific version
|
|
1047
1352
|
* @param {string} orgName Organization name
|
|
1353
|
+
* @param {string} projectName Project name
|
|
1048
1354
|
* @param {string} envName Environment name
|
|
1049
1355
|
* @param {string} version Revision or tag
|
|
1050
1356
|
* @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”.
|
|
1051
1357
|
* @param {*} [options] Override http request option.
|
|
1052
1358
|
* @throws {RequiredError}
|
|
1053
1359
|
*/
|
|
1054
|
-
openEnvironmentAtVersion(orgName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenEnvironment>>;
|
|
1360
|
+
openEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenEnvironment>>;
|
|
1055
1361
|
/**
|
|
1056
1362
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1057
1363
|
* @summary Read an open environment
|
|
1058
1364
|
* @param {string} orgName Organization name
|
|
1365
|
+
* @param {string} projectName Project name
|
|
1059
1366
|
* @param {string} envName Environment name
|
|
1060
1367
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
1061
1368
|
* @param {*} [options] Override http request option.
|
|
1062
1369
|
* @throws {RequiredError}
|
|
1063
1370
|
*/
|
|
1064
|
-
readOpenEnvironment(orgName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>>;
|
|
1371
|
+
readOpenEnvironment(orgName: string, projectName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>>;
|
|
1065
1372
|
/**
|
|
1066
1373
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1067
1374
|
* @summary Read an open environment
|
|
1068
1375
|
* @param {string} orgName Organization name
|
|
1376
|
+
* @param {string} projectName Project name
|
|
1069
1377
|
* @param {string} envName Environment name
|
|
1070
1378
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
1071
1379
|
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
1072
1380
|
* @param {*} [options] Override http request option.
|
|
1073
1381
|
* @throws {RequiredError}
|
|
1074
1382
|
*/
|
|
1075
|
-
readOpenEnvironmentProperty(orgName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Value>>;
|
|
1383
|
+
readOpenEnvironmentProperty(orgName: string, projectName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Value>>;
|
|
1076
1384
|
/**
|
|
1077
1385
|
* Update environment revision tag
|
|
1078
1386
|
* @summary Update environment revision tag
|
|
1079
1387
|
* @param {string} orgName Organization name
|
|
1388
|
+
* @param {string} projectName Project name
|
|
1080
1389
|
* @param {string} envName Environment name
|
|
1081
1390
|
* @param {string} tagName Tag name
|
|
1082
1391
|
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1083
1392
|
* @param {*} [options] Override http request option.
|
|
1084
1393
|
* @throws {RequiredError}
|
|
1085
1394
|
*/
|
|
1086
|
-
updateEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1395
|
+
updateEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1396
|
+
/**
|
|
1397
|
+
* Update an environment tag
|
|
1398
|
+
* @summary Update an environment tag
|
|
1399
|
+
* @param {string} orgName Organization name
|
|
1400
|
+
* @param {string} projectName Project name
|
|
1401
|
+
* @param {string} envName Environment name
|
|
1402
|
+
* @param {string} tagName Tag name
|
|
1403
|
+
* @param {UpdateEnvironmentTag} updateEnvironmentTag Update environment tag
|
|
1404
|
+
* @param {*} [options] Override http request option.
|
|
1405
|
+
* @throws {RequiredError}
|
|
1406
|
+
*/
|
|
1407
|
+
updateEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentTag: UpdateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentTag>>;
|
|
1087
1408
|
/**
|
|
1088
1409
|
* Validates and updates the given environment\'s definition.
|
|
1089
1410
|
* @summary Update an existing environment with Yaml file
|
|
1090
1411
|
* @param {string} orgName Organization name
|
|
1412
|
+
* @param {string} projectName Project name
|
|
1091
1413
|
* @param {string} envName Environment name
|
|
1092
1414
|
* @param {string} body Environment Yaml content
|
|
1093
1415
|
* @param {*} [options] Override http request option.
|
|
1094
1416
|
* @throws {RequiredError}
|
|
1095
1417
|
*/
|
|
1096
|
-
updateEnvironmentYaml(orgName: string, envName: string, body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDiagnostics>>;
|
|
1418
|
+
updateEnvironmentYaml(orgName: string, projectName: string, envName: string, body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDiagnostics>>;
|
|
1097
1419
|
};
|
|
1098
1420
|
/**
|
|
1099
1421
|
* EscApi - factory interface
|
|
@@ -1113,110 +1435,164 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
1113
1435
|
* Creates an environment in the given org with the given name.
|
|
1114
1436
|
* @summary Create a new environment
|
|
1115
1437
|
* @param {string} orgName Organization name
|
|
1116
|
-
* @param {
|
|
1438
|
+
* @param {CreateEnvironment} createEnvironment Create Environment
|
|
1117
1439
|
* @param {*} [options] Override http request option.
|
|
1118
1440
|
* @throws {RequiredError}
|
|
1119
1441
|
*/
|
|
1120
|
-
createEnvironment(orgName: string,
|
|
1442
|
+
createEnvironment(orgName: string, createEnvironment: CreateEnvironment, options?: any): AxiosPromise<Error>;
|
|
1121
1443
|
/**
|
|
1122
1444
|
* Create environment revision tag
|
|
1123
1445
|
* @summary Create environment revision tag
|
|
1124
1446
|
* @param {string} orgName Organization name
|
|
1447
|
+
* @param {string} projectName Project name
|
|
1125
1448
|
* @param {string} envName Environment name
|
|
1126
|
-
* @param {
|
|
1127
|
-
* @param {
|
|
1449
|
+
* @param {CreateEnvironmentRevisionTag} createEnvironmentRevisionTag Create environment revision tag
|
|
1450
|
+
* @param {*} [options] Override http request option.
|
|
1451
|
+
* @throws {RequiredError}
|
|
1452
|
+
*/
|
|
1453
|
+
createEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, createEnvironmentRevisionTag: CreateEnvironmentRevisionTag, options?: any): AxiosPromise<void>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Create environment tag
|
|
1456
|
+
* @summary Create environment tag
|
|
1457
|
+
* @param {string} orgName Organization name
|
|
1458
|
+
* @param {string} projectName Project name
|
|
1459
|
+
* @param {string} envName Environment name
|
|
1460
|
+
* @param {CreateEnvironmentTag} createEnvironmentTag Create environment tag
|
|
1128
1461
|
* @param {*} [options] Override http request option.
|
|
1129
1462
|
* @throws {RequiredError}
|
|
1130
1463
|
*/
|
|
1131
|
-
|
|
1464
|
+
createEnvironmentTag(orgName: string, projectName: string, envName: string, createEnvironmentTag: CreateEnvironmentTag, options?: any): AxiosPromise<EnvironmentTag>;
|
|
1132
1465
|
/**
|
|
1133
1466
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
1134
1467
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
1135
1468
|
* @param {string} orgName Organization name
|
|
1469
|
+
* @param {string} projectName Project name
|
|
1136
1470
|
* @param {string} envName Environment name
|
|
1137
1471
|
* @param {*} [options] Override http request option.
|
|
1138
1472
|
* @throws {RequiredError}
|
|
1139
1473
|
*/
|
|
1140
|
-
decryptEnvironment(orgName: string, envName: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1474
|
+
decryptEnvironment(orgName: string, projectName: string, envName: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1141
1475
|
/**
|
|
1142
1476
|
* Delete an environment
|
|
1143
1477
|
* @summary Delete an environment
|
|
1144
1478
|
* @param {string} orgName Organization name
|
|
1479
|
+
* @param {string} projectName Project name
|
|
1145
1480
|
* @param {string} envName Environment name
|
|
1146
1481
|
* @param {*} [options] Override http request option.
|
|
1147
1482
|
* @throws {RequiredError}
|
|
1148
1483
|
*/
|
|
1149
|
-
deleteEnvironment(orgName: string, envName: string, options?: any): AxiosPromise<Error>;
|
|
1484
|
+
deleteEnvironment(orgName: string, projectName: string, envName: string, options?: any): AxiosPromise<Error>;
|
|
1150
1485
|
/**
|
|
1151
1486
|
* Delete environment revision tag
|
|
1152
1487
|
* @summary Delete environment revision tag
|
|
1153
1488
|
* @param {string} orgName Organization name
|
|
1489
|
+
* @param {string} projectName Project name
|
|
1490
|
+
* @param {string} envName Environment name
|
|
1491
|
+
* @param {string} tagName Tag name
|
|
1492
|
+
* @param {*} [options] Override http request option.
|
|
1493
|
+
* @throws {RequiredError}
|
|
1494
|
+
*/
|
|
1495
|
+
deleteEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: any): AxiosPromise<void>;
|
|
1496
|
+
/**
|
|
1497
|
+
* Delete environment tag
|
|
1498
|
+
* @summary Delete environment tag
|
|
1499
|
+
* @param {string} orgName Organization name
|
|
1500
|
+
* @param {string} projectName Project name
|
|
1154
1501
|
* @param {string} envName Environment name
|
|
1155
1502
|
* @param {string} tagName Tag name
|
|
1156
1503
|
* @param {*} [options] Override http request option.
|
|
1157
1504
|
* @throws {RequiredError}
|
|
1158
1505
|
*/
|
|
1159
|
-
|
|
1506
|
+
deleteEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: any): AxiosPromise<void>;
|
|
1160
1507
|
/**
|
|
1161
1508
|
* Read an environment
|
|
1162
1509
|
* @summary Read an environment
|
|
1163
1510
|
* @param {string} orgName Organization name
|
|
1511
|
+
* @param {string} projectName Project name
|
|
1164
1512
|
* @param {string} envName Environment name
|
|
1165
1513
|
* @param {*} [options] Override http request option.
|
|
1166
1514
|
* @throws {RequiredError}
|
|
1167
1515
|
*/
|
|
1168
|
-
getEnvironment(orgName: string, envName: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1516
|
+
getEnvironment(orgName: string, projectName: string, envName: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1169
1517
|
/**
|
|
1170
1518
|
* Read an environmentat a specific revision or tag
|
|
1171
1519
|
* @summary Read an environment at a specific version
|
|
1172
1520
|
* @param {string} orgName Organization name
|
|
1521
|
+
* @param {string} projectName Project name
|
|
1173
1522
|
* @param {string} envName Environment name
|
|
1174
1523
|
* @param {string} version Revision or tag
|
|
1175
1524
|
* @param {*} [options] Override http request option.
|
|
1176
1525
|
* @throws {RequiredError}
|
|
1177
1526
|
*/
|
|
1178
|
-
getEnvironmentAtVersion(orgName: string, envName: string, version: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1527
|
+
getEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, options?: any): AxiosPromise<EnvironmentDefinition>;
|
|
1179
1528
|
/**
|
|
1180
1529
|
* Returns the ETag for the given environment if it exists.
|
|
1181
1530
|
* @summary Return an Environment ETag
|
|
1182
1531
|
* @param {string} orgName Organization name
|
|
1532
|
+
* @param {string} projectName Project name
|
|
1183
1533
|
* @param {string} envName Environment name
|
|
1184
1534
|
* @param {*} [options] Override http request option.
|
|
1185
1535
|
* @throws {RequiredError}
|
|
1186
1536
|
*/
|
|
1187
|
-
getEnvironmentETag(orgName: string, envName: string, options?: any): AxiosPromise<void>;
|
|
1537
|
+
getEnvironmentETag(orgName: string, projectName: string, envName: string, options?: any): AxiosPromise<void>;
|
|
1188
1538
|
/**
|
|
1189
1539
|
* Read environment revision tag
|
|
1190
1540
|
* @summary Read environment revision tag
|
|
1191
1541
|
* @param {string} orgName Organization name
|
|
1542
|
+
* @param {string} projectName Project name
|
|
1543
|
+
* @param {string} envName Environment name
|
|
1544
|
+
* @param {string} tagName Tag name
|
|
1545
|
+
* @param {*} [options] Override http request option.
|
|
1546
|
+
* @throws {RequiredError}
|
|
1547
|
+
*/
|
|
1548
|
+
getEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: any): AxiosPromise<EnvironmentRevisionTag>;
|
|
1549
|
+
/**
|
|
1550
|
+
* Read an environment tag
|
|
1551
|
+
* @summary Read an environment tag
|
|
1552
|
+
* @param {string} orgName Organization name
|
|
1553
|
+
* @param {string} projectName Project name
|
|
1192
1554
|
* @param {string} envName Environment name
|
|
1193
1555
|
* @param {string} tagName Tag name
|
|
1194
1556
|
* @param {*} [options] Override http request option.
|
|
1195
1557
|
* @throws {RequiredError}
|
|
1196
1558
|
*/
|
|
1197
|
-
|
|
1559
|
+
getEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: any): AxiosPromise<EnvironmentTag>;
|
|
1198
1560
|
/**
|
|
1199
1561
|
* List environment revisions
|
|
1200
1562
|
* @summary List environment revisions
|
|
1201
1563
|
* @param {string} orgName Organization name
|
|
1564
|
+
* @param {string} projectName Project name
|
|
1202
1565
|
* @param {string} envName Environment name
|
|
1203
1566
|
* @param {string} [after] after tag for pagination
|
|
1204
1567
|
* @param {number} [count] limit of tags to return
|
|
1205
1568
|
* @param {*} [options] Override http request option.
|
|
1206
1569
|
* @throws {RequiredError}
|
|
1207
1570
|
*/
|
|
1208
|
-
listEnvironmentRevisionTags(orgName: string, envName: string, after?: string, count?: number, options?: any): AxiosPromise<EnvironmentRevisionTags>;
|
|
1571
|
+
listEnvironmentRevisionTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: any): AxiosPromise<EnvironmentRevisionTags>;
|
|
1209
1572
|
/**
|
|
1210
1573
|
* List environment revisions
|
|
1211
1574
|
* @summary List environment revisions
|
|
1212
1575
|
* @param {string} orgName Organization name
|
|
1576
|
+
* @param {string} projectName Project name
|
|
1213
1577
|
* @param {string} envName Environment name
|
|
1214
1578
|
* @param {number} [before] before revision number for pagination
|
|
1215
1579
|
* @param {number} [count] limit of revisions to return
|
|
1216
1580
|
* @param {*} [options] Override http request option.
|
|
1217
1581
|
* @throws {RequiredError}
|
|
1218
1582
|
*/
|
|
1219
|
-
listEnvironmentRevisions(orgName: string, envName: string, before?: number, count?: number, options?: any): AxiosPromise<Array<EnvironmentRevision>>;
|
|
1583
|
+
listEnvironmentRevisions(orgName: string, projectName: string, envName: string, before?: number, count?: number, options?: any): AxiosPromise<Array<EnvironmentRevision>>;
|
|
1584
|
+
/**
|
|
1585
|
+
* List environment tags
|
|
1586
|
+
* @summary List environment tags
|
|
1587
|
+
* @param {string} orgName Organization name
|
|
1588
|
+
* @param {string} projectName Project name
|
|
1589
|
+
* @param {string} envName Environment name
|
|
1590
|
+
* @param {string} [after] after tag for pagination
|
|
1591
|
+
* @param {number} [count] limit of tags to return
|
|
1592
|
+
* @param {*} [options] Override http request option.
|
|
1593
|
+
* @throws {RequiredError}
|
|
1594
|
+
*/
|
|
1595
|
+
listEnvironmentTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: any): AxiosPromise<ListEnvironmentTags>;
|
|
1220
1596
|
/**
|
|
1221
1597
|
* List environments in the organization available to the current user
|
|
1222
1598
|
* @summary List environments in the organization
|
|
@@ -1230,65 +1606,83 @@ export declare const EscApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
1230
1606
|
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1231
1607
|
* @summary Open an environment session
|
|
1232
1608
|
* @param {string} orgName Organization name
|
|
1609
|
+
* @param {string} projectName Project name
|
|
1233
1610
|
* @param {string} envName Environment name
|
|
1234
1611
|
* @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”.
|
|
1235
1612
|
* @param {*} [options] Override http request option.
|
|
1236
1613
|
* @throws {RequiredError}
|
|
1237
1614
|
*/
|
|
1238
|
-
openEnvironment(orgName: string, envName: string, duration?: string, options?: any): AxiosPromise<OpenEnvironment>;
|
|
1615
|
+
openEnvironment(orgName: string, projectName: string, envName: string, duration?: string, options?: any): AxiosPromise<OpenEnvironment>;
|
|
1239
1616
|
/**
|
|
1240
1617
|
* 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.
|
|
1241
1618
|
* @summary Open an environment session at a specific version
|
|
1242
1619
|
* @param {string} orgName Organization name
|
|
1620
|
+
* @param {string} projectName Project name
|
|
1243
1621
|
* @param {string} envName Environment name
|
|
1244
1622
|
* @param {string} version Revision or tag
|
|
1245
1623
|
* @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”.
|
|
1246
1624
|
* @param {*} [options] Override http request option.
|
|
1247
1625
|
* @throws {RequiredError}
|
|
1248
1626
|
*/
|
|
1249
|
-
openEnvironmentAtVersion(orgName: string, envName: string, version: string, duration?: string, options?: any): AxiosPromise<OpenEnvironment>;
|
|
1627
|
+
openEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, duration?: string, options?: any): AxiosPromise<OpenEnvironment>;
|
|
1250
1628
|
/**
|
|
1251
1629
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1252
1630
|
* @summary Read an open environment
|
|
1253
1631
|
* @param {string} orgName Organization name
|
|
1632
|
+
* @param {string} projectName Project name
|
|
1254
1633
|
* @param {string} envName Environment name
|
|
1255
1634
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
1256
1635
|
* @param {*} [options] Override http request option.
|
|
1257
1636
|
* @throws {RequiredError}
|
|
1258
1637
|
*/
|
|
1259
|
-
readOpenEnvironment(orgName: string, envName: string, openSessionID: string, options?: any): AxiosPromise<Environment>;
|
|
1638
|
+
readOpenEnvironment(orgName: string, projectName: string, envName: string, openSessionID: string, options?: any): AxiosPromise<Environment>;
|
|
1260
1639
|
/**
|
|
1261
1640
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1262
1641
|
* @summary Read an open environment
|
|
1263
1642
|
* @param {string} orgName Organization name
|
|
1643
|
+
* @param {string} projectName Project name
|
|
1264
1644
|
* @param {string} envName Environment name
|
|
1265
1645
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
1266
1646
|
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
1267
1647
|
* @param {*} [options] Override http request option.
|
|
1268
1648
|
* @throws {RequiredError}
|
|
1269
1649
|
*/
|
|
1270
|
-
readOpenEnvironmentProperty(orgName: string, envName: string, openSessionID: string, property: string, options?: any): AxiosPromise<Value>;
|
|
1650
|
+
readOpenEnvironmentProperty(orgName: string, projectName: string, envName: string, openSessionID: string, property: string, options?: any): AxiosPromise<Value>;
|
|
1271
1651
|
/**
|
|
1272
1652
|
* Update environment revision tag
|
|
1273
1653
|
* @summary Update environment revision tag
|
|
1274
1654
|
* @param {string} orgName Organization name
|
|
1655
|
+
* @param {string} projectName Project name
|
|
1275
1656
|
* @param {string} envName Environment name
|
|
1276
1657
|
* @param {string} tagName Tag name
|
|
1277
1658
|
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1278
1659
|
* @param {*} [options] Override http request option.
|
|
1279
1660
|
* @throws {RequiredError}
|
|
1280
1661
|
*/
|
|
1281
|
-
updateEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: any): AxiosPromise<void>;
|
|
1662
|
+
updateEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: any): AxiosPromise<void>;
|
|
1663
|
+
/**
|
|
1664
|
+
* Update an environment tag
|
|
1665
|
+
* @summary Update an environment tag
|
|
1666
|
+
* @param {string} orgName Organization name
|
|
1667
|
+
* @param {string} projectName Project name
|
|
1668
|
+
* @param {string} envName Environment name
|
|
1669
|
+
* @param {string} tagName Tag name
|
|
1670
|
+
* @param {UpdateEnvironmentTag} updateEnvironmentTag Update environment tag
|
|
1671
|
+
* @param {*} [options] Override http request option.
|
|
1672
|
+
* @throws {RequiredError}
|
|
1673
|
+
*/
|
|
1674
|
+
updateEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentTag: UpdateEnvironmentTag, options?: any): AxiosPromise<EnvironmentTag>;
|
|
1282
1675
|
/**
|
|
1283
1676
|
* Validates and updates the given environment\'s definition.
|
|
1284
1677
|
* @summary Update an existing environment with Yaml file
|
|
1285
1678
|
* @param {string} orgName Organization name
|
|
1679
|
+
* @param {string} projectName Project name
|
|
1286
1680
|
* @param {string} envName Environment name
|
|
1287
1681
|
* @param {string} body Environment Yaml content
|
|
1288
1682
|
* @param {*} [options] Override http request option.
|
|
1289
1683
|
* @throws {RequiredError}
|
|
1290
1684
|
*/
|
|
1291
|
-
updateEnvironmentYaml(orgName: string, envName: string, body: string, options?: any): AxiosPromise<EnvironmentDiagnostics>;
|
|
1685
|
+
updateEnvironmentYaml(orgName: string, projectName: string, envName: string, body: string, options?: any): AxiosPromise<EnvironmentDiagnostics>;
|
|
1292
1686
|
};
|
|
1293
1687
|
/**
|
|
1294
1688
|
* EscApi - object-oriented interface
|
|
@@ -1311,101 +1705,145 @@ export declare class EscApi extends BaseAPI {
|
|
|
1311
1705
|
* Creates an environment in the given org with the given name.
|
|
1312
1706
|
* @summary Create a new environment
|
|
1313
1707
|
* @param {string} orgName Organization name
|
|
1314
|
-
* @param {
|
|
1708
|
+
* @param {CreateEnvironment} createEnvironment Create Environment
|
|
1315
1709
|
* @param {*} [options] Override http request option.
|
|
1316
1710
|
* @throws {RequiredError}
|
|
1317
1711
|
* @memberof EscApi
|
|
1318
1712
|
*/
|
|
1319
|
-
createEnvironment(orgName: string,
|
|
1713
|
+
createEnvironment(orgName: string, createEnvironment: CreateEnvironment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1320
1714
|
/**
|
|
1321
1715
|
* Create environment revision tag
|
|
1322
1716
|
* @summary Create environment revision tag
|
|
1323
1717
|
* @param {string} orgName Organization name
|
|
1718
|
+
* @param {string} projectName Project name
|
|
1324
1719
|
* @param {string} envName Environment name
|
|
1325
|
-
* @param {
|
|
1326
|
-
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
1720
|
+
* @param {CreateEnvironmentRevisionTag} createEnvironmentRevisionTag Create environment revision tag
|
|
1327
1721
|
* @param {*} [options] Override http request option.
|
|
1328
1722
|
* @throws {RequiredError}
|
|
1329
1723
|
* @memberof EscApi
|
|
1330
1724
|
*/
|
|
1331
|
-
createEnvironmentRevisionTag(orgName: string,
|
|
1725
|
+
createEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, createEnvironmentRevisionTag: CreateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1726
|
+
/**
|
|
1727
|
+
* Create environment tag
|
|
1728
|
+
* @summary Create environment tag
|
|
1729
|
+
* @param {string} orgName Organization name
|
|
1730
|
+
* @param {string} projectName Project name
|
|
1731
|
+
* @param {string} envName Environment name
|
|
1732
|
+
* @param {CreateEnvironmentTag} createEnvironmentTag Create environment tag
|
|
1733
|
+
* @param {*} [options] Override http request option.
|
|
1734
|
+
* @throws {RequiredError}
|
|
1735
|
+
* @memberof EscApi
|
|
1736
|
+
*/
|
|
1737
|
+
createEnvironmentTag(orgName: string, projectName: string, envName: string, createEnvironmentTag: CreateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any>>;
|
|
1332
1738
|
/**
|
|
1333
1739
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
1334
1740
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
1335
1741
|
* @param {string} orgName Organization name
|
|
1742
|
+
* @param {string} projectName Project name
|
|
1336
1743
|
* @param {string} envName Environment name
|
|
1337
1744
|
* @param {*} [options] Override http request option.
|
|
1338
1745
|
* @throws {RequiredError}
|
|
1339
1746
|
* @memberof EscApi
|
|
1340
1747
|
*/
|
|
1341
|
-
decryptEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1748
|
+
decryptEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1342
1749
|
/**
|
|
1343
1750
|
* Delete an environment
|
|
1344
1751
|
* @summary Delete an environment
|
|
1345
1752
|
* @param {string} orgName Organization name
|
|
1753
|
+
* @param {string} projectName Project name
|
|
1346
1754
|
* @param {string} envName Environment name
|
|
1347
1755
|
* @param {*} [options] Override http request option.
|
|
1348
1756
|
* @throws {RequiredError}
|
|
1349
1757
|
* @memberof EscApi
|
|
1350
1758
|
*/
|
|
1351
|
-
deleteEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1759
|
+
deleteEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1352
1760
|
/**
|
|
1353
1761
|
* Delete environment revision tag
|
|
1354
1762
|
* @summary Delete environment revision tag
|
|
1355
1763
|
* @param {string} orgName Organization name
|
|
1764
|
+
* @param {string} projectName Project name
|
|
1765
|
+
* @param {string} envName Environment name
|
|
1766
|
+
* @param {string} tagName Tag name
|
|
1767
|
+
* @param {*} [options] Override http request option.
|
|
1768
|
+
* @throws {RequiredError}
|
|
1769
|
+
* @memberof EscApi
|
|
1770
|
+
*/
|
|
1771
|
+
deleteEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1772
|
+
/**
|
|
1773
|
+
* Delete environment tag
|
|
1774
|
+
* @summary Delete environment tag
|
|
1775
|
+
* @param {string} orgName Organization name
|
|
1776
|
+
* @param {string} projectName Project name
|
|
1356
1777
|
* @param {string} envName Environment name
|
|
1357
1778
|
* @param {string} tagName Tag name
|
|
1358
1779
|
* @param {*} [options] Override http request option.
|
|
1359
1780
|
* @throws {RequiredError}
|
|
1360
1781
|
* @memberof EscApi
|
|
1361
1782
|
*/
|
|
1362
|
-
|
|
1783
|
+
deleteEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1363
1784
|
/**
|
|
1364
1785
|
* Read an environment
|
|
1365
1786
|
* @summary Read an environment
|
|
1366
1787
|
* @param {string} orgName Organization name
|
|
1788
|
+
* @param {string} projectName Project name
|
|
1367
1789
|
* @param {string} envName Environment name
|
|
1368
1790
|
* @param {*} [options] Override http request option.
|
|
1369
1791
|
* @throws {RequiredError}
|
|
1370
1792
|
* @memberof EscApi
|
|
1371
1793
|
*/
|
|
1372
|
-
getEnvironment(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1794
|
+
getEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1373
1795
|
/**
|
|
1374
1796
|
* Read an environmentat a specific revision or tag
|
|
1375
1797
|
* @summary Read an environment at a specific version
|
|
1376
1798
|
* @param {string} orgName Organization name
|
|
1799
|
+
* @param {string} projectName Project name
|
|
1377
1800
|
* @param {string} envName Environment name
|
|
1378
1801
|
* @param {string} version Revision or tag
|
|
1379
1802
|
* @param {*} [options] Override http request option.
|
|
1380
1803
|
* @throws {RequiredError}
|
|
1381
1804
|
* @memberof EscApi
|
|
1382
1805
|
*/
|
|
1383
|
-
getEnvironmentAtVersion(orgName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1806
|
+
getEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1384
1807
|
/**
|
|
1385
1808
|
* Returns the ETag for the given environment if it exists.
|
|
1386
1809
|
* @summary Return an Environment ETag
|
|
1387
1810
|
* @param {string} orgName Organization name
|
|
1811
|
+
* @param {string} projectName Project name
|
|
1388
1812
|
* @param {string} envName Environment name
|
|
1389
1813
|
* @param {*} [options] Override http request option.
|
|
1390
1814
|
* @throws {RequiredError}
|
|
1391
1815
|
* @memberof EscApi
|
|
1392
1816
|
*/
|
|
1393
|
-
getEnvironmentETag(orgName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1817
|
+
getEnvironmentETag(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1394
1818
|
/**
|
|
1395
1819
|
* Read environment revision tag
|
|
1396
1820
|
* @summary Read environment revision tag
|
|
1397
1821
|
* @param {string} orgName Organization name
|
|
1822
|
+
* @param {string} projectName Project name
|
|
1823
|
+
* @param {string} envName Environment name
|
|
1824
|
+
* @param {string} tagName Tag name
|
|
1825
|
+
* @param {*} [options] Override http request option.
|
|
1826
|
+
* @throws {RequiredError}
|
|
1827
|
+
* @memberof EscApi
|
|
1828
|
+
*/
|
|
1829
|
+
getEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTag, any>>;
|
|
1830
|
+
/**
|
|
1831
|
+
* Read an environment tag
|
|
1832
|
+
* @summary Read an environment tag
|
|
1833
|
+
* @param {string} orgName Organization name
|
|
1834
|
+
* @param {string} projectName Project name
|
|
1398
1835
|
* @param {string} envName Environment name
|
|
1399
1836
|
* @param {string} tagName Tag name
|
|
1400
1837
|
* @param {*} [options] Override http request option.
|
|
1401
1838
|
* @throws {RequiredError}
|
|
1402
1839
|
* @memberof EscApi
|
|
1403
1840
|
*/
|
|
1404
|
-
|
|
1841
|
+
getEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any>>;
|
|
1405
1842
|
/**
|
|
1406
1843
|
* List environment revisions
|
|
1407
1844
|
* @summary List environment revisions
|
|
1408
1845
|
* @param {string} orgName Organization name
|
|
1846
|
+
* @param {string} projectName Project name
|
|
1409
1847
|
* @param {string} envName Environment name
|
|
1410
1848
|
* @param {string} [after] after tag for pagination
|
|
1411
1849
|
* @param {number} [count] limit of tags to return
|
|
@@ -1413,11 +1851,12 @@ export declare class EscApi extends BaseAPI {
|
|
|
1413
1851
|
* @throws {RequiredError}
|
|
1414
1852
|
* @memberof EscApi
|
|
1415
1853
|
*/
|
|
1416
|
-
listEnvironmentRevisionTags(orgName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTags, any>>;
|
|
1854
|
+
listEnvironmentRevisionTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTags, any>>;
|
|
1417
1855
|
/**
|
|
1418
1856
|
* List environment revisions
|
|
1419
1857
|
* @summary List environment revisions
|
|
1420
1858
|
* @param {string} orgName Organization name
|
|
1859
|
+
* @param {string} projectName Project name
|
|
1421
1860
|
* @param {string} envName Environment name
|
|
1422
1861
|
* @param {number} [before] before revision number for pagination
|
|
1423
1862
|
* @param {number} [count] limit of revisions to return
|
|
@@ -1425,7 +1864,20 @@ export declare class EscApi extends BaseAPI {
|
|
|
1425
1864
|
* @throws {RequiredError}
|
|
1426
1865
|
* @memberof EscApi
|
|
1427
1866
|
*/
|
|
1428
|
-
listEnvironmentRevisions(orgName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevision[], any>>;
|
|
1867
|
+
listEnvironmentRevisions(orgName: string, projectName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevision[], any>>;
|
|
1868
|
+
/**
|
|
1869
|
+
* List environment tags
|
|
1870
|
+
* @summary List environment tags
|
|
1871
|
+
* @param {string} orgName Organization name
|
|
1872
|
+
* @param {string} projectName Project name
|
|
1873
|
+
* @param {string} envName Environment name
|
|
1874
|
+
* @param {string} [after] after tag for pagination
|
|
1875
|
+
* @param {number} [count] limit of tags to return
|
|
1876
|
+
* @param {*} [options] Override http request option.
|
|
1877
|
+
* @throws {RequiredError}
|
|
1878
|
+
* @memberof EscApi
|
|
1879
|
+
*/
|
|
1880
|
+
listEnvironmentTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEnvironmentTags, any>>;
|
|
1429
1881
|
/**
|
|
1430
1882
|
* List environments in the organization available to the current user
|
|
1431
1883
|
* @summary List environments in the organization
|
|
@@ -1440,17 +1892,19 @@ export declare class EscApi extends BaseAPI {
|
|
|
1440
1892
|
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1441
1893
|
* @summary Open an environment session
|
|
1442
1894
|
* @param {string} orgName Organization name
|
|
1895
|
+
* @param {string} projectName Project name
|
|
1443
1896
|
* @param {string} envName Environment name
|
|
1444
1897
|
* @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”.
|
|
1445
1898
|
* @param {*} [options] Override http request option.
|
|
1446
1899
|
* @throws {RequiredError}
|
|
1447
1900
|
* @memberof EscApi
|
|
1448
1901
|
*/
|
|
1449
|
-
openEnvironment(orgName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1902
|
+
openEnvironment(orgName: string, projectName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1450
1903
|
/**
|
|
1451
1904
|
* 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.
|
|
1452
1905
|
* @summary Open an environment session at a specific version
|
|
1453
1906
|
* @param {string} orgName Organization name
|
|
1907
|
+
* @param {string} projectName Project name
|
|
1454
1908
|
* @param {string} envName Environment name
|
|
1455
1909
|
* @param {string} version Revision or tag
|
|
1456
1910
|
* @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”.
|
|
@@ -1458,22 +1912,24 @@ export declare class EscApi extends BaseAPI {
|
|
|
1458
1912
|
* @throws {RequiredError}
|
|
1459
1913
|
* @memberof EscApi
|
|
1460
1914
|
*/
|
|
1461
|
-
openEnvironmentAtVersion(orgName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1915
|
+
openEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1462
1916
|
/**
|
|
1463
1917
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1464
1918
|
* @summary Read an open environment
|
|
1465
1919
|
* @param {string} orgName Organization name
|
|
1920
|
+
* @param {string} projectName Project name
|
|
1466
1921
|
* @param {string} envName Environment name
|
|
1467
1922
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
1468
1923
|
* @param {*} [options] Override http request option.
|
|
1469
1924
|
* @throws {RequiredError}
|
|
1470
1925
|
* @memberof EscApi
|
|
1471
1926
|
*/
|
|
1472
|
-
readOpenEnvironment(orgName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment, any>>;
|
|
1927
|
+
readOpenEnvironment(orgName: string, projectName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment, any>>;
|
|
1473
1928
|
/**
|
|
1474
1929
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
1475
1930
|
* @summary Read an open environment
|
|
1476
1931
|
* @param {string} orgName Organization name
|
|
1932
|
+
* @param {string} projectName Project name
|
|
1477
1933
|
* @param {string} envName Environment name
|
|
1478
1934
|
* @param {string} openSessionID Open session ID returned from environment open
|
|
1479
1935
|
* @param {string} property Path to a specific property using Pulumi path syntax https://www.pulumi.com/docs/concepts/config/#structured-configuration
|
|
@@ -1481,11 +1937,12 @@ export declare class EscApi extends BaseAPI {
|
|
|
1481
1937
|
* @throws {RequiredError}
|
|
1482
1938
|
* @memberof EscApi
|
|
1483
1939
|
*/
|
|
1484
|
-
readOpenEnvironmentProperty(orgName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Value, any>>;
|
|
1940
|
+
readOpenEnvironmentProperty(orgName: string, projectName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Value, any>>;
|
|
1485
1941
|
/**
|
|
1486
1942
|
* Update environment revision tag
|
|
1487
1943
|
* @summary Update environment revision tag
|
|
1488
1944
|
* @param {string} orgName Organization name
|
|
1945
|
+
* @param {string} projectName Project name
|
|
1489
1946
|
* @param {string} envName Environment name
|
|
1490
1947
|
* @param {string} tagName Tag name
|
|
1491
1948
|
* @param {UpdateEnvironmentRevisionTag} updateEnvironmentRevisionTag Update environment revision tag
|
|
@@ -1493,16 +1950,30 @@ export declare class EscApi extends BaseAPI {
|
|
|
1493
1950
|
* @throws {RequiredError}
|
|
1494
1951
|
* @memberof EscApi
|
|
1495
1952
|
*/
|
|
1496
|
-
updateEnvironmentRevisionTag(orgName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1953
|
+
updateEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1954
|
+
/**
|
|
1955
|
+
* Update an environment tag
|
|
1956
|
+
* @summary Update an environment tag
|
|
1957
|
+
* @param {string} orgName Organization name
|
|
1958
|
+
* @param {string} projectName Project name
|
|
1959
|
+
* @param {string} envName Environment name
|
|
1960
|
+
* @param {string} tagName Tag name
|
|
1961
|
+
* @param {UpdateEnvironmentTag} updateEnvironmentTag Update environment tag
|
|
1962
|
+
* @param {*} [options] Override http request option.
|
|
1963
|
+
* @throws {RequiredError}
|
|
1964
|
+
* @memberof EscApi
|
|
1965
|
+
*/
|
|
1966
|
+
updateEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentTag: UpdateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any>>;
|
|
1497
1967
|
/**
|
|
1498
1968
|
* Validates and updates the given environment\'s definition.
|
|
1499
1969
|
* @summary Update an existing environment with Yaml file
|
|
1500
1970
|
* @param {string} orgName Organization name
|
|
1971
|
+
* @param {string} projectName Project name
|
|
1501
1972
|
* @param {string} envName Environment name
|
|
1502
1973
|
* @param {string} body Environment Yaml content
|
|
1503
1974
|
* @param {*} [options] Override http request option.
|
|
1504
1975
|
* @throws {RequiredError}
|
|
1505
1976
|
* @memberof EscApi
|
|
1506
1977
|
*/
|
|
1507
|
-
updateEnvironmentYaml(orgName: string, envName: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDiagnostics, any>>;
|
|
1978
|
+
updateEnvironmentYaml(orgName: string, projectName: string, envName: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDiagnostics, any>>;
|
|
1508
1979
|
}
|