@codiac.io/codiac-cli 1.3.166 → 1.3.169
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 +1 -1
- package/dist/apis/codiac-api/gen/contracts/types.gen.d.ts +6 -2
- package/dist/apis/codiac-api/gen/contracts/types.gen.js +3 -0
- package/dist/apis/codiac-api/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-api-nats/gen/contracts/types.gen.d.ts +7 -3
- package/dist/apis/codiac-api-nats/gen/contracts/types.gen.js +4 -1
- package/dist/apis/codiac-api-nats/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay/gen/client.d.ts +5 -3
- package/dist/apis/codiac-relay/gen/client.js +6 -0
- package/dist/apis/codiac-relay/gen/client.js.map +1 -1
- package/dist/apis/codiac-relay/gen/contracts/types.gen.d.ts +37 -4
- package/dist/apis/codiac-relay/gen/contracts/types.gen.js +6 -0
- package/dist/apis/codiac-relay/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay/i-client.d.ts +1 -1
- package/dist/apis/codiac-relay-nats/gen/client.d.ts +3 -1
- package/dist/apis/codiac-relay-nats/gen/client.js +7 -0
- package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -1
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +39 -3
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.js +6 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay-nats/gen/contracts.ng.d.ts +3 -0
- package/dist/apis/codiac-relay-nats/gen/contracts.ng.js.map +1 -1
- package/dist/codiac-constants.d.ts +4 -0
- package/dist/codiac-constants.js +4 -0
- package/dist/codiac-constants.js.map +1 -1
- package/dist/codiac-entities/cluster-capture-def.d.ts +1 -1
- package/dist/codiac-utils.d.ts +5 -0
- package/dist/codiac-utils.js +14 -0
- package/dist/codiac-utils.js.map +1 -0
- package/dist/command-base-enterprise.d.ts +14 -0
- package/dist/command-base-enterprise.js +49 -0
- package/dist/command-base-enterprise.js.map +1 -1
- package/dist/command-base-exec.js +2 -0
- package/dist/command-base-exec.js.map +1 -1
- package/dist/commands/asset/deploy.d.ts +2 -0
- package/dist/commands/asset/deploy.js +21 -4
- package/dist/commands/asset/deploy.js.map +1 -1
- package/dist/commands/asset/list.js +4 -3
- package/dist/commands/asset/list.js.map +1 -1
- package/dist/commands/asset/undeploy.d.ts +2 -0
- package/dist/commands/asset/undeploy.js +7 -0
- package/dist/commands/asset/undeploy.js.map +1 -1
- package/dist/commands/asset/view.js +5 -3
- package/dist/commands/asset/view.js.map +1 -1
- package/dist/commands/asset/where.js +12 -2
- package/dist/commands/asset/where.js.map +1 -1
- package/dist/commands/cabinet/contents.d.ts +1 -0
- package/dist/commands/cabinet/contents.js +17 -2
- package/dist/commands/cabinet/contents.js.map +1 -1
- package/dist/commands/cluster/scaling/update.js +3 -2
- package/dist/commands/cluster/scaling/update.js.map +1 -1
- package/dist/commands/cluster/stack/capture.d.ts +24 -0
- package/dist/commands/cluster/stack/capture.js +107 -0
- package/dist/commands/cluster/stack/capture.js.map +1 -0
- package/dist/commands/cluster/start.js +1 -1
- package/dist/commands/cluster/start.js.map +1 -1
- package/dist/commands/cluster/stop.js +1 -1
- package/dist/commands/cluster/stop.js.map +1 -1
- package/dist/commands/config/add.d.ts +2 -0
- package/dist/commands/config/add.js +51 -5
- package/dist/commands/config/add.js.map +1 -1
- package/dist/commands/config/delete.js +3 -1
- package/dist/commands/config/delete.js.map +1 -1
- package/dist/commands/config/deploy.d.ts +4 -0
- package/dist/commands/config/deploy.js +87 -5
- package/dist/commands/config/deploy.js.map +1 -1
- package/dist/commands/config/settings/get.js +3 -1
- package/dist/commands/config/settings/get.js.map +1 -1
- package/dist/commands/config/view.js +3 -1
- package/dist/commands/config/view.js.map +1 -1
- package/dist/commands/kit/create.js +2 -1
- package/dist/commands/kit/create.js.map +1 -1
- package/dist/commands/noc/cluster/capture.js +2 -1
- package/dist/commands/noc/cluster/capture.js.map +1 -1
- package/dist/commands/noc/cluster/create.d.ts +2 -0
- package/dist/commands/noc/cluster/create.js +17 -4
- package/dist/commands/noc/cluster/create.js.map +1 -1
- package/dist/commands/noc/cluster/deinit.js +7 -5
- package/dist/commands/noc/cluster/deinit.js.map +1 -1
- package/dist/commands/noc/cluster/init.js +1 -1
- package/dist/commands/noc/cluster/init.js.map +1 -1
- package/dist/commands/noc/cluster/recreate.js +1 -1
- package/dist/commands/noc/cluster/recreate.js.map +1 -1
- package/dist/commands/snapshot/deploy.d.ts +51 -0
- package/dist/commands/snapshot/deploy.js +305 -0
- package/dist/commands/snapshot/deploy.js.map +1 -0
- package/dist/commands/snapshot/list.d.ts +15 -0
- package/dist/commands/snapshot/list.js +164 -0
- package/dist/commands/snapshot/list.js.map +1 -0
- package/dist/sdk-adapters/azure/azure-resource-configurator.d.ts +2 -1
- package/dist/sdk-adapters/azure/azure-resource-configurator.js +37 -29
- package/dist/sdk-adapters/azure/azure-resource-configurator.js.map +1 -1
- package/dist/uilogic/config-ui-utils.d.ts +3 -1
- package/dist/uilogic/config-ui-utils.js +36 -5
- package/dist/uilogic/config-ui-utils.js.map +1 -1
- package/dist/uilogic/enterprise-contextualizer.js +11 -0
- package/dist/uilogic/enterprise-contextualizer.js.map +1 -1
- package/dist/uilogic/lrp-watcher-predef.d.ts +3 -1
- package/dist/uilogic/lrp-watcher-predef.js +19 -6
- package/dist/uilogic/lrp-watcher-predef.js.map +1 -1
- package/dist/uilogic/lrp-watcher-utils.d.ts +1 -1
- package/dist/uilogic/lrp-watcher.d.ts +2 -0
- package/dist/uilogic/lrp-watcher.js +14 -2
- package/dist/uilogic/lrp-watcher.js.map +1 -1
- package/dist/uilogic/rootmap-ui-utils.d.ts +5 -0
- package/dist/uilogic/rootmap-ui-utils.js +45 -3
- package/dist/uilogic/rootmap-ui-utils.js.map +1 -1
- package/dist/user-context-loader.d.ts +24 -1
- package/dist/user-context-loader.js +86 -16
- package/dist/user-context-loader.js.map +1 -1
- package/oclif.manifest.json +232 -19
- package/package.json +2 -2
|
@@ -91,6 +91,11 @@ export type AssetFolderReservation = {
|
|
|
91
91
|
*/
|
|
92
92
|
defaultFileStore?: string;
|
|
93
93
|
};
|
|
94
|
+
export type AssetMeta = {
|
|
95
|
+
name: string;
|
|
96
|
+
type?: AssetTypesEnum | undefined;
|
|
97
|
+
configs: ConfigCount[];
|
|
98
|
+
};
|
|
94
99
|
/**
|
|
95
100
|
* Identifies a single asset replica (in Codiac terms).
|
|
96
101
|
*/
|
|
@@ -1497,7 +1502,7 @@ export type ClusterCaptureRequest = {
|
|
|
1497
1502
|
name: string;
|
|
1498
1503
|
azureResourceGroup?: string | undefined;
|
|
1499
1504
|
awsRegion?: string | undefined;
|
|
1500
|
-
ingressDef?: Partial<Pick<IngressDef, "internal" | "disableExternal" | "ip_name">>;
|
|
1505
|
+
ingressDef?: Partial<Pick<IngressDef, "internal" | "disableExternal" | "ip_name" | "ingressIp">>;
|
|
1501
1506
|
};
|
|
1502
1507
|
export type ClusterConnectionRequest = {
|
|
1503
1508
|
cluster?: string;
|
|
@@ -1784,6 +1789,13 @@ export type ClusterDetachRequest = {
|
|
|
1784
1789
|
environmentId: string;
|
|
1785
1790
|
cluster: string;
|
|
1786
1791
|
};
|
|
1792
|
+
export type ClusterStackMeta = {
|
|
1793
|
+
name: string;
|
|
1794
|
+
components: AssetMeta[];
|
|
1795
|
+
};
|
|
1796
|
+
export type ClusterStackCaptureRequest = {
|
|
1797
|
+
name?: string | undefined;
|
|
1798
|
+
};
|
|
1787
1799
|
export type ClusterStartAck = {
|
|
1788
1800
|
/**
|
|
1789
1801
|
* Identifier linking this unique transaction execution to its related parent callers and child transactions.
|
|
@@ -1878,6 +1890,11 @@ export type Comment = {
|
|
|
1878
1890
|
created: Date;
|
|
1879
1891
|
modified: Date;
|
|
1880
1892
|
};
|
|
1893
|
+
export type ConfigCount = {
|
|
1894
|
+
type: ConfigDefTypesEnum;
|
|
1895
|
+
targetFile?: string | undefined;
|
|
1896
|
+
qtySettings: number;
|
|
1897
|
+
};
|
|
1881
1898
|
export type ConfigDef = {
|
|
1882
1899
|
enterprise: string;
|
|
1883
1900
|
asset: string;
|
|
@@ -1918,7 +1935,7 @@ export type ConfigDef = {
|
|
|
1918
1935
|
/**
|
|
1919
1936
|
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
1920
1937
|
*/
|
|
1921
|
-
export type Type = 'annotation' | 'env' | 'file' | 'filestore' | 'footprint' | 'helm' | 'k8spatch' | 'label' | 'permit' | 'probing';
|
|
1938
|
+
export type Type = 'annotation' | 'env' | 'file' | 'filestore' | 'footprint' | 'helm' | 'k8spatch' | 'label' | 'namespace' | 'onpostdeploy' | 'onpredeploy' | 'permit' | 'probing';
|
|
1922
1939
|
/**
|
|
1923
1940
|
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
1924
1941
|
*/
|
|
@@ -1931,6 +1948,9 @@ export declare const Type: {
|
|
|
1931
1948
|
readonly helm: "helm";
|
|
1932
1949
|
readonly k8spatch: "k8spatch";
|
|
1933
1950
|
readonly label: "label";
|
|
1951
|
+
readonly namespace: "namespace";
|
|
1952
|
+
readonly onpostdeploy: "onpostdeploy";
|
|
1953
|
+
readonly onpredeploy: "onpredeploy";
|
|
1934
1954
|
readonly permit: "permit";
|
|
1935
1955
|
readonly probing: "probing";
|
|
1936
1956
|
};
|
|
@@ -1948,7 +1968,7 @@ export type ConfigDefCriteria = {
|
|
|
1948
1968
|
/**
|
|
1949
1969
|
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
1950
1970
|
*/
|
|
1951
|
-
type?: 'annotation' | 'env' | 'file' | 'filestore' | 'footprint' | 'helm' | 'k8spatch' | 'label' | 'permit' | 'probing';
|
|
1971
|
+
type?: 'annotation' | 'env' | 'file' | 'filestore' | 'footprint' | 'helm' | 'k8spatch' | 'label' | 'namespace' | 'onpostdeploy' | 'onpredeploy' | 'permit' | 'probing';
|
|
1952
1972
|
targetFile?: string;
|
|
1953
1973
|
format?: 'ini' | 'json' | 'toml' | 'xml' | 'yaml';
|
|
1954
1974
|
ids?: Array<string>;
|
|
@@ -1985,7 +2005,7 @@ export type ConfigDefCriteria = {
|
|
|
1985
2005
|
/**
|
|
1986
2006
|
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
1987
2007
|
*/
|
|
1988
|
-
export type ConfigDefTypesEnum = 'annotation' | 'env' | 'file' | 'filestore' | 'footprint' | 'helm' | 'k8spatch' | 'label' | 'permit' | 'probing';
|
|
2008
|
+
export type ConfigDefTypesEnum = 'annotation' | 'env' | 'file' | 'filestore' | 'footprint' | 'helm' | 'k8spatch' | 'label' | 'namespace' | 'onpostdeploy' | 'onpredeploy' | 'permit' | 'probing';
|
|
1989
2009
|
/**
|
|
1990
2010
|
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
1991
2011
|
*/
|
|
@@ -1998,6 +2018,9 @@ export declare const ConfigDefTypesEnum: {
|
|
|
1998
2018
|
readonly helm: "helm";
|
|
1999
2019
|
readonly k8spatch: "k8spatch";
|
|
2000
2020
|
readonly label: "label";
|
|
2021
|
+
readonly namespace: "namespace";
|
|
2022
|
+
readonly onpostdeploy: "onpostdeploy";
|
|
2023
|
+
readonly onpredeploy: "onpredeploy";
|
|
2001
2024
|
readonly permit: "permit";
|
|
2002
2025
|
readonly probing: "probing";
|
|
2003
2026
|
};
|
|
@@ -5151,9 +5174,18 @@ export type ExecuteClusterIngressDeleteResponse = {
|
|
|
5151
5174
|
error?: _Error;
|
|
5152
5175
|
validation?: IValidationStatus;
|
|
5153
5176
|
};
|
|
5177
|
+
export type ExecuteClusterDeinitRequest = ExecuteClusterIngressDeleteRequest;
|
|
5178
|
+
export type ExecuteClusterDeinitRequestAsync = {
|
|
5179
|
+
spec: ExecuteClusterDeinitRequest;
|
|
5180
|
+
socketId: string;
|
|
5181
|
+
correlationId?: string;
|
|
5182
|
+
callbackUrl?: string;
|
|
5183
|
+
};
|
|
5154
5184
|
export type ExecuteClusterInitRequest = {
|
|
5155
5185
|
clusterName?: string;
|
|
5156
5186
|
ingressDef?: Partial<IngressDef>;
|
|
5187
|
+
stackName?: string | undefined;
|
|
5188
|
+
stackVersion?: string | undefined;
|
|
5157
5189
|
};
|
|
5158
5190
|
export type ExecuteClusterInitRequestAsync = {
|
|
5159
5191
|
spec: ExecuteClusterInitRequest;
|
|
@@ -9387,6 +9419,7 @@ export type ScopedSetting = {
|
|
|
9387
9419
|
name: string;
|
|
9388
9420
|
key: string;
|
|
9389
9421
|
};
|
|
9422
|
+
condition?: string;
|
|
9390
9423
|
id?: string;
|
|
9391
9424
|
thisMachine?: boolean;
|
|
9392
9425
|
createdBy: string;
|
|
@@ -86,6 +86,9 @@ exports.Type = {
|
|
|
86
86
|
helm: 'helm',
|
|
87
87
|
k8spatch: 'k8spatch',
|
|
88
88
|
label: 'label',
|
|
89
|
+
namespace: 'namespace',
|
|
90
|
+
onpostdeploy: "onpostdeploy",
|
|
91
|
+
onpredeploy: "onpredeploy",
|
|
89
92
|
permit: 'permit',
|
|
90
93
|
probing: 'probing'
|
|
91
94
|
};
|
|
@@ -108,6 +111,9 @@ exports.ConfigDefTypesEnum = {
|
|
|
108
111
|
helm: 'helm',
|
|
109
112
|
k8spatch: 'k8spatch',
|
|
110
113
|
label: 'label',
|
|
114
|
+
namespace: 'namespace',
|
|
115
|
+
onpostdeploy: "onpostdeploy",
|
|
116
|
+
onpredeploy: "onpredeploy",
|
|
111
117
|
permit: 'permit',
|
|
112
118
|
probing: 'probing'
|
|
113
119
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-relay/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AA8GxC,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AAiDE,QAAA,iBAAiB,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-relay/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AA8GxC,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AAiDE,QAAA,iBAAiB,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;CAClB,CAAC;AAwEX;;GAEG;AACU,QAAA,KAAK,GAAG;IACjB,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,GAAG,EAAE,GAAG;CACF,CAAC;AA8BX;;GAEG;AACU,QAAA,QAAQ,GAAG;IACpB,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;CACA,CAAC;AA8CE,QAAA,cAAc,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;CACZ,CAAC;AAs2BE,QAAA,UAAU,GAAG;IACtB,IAAI,EAA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AC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;CACE,CAAC;AAikIX,oFAAoF;AACvE,QAAA,cAAc,GAAG;IAC1B,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;CACxB,CAAC"}
|
|
@@ -761,7 +761,7 @@ export interface IOtherOperations {
|
|
|
761
761
|
/** Creates a new record in Codiac for a cluster that already physically exists in a cloud subscription. */
|
|
762
762
|
clusterCapture(request: Contracts.ExecuteClusterInitRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
|
|
763
763
|
clusterCreateAsync(request: Contracts.CreateClusterRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.CreateClusterAck>>;
|
|
764
|
-
clusterDeinit(request: Contracts.
|
|
764
|
+
clusterDeinit(request: Contracts.ExecuteClusterDeinitRequestAsync, options?: IRepoOptions): Promise<Contracts.ExecuteClusterIngressDeleteResponse>;
|
|
765
765
|
clusterInit(request: Contracts.ExecuteClusterInitRequestAsync, options?: IRepoOptions): Promise<Contracts.ExecuteClusterInitResponse>;
|
|
766
766
|
/** Authenticates with the given cloud service provider using the given credentials or, if none provided, using the credentials cached for the given csp. */
|
|
767
767
|
csp_login(request: Contracts.LogintoCloudProviderRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspTokenAndUserMeta>>;
|
|
@@ -827,6 +827,8 @@ declare class OtherOperations {
|
|
|
827
827
|
private core;
|
|
828
828
|
constructor(core: RelayNatsClient);
|
|
829
829
|
private endpoints;
|
|
830
|
+
/** Fetches, creates, and configures each component of the given cluster stack. */
|
|
831
|
+
clusterStackCapture(request: Contracts.ClusterStackCaptureRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterStackMeta>>;
|
|
830
832
|
/** Includes the given cluster within the given environment. */
|
|
831
833
|
EnvironmentClusterAttach(request: Contracts.ClusterAttachRequest, options?: IRepoOptions): Promise<SingleResult<Partial<Contracts.Environment>>>;
|
|
832
834
|
/** Removes the linkage between the given environment and the given cluster. */
|
|
@@ -863,7 +865,7 @@ declare class OtherOperations {
|
|
|
863
865
|
/** Creates a new record in Codiac for a cluster that already physically exists in a cloud subscription. */
|
|
864
866
|
clusterCapture(request: Contracts.ClusterCaptureRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.ClusterDef>>;
|
|
865
867
|
clusterCreateAsync(request: Contracts.CreateClusterRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.CreateClusterAck>>;
|
|
866
|
-
clusterDeinit(request: Contracts.
|
|
868
|
+
clusterDeinit(request: Contracts.ExecuteClusterDeinitRequestAsync, options?: IRepoOptions): Promise<Contracts.ExecuteClusterIngressDeleteResponse>;
|
|
867
869
|
clusterInit(request: Contracts.ExecuteClusterInitRequestAsync, options?: IRepoOptions): Promise<Contracts.ExecuteClusterInitResponse>;
|
|
868
870
|
/** Authenticates with the given cloud service provider using the given credentials or, if none provided, using the credentials cached for the given csp. */
|
|
869
871
|
csp_login(request: Contracts.LogintoCloudProviderRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspTokenAndUserMeta>>;
|
|
@@ -5144,6 +5144,7 @@ class OtherOperations {
|
|
|
5144
5144
|
"clusterCreateAsync": ["post.execute-cluster-create-async"],
|
|
5145
5145
|
"clusterDeinit": ["post.execute-cluster-deinit"],
|
|
5146
5146
|
"clusterInit": ["post.execute-cluster-init"],
|
|
5147
|
+
"clusterStackCapture": ["post.execute-cluster-stack-capture"],
|
|
5147
5148
|
"csp-login": ["post.csp.login"],
|
|
5148
5149
|
"csp-login-auth-code-catcher": ["dmz.get.csp.login.auth-code-catcher"],
|
|
5149
5150
|
"csp-login-interactive": ["post.csp.login.ui"],
|
|
@@ -5211,6 +5212,12 @@ class OtherOperations {
|
|
|
5211
5212
|
this.core.registerEndpoints(this.endpoints);
|
|
5212
5213
|
}
|
|
5213
5214
|
;
|
|
5215
|
+
/** Fetches, creates, and configures each component of the given cluster stack. */
|
|
5216
|
+
clusterStackCapture(request, options) {
|
|
5217
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
5218
|
+
return yield this.core.request("post.execute-cluster-stack-capture", request, options);
|
|
5219
|
+
});
|
|
5220
|
+
}
|
|
5214
5221
|
/** Includes the given cluster within the given environment. */
|
|
5215
5222
|
EnvironmentClusterAttach(request, options) {
|
|
5216
5223
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|