cribl-control-plane 0.7.0-beta.16 → 0.7.0-beta.18
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/dist/commonjs/funcs/groupsUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/groupsUpdate.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/commit.d.ts +18 -0
- package/dist/commonjs/models/commit.d.ts.map +1 -1
- package/dist/commonjs/models/commit.js.map +1 -1
- package/dist/commonjs/models/configgroup.d.ts +88 -6
- package/dist/commonjs/models/configgroup.d.ts.map +1 -1
- package/dist/commonjs/models/configgroup.js +29 -7
- package/dist/commonjs/models/configgroup.js.map +1 -1
- package/dist/commonjs/models/configgroupcloud.d.ts +3 -0
- package/dist/commonjs/models/configgroupcloud.d.ts.map +1 -1
- package/dist/commonjs/models/configgroupcloud.js.map +1 -1
- package/dist/commonjs/models/configgrouplookups.d.ts +15 -0
- package/dist/commonjs/models/configgrouplookups.d.ts.map +1 -1
- package/dist/commonjs/models/configgrouplookups.js.map +1 -1
- package/dist/commonjs/models/estimatedingestrateoptionsconfiggroup.d.ts +2 -2
- package/dist/commonjs/models/estimatedingestrateoptionsconfiggroup.js +1 -1
- package/dist/commonjs/models/groupcreaterequest.d.ts +41 -15
- package/dist/commonjs/models/groupcreaterequest.d.ts.map +1 -1
- package/dist/commonjs/models/groupcreaterequest.js +0 -7
- package/dist/commonjs/models/groupcreaterequest.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +0 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +0 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/inputservicenowtable.d.ts +1 -1
- package/dist/commonjs/models/operations/createinput.d.ts +1 -1
- package/dist/commonjs/models/operations/createinputsystembypack.d.ts +1 -1
- package/dist/commonjs/models/typeoptionsconfiggroup.d.ts +9 -3
- package/dist/commonjs/models/typeoptionsconfiggroup.d.ts.map +1 -1
- package/dist/commonjs/models/typeoptionsconfiggroup.js +6 -3
- package/dist/commonjs/models/typeoptionsconfiggroup.js.map +1 -1
- package/dist/commonjs/sdk/groups.d.ts +1 -1
- package/dist/commonjs/sdk/groups.js +1 -1
- package/dist/esm/funcs/groupsUpdate.d.ts +1 -1
- package/dist/esm/funcs/groupsUpdate.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/commit.d.ts +18 -0
- package/dist/esm/models/commit.d.ts.map +1 -1
- package/dist/esm/models/commit.js.map +1 -1
- package/dist/esm/models/configgroup.d.ts +88 -6
- package/dist/esm/models/configgroup.d.ts.map +1 -1
- package/dist/esm/models/configgroup.js +26 -6
- package/dist/esm/models/configgroup.js.map +1 -1
- package/dist/esm/models/configgroupcloud.d.ts +3 -0
- package/dist/esm/models/configgroupcloud.d.ts.map +1 -1
- package/dist/esm/models/configgroupcloud.js.map +1 -1
- package/dist/esm/models/configgrouplookups.d.ts +15 -0
- package/dist/esm/models/configgrouplookups.d.ts.map +1 -1
- package/dist/esm/models/configgrouplookups.js.map +1 -1
- package/dist/esm/models/estimatedingestrateoptionsconfiggroup.d.ts +2 -2
- package/dist/esm/models/estimatedingestrateoptionsconfiggroup.js +1 -1
- package/dist/esm/models/groupcreaterequest.d.ts +41 -15
- package/dist/esm/models/groupcreaterequest.d.ts.map +1 -1
- package/dist/esm/models/groupcreaterequest.js +0 -7
- package/dist/esm/models/groupcreaterequest.js.map +1 -1
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/inputservicenowtable.d.ts +1 -1
- package/dist/esm/models/operations/createinput.d.ts +1 -1
- package/dist/esm/models/operations/createinputsystembypack.d.ts +1 -1
- package/dist/esm/models/typeoptionsconfiggroup.d.ts +9 -3
- package/dist/esm/models/typeoptionsconfiggroup.d.ts.map +1 -1
- package/dist/esm/models/typeoptionsconfiggroup.js +6 -3
- package/dist/esm/models/typeoptionsconfiggroup.js.map +1 -1
- package/dist/esm/sdk/groups.d.ts +1 -1
- package/dist/esm/sdk/groups.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/groupsUpdate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/commit.ts +18 -0
- package/src/models/configgroup.ts +122 -16
- package/src/models/configgroupcloud.ts +3 -0
- package/src/models/configgrouplookups.ts +15 -0
- package/src/models/estimatedingestrateoptionsconfiggroup.ts +2 -2
- package/src/models/groupcreaterequest.ts +41 -28
- package/src/models/index.ts +0 -1
- package/src/models/inputservicenowtable.ts +1 -1
- package/src/models/operations/createinput.ts +1 -1
- package/src/models/operations/createinputsystembypack.ts +1 -1
- package/src/models/typeoptionsconfiggroup.ts +9 -3
- package/src/sdk/groups.ts +1 -1
- package/dist/commonjs/models/gittypeconfiggroup.d.ts +0 -22
- package/dist/commonjs/models/gittypeconfiggroup.d.ts.map +0 -1
- package/dist/commonjs/models/gittypeconfiggroup.js +0 -64
- package/dist/commonjs/models/gittypeconfiggroup.js.map +0 -1
- package/dist/esm/models/gittypeconfiggroup.d.ts +0 -22
- package/dist/esm/models/gittypeconfiggroup.d.ts.map +0 -1
- package/dist/esm/models/gittypeconfiggroup.js +0 -26
- package/dist/esm/models/gittypeconfiggroup.js.map +0 -1
- package/src/models/gittypeconfiggroup.ts +0 -66
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Update a Worker Group, Outpost Group, or Edge Fleet
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Update the specified Worker Group, Outpost Group, or Edge Fleet.
|
|
16
|
+
* Update the specified Worker Group, Outpost Group, or Edge Fleet.<br/><br/>Provide a complete representation of the Group or Fleet that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Group or Fleet.<br/><br/>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Group or Fleet might not function as expected.**Warning**: Do not change the values for the following parameters in the body of PATCH requests. The request body must include the values as they appear in the <code>GET /products/{product}/groups/{id}</code> response.<br/>- <code>configVersion</code><br/>- <code>deployingWorkerCount</code><br/>- <code>incompatibleWorkerCount</code><br/>- <code>workerCount</code><br/>- <code>lookupDeployments</code>.
|
|
17
17
|
*/
|
|
18
18
|
export declare function groupsUpdate(client: CriblControlPlaneCore, request: operations.UpdateConfigGroupByProductAndIdRequest, options?: RequestOptions): APIPromise<Result<models.CountedConfigGroup, errors.ErrorT | CriblControlPlaneError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=groupsUpdate.d.ts.map
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Update a Worker Group, Outpost Group, or Edge Fleet
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Update the specified Worker Group, Outpost Group, or Edge Fleet.
|
|
54
|
+
* Update the specified Worker Group, Outpost Group, or Edge Fleet.<br/><br/>Provide a complete representation of the Group or Fleet that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Group or Fleet.<br/><br/>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Group or Fleet might not function as expected.**Warning**: Do not change the values for the following parameters in the body of PATCH requests. The request body must include the values as they appear in the <code>GET /products/{product}/groups/{id}</code> response.<br/>- <code>configVersion</code><br/>- <code>deployingWorkerCount</code><br/>- <code>incompatibleWorkerCount</code><br/>- <code>workerCount</code><br/>- <code>lookupDeployments</code>.
|
|
55
55
|
*/
|
|
56
56
|
function groupsUpdate(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -26,9 +26,9 @@ export type SDKOptions = {
|
|
|
26
26
|
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
|
-
readonly openapiDocVersion: "4.18.0-alpha.
|
|
30
|
-
readonly sdkVersion: "0.7.0-beta.
|
|
29
|
+
readonly openapiDocVersion: "4.18.0-alpha.1775516611127-facfe159";
|
|
30
|
+
readonly sdkVersion: "0.7.0-beta.18";
|
|
31
31
|
readonly genVersion: "2.879.6";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.7.0-beta.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.7.0-beta.18 2.879.6 4.18.0-alpha.1775516611127-facfe159 cribl-control-plane";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -17,9 +17,9 @@ function serverURLFromOptions(options) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.SDK_METADATA = {
|
|
19
19
|
language: "typescript",
|
|
20
|
-
openapiDocVersion: "4.18.0-alpha.
|
|
21
|
-
sdkVersion: "0.7.0-beta.
|
|
20
|
+
openapiDocVersion: "4.18.0-alpha.1775516611127-facfe159",
|
|
21
|
+
sdkVersion: "0.7.0-beta.18",
|
|
22
22
|
genVersion: "2.879.6",
|
|
23
|
-
userAgent: "speakeasy-sdk/typescript 0.7.0-beta.
|
|
23
|
+
userAgent: "speakeasy-sdk/typescript 0.7.0-beta.18 2.879.6 4.18.0-alpha.1775516611127-facfe159 cribl-control-plane",
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=config.js.map
|
|
@@ -2,11 +2,29 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
4
|
export type Commit = {
|
|
5
|
+
/**
|
|
6
|
+
* Email address of the commit author.
|
|
7
|
+
*/
|
|
5
8
|
author_email?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Name of the commit author.
|
|
11
|
+
*/
|
|
6
12
|
author_name?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Date and time of the commit.
|
|
15
|
+
*/
|
|
7
16
|
date: string;
|
|
17
|
+
/**
|
|
18
|
+
* Full commit hash.
|
|
19
|
+
*/
|
|
8
20
|
hash: string;
|
|
21
|
+
/**
|
|
22
|
+
* Commit message.
|
|
23
|
+
*/
|
|
9
24
|
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* Abbreviated commit hash.
|
|
27
|
+
*/
|
|
10
28
|
short: string;
|
|
11
29
|
};
|
|
12
30
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commit.d.ts","sourceRoot":"","sources":["../../../src/models/commit.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,MAAM,MAAM,GAAG;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAQtE,CAAC;AACL,gBAAgB;AAChB,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAA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IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CAQN,CAAC;AAEH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AACD,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commit.js","sourceRoot":"","sources":["../../../src/models/commit.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;
|
|
1
|
+
{"version":3,"file":"commit.js","sourceRoot":"","sources":["../../../src/models/commit.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AA8BhD,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC;IACN,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC5C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAWL,gBAAgB;AACH,QAAA,qBAAqB,GAI9B,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,sBAA6B,MAAc,EAAU;IACnD,OAAO,IAAI,CAAC,SAAS,CAAC,QAAA,qBAAqB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAAA,CAC5D;AACD,wBACE,UAAkB,EAC2B;IAC7C,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChD,oCAAoC,CACrC,CAAC;AAAA,CACH"}
|
|
@@ -1,49 +1,131 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { Commit, Commit$Outbound } from "./commit.js";
|
|
3
4
|
import { ConfigGroupCloud, ConfigGroupCloud$Outbound } from "./configgroupcloud.js";
|
|
4
5
|
import { ConfigGroupLookups, ConfigGroupLookups$Outbound } from "./configgrouplookups.js";
|
|
5
6
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
6
7
|
import { EstimatedIngestRateOptionsConfigGroup } from "./estimatedingestrateoptionsconfiggroup.js";
|
|
7
|
-
import { GitTypeConfigGroup, GitTypeConfigGroup$Outbound } from "./gittypeconfiggroup.js";
|
|
8
8
|
import { TypeOptionsConfigGroup } from "./typeoptionsconfiggroup.js";
|
|
9
|
+
/**
|
|
10
|
+
* Git status of the Worker Group, Outpost Group, or Edge Fleet configuration. Automatically populated and returned in responses.
|
|
11
|
+
*/
|
|
12
|
+
export type Git = {
|
|
13
|
+
/**
|
|
14
|
+
* Commit hash of the currently committed configuration version.
|
|
15
|
+
*/
|
|
16
|
+
commit?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Number of local configuration changes not yet committed.
|
|
19
|
+
*/
|
|
20
|
+
localChanges?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* List of recent configuration commits.
|
|
23
|
+
*/
|
|
24
|
+
log?: Array<Commit> | undefined;
|
|
25
|
+
};
|
|
9
26
|
export type ConfigGroup = {
|
|
10
27
|
cloud?: ConfigGroupCloud | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Commit hash of the deployed configuration version for the Worker Group, Outpost Group, or Edge Fleet. Automatically populated and returned in responses.<br/><br/> **Warning**: Do not change the value of <code>configVersion</code> in the body of PATCH requests. The PATCH request body must include the value as it appears in the <code>GET /products/{product}/groups/{id}</code> response.
|
|
30
|
+
*/
|
|
11
31
|
configVersion?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Number of Workers or Nodes that are currently deploying the latest configuration version.<br/><br/> **Warning**: Do not change the value of <code>deployingWorkerCount</code> in the body of PATCH requests. The PATCH request body must include the value as it appears in the <code>GET /products/{product}/groups/{id}</code> response.
|
|
34
|
+
*/
|
|
12
35
|
deployingWorkerCount?: number | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Brief description of the Worker Group, Outpost Group, or Edge Fleet.
|
|
38
|
+
*/
|
|
13
39
|
description?: string | undefined;
|
|
14
40
|
/**
|
|
15
|
-
* Estimated ingest rate for Cloud
|
|
41
|
+
* Estimated ingest rate for a Cribl.Cloud Worker Group, in GB/sec.
|
|
16
42
|
*/
|
|
17
43
|
estimatedIngestRate?: EstimatedIngestRateOptionsConfigGroup | undefined;
|
|
18
|
-
|
|
44
|
+
/**
|
|
45
|
+
* Git status of the Worker Group, Outpost Group, or Edge Fleet configuration. Automatically populated and returned in responses.
|
|
46
|
+
*/
|
|
47
|
+
git?: Git | undefined;
|
|
19
48
|
id: string;
|
|
49
|
+
/**
|
|
50
|
+
* Number of Workers or Nodes running a Cribl version that is incompatible with the current upgrade target.<br/><br/> **Warning**: Do not change the value of <code>incompatibleWorkerCount</code> in the body of PATCH requests. The PATCH request body must include the value as it appears in the <code>GET /products/{product}/groups/{id}</code> response.
|
|
51
|
+
*/
|
|
20
52
|
incompatibleWorkerCount?: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The <code>id</code> of the parent Edge Fleet. If provided, this Fleet inherits configuration from the specified parent Fleet. Applies only to Edge Fleets.
|
|
55
|
+
*/
|
|
21
56
|
inherits?: string | undefined;
|
|
22
57
|
/**
|
|
23
|
-
* Indicates whether this is an Edge Fleet.
|
|
58
|
+
* Indicates whether this is an Edge Fleet. Deprecated. Use to identify Edge Fleets.
|
|
24
59
|
*
|
|
25
60
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
26
61
|
*/
|
|
27
62
|
isFleet?: boolean | undefined;
|
|
28
63
|
/**
|
|
29
|
-
* Indicates whether this is an internal Search Group.
|
|
64
|
+
* Indicates whether this is an internal Search Group. Deprecated. Use to identify Search Groups.
|
|
30
65
|
*
|
|
31
66
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
32
67
|
*/
|
|
33
68
|
isSearch?: boolean | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Lookup deployment status per Worker or Node context.<br/><br/> **Warning**: Do not change the value of <code>lookupDeployments</code> in the body of PATCH requests. The PATCH request body must include the value as it appears in the <code>GET /products/{product}/groups/{id}</code> response.
|
|
71
|
+
*/
|
|
34
72
|
lookupDeployments?: Array<ConfigGroupLookups> | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Maximum duration a Worker or Node can remain disconnected before the Leader removes it. The value is a numeral with units, such as <code>8h</code>, <code>5d</code>, <code>1w</code>.
|
|
75
|
+
*/
|
|
35
76
|
maxWorkerAge?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the Worker Group, Outpost Group, or Edge Fleet.
|
|
79
|
+
*/
|
|
36
80
|
name?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* If <code>true</code>, the Worker Group, Outpost Group, or Edge Fleet uses customer-hosted (on-prem) workers. If <code>false</code>, the Worker Group, Outpost Group, or Edge Fleet is managed in Cribl.Cloud.
|
|
83
|
+
*/
|
|
37
84
|
onPrem?: boolean | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* If <code>true</code>, the Cribl.Cloud Worker Group has active Workers provisioned. Applies only to Cribl.Cloud Worker Groups.
|
|
87
|
+
*/
|
|
38
88
|
provisioned?: boolean | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Metadata tags attached to the Worker Group, Outpost Group, or Edge Fleet for categorization, filtering, and tag-based routing and policy application. Useful for organizing Groups and Fleets and enabling tag-driven workflows in Cribl.
|
|
91
|
+
*/
|
|
39
92
|
streamtags?: Array<string> | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Legacy system-level tags associated with the Worker Group, Outpost Group, or Edge Fleet. Use <code>streamtags</code> instead.
|
|
95
|
+
*
|
|
96
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
97
|
+
*/
|
|
40
98
|
tags?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* Explicit type of the Worker Group, Outpost Group, or Edge Fleet.
|
|
101
|
+
*/
|
|
41
102
|
type?: TypeOptionsConfigGroup | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Target software upgrade version. Applies only to Outpost Groups and Edge Fleets.
|
|
105
|
+
*/
|
|
42
106
|
upgradeVersion?: string | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Number of Workers or Nodes currently in the Worker Group, Outpost Group, or Edge Fleet. The value is automatically populated and **does not scale Cribl.Cloud Worker Groups**. Use <code>estimatedIngestRate</code> to scale Cribl.Cloud Worker Groups. <br/><br/> **Warning**: Do not change the value of <code>workerCount</code> in the body of PATCH requests. The PATCH request body must include the value as it appears in the <code>GET /products/{product}/groups/{id}</code> response.
|
|
109
|
+
*/
|
|
43
110
|
workerCount?: number | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* If <code>true</code>, the Leader allows remote access (teleporting) into the Workers or Nodes of the Worker Group, Outpost Group, or Edge Fleet.
|
|
113
|
+
*/
|
|
44
114
|
workerRemoteAccess?: boolean | undefined;
|
|
45
115
|
};
|
|
46
116
|
/** @internal */
|
|
117
|
+
export declare const Git$inboundSchema: z.ZodType<Git, z.ZodTypeDef, unknown>;
|
|
118
|
+
/** @internal */
|
|
119
|
+
export type Git$Outbound = {
|
|
120
|
+
commit?: string | undefined;
|
|
121
|
+
localChanges?: number | undefined;
|
|
122
|
+
log?: Array<Commit$Outbound> | undefined;
|
|
123
|
+
};
|
|
124
|
+
/** @internal */
|
|
125
|
+
export declare const Git$outboundSchema: z.ZodType<Git$Outbound, z.ZodTypeDef, Git>;
|
|
126
|
+
export declare function gitToJSON(git: Git): string;
|
|
127
|
+
export declare function gitFromJSON(jsonString: string): SafeParseResult<Git, SDKValidationError>;
|
|
128
|
+
/** @internal */
|
|
47
129
|
export declare const ConfigGroup$inboundSchema: z.ZodType<ConfigGroup, z.ZodTypeDef, unknown>;
|
|
48
130
|
/** @internal */
|
|
49
131
|
export type ConfigGroup$Outbound = {
|
|
@@ -52,7 +134,7 @@ export type ConfigGroup$Outbound = {
|
|
|
52
134
|
deployingWorkerCount?: number | undefined;
|
|
53
135
|
description?: string | undefined;
|
|
54
136
|
estimatedIngestRate?: number | undefined;
|
|
55
|
-
git?:
|
|
137
|
+
git?: Git$Outbound | undefined;
|
|
56
138
|
id: string;
|
|
57
139
|
incompatibleWorkerCount?: number | undefined;
|
|
58
140
|
inherits?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configgroup.d.ts","sourceRoot":"","sources":["../../../src/models/configgroup.ts"],"names":[],"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AAE,MAAM,CAAC;IACX,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,iBAAiB,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC;IACnE,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAyBX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -36,25 +36,47 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ConfigGroup$outboundSchema = exports.ConfigGroup$inboundSchema = void 0;
|
|
39
|
+
exports.ConfigGroup$outboundSchema = exports.ConfigGroup$inboundSchema = exports.Git$outboundSchema = exports.Git$inboundSchema = void 0;
|
|
40
|
+
exports.gitToJSON = gitToJSON;
|
|
41
|
+
exports.gitFromJSON = gitFromJSON;
|
|
40
42
|
exports.configGroupToJSON = configGroupToJSON;
|
|
41
43
|
exports.configGroupFromJSON = configGroupFromJSON;
|
|
42
44
|
const z = __importStar(require("zod/v3"));
|
|
43
45
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
46
|
const types = __importStar(require("../types/primitives.js"));
|
|
47
|
+
const commit_js_1 = require("./commit.js");
|
|
45
48
|
const configgroupcloud_js_1 = require("./configgroupcloud.js");
|
|
46
49
|
const configgrouplookups_js_1 = require("./configgrouplookups.js");
|
|
47
50
|
const estimatedingestrateoptionsconfiggroup_js_1 = require("./estimatedingestrateoptionsconfiggroup.js");
|
|
48
|
-
const gittypeconfiggroup_js_1 = require("./gittypeconfiggroup.js");
|
|
49
51
|
const typeoptionsconfiggroup_js_1 = require("./typeoptionsconfiggroup.js");
|
|
50
52
|
/** @internal */
|
|
53
|
+
exports.Git$inboundSchema = z
|
|
54
|
+
.object({
|
|
55
|
+
commit: types.optional(types.string()),
|
|
56
|
+
localChanges: types.optional(types.number()),
|
|
57
|
+
log: types.optional(z.array(commit_js_1.Commit$inboundSchema)),
|
|
58
|
+
});
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.Git$outboundSchema = z
|
|
61
|
+
.object({
|
|
62
|
+
commit: z.string().optional(),
|
|
63
|
+
localChanges: z.number().int().optional(),
|
|
64
|
+
log: z.array(commit_js_1.Commit$outboundSchema).optional(),
|
|
65
|
+
});
|
|
66
|
+
function gitToJSON(git) {
|
|
67
|
+
return JSON.stringify(exports.Git$outboundSchema.parse(git));
|
|
68
|
+
}
|
|
69
|
+
function gitFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Git$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Git' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
51
73
|
exports.ConfigGroup$inboundSchema = z.object({
|
|
52
74
|
cloud: types.optional(configgroupcloud_js_1.ConfigGroupCloud$inboundSchema),
|
|
53
75
|
configVersion: types.optional(types.string()),
|
|
54
76
|
deployingWorkerCount: types.optional(types.number()),
|
|
55
77
|
description: types.optional(types.string()),
|
|
56
78
|
estimatedIngestRate: types.optional(estimatedingestrateoptionsconfiggroup_js_1.EstimatedIngestRateOptionsConfigGroup$inboundSchema),
|
|
57
|
-
git: types.optional(
|
|
79
|
+
git: types.optional(z.lazy(() => exports.Git$inboundSchema)),
|
|
58
80
|
id: types.string(),
|
|
59
81
|
incompatibleWorkerCount: types.optional(types.number()),
|
|
60
82
|
inherits: types.optional(types.string()),
|
|
@@ -76,13 +98,13 @@ exports.ConfigGroup$inboundSchema = z.object({
|
|
|
76
98
|
exports.ConfigGroup$outboundSchema = z.object({
|
|
77
99
|
cloud: configgroupcloud_js_1.ConfigGroupCloud$outboundSchema.optional(),
|
|
78
100
|
configVersion: z.string().optional(),
|
|
79
|
-
deployingWorkerCount: z.number().optional(),
|
|
101
|
+
deployingWorkerCount: z.number().int().optional(),
|
|
80
102
|
description: z.string().optional(),
|
|
81
103
|
estimatedIngestRate: estimatedingestrateoptionsconfiggroup_js_1.EstimatedIngestRateOptionsConfigGroup$outboundSchema
|
|
82
104
|
.optional(),
|
|
83
|
-
git:
|
|
105
|
+
git: z.lazy(() => exports.Git$outboundSchema).optional(),
|
|
84
106
|
id: z.string(),
|
|
85
|
-
incompatibleWorkerCount: z.number().optional(),
|
|
107
|
+
incompatibleWorkerCount: z.number().int().optional(),
|
|
86
108
|
inherits: z.string().optional(),
|
|
87
109
|
isFleet: z.boolean().optional(),
|
|
88
110
|
isSearch: z.boolean().optional(),
|
|
@@ -95,7 +117,7 @@ exports.ConfigGroup$outboundSchema = z.object({
|
|
|
95
117
|
tags: z.string().optional(),
|
|
96
118
|
type: typeoptionsconfiggroup_js_1.TypeOptionsConfigGroup$outboundSchema.optional(),
|
|
97
119
|
upgradeVersion: z.string().optional(),
|
|
98
|
-
workerCount: z.number().optional(),
|
|
120
|
+
workerCount: z.number().int().optional(),
|
|
99
121
|
workerRemoteAccess: z.boolean().optional(),
|
|
100
122
|
});
|
|
101
123
|
function configGroupToJSON(configGroup) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configgroup.js","sourceRoot":"","sources":["../../../src/models/configgroup.ts"],"names":[],"mappings":";AAAA;;GAEG
|
|
1
|
+
{"version":3,"file":"configgroup.js","sourceRoot":"","sources":["../../../src/models/configgroup.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,2CAKqB;AACrB,+DAK+B;AAC/B,mEAKiC;AAEjC,yGAIoD;AACpD,2EAIqC;AA+GrC,gBAAgB;AACH,QAAA,iBAAiB,GAA0C,CAAC;KACtE,MAAM,CAAC;IACN,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC5C,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gCAAoB,CAAC,CAAC;CACnD,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,kBAAkB,GAA+C,CAAC;KAC5E,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,GAAG,EAAE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AClE,OAAO,IAAI,CAAC,SAAS,CAAC,QAAA,0BAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AAAA,CACtE;AACD,6BACE,UAAkB,EACgC;IAClD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AAAA,CACH"}
|
|
@@ -4,6 +4,9 @@ import { CloudProvider } from "./cloudprovider.js";
|
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
5
|
export type ConfigGroupCloud = {
|
|
6
6
|
provider: CloudProvider | null;
|
|
7
|
+
/**
|
|
8
|
+
* Cloud region where the Worker Group is deployed.
|
|
9
|
+
*/
|
|
7
10
|
region: string;
|
|
8
11
|
};
|
|
9
12
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configgroupcloud.d.ts","sourceRoot":"","sources":["../../../src/models/configgroupcloud.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,aAAa,EAGd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,MA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AAE,gBAAgB,GACjC,MAAM,CAIR;AACD,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configgroupcloud.js","sourceRoot":"","sources":["../../../src/models/configgroupcloud.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,yDAI4B;
|
|
1
|
+
{"version":3,"file":"configgroupcloud.js","sourceRoot":"","sources":["../../../src/models/configgroupcloud.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,yDAI4B;AAW5B,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;IACrD,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,+CAA4B,CAAC;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH,gCACE,gBAAkC,EAC1B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,+BAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AAAA,CACH;AACD,kCACE,UAAkB,EACqC;IACvD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AAAA,CACH"}
|
|
@@ -2,12 +2,27 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
4
|
export type ConfigGroupLookupsLookup = {
|
|
5
|
+
/**
|
|
6
|
+
* Version of the lookup file currently deployed on the Worker or Node.
|
|
7
|
+
*/
|
|
5
8
|
deployedVersion?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* File name of the deployed lookup.
|
|
11
|
+
*/
|
|
6
12
|
file: string;
|
|
13
|
+
/**
|
|
14
|
+
* Version of the lookup file currently staged for deployment.
|
|
15
|
+
*/
|
|
7
16
|
version?: string | undefined;
|
|
8
17
|
};
|
|
9
18
|
export type ConfigGroupLookups = {
|
|
19
|
+
/**
|
|
20
|
+
* The Worker or Node context for the lookup deployment.
|
|
21
|
+
*/
|
|
10
22
|
context: string;
|
|
23
|
+
/**
|
|
24
|
+
* List of lookup files deployed to this context.
|
|
25
|
+
*/
|
|
11
26
|
lookups: Array<ConfigGroupLookupsLookup>;
|
|
12
27
|
};
|
|
13
28
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configgrouplookups.d.ts","sourceRoot":"","sources":["../../../src/models/configgrouplookups.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B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,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,KAAK,CAAC,iCAAiC,CAAC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAIlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configgrouplookups.js","sourceRoot":"","sources":["../../../src/models/configgrouplookups.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;
|
|
1
|
+
{"version":3,"file":"configgrouplookups.js","sourceRoot":"","sources":["../../../src/models/configgrouplookups.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AA6BhD,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CA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C,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH;AACD,oCACE,UAAkB,EACuC;IACzD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* Estimated ingest rate for Cloud
|
|
4
|
+
* Estimated ingest rate for a Cribl.Cloud Worker Group, in GB/sec.
|
|
5
5
|
*/
|
|
6
6
|
export declare const EstimatedIngestRateOptionsConfigGroup: {
|
|
7
7
|
/**
|
|
@@ -42,7 +42,7 @@ export declare const EstimatedIngestRateOptionsConfigGroup: {
|
|
|
42
42
|
readonly Rate180MBPerSec: 15360;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
|
-
* Estimated ingest rate for Cloud
|
|
45
|
+
* Estimated ingest rate for a Cribl.Cloud Worker Group, in GB/sec.
|
|
46
46
|
*/
|
|
47
47
|
export type EstimatedIngestRateOptionsConfigGroup = OpenEnum<typeof EstimatedIngestRateOptionsConfigGroup>;
|
|
48
48
|
/** @internal */
|
|
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.EstimatedIngestRateOptionsConfigGroup$outboundSchema = exports.EstimatedIngestRateOptionsConfigGroup$inboundSchema = exports.EstimatedIngestRateOptionsConfigGroup = void 0;
|
|
40
40
|
const openEnums = __importStar(require("../types/enums.js"));
|
|
41
41
|
/**
|
|
42
|
-
* Estimated ingest rate for Cloud
|
|
42
|
+
* Estimated ingest rate for a Cribl.Cloud Worker Group, in GB/sec.
|
|
43
43
|
*/
|
|
44
44
|
exports.EstimatedIngestRateOptionsConfigGroup = {
|
|
45
45
|
/**
|
|
@@ -1,59 +1,86 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ConfigGroupCloud, ConfigGroupCloud$Outbound } from "./configgroupcloud.js";
|
|
3
|
-
import { ConfigGroupLookups, ConfigGroupLookups$Outbound } from "./configgrouplookups.js";
|
|
4
3
|
import { EstimatedIngestRateOptionsConfigGroup } from "./estimatedingestrateoptionsconfiggroup.js";
|
|
5
|
-
import { GitTypeConfigGroup, GitTypeConfigGroup$Outbound } from "./gittypeconfiggroup.js";
|
|
6
4
|
import { TypeOptionsConfigGroup } from "./typeoptionsconfiggroup.js";
|
|
7
5
|
export type GroupCreateRequest = {
|
|
8
6
|
cloud?: ConfigGroupCloud | undefined;
|
|
9
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Brief description of the Worker Group, Outpost Group, or Edge Fleet.
|
|
9
|
+
*/
|
|
10
10
|
description?: string | undefined;
|
|
11
11
|
/**
|
|
12
|
-
* Estimated ingest rate for Cloud
|
|
12
|
+
* Estimated ingest rate for a Cribl.Cloud Worker Group, in GB/sec.
|
|
13
13
|
*/
|
|
14
14
|
estimatedIngestRate?: EstimatedIngestRateOptionsConfigGroup | undefined;
|
|
15
|
-
git?: GitTypeConfigGroup | undefined;
|
|
16
15
|
id: string;
|
|
17
|
-
|
|
16
|
+
/**
|
|
17
|
+
* The <code>id</code> of the parent Edge Fleet. If provided, this Fleet inherits configuration from the specified parent Fleet. Applies only to Edge Fleets.
|
|
18
|
+
*/
|
|
18
19
|
inherits?: string | undefined;
|
|
19
20
|
/**
|
|
20
|
-
* Indicates whether this is an Edge Fleet.
|
|
21
|
+
* Indicates whether this is an Edge Fleet. Deprecated. Use to identify Edge Fleets.
|
|
21
22
|
*
|
|
22
23
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
24
|
*/
|
|
24
25
|
isFleet?: boolean | undefined;
|
|
25
26
|
/**
|
|
26
|
-
* Indicates whether this is an internal Search Group.
|
|
27
|
+
* Indicates whether this is an internal Search Group. Deprecated. Use to identify Search Groups.
|
|
27
28
|
*
|
|
28
29
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
29
30
|
*/
|
|
30
31
|
isSearch?: boolean | undefined;
|
|
31
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Maximum duration a Worker or Node can remain disconnected before the Leader removes it. The value is a numeral with units, such as <code>8h</code>, <code>5d</code>, <code>1w</code>.
|
|
34
|
+
*/
|
|
32
35
|
maxWorkerAge?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Name of the Worker Group, Outpost Group, or Edge Fleet.
|
|
38
|
+
*/
|
|
33
39
|
name?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* If <code>true</code>, the Worker Group, Outpost Group, or Edge Fleet uses customer-hosted (on-prem) workers. If <code>false</code>, the Worker Group, Outpost Group, or Edge Fleet is managed in Cribl.Cloud.
|
|
42
|
+
*/
|
|
34
43
|
onPrem?: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* If <code>true</code>, the Cribl.Cloud Worker Group has active Workers provisioned. Applies only to Cribl.Cloud Worker Groups.
|
|
46
|
+
*/
|
|
35
47
|
provisioned?: boolean | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The <code>id</code> of an existing Worker Group, Outpost Group, or Edge Fleet to copy configuration from when creating a new Group or Fleet.
|
|
50
|
+
*/
|
|
36
51
|
sourceGroupId?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Metadata tags attached to the Worker Group, Outpost Group, or Edge Fleet for categorization, filtering, and tag-based routing and policy application. Useful for organizing Groups and Fleets and enabling tag-driven workflows in Cribl.
|
|
54
|
+
*/
|
|
37
55
|
streamtags?: Array<string> | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Legacy system-level tags associated with the Worker Group, Outpost Group, or Edge Fleet. Use <code>streamtags</code> instead.
|
|
58
|
+
*
|
|
59
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
60
|
+
*/
|
|
38
61
|
tags?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Explicit type of the Worker Group, Outpost Group, or Edge Fleet.
|
|
64
|
+
*/
|
|
39
65
|
type?: TypeOptionsConfigGroup | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Target software upgrade version. Applies only to Outpost Groups and Edge Fleets.
|
|
68
|
+
*/
|
|
40
69
|
upgradeVersion?: string | undefined;
|
|
41
|
-
|
|
70
|
+
/**
|
|
71
|
+
* If <code>true</code>, the Leader allows remote access (teleporting) into the Workers or Nodes of the Worker Group, Outpost Group, or Edge Fleet.
|
|
72
|
+
*/
|
|
42
73
|
workerRemoteAccess?: boolean | undefined;
|
|
43
74
|
};
|
|
44
75
|
/** @internal */
|
|
45
76
|
export type GroupCreateRequest$Outbound = {
|
|
46
77
|
cloud?: ConfigGroupCloud$Outbound | undefined;
|
|
47
|
-
deployingWorkerCount?: number | undefined;
|
|
48
78
|
description?: string | undefined;
|
|
49
79
|
estimatedIngestRate?: number | undefined;
|
|
50
|
-
git?: GitTypeConfigGroup$Outbound | undefined;
|
|
51
80
|
id: string;
|
|
52
|
-
incompatibleWorkerCount?: number | undefined;
|
|
53
81
|
inherits?: string | undefined;
|
|
54
82
|
isFleet?: boolean | undefined;
|
|
55
83
|
isSearch?: boolean | undefined;
|
|
56
|
-
lookupDeployments?: Array<ConfigGroupLookups$Outbound> | undefined;
|
|
57
84
|
maxWorkerAge?: string | undefined;
|
|
58
85
|
name?: string | undefined;
|
|
59
86
|
onPrem?: boolean | undefined;
|
|
@@ -63,7 +90,6 @@ export type GroupCreateRequest$Outbound = {
|
|
|
63
90
|
tags?: string | undefined;
|
|
64
91
|
type?: string | undefined;
|
|
65
92
|
upgradeVersion?: string | undefined;
|
|
66
|
-
workerCount?: number | undefined;
|
|
67
93
|
workerRemoteAccess?: boolean | undefined;
|
|
68
94
|
};
|
|
69
95
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groupcreaterequest.d.ts","sourceRoot":"","sources":["../../../src/models/groupcreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"groupcreaterequest.d.ts","sourceRoot":"","sources":["../../../src/models/groupcreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,qCAAqC,EAEtC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,mBAAmB,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;IACxE,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,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C,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAoBlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -40,24 +40,18 @@ exports.GroupCreateRequest$outboundSchema = void 0;
|
|
|
40
40
|
exports.groupCreateRequestToJSON = groupCreateRequestToJSON;
|
|
41
41
|
const z = __importStar(require("zod/v3"));
|
|
42
42
|
const configgroupcloud_js_1 = require("./configgroupcloud.js");
|
|
43
|
-
const configgrouplookups_js_1 = require("./configgrouplookups.js");
|
|
44
43
|
const estimatedingestrateoptionsconfiggroup_js_1 = require("./estimatedingestrateoptionsconfiggroup.js");
|
|
45
|
-
const gittypeconfiggroup_js_1 = require("./gittypeconfiggroup.js");
|
|
46
44
|
const typeoptionsconfiggroup_js_1 = require("./typeoptionsconfiggroup.js");
|
|
47
45
|
/** @internal */
|
|
48
46
|
exports.GroupCreateRequest$outboundSchema = z.object({
|
|
49
47
|
cloud: configgroupcloud_js_1.ConfigGroupCloud$outboundSchema.optional(),
|
|
50
|
-
deployingWorkerCount: z.number().optional(),
|
|
51
48
|
description: z.string().optional(),
|
|
52
49
|
estimatedIngestRate: estimatedingestrateoptionsconfiggroup_js_1.EstimatedIngestRateOptionsConfigGroup$outboundSchema
|
|
53
50
|
.optional(),
|
|
54
|
-
git: gittypeconfiggroup_js_1.GitTypeConfigGroup$outboundSchema.optional(),
|
|
55
51
|
id: z.string(),
|
|
56
|
-
incompatibleWorkerCount: z.number().optional(),
|
|
57
52
|
inherits: z.string().optional(),
|
|
58
53
|
isFleet: z.boolean().optional(),
|
|
59
54
|
isSearch: z.boolean().optional(),
|
|
60
|
-
lookupDeployments: z.array(configgrouplookups_js_1.ConfigGroupLookups$outboundSchema).optional(),
|
|
61
55
|
maxWorkerAge: z.string().optional(),
|
|
62
56
|
name: z.string().optional(),
|
|
63
57
|
onPrem: z.boolean().optional(),
|
|
@@ -67,7 +61,6 @@ exports.GroupCreateRequest$outboundSchema = z.object({
|
|
|
67
61
|
tags: z.string().optional(),
|
|
68
62
|
type: typeoptionsconfiggroup_js_1.TypeOptionsConfigGroup$outboundSchema.optional(),
|
|
69
63
|
upgradeVersion: z.string().optional(),
|
|
70
|
-
workerCount: z.number().optional(),
|
|
71
64
|
workerRemoteAccess: z.boolean().optional(),
|
|
72
65
|
});
|
|
73
66
|
function groupCreateRequestToJSON(groupCreateRequest) {
|