@cycleplatform/api-client-typescript 0.3.19 → 0.3.22
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/package.json +1 -1
- package/src/generated/types.ts +474 -100
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -1289,6 +1289,28 @@ export interface paths {
|
|
|
1289
1289
|
patch?: never;
|
|
1290
1290
|
trace?: never;
|
|
1291
1291
|
};
|
|
1292
|
+
"/v1/dns/tls/certificates": {
|
|
1293
|
+
parameters: {
|
|
1294
|
+
query?: never;
|
|
1295
|
+
header?: never;
|
|
1296
|
+
path?: never;
|
|
1297
|
+
cookie?: never;
|
|
1298
|
+
};
|
|
1299
|
+
/**
|
|
1300
|
+
* List all TLS Certificates whether user generated or automatically generated by the platform.
|
|
1301
|
+
* @description Retrieve a list of TLS certificates.
|
|
1302
|
+
*
|
|
1303
|
+
* Requires the `dns-certs-view` capability.
|
|
1304
|
+
*/
|
|
1305
|
+
get: operations["getAllTlsCertificates"];
|
|
1306
|
+
put?: never;
|
|
1307
|
+
post?: never;
|
|
1308
|
+
delete?: never;
|
|
1309
|
+
options?: never;
|
|
1310
|
+
head?: never;
|
|
1311
|
+
patch?: never;
|
|
1312
|
+
trace?: never;
|
|
1313
|
+
};
|
|
1292
1314
|
"/v1/dns/tls/certificates/lookup": {
|
|
1293
1315
|
parameters: {
|
|
1294
1316
|
query?: never;
|
|
@@ -2830,15 +2852,15 @@ export interface paths {
|
|
|
2830
2852
|
patch: operations["updateAutoScaleGroupAccess"];
|
|
2831
2853
|
trace?: never;
|
|
2832
2854
|
};
|
|
2833
|
-
"/v1/infrastructure/providers/{
|
|
2855
|
+
"/v1/infrastructure/providers/{integrationId}/servers": {
|
|
2834
2856
|
parameters: {
|
|
2835
2857
|
query?: never;
|
|
2836
2858
|
header?: never;
|
|
2837
2859
|
path?: never;
|
|
2838
2860
|
cookie?: never;
|
|
2839
2861
|
};
|
|
2840
|
-
/** List Provider
|
|
2841
|
-
get: operations["
|
|
2862
|
+
/** List Provider Server Models */
|
|
2863
|
+
get: operations["getProviderServerModels"];
|
|
2842
2864
|
put?: never;
|
|
2843
2865
|
post?: never;
|
|
2844
2866
|
delete?: never;
|
|
@@ -2847,7 +2869,7 @@ export interface paths {
|
|
|
2847
2869
|
patch?: never;
|
|
2848
2870
|
trace?: never;
|
|
2849
2871
|
};
|
|
2850
|
-
"/v1/infrastructure/providers/{
|
|
2872
|
+
"/v1/infrastructure/providers/{integrationId}/locations": {
|
|
2851
2873
|
parameters: {
|
|
2852
2874
|
query?: never;
|
|
2853
2875
|
header?: never;
|
|
@@ -3069,10 +3091,10 @@ export interface paths {
|
|
|
3069
3091
|
get: operations["getServers"];
|
|
3070
3092
|
put?: never;
|
|
3071
3093
|
/**
|
|
3072
|
-
* Create
|
|
3094
|
+
* Create Servers
|
|
3073
3095
|
* @description Requires the `servers-provision` capability.
|
|
3074
3096
|
*/
|
|
3075
|
-
post: operations["
|
|
3097
|
+
post: operations["createServers"];
|
|
3076
3098
|
delete?: never;
|
|
3077
3099
|
options?: never;
|
|
3078
3100
|
head?: never;
|
|
@@ -3593,6 +3615,28 @@ export interface paths {
|
|
|
3593
3615
|
patch: operations["updatePipelineAccess"];
|
|
3594
3616
|
trace?: never;
|
|
3595
3617
|
};
|
|
3618
|
+
"/v1/pipelines/runs": {
|
|
3619
|
+
parameters: {
|
|
3620
|
+
query?: never;
|
|
3621
|
+
header?: never;
|
|
3622
|
+
path?: never;
|
|
3623
|
+
cookie?: never;
|
|
3624
|
+
};
|
|
3625
|
+
/**
|
|
3626
|
+
* List All Pipeline Runs
|
|
3627
|
+
* @description Lists all pipeline runs, regardless of the pipeline they are associated with.
|
|
3628
|
+
*
|
|
3629
|
+
* Requires the `pipelines-view` capability.
|
|
3630
|
+
*/
|
|
3631
|
+
get: operations["getAllPipelineRuns"];
|
|
3632
|
+
put?: never;
|
|
3633
|
+
post?: never;
|
|
3634
|
+
delete?: never;
|
|
3635
|
+
options?: never;
|
|
3636
|
+
head?: never;
|
|
3637
|
+
patch?: never;
|
|
3638
|
+
trace?: never;
|
|
3639
|
+
};
|
|
3596
3640
|
"/v1/pipelines/{pipelineId}/runs": {
|
|
3597
3641
|
parameters: {
|
|
3598
3642
|
query?: never;
|
|
@@ -3951,6 +3995,28 @@ export interface paths {
|
|
|
3951
3995
|
patch?: never;
|
|
3952
3996
|
trace?: never;
|
|
3953
3997
|
};
|
|
3998
|
+
"/v1/stacks/builds": {
|
|
3999
|
+
parameters: {
|
|
4000
|
+
query?: never;
|
|
4001
|
+
header?: never;
|
|
4002
|
+
path?: never;
|
|
4003
|
+
cookie?: never;
|
|
4004
|
+
};
|
|
4005
|
+
/**
|
|
4006
|
+
* List All Builds
|
|
4007
|
+
* @description Fetches all stack builds regardless of their association to a stack.
|
|
4008
|
+
*
|
|
4009
|
+
* Requires the `stacks-view` capability.
|
|
4010
|
+
*/
|
|
4011
|
+
get: operations["getAllStackBuilds"];
|
|
4012
|
+
put?: never;
|
|
4013
|
+
post?: never;
|
|
4014
|
+
delete?: never;
|
|
4015
|
+
options?: never;
|
|
4016
|
+
head?: never;
|
|
4017
|
+
patch?: never;
|
|
4018
|
+
trace?: never;
|
|
4019
|
+
};
|
|
3954
4020
|
"/v1/stacks/builds/{buildId}": {
|
|
3955
4021
|
parameters: {
|
|
3956
4022
|
query?: never;
|
|
@@ -4327,7 +4393,48 @@ export interface paths {
|
|
|
4327
4393
|
trace?: never;
|
|
4328
4394
|
};
|
|
4329
4395
|
}
|
|
4330
|
-
export
|
|
4396
|
+
export interface webhooks {
|
|
4397
|
+
environmentMetricsPush: {
|
|
4398
|
+
parameters: {
|
|
4399
|
+
query?: never;
|
|
4400
|
+
header?: never;
|
|
4401
|
+
path?: never;
|
|
4402
|
+
cookie?: never;
|
|
4403
|
+
};
|
|
4404
|
+
get?: never;
|
|
4405
|
+
put?: never;
|
|
4406
|
+
/**
|
|
4407
|
+
* Environment Metrics Push
|
|
4408
|
+
* @description Regularly sends metrics from an environment to an endpoint.
|
|
4409
|
+
*/
|
|
4410
|
+
post: operations["environmentMetricsPush"];
|
|
4411
|
+
delete?: never;
|
|
4412
|
+
options?: never;
|
|
4413
|
+
head?: never;
|
|
4414
|
+
patch?: never;
|
|
4415
|
+
trace?: never;
|
|
4416
|
+
};
|
|
4417
|
+
environmentEventsPush: {
|
|
4418
|
+
parameters: {
|
|
4419
|
+
query?: never;
|
|
4420
|
+
header?: never;
|
|
4421
|
+
path?: never;
|
|
4422
|
+
cookie?: never;
|
|
4423
|
+
};
|
|
4424
|
+
get?: never;
|
|
4425
|
+
put?: never;
|
|
4426
|
+
/**
|
|
4427
|
+
* Environment Events Push
|
|
4428
|
+
* @description Regularly sends events from an environment to an endpoint.
|
|
4429
|
+
*/
|
|
4430
|
+
post: operations["environmentEventsPush"];
|
|
4431
|
+
delete?: never;
|
|
4432
|
+
options?: never;
|
|
4433
|
+
head?: never;
|
|
4434
|
+
patch?: never;
|
|
4435
|
+
trace?: never;
|
|
4436
|
+
};
|
|
4437
|
+
}
|
|
4331
4438
|
export interface components {
|
|
4332
4439
|
schemas: {
|
|
4333
4440
|
/**
|
|
@@ -5927,7 +6034,7 @@ export interface components {
|
|
|
5927
6034
|
/** @description The number of initial desired instances for a given container. */
|
|
5928
6035
|
instances: number;
|
|
5929
6036
|
/** @description The deployment strategy to use when scaling the given container. */
|
|
5930
|
-
strategy?: components["schemas"]["DeploymentStrategyName"];
|
|
6037
|
+
strategy?: components["schemas"]["DeploymentStrategyName"] | null;
|
|
5931
6038
|
/** @description Configuration options for containers using the 'function' deployment strategy. */
|
|
5932
6039
|
function?: {
|
|
5933
6040
|
/** @description The maximum number of instances that Cycle can pre-allocate (includes auto-scaled instances). */
|
|
@@ -5939,42 +6046,45 @@ export interface components {
|
|
|
5939
6046
|
/** @description The maximum amount of time Cycle will wait for an instance to be available. */
|
|
5940
6047
|
max_queue_time?: components["schemas"]["Duration"] | null;
|
|
5941
6048
|
} | null;
|
|
6049
|
+
/** @description Configuration options for stateful deployments. */
|
|
5942
6050
|
stateful?: {
|
|
6051
|
+
/** @description Options that modify behavior for stateful deployments. */
|
|
5943
6052
|
options?: {
|
|
6053
|
+
/** @description When set, the base hostname will be used instead of a generated hostname. */
|
|
5944
6054
|
use_base_hostname?: boolean | null;
|
|
5945
6055
|
} | null;
|
|
5946
|
-
};
|
|
6056
|
+
} | null;
|
|
5947
6057
|
/** @description Settings that give more granular control over deployment targets and conditions. */
|
|
5948
6058
|
constraints?: {
|
|
5949
|
-
/** @description Constraint settings related to which nodes an instance can be deployed to. */
|
|
5950
6059
|
node?: {
|
|
5951
6060
|
/** @description Lists of server tags that formally declair servers that match the criteria for deployment. */
|
|
5952
6061
|
tags: {
|
|
5953
6062
|
/** @description A list of tags where a server matching any tags from the list is qualified as a deployment target. */
|
|
5954
|
-
any?: string[];
|
|
6063
|
+
any?: string[] | null;
|
|
5955
6064
|
/** @description A list of tags where a server matching all tags from the list is the only scenario where the server is qualified as a deployment target. */
|
|
5956
|
-
all?: string[];
|
|
6065
|
+
all?: string[] | null;
|
|
5957
6066
|
};
|
|
5958
|
-
};
|
|
5959
|
-
|
|
5960
|
-
|
|
6067
|
+
} | null;
|
|
6068
|
+
/** @description A list of secret identifiers that will be made available to the container. */
|
|
6069
|
+
secrets?: string[] | null;
|
|
6070
|
+
} | null;
|
|
5961
6071
|
/** @description Configuration for what to do during container shutdown. */
|
|
5962
6072
|
shutdown?: {
|
|
5963
6073
|
/** @description How long the platform will wait for a container to stop gracefully. */
|
|
5964
6074
|
graceful_timeout?: components["schemas"]["Duration"] | null;
|
|
5965
6075
|
/** @description Process signal sent to the container process. */
|
|
5966
6076
|
signals?: components["schemas"]["ShutdownSignal"][] | null;
|
|
5967
|
-
};
|
|
6077
|
+
} | null;
|
|
5968
6078
|
/** @description Configurations for container startup. */
|
|
5969
6079
|
startup?: {
|
|
5970
6080
|
/** @description How long the platform will wait before sending the start signal to the given container. */
|
|
5971
6081
|
delay?: components["schemas"]["Duration"];
|
|
5972
|
-
};
|
|
6082
|
+
} | null;
|
|
5973
6083
|
/** @description Configurations for container updates. */
|
|
5974
6084
|
update?: {
|
|
5975
6085
|
/** @description When set, Cycle will pick a random time from `0 - this duration`, and stagger the instances so they all start at different times (up to the time specified here). */
|
|
5976
6086
|
stagger?: components["schemas"]["Duration"];
|
|
5977
|
-
};
|
|
6087
|
+
} | null;
|
|
5978
6088
|
/** @description Configurations for container restart events. */
|
|
5979
6089
|
restart?: {
|
|
5980
6090
|
/**
|
|
@@ -5986,7 +6096,14 @@ export interface components {
|
|
|
5986
6096
|
delay: components["schemas"]["Duration"];
|
|
5987
6097
|
/** @description The amount of times the platform will attempt the restart policies. */
|
|
5988
6098
|
max_attempts: number;
|
|
5989
|
-
};
|
|
6099
|
+
} | null;
|
|
6100
|
+
/** @description Configuration for determining readiness of a container. */
|
|
6101
|
+
readiness_check?: {
|
|
6102
|
+
/** @description The command that will be run to verify readiness of the container. */
|
|
6103
|
+
command: string;
|
|
6104
|
+
interval: components["schemas"]["Duration"];
|
|
6105
|
+
timeout: components["schemas"]["Duration"];
|
|
6106
|
+
} | null;
|
|
5990
6107
|
/** @description Configuration for determining the health of a container. */
|
|
5991
6108
|
health_check?: {
|
|
5992
6109
|
/** @description The command that will be run to verify the health of the container. */
|
|
@@ -5994,14 +6111,14 @@ export interface components {
|
|
|
5994
6111
|
/** @description The number of times the platform will retry the command before marking the container unhealthy. */
|
|
5995
6112
|
retries: number;
|
|
5996
6113
|
/** @description How long to wait before performing an initial health check when the instance starts. The `state.health.healthy` field of the instance will be `null`` until the first check is performed. */
|
|
5997
|
-
delay: components["schemas"]["Duration"]
|
|
6114
|
+
delay: components["schemas"]["Duration"];
|
|
5998
6115
|
/** @description How long to wait between restarts. */
|
|
5999
6116
|
interval: components["schemas"]["Duration"];
|
|
6000
6117
|
/** @description How long before a health check attempt times out. */
|
|
6001
6118
|
timeout: components["schemas"]["Duration"];
|
|
6002
6119
|
/** @description A boolean where `true` represents the desire for a container to restart if unhealthy. */
|
|
6003
6120
|
restart: boolean;
|
|
6004
|
-
};
|
|
6121
|
+
} | null;
|
|
6005
6122
|
/** @description Configuration settings for container telemetery reporting. */
|
|
6006
6123
|
telemetry?: {
|
|
6007
6124
|
/** @description How long telemetry data should be retained. */
|
|
@@ -6010,7 +6127,7 @@ export interface components {
|
|
|
6010
6127
|
interval: components["schemas"]["Duration"];
|
|
6011
6128
|
/** @description A boolean where true disables all telemetry reporting for this container. */
|
|
6012
6129
|
disable: boolean;
|
|
6013
|
-
};
|
|
6130
|
+
} | null;
|
|
6014
6131
|
};
|
|
6015
6132
|
/**
|
|
6016
6133
|
* ScaleThresholdMetricRam
|
|
@@ -6581,6 +6698,16 @@ export interface components {
|
|
|
6581
6698
|
};
|
|
6582
6699
|
/** @description A LINKED record is a record special to Cycle. It represents a URL that points to a specific container or deployment of a container, however the IP address mapping in handled automatically by the platform. */
|
|
6583
6700
|
linked?: {
|
|
6701
|
+
/** @description Rules for routing traffic at the load balancer for this linked record. */
|
|
6702
|
+
routing: {
|
|
6703
|
+
http?: {
|
|
6704
|
+
/**
|
|
6705
|
+
* @description If set, this record will configure the load balancer to only match for paths of this domain matching this string.
|
|
6706
|
+
* If the string starts with a /, it will be a literal prefix match (/test matches /test*). Otherwise, regex is used.
|
|
6707
|
+
*/
|
|
6708
|
+
match_path?: string | null;
|
|
6709
|
+
} | null;
|
|
6710
|
+
};
|
|
6584
6711
|
/** @description Features associated with this record. */
|
|
6585
6712
|
features: {
|
|
6586
6713
|
/** @description TLS properties of the record. */
|
|
@@ -6838,7 +6965,7 @@ export interface components {
|
|
|
6838
6965
|
* @description The configuration for environment monitoring.
|
|
6839
6966
|
*/
|
|
6840
6967
|
EnvironmentMonitoringConfig: {
|
|
6841
|
-
/** @description An object describing the log configuration for the environment. */
|
|
6968
|
+
/** @description An object describing the log monitoring configuration for the environment. */
|
|
6842
6969
|
logs?: {
|
|
6843
6970
|
/** @description An object describing log drain configuration for the environment. */
|
|
6844
6971
|
drain?: {
|
|
@@ -6850,6 +6977,28 @@ export interface components {
|
|
|
6850
6977
|
exclude_services: boolean;
|
|
6851
6978
|
} | null;
|
|
6852
6979
|
} | null;
|
|
6980
|
+
/** @description An object describing the metrics monitoring configuration for the environment. */
|
|
6981
|
+
metrics?: {
|
|
6982
|
+
/**
|
|
6983
|
+
* @description Configuration options for pushing metrics externally.
|
|
6984
|
+
* For payload see webhook `environmentMetricsPush`
|
|
6985
|
+
*/
|
|
6986
|
+
endpoint?: {
|
|
6987
|
+
/** @description The destination URL for the metrics. */
|
|
6988
|
+
url: string;
|
|
6989
|
+
} | null;
|
|
6990
|
+
} | null;
|
|
6991
|
+
/** @description An object describing the events monitoring configuration for the environment. */
|
|
6992
|
+
events?: {
|
|
6993
|
+
/**
|
|
6994
|
+
* @description Configuration options for pushing events externally.
|
|
6995
|
+
* For payload see webhook `environmentEventsPush`
|
|
6996
|
+
*/
|
|
6997
|
+
endpoint?: {
|
|
6998
|
+
/** @description The destination URL for events. */
|
|
6999
|
+
url: string;
|
|
7000
|
+
} | null;
|
|
7001
|
+
} | null;
|
|
6853
7002
|
};
|
|
6854
7003
|
/**
|
|
6855
7004
|
* EnvironmentFeatures
|
|
@@ -7316,8 +7465,6 @@ export interface components {
|
|
|
7316
7465
|
*/
|
|
7317
7466
|
DiscoveryConfig: {
|
|
7318
7467
|
empty_set_delay?: components["schemas"]["Duration"] | null;
|
|
7319
|
-
/** @description When enabled, discovery will return both IPv6 and IPv4 when in legacy mode. Otherwise, only IPv4 will be returned. */
|
|
7320
|
-
dual_stack_legacy?: boolean | null;
|
|
7321
7468
|
/** @description A mapping of hostnames to IP addresses for custom internal resolutions. Acts as a custom /etc/resolv.conf file that works environment wide. */
|
|
7322
7469
|
hosts?: {
|
|
7323
7470
|
[key: string]: {
|
|
@@ -7329,6 +7476,12 @@ export interface components {
|
|
|
7329
7476
|
} | null;
|
|
7330
7477
|
/** @description A list of custom DNS resolver strings. Can specifify domains or ips. */
|
|
7331
7478
|
custom_resolvers?: string[] | null;
|
|
7479
|
+
/** @description When enabled, discovery will return both IPv6 and IPv4 when in legacy mode. Otherwise, only IPv4 will be returned. */
|
|
7480
|
+
dual_stack_legacy?: boolean | null;
|
|
7481
|
+
external_resolution?: {
|
|
7482
|
+
/** @enum {string} */
|
|
7483
|
+
preference: "default" | "ipv4" | "ipv6";
|
|
7484
|
+
} | null;
|
|
7332
7485
|
};
|
|
7333
7486
|
/**
|
|
7334
7487
|
* DiscoveryEnvironmentService
|
|
@@ -7502,6 +7655,18 @@ export interface components {
|
|
|
7502
7655
|
image: components["schemas"]["ContainerImageSummary"];
|
|
7503
7656
|
environment: components["schemas"]["ContainerEnvironmentSummary"];
|
|
7504
7657
|
}[];
|
|
7658
|
+
/** @description A map where the key is the service and the value describes the version and date of last update. */
|
|
7659
|
+
service_versions?: {
|
|
7660
|
+
[key: string]: {
|
|
7661
|
+
/**
|
|
7662
|
+
* @description A string depicting the service version.
|
|
7663
|
+
* @example v2025.01.01.01
|
|
7664
|
+
*/
|
|
7665
|
+
version: string;
|
|
7666
|
+
/** @description The time the version was last updated. */
|
|
7667
|
+
last_updated: components["schemas"]["DateTime"];
|
|
7668
|
+
};
|
|
7669
|
+
};
|
|
7505
7670
|
};
|
|
7506
7671
|
/**
|
|
7507
7672
|
* Environment
|
|
@@ -8218,65 +8383,74 @@ export interface components {
|
|
|
8218
8383
|
* - ** function **: Every ingress request/connection receives its own instance.
|
|
8219
8384
|
* - ** manual **: Cycle will not make any decisions on where instances are deployed. Instead, instances must be deployed manually using the portal or API.
|
|
8220
8385
|
*/
|
|
8221
|
-
strategy?: ("resource-density" | "manual" | "high-availability" | "first-available" | "node" | "edge" | "function" | null
|
|
8386
|
+
strategy?: ("resource-density" | "manual" | "high-availability" | "first-available" | "node" | "edge" | "function") | null | components["schemas"]["StackVariable"];
|
|
8222
8387
|
/** @description Configuration options for containers using the 'function' deployment strategy. */
|
|
8223
|
-
function?:
|
|
8388
|
+
function?: {
|
|
8224
8389
|
/** @description The maximum number of instances that Cycle can pre-allocate (includes auto-scaled instances). */
|
|
8225
|
-
max_pool_size?:
|
|
8390
|
+
max_pool_size?: number | null | components["schemas"]["StackVariable"];
|
|
8226
8391
|
/** @description For each shard (scheduler), the maximum number of tasks it can run in parallel. */
|
|
8227
|
-
max_shard_concurrency?:
|
|
8392
|
+
max_shard_concurrency?: number | null | components["schemas"]["StackVariable"];
|
|
8228
8393
|
/** @description The maximum amount of time a function instance can run before timing out. */
|
|
8229
|
-
max_runtime?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"]
|
|
8394
|
+
max_runtime?: components["schemas"]["Duration"] | null | components["schemas"]["StackVariable"];
|
|
8230
8395
|
/** @description The maximum amount of time Cycle will wait for an instance to be available. */
|
|
8231
|
-
max_queue_time?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"]
|
|
8232
|
-
} | null
|
|
8396
|
+
max_queue_time?: components["schemas"]["Duration"] | null | components["schemas"]["StackVariable"];
|
|
8397
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8233
8398
|
/** @description Configuration options for stateful containers. */
|
|
8234
|
-
stateful?:
|
|
8399
|
+
stateful?: {
|
|
8235
8400
|
/** @description Stateful container options. */
|
|
8236
8401
|
options: {
|
|
8237
8402
|
/** @description When enabled, instances will utilize stateless base hostnames instead of being prefixed with a unique ID. */
|
|
8238
8403
|
use_base_hostname?: boolean | null;
|
|
8239
|
-
} | null;
|
|
8240
|
-
} | null
|
|
8404
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8405
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8241
8406
|
/** @description Configuration options that provide the ability to set restrictions on which nodes instances of this container are able to be deployed to. (i.e. if you have a GPU container, it should only go on nodes with a GPU). */
|
|
8242
|
-
constraints?:
|
|
8407
|
+
constraints?: {
|
|
8408
|
+
/** @description Constraint settings related to which nodes an instance can be deployed to. */
|
|
8243
8409
|
node?: {
|
|
8244
8410
|
/** @description Tags applied to a node. Cycle generates some automatically, but additional, custom tags can be applied on a per-node basis. */
|
|
8245
8411
|
tags: {
|
|
8246
8412
|
/** @description If a node has at least one of these tags, it is considered a valid deployment target for this container. */
|
|
8247
|
-
any?: string[] | components["schemas"]["StackVariable"];
|
|
8413
|
+
any?: string[] | null | components["schemas"]["StackVariable"];
|
|
8248
8414
|
/** @description A node must have **ALL** of these tags to be considered a valid deployment target for this container. */
|
|
8249
|
-
all?: string[] | components["schemas"]["StackVariable"];
|
|
8250
|
-
} | components["schemas"]["StackVariable"];
|
|
8251
|
-
} | null;
|
|
8252
|
-
} | null
|
|
8415
|
+
all?: string[] | null | components["schemas"]["StackVariable"];
|
|
8416
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8417
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8418
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8253
8419
|
/** @description Configuration options for how this container behaves during shutdown. */
|
|
8254
|
-
shutdown?:
|
|
8420
|
+
shutdown?: {
|
|
8255
8421
|
/** @description How long the platform will wait for a container to stop gracefully. */
|
|
8256
8422
|
graceful_timeout?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"] | null;
|
|
8257
|
-
|
|
8258
|
-
|
|
8423
|
+
/** @description Signals that should be sent to the container on shutdown. */
|
|
8424
|
+
signals?: components["schemas"]["ShutdownSignal"][] | null | components["schemas"]["StackVariable"];
|
|
8425
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8259
8426
|
/** @description Configuration options for how this container behaves during startup. */
|
|
8260
|
-
startup?:
|
|
8427
|
+
startup?: {
|
|
8261
8428
|
/** @description How long the platform will wait before sending the start signal to the given container. */
|
|
8262
8429
|
delay?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"] | null;
|
|
8263
|
-
} | null
|
|
8430
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8264
8431
|
/** @description Configurations for how the container behaves during updates. */
|
|
8265
|
-
update?:
|
|
8432
|
+
update?: {
|
|
8266
8433
|
/** @description When set, Cycle will pick a random time from `0 - this duration`, and stagger the instances so they all start at different times (up to the time specified here). */
|
|
8267
8434
|
stagger?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"] | null;
|
|
8268
|
-
} | null
|
|
8435
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8269
8436
|
/** @description Configuration options for how Cycle should handle restarting this container (i.e. in case the process inside the container dies). */
|
|
8270
|
-
restart?:
|
|
8437
|
+
restart?: {
|
|
8271
8438
|
/** @description Under what circumstances Cycle should try to restart this container. */
|
|
8272
8439
|
condition: ("always" | "never" | "failure") | components["schemas"]["StackVariable"];
|
|
8273
8440
|
/** @description How long the platform will wait between restart attempts. */
|
|
8274
8441
|
delay: components["schemas"]["Duration"] | components["schemas"]["StackVariable"];
|
|
8275
8442
|
/** @description The maximum number of restart attempts Cycle will make. */
|
|
8276
8443
|
max_attempts: number | components["schemas"]["StackVariable"];
|
|
8277
|
-
} | null
|
|
8444
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8445
|
+
/** @description Configuration for determining readiness of a container. */
|
|
8446
|
+
readiness_check?: {
|
|
8447
|
+
/** @description The command that will be run to verify readiness of the container. */
|
|
8448
|
+
command: string;
|
|
8449
|
+
interval: components["schemas"]["Duration"];
|
|
8450
|
+
timeout: components["schemas"]["Duration"];
|
|
8451
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8278
8452
|
/** @description Configuration options for automated container health checks. */
|
|
8279
|
-
health_check?:
|
|
8453
|
+
health_check?: {
|
|
8280
8454
|
/**
|
|
8281
8455
|
* @description The command or script to run to verify the health of the container. This script is run inside the container by Cycle.
|
|
8282
8456
|
* This command accepts two types of entries:
|
|
@@ -8293,18 +8467,18 @@ export interface components {
|
|
|
8293
8467
|
restart: boolean | components["schemas"]["StackVariable"];
|
|
8294
8468
|
/** @description How long to wait after a container start event before running health checks. */
|
|
8295
8469
|
delay?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"] | null;
|
|
8296
|
-
} | null
|
|
8470
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8297
8471
|
/** @description Configuration options for how the instance telemetry (CPU usage, etc) is handled. */
|
|
8298
|
-
telemetry?:
|
|
8472
|
+
telemetry?: {
|
|
8299
8473
|
/** @description How long telemetry data should be retained. */
|
|
8300
|
-
retention?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"]
|
|
8474
|
+
retention?: components["schemas"]["Duration"] | null | components["schemas"]["StackVariable"];
|
|
8301
8475
|
/** @description The duration between samples. */
|
|
8302
|
-
interval?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"]
|
|
8476
|
+
interval?: components["schemas"]["Duration"] | null | components["schemas"]["StackVariable"];
|
|
8303
8477
|
/** @description A URL where Cycle will send telemetry data to. The payload will be an instance resource snapshot. */
|
|
8304
|
-
webhook?:
|
|
8478
|
+
webhook?: string | null | components["schemas"]["StackVariable"];
|
|
8305
8479
|
/** @description If true, Cycle will not aggregate telemetry for this container's instances. */
|
|
8306
8480
|
disable: boolean | components["schemas"]["StackVariable"];
|
|
8307
|
-
} | null
|
|
8481
|
+
} | null | components["schemas"]["StackVariable"];
|
|
8308
8482
|
};
|
|
8309
8483
|
/**
|
|
8310
8484
|
* StackSpecContainerScaleThresholdRam
|
|
@@ -8737,8 +8911,6 @@ export interface components {
|
|
|
8737
8911
|
/** StackSpecDiscoveryConfig */
|
|
8738
8912
|
StackSpecDiscoveryConfig: {
|
|
8739
8913
|
empty_set_delay?: components["schemas"]["Duration"] | components["schemas"]["StackVariable"] | null;
|
|
8740
|
-
/** @description When enabled, discovery will return both IPv6 and IPv4 when in legacy mode. Otherwise, only IPv4 will be returned. */
|
|
8741
|
-
dual_stack_legacy?: boolean | components["schemas"]["StackVariable"] | null;
|
|
8742
8914
|
/** @description A custom mapping of hosts - for forced resolution of specific IPs for a domain. */
|
|
8743
8915
|
hosts?: ({
|
|
8744
8916
|
[key: string]: {
|
|
@@ -8748,6 +8920,12 @@ export interface components {
|
|
|
8748
8920
|
} | null) | components["schemas"]["StackVariable"];
|
|
8749
8921
|
/** @description A list of custom DNS resolver strings. Can specifify domains or ips. */
|
|
8750
8922
|
custom_resolvers?: string[] | components["schemas"]["StackVariable"] | null;
|
|
8923
|
+
/** @description When enabled, discovery will return both IPv6 and IPv4 when in legacy mode. Otherwise, only IPv4 will be returned. */
|
|
8924
|
+
dual_stack_legacy?: boolean | components["schemas"]["StackVariable"] | null;
|
|
8925
|
+
external_resolution?: {
|
|
8926
|
+
/** @enum {string} */
|
|
8927
|
+
preference: "default" | "ipv4" | "ipv6";
|
|
8928
|
+
} | components["schemas"]["StackVariable"] | null;
|
|
8751
8929
|
};
|
|
8752
8930
|
/**
|
|
8753
8931
|
* StackSpecDiscoveryService
|
|
@@ -9998,8 +10176,8 @@ export interface components {
|
|
|
9998
10176
|
region: string;
|
|
9999
10177
|
};
|
|
10000
10178
|
/**
|
|
10001
|
-
*
|
|
10002
|
-
* @description Information about the
|
|
10179
|
+
* ProviderLocationDetails
|
|
10180
|
+
* @description Information about the location of the provider.
|
|
10003
10181
|
*/
|
|
10004
10182
|
ProviderLocationDetails: {
|
|
10005
10183
|
/** @description An identifier for the given provider */
|
|
@@ -10065,6 +10243,8 @@ export interface components {
|
|
|
10065
10243
|
creator: components["schemas"]["CreatorScope"];
|
|
10066
10244
|
hub_id: components["schemas"]["HubID"];
|
|
10067
10245
|
acl?: components["schemas"]["ACL"] | null;
|
|
10246
|
+
/** @description Marks a cluster as non-essential. Non-essential cluster resources are excluded by default from certain metrics and summaries unless opted in. */
|
|
10247
|
+
non_essential: boolean;
|
|
10068
10248
|
state: components["schemas"]["ClusterState"];
|
|
10069
10249
|
features: {
|
|
10070
10250
|
/** @description The level of monitoring to enable for this cluster. There is a cost associated with higher levels of monitoring. */
|
|
@@ -10187,10 +10367,10 @@ export interface components {
|
|
|
10187
10367
|
} | null;
|
|
10188
10368
|
};
|
|
10189
10369
|
/**
|
|
10190
|
-
*
|
|
10370
|
+
* ProviderServerModelSpec
|
|
10191
10371
|
* @description Specs for a given server
|
|
10192
10372
|
*/
|
|
10193
|
-
|
|
10373
|
+
ProviderServerModelSpec: {
|
|
10194
10374
|
cpu: components["schemas"]["CPUSpec"];
|
|
10195
10375
|
gpu: components["schemas"]["GPUSpec"];
|
|
10196
10376
|
memory: components["schemas"]["MemorySpec"];
|
|
@@ -10199,11 +10379,13 @@ export interface components {
|
|
|
10199
10379
|
features: components["schemas"]["FeaturesSpec"];
|
|
10200
10380
|
};
|
|
10201
10381
|
/**
|
|
10202
|
-
*
|
|
10382
|
+
* ProviderServerModelProviderSpec
|
|
10203
10383
|
* @description Higher level information about a providers server.
|
|
10204
10384
|
*/
|
|
10205
|
-
|
|
10206
|
-
/** @description
|
|
10385
|
+
ProviderServerModelProviderSpec: {
|
|
10386
|
+
/** @description The infrastructure vendor for the provider. */
|
|
10387
|
+
vendor?: string;
|
|
10388
|
+
/** @description A provider identifier. */
|
|
10207
10389
|
identifier: string;
|
|
10208
10390
|
integration_id?: components["schemas"]["ID"] | null;
|
|
10209
10391
|
/** @description A category for the server. */
|
|
@@ -10228,8 +10410,8 @@ export interface components {
|
|
|
10228
10410
|
name: string;
|
|
10229
10411
|
/** @description A description of the server. */
|
|
10230
10412
|
description: string;
|
|
10231
|
-
specs: components["schemas"]["
|
|
10232
|
-
provider: components["schemas"]["
|
|
10413
|
+
specs: components["schemas"]["ProviderServerModelSpec"];
|
|
10414
|
+
provider: components["schemas"]["ProviderServerModelProviderSpec"];
|
|
10233
10415
|
price: components["schemas"]["BillingAmount"];
|
|
10234
10416
|
/** @description A boolean where true signifies this server is compatible with the platform. */
|
|
10235
10417
|
compatible: boolean;
|
|
@@ -10239,10 +10421,10 @@ export interface components {
|
|
|
10239
10421
|
location_ids: string[];
|
|
10240
10422
|
};
|
|
10241
10423
|
/**
|
|
10242
|
-
*
|
|
10243
|
-
* @description A
|
|
10424
|
+
* ProviderServerModelsIncludes
|
|
10425
|
+
* @description A resource associated with a server models.
|
|
10244
10426
|
*/
|
|
10245
|
-
|
|
10427
|
+
ProviderServerModelsIncludes: {
|
|
10246
10428
|
[key: string]: components["schemas"]["ProviderServerModel"];
|
|
10247
10429
|
};
|
|
10248
10430
|
/** IntegrationAuth */
|
|
@@ -10403,7 +10585,7 @@ export interface components {
|
|
|
10403
10585
|
clusters?: {
|
|
10404
10586
|
[key: string]: components["schemas"]["Cluster"];
|
|
10405
10587
|
};
|
|
10406
|
-
models?: components["schemas"]["
|
|
10588
|
+
models?: components["schemas"]["ProviderServerModelsIncludes"];
|
|
10407
10589
|
integrations?: components["schemas"]["IntegrationsIncludes"];
|
|
10408
10590
|
};
|
|
10409
10591
|
/**
|
|
@@ -10454,6 +10636,18 @@ export interface components {
|
|
|
10454
10636
|
/** @description A timestamp of the last time the instance health was updated. */
|
|
10455
10637
|
updated: components["schemas"]["DateTime"];
|
|
10456
10638
|
} | null;
|
|
10639
|
+
/** @description information about the readiness of the instance. */
|
|
10640
|
+
readiness?: {
|
|
10641
|
+
/**
|
|
10642
|
+
* @description Describes the readiness of the instance.
|
|
10643
|
+
* - `true`: The instance is ready.
|
|
10644
|
+
* - `false`: The instance is not ready.
|
|
10645
|
+
* - `null`: The instance has not yet reported its readiness, or a readiness check has not yet been performed.
|
|
10646
|
+
*/
|
|
10647
|
+
ready: boolean | null;
|
|
10648
|
+
/** @description A timestamp of the last time the instance readiness was updated. */
|
|
10649
|
+
updated: components["schemas"]["DateTime"];
|
|
10650
|
+
} | null;
|
|
10457
10651
|
} & components["schemas"]["State"];
|
|
10458
10652
|
/**
|
|
10459
10653
|
* InstanceAutoScale
|
|
@@ -13739,7 +13933,7 @@ export interface components {
|
|
|
13739
13933
|
* @description The current lifecycle state of the volume.
|
|
13740
13934
|
* @enum {string}
|
|
13741
13935
|
*/
|
|
13742
|
-
current: "new" | "configuring" | "live" | "deleting" | "deleted";
|
|
13936
|
+
current: "new" | "ready" | "configuring" | "live" | "deleting" | "deleted";
|
|
13743
13937
|
} & components["schemas"]["State"];
|
|
13744
13938
|
/**
|
|
13745
13939
|
* ExternalVolumeEvents
|
|
@@ -13909,7 +14103,7 @@ export interface components {
|
|
|
13909
14103
|
* @description A resource that is associated with activity.
|
|
13910
14104
|
*/
|
|
13911
14105
|
ComponentsIncludes: {
|
|
13912
|
-
[key: string]: components["schemas"]["Container"] | components["schemas"]["VirtualMachine"] | components["schemas"]["Instance"] | components["schemas"]["Environment"] | components["schemas"]["Image"] | components["schemas"]["ImageSource"] | components["schemas"]["Server"] | components["schemas"]["VirtualProviderIso"] | components["schemas"]["IpPool"] | components["schemas"]["Integration"] | components["schemas"]["Stack"] | components["schemas"]["StackBuild"] | components["schemas"]["DnsZone"] | components["schemas"]["DnsRecord"] | components["schemas"]["TlsCertificate"] | components["schemas"]["ApiKey"] | components["schemas"]["Network"] | components["schemas"]["HubMembership"] | components["schemas"]["Pipeline"] | components["schemas"]["TriggerKey"] | components["schemas"]["ScopedVariable"] | components["schemas"]["Hub"] | components["schemas"]["Invoice"] | components["schemas"]["Method"] | components["schemas"]["AutoScaleGroup"] | components["schemas"]["ExternalVolume"] | components["schemas"]["PipelineRun"] | components["schemas"]["Role"] | components["schemas"]["PublicAccount"] | components["schemas"]["VirtualMachineSshKey"];
|
|
14106
|
+
[key: string]: components["schemas"]["Container"] | components["schemas"]["VirtualMachine"] | components["schemas"]["Instance"] | components["schemas"]["Environment"] | components["schemas"]["Image"] | components["schemas"]["ImageSource"] | components["schemas"]["Server"] | components["schemas"]["VirtualProviderIso"] | components["schemas"]["IpPool"] | components["schemas"]["Integration"] | components["schemas"]["Stack"] | components["schemas"]["StackBuild"] | components["schemas"]["DnsZone"] | components["schemas"]["DnsRecord"] | components["schemas"]["TlsCertificate"] | components["schemas"]["ApiKey"] | components["schemas"]["Network"] | components["schemas"]["HubMembership"] | components["schemas"]["Pipeline"] | components["schemas"]["TriggerKey"] | components["schemas"]["ScopedVariable"] | components["schemas"]["Hub"] | components["schemas"]["Invoice"] | components["schemas"]["Method"] | components["schemas"]["AutoScaleGroup"] | components["schemas"]["ExternalVolume"] | components["schemas"]["PipelineRun"] | components["schemas"]["Role"] | components["schemas"]["PublicAccount"] | components["schemas"]["VirtualMachineSshKey"] | components["schemas"]["Cluster"];
|
|
13913
14107
|
};
|
|
13914
14108
|
/**
|
|
13915
14109
|
* ActivityIncludes
|
|
@@ -14285,20 +14479,13 @@ export interface components {
|
|
|
14285
14479
|
};
|
|
14286
14480
|
/** ExternalVolumeTask */
|
|
14287
14481
|
ExternalVolumeTask: components["schemas"]["ExternalVolumeServersReconfigureAction"] | components["schemas"]["ExternalVolumeAttachmentReconfigureAction"];
|
|
14288
|
-
/**
|
|
14289
|
-
* ServerModelsIncludes
|
|
14290
|
-
* @description A resource associated with a server models.
|
|
14291
|
-
*/
|
|
14292
|
-
ServerModelsIncludes: {
|
|
14293
|
-
[key: string]: components["schemas"]["ProviderServerModel"];
|
|
14294
|
-
};
|
|
14295
14482
|
/**
|
|
14296
14483
|
* AutoScaleGroupIncludes
|
|
14297
14484
|
* @description All includable resource linkable to the given auto-scale group.
|
|
14298
14485
|
*/
|
|
14299
14486
|
AutoScaleGroupIncludes: {
|
|
14300
14487
|
integrations?: components["schemas"]["IntegrationsIncludes"];
|
|
14301
|
-
models?: components["schemas"]["
|
|
14488
|
+
models?: components["schemas"]["ProviderServerModelsIncludes"];
|
|
14302
14489
|
locations?: components["schemas"]["LocationsIncludes"];
|
|
14303
14490
|
};
|
|
14304
14491
|
/**
|
|
@@ -14798,7 +14985,7 @@ export interface components {
|
|
|
14798
14985
|
* EventType
|
|
14799
14986
|
* @enum {string}
|
|
14800
14987
|
*/
|
|
14801
|
-
EventType: "api.security_violation" | "console.ssh.login" | "console.ssh.login.failed" | "console.sos.login" | "console.sos.login.failed" | "container.instance.backup.completed" | "container.instance.backup.failed" | "container.instance.delete.failed" | "container.instance.error" | "container.instance.restart.max_restarts" | "container.instance.function.max_runtime" | "container.instance.healthcheck.failed" | "container.instance.healthcheck.recovered" | "container.instance.volume.extend.failed" | "container.instance.healthcheck.restarted" | "container.instance.migration.completed" | "container.instance.migration.failed" | "container.instance.network.interfaces.create.failed" | "container.instance.restart.failed" | "container.instance.start.failed" | "container.instance.start.privileged" | "container.instance.stop.failed" | "container.instances.autoscale.down" | "container.instances.autoscale.up" | "container.reconfigured.privileged" | "container.volumes.base.create.failed" | "container.volumes.create.failed" | "environment.service.auto_update" | "environment.service.lb.ips.sync.failed" | "environment.service.vpn.login.failed" | "environment.service.discovery.client.throttle.hit" | "environment.service.gateway.ips.sync.failed" | "infrastructure.cluster.resources.ram.full" | "infrastructure.server.compute.volumes.base.reconfigured" | "infrastructure.server.compute.full_restart" | "infrastructure.server.compute.sharedfs.mounts.mount" | "infrastructure.server.compute.sharedfs.mounts.mount.failed" | "infrastructure.server.compute.soft_restart" | "infrastructure.server.image.download.failed" | "infrastructure.server.monitoring.throttled" | "infrastructure.server.internal_api.throttled" | "infrastructure.server.manifest.sync.failed" | "infrastructure.server.mesh.connect.failed" | "infrastructure.server.neighbor.reachable" | "infrastructure.server.neighbor.rebuild" | "infrastructure.server.neighbors.rebuild" | "infrastructure.server.neighbor.unreachable" | "infrastructure.server.neighbor.upgraded" | "infrastructure.server.resources.load.high" | "infrastructure.server.resources.ram.full" | "infrastructure.server.resources.storage.volumes.base.full" | "infrastructure.server.resources.storage.cycle_pool.full" | "infrastructure.server.autoscale.up" | "infrastructure.server.sftp.lockdown" | "infrastructure.server.sftp.login" | "infrastructure.server.sftp.login.failed" | "infrastructure.server.evacuation.failed" | "infrastructure.server.evacuation.completed" | "infrastructure.server.checkin.missed" | "infrastructure.server.checkin.resumed" | "infrastructure.server.power.reboot" | "infrastructure.server.
|
|
14988
|
+
EventType: "api.security_violation" | "console.ssh.login" | "console.ssh.login.failed" | "console.sos.login" | "console.sos.login.failed" | "container.instance.backup.completed" | "container.instance.backup.failed" | "container.instance.delete.failed" | "container.instance.error" | "container.instance.restart.max_restarts" | "container.instance.function.max_runtime" | "container.instance.healthcheck.failed" | "container.instance.healthcheck.recovered" | "container.instance.volume.extend.failed" | "container.instance.healthcheck.restarted" | "container.instance.migration.completed" | "container.instance.migration.failed" | "container.instance.network.interfaces.create.failed" | "container.instance.restart.failed" | "container.instance.start.failed" | "container.instance.start.privileged" | "container.instance.stop.failed" | "container.instances.autoscale.down" | "container.instances.autoscale.up" | "container.reconfigured.privileged" | "container.volumes.base.create.failed" | "container.volumes.create.failed" | "environment.service.auto_update" | "environment.service.lb.ips.sync.failed" | "environment.service.vpn.login.failed" | "environment.service.discovery.client.throttle.hit" | "environment.service.gateway.ips.sync.failed" | "infrastructure.cluster.resources.ram.full" | "infrastructure.server.compute.volumes.base.reconfigured" | "infrastructure.server.compute.full_restart" | "infrastructure.server.compute.sharedfs.mounts.mount" | "infrastructure.server.compute.sharedfs.mounts.mount.failed" | "infrastructure.server.compute.soft_restart" | "infrastructure.server.compute.start.failure" | "infrastructure.server.compute.died" | "infrastructure.server.compute-spawner.full_restart" | "infrastructure.server.image.download.failed" | "infrastructure.server.monitoring.throttled" | "infrastructure.server.internal_api.throttled" | "infrastructure.server.manifest.sync.failed" | "infrastructure.server.mesh.connect.failed" | "infrastructure.server.neighbor.reachable" | "infrastructure.server.neighbor.rebuild" | "infrastructure.server.neighbors.rebuild" | "infrastructure.server.neighbor.unreachable" | "infrastructure.server.neighbor.upgraded" | "infrastructure.server.power.power_off" | "infrastructure.server.resources.load.high" | "infrastructure.server.resources.ram.full" | "infrastructure.server.resources.storage.volumes.base.full" | "infrastructure.server.resources.storage.cycle_pool.full" | "infrastructure.server.autoscale.up" | "infrastructure.server.sftp.lockdown" | "infrastructure.server.sftp.login" | "infrastructure.server.sftp.login.failed" | "infrastructure.server.evacuation.failed" | "infrastructure.server.evacuation.completed" | "infrastructure.server.checkin.missed" | "infrastructure.server.checkin.resumed" | "infrastructure.server.power.reboot" | "infrastructure.server.neighbor.incompatible";
|
|
14802
14989
|
/**
|
|
14803
14990
|
* Event
|
|
14804
14991
|
* @description A platform-generated event. Describes something happening on the platform at a specific time. Can be informational, security related, or a notice of something important.
|
|
@@ -14910,6 +15097,29 @@ export interface components {
|
|
|
14910
15097
|
};
|
|
14911
15098
|
"components:identifiers"?: components["schemas"]["IdentifierIncludes"];
|
|
14912
15099
|
};
|
|
15100
|
+
/**
|
|
15101
|
+
* IncludedPipelines
|
|
15102
|
+
* @description A map of pipelines, keyed by ID, included on endpoints that support it when passing the matching includes query parameter.
|
|
15103
|
+
*/
|
|
15104
|
+
IncludedPipelines: {
|
|
15105
|
+
[key: string]: components["schemas"]["Pipeline"];
|
|
15106
|
+
};
|
|
15107
|
+
/**
|
|
15108
|
+
* IncludedTriggerKeys
|
|
15109
|
+
* @description A map of trigger keys, keyed by ID, included on endpoints that support it when passing the matching includes query parameter.
|
|
15110
|
+
*/
|
|
15111
|
+
IncludedTriggerKeys: {
|
|
15112
|
+
[key: string]: components["schemas"]["TriggerKey"];
|
|
15113
|
+
};
|
|
15114
|
+
/**
|
|
15115
|
+
* PipelineRunIncludes
|
|
15116
|
+
* @description Resources related to a pipeline run, that can be included on supported endpoints when the matching includes query parameter is passed.
|
|
15117
|
+
*/
|
|
15118
|
+
PipelineRunIncludes: {
|
|
15119
|
+
creators?: components["schemas"]["CreatorInclude"];
|
|
15120
|
+
pipelines?: components["schemas"]["IncludedPipelines"];
|
|
15121
|
+
keys?: components["schemas"]["IncludedTriggerKeys"];
|
|
15122
|
+
};
|
|
14913
15123
|
/** TriggerPipelineAction */
|
|
14914
15124
|
PipelineTriggerAction: {
|
|
14915
15125
|
/**
|
|
@@ -18006,6 +18216,49 @@ export interface operations {
|
|
|
18006
18216
|
default: components["responses"]["DefaultError"];
|
|
18007
18217
|
};
|
|
18008
18218
|
};
|
|
18219
|
+
getAllTlsCertificates: {
|
|
18220
|
+
parameters: {
|
|
18221
|
+
query?: {
|
|
18222
|
+
/**
|
|
18223
|
+
* @description ## Filter Field
|
|
18224
|
+
* The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
|
|
18225
|
+
*/
|
|
18226
|
+
filter?: {
|
|
18227
|
+
/** @description `filter[domain]=value1` filter user certificates by associated domain. */
|
|
18228
|
+
domain?: string;
|
|
18229
|
+
/** @description `filter[state]=value1,value2` state filtering will allow filtering by the current state. */
|
|
18230
|
+
state?: string;
|
|
18231
|
+
/**
|
|
18232
|
+
* @description `filter[user-supplied]=true` List only those certificates that are user supplied.
|
|
18233
|
+
* `filter[user-supplied]=false` List only those certificates that are auto generated.
|
|
18234
|
+
*/
|
|
18235
|
+
"user-supplied"?: string;
|
|
18236
|
+
};
|
|
18237
|
+
/** @description An array of sort values. To sort descending, put a `-` in front of the value, e.g. `-id`. */
|
|
18238
|
+
sort?: components["parameters"]["SortParam"];
|
|
18239
|
+
/** @description In a list return, the data associated with the page number and size returned. 20 results per page, page 2 would be `page[size]=20&page[number]=2` */
|
|
18240
|
+
page?: components["parameters"]["PageParam"];
|
|
18241
|
+
};
|
|
18242
|
+
header?: never;
|
|
18243
|
+
path?: never;
|
|
18244
|
+
cookie?: never;
|
|
18245
|
+
};
|
|
18246
|
+
requestBody?: never;
|
|
18247
|
+
responses: {
|
|
18248
|
+
/** @description Returns a TLS certificate. */
|
|
18249
|
+
200: {
|
|
18250
|
+
headers: {
|
|
18251
|
+
[name: string]: unknown;
|
|
18252
|
+
};
|
|
18253
|
+
content: {
|
|
18254
|
+
"application/json": {
|
|
18255
|
+
data: components["schemas"]["TlsCertificate"][];
|
|
18256
|
+
};
|
|
18257
|
+
};
|
|
18258
|
+
};
|
|
18259
|
+
default: components["responses"]["DefaultError"];
|
|
18260
|
+
};
|
|
18261
|
+
};
|
|
18009
18262
|
lookupTLSCertificate: {
|
|
18010
18263
|
parameters: {
|
|
18011
18264
|
query: {
|
|
@@ -18179,7 +18432,7 @@ export interface operations {
|
|
|
18179
18432
|
parameters: {
|
|
18180
18433
|
query?: {
|
|
18181
18434
|
/** @description A comma separated list of meta values. Meta values will show up under a resource's `meta` field. In the case of applying a meta to a collection of resources, each resource will have it's own relevant meta data. In some rare cases, meta may not apply to individual resources, and may appear in the root document. These will be clearly labeled. */
|
|
18182
|
-
meta?: ("containers" | "containers_count" | "instances_count")[];
|
|
18435
|
+
meta?: ("containers" | "containers_count" | "instances_count" | "service_versions")[];
|
|
18183
18436
|
/** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
|
|
18184
18437
|
include?: ("creators" | "stacks")[];
|
|
18185
18438
|
/**
|
|
@@ -18270,7 +18523,7 @@ export interface operations {
|
|
|
18270
18523
|
parameters: {
|
|
18271
18524
|
query?: {
|
|
18272
18525
|
/** @description A comma separated list of meta values. Meta values will show up under a resource's `meta` field. In the case of applying a meta to a collection of resources, each resource will have it's own relevant meta data. In some rare cases, meta may not apply to individual resources, and may appear in the root document. These will be clearly labeled. */
|
|
18273
|
-
meta?: ("containers" | "containers_count" | "instances_count")[];
|
|
18526
|
+
meta?: ("containers" | "containers_count" | "instances_count" | "service_versions")[];
|
|
18274
18527
|
/** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
|
|
18275
18528
|
include?: ("creators" | "stacks" | "clusters")[];
|
|
18276
18529
|
};
|
|
@@ -21085,6 +21338,8 @@ export interface operations {
|
|
|
21085
21338
|
cluster?: string;
|
|
21086
21339
|
/** @description `filter[state]=value1,value2` state filtering will allow you to filter by the attached volume's current state. */
|
|
21087
21340
|
state?: string;
|
|
21341
|
+
/** @description `filter[unused]=true` List only those external volumes that are unused (not attached). */
|
|
21342
|
+
unused?: string;
|
|
21088
21343
|
};
|
|
21089
21344
|
/** @description An array of sort values. To sort descending, put a `-` in front of the value, e.g. `-id`. */
|
|
21090
21345
|
sort?: components["parameters"]["SortParam"];
|
|
@@ -21617,7 +21872,7 @@ export interface operations {
|
|
|
21617
21872
|
default: components["responses"]["DefaultError"];
|
|
21618
21873
|
};
|
|
21619
21874
|
};
|
|
21620
|
-
|
|
21875
|
+
getProviderServerModels: {
|
|
21621
21876
|
parameters: {
|
|
21622
21877
|
query?: {
|
|
21623
21878
|
/** @description An array of sort values. To sort descending, put a `-` in front of the value, e.g. `-id`. */
|
|
@@ -21635,8 +21890,11 @@ export interface operations {
|
|
|
21635
21890
|
};
|
|
21636
21891
|
header?: never;
|
|
21637
21892
|
path: {
|
|
21638
|
-
/**
|
|
21639
|
-
|
|
21893
|
+
/**
|
|
21894
|
+
* @description The infrastructure provider integration ID to query for server models.
|
|
21895
|
+
* Can also use a vendor string. Example `gcp`, `equinix-metal`, `abstraction`, etc.
|
|
21896
|
+
*/
|
|
21897
|
+
integrationId: string;
|
|
21640
21898
|
};
|
|
21641
21899
|
cookie?: never;
|
|
21642
21900
|
};
|
|
@@ -21666,8 +21924,11 @@ export interface operations {
|
|
|
21666
21924
|
};
|
|
21667
21925
|
header?: never;
|
|
21668
21926
|
path: {
|
|
21669
|
-
/**
|
|
21670
|
-
|
|
21927
|
+
/**
|
|
21928
|
+
* @description The infrastructure provider integration ID to query for server models.
|
|
21929
|
+
* Can also use a vendor string. Example `gcp`, `equinix-metal`, `abstraction`, etc.
|
|
21930
|
+
*/
|
|
21931
|
+
integrationId: string;
|
|
21671
21932
|
};
|
|
21672
21933
|
cookie?: never;
|
|
21673
21934
|
};
|
|
@@ -21979,6 +22240,19 @@ export interface operations {
|
|
|
21979
22240
|
query?: {
|
|
21980
22241
|
/** @description In a list return, the data associated with the page number and size returned. 20 results per page, page 2 would be `page[size]=20&page[number]=2` */
|
|
21981
22242
|
page?: components["parameters"]["PageParam"];
|
|
22243
|
+
/**
|
|
22244
|
+
* @description ## Filter Field
|
|
22245
|
+
* The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
|
|
22246
|
+
*/
|
|
22247
|
+
filter?: {
|
|
22248
|
+
/** @description `filter[essential]=true` filter for essential/non-essential clusters. */
|
|
22249
|
+
essential?: string;
|
|
22250
|
+
/**
|
|
22251
|
+
* @description `filter[state]=value1,value2` state filtering will allow you to filter by the cluster's current state.
|
|
22252
|
+
* `filter[stack_build]=ID` stack build filtering by ID. Submit the ID of the stack build you wish to filter for and the return sill be any environments that have the stack build deployed to them.
|
|
22253
|
+
*/
|
|
22254
|
+
state?: string;
|
|
22255
|
+
};
|
|
21982
22256
|
};
|
|
21983
22257
|
header?: never;
|
|
21984
22258
|
path?: never;
|
|
@@ -22096,7 +22370,10 @@ export interface operations {
|
|
|
22096
22370
|
/** @description Parameters for updating a cluster. */
|
|
22097
22371
|
requestBody?: {
|
|
22098
22372
|
content: {
|
|
22099
|
-
"application/json":
|
|
22373
|
+
"application/json": {
|
|
22374
|
+
/** @description Set to true to mark the cluster as 'non-essential'. Non-essential cluster resources are excluded by default from certain metrics and summaries unless opted in. */
|
|
22375
|
+
non_essential?: boolean;
|
|
22376
|
+
};
|
|
22100
22377
|
};
|
|
22101
22378
|
};
|
|
22102
22379
|
responses: {
|
|
@@ -22227,7 +22504,7 @@ export interface operations {
|
|
|
22227
22504
|
default: components["responses"]["DefaultError"];
|
|
22228
22505
|
};
|
|
22229
22506
|
};
|
|
22230
|
-
|
|
22507
|
+
createServers: {
|
|
22231
22508
|
parameters: {
|
|
22232
22509
|
query?: never;
|
|
22233
22510
|
header?: never;
|
|
@@ -22248,14 +22525,12 @@ export interface operations {
|
|
|
22248
22525
|
model_id: string;
|
|
22249
22526
|
/** @description The location ID of the Server. */
|
|
22250
22527
|
location_id: string;
|
|
22251
|
-
/** @description The number of this Server at this location to deploy. */
|
|
22252
|
-
quantity: number;
|
|
22253
|
-
/** @description An array of hostnames for the given servers. */
|
|
22254
|
-
hostnames?: string[];
|
|
22255
22528
|
advanced?: {
|
|
22256
|
-
/** @description Advanced options to apply to the provisioning of a server. */
|
|
22257
22529
|
provision_options?: {
|
|
22258
|
-
/**
|
|
22530
|
+
/**
|
|
22531
|
+
* @description For providers that support setting this value dynamically;
|
|
22532
|
+
* A number representing the GB size of the volume to be attached to the server.
|
|
22533
|
+
*/
|
|
22259
22534
|
attached_storage_size?: number | null;
|
|
22260
22535
|
/** @description A reservation ID to be used to provision a server that has been reserved at the provider. */
|
|
22261
22536
|
reservation_id?: string | null;
|
|
@@ -22263,7 +22538,7 @@ export interface operations {
|
|
|
22263
22538
|
encrypt_storage?: boolean | null;
|
|
22264
22539
|
} | null;
|
|
22265
22540
|
zone?: string | null;
|
|
22266
|
-
}
|
|
22541
|
+
} | null;
|
|
22267
22542
|
}[];
|
|
22268
22543
|
};
|
|
22269
22544
|
};
|
|
@@ -23397,6 +23672,37 @@ export interface operations {
|
|
|
23397
23672
|
default: components["responses"]["DefaultError"];
|
|
23398
23673
|
};
|
|
23399
23674
|
};
|
|
23675
|
+
getAllPipelineRuns: {
|
|
23676
|
+
parameters: {
|
|
23677
|
+
query?: {
|
|
23678
|
+
/** @description In a list return, the data associated with the page number and size returned. 20 results per page, page 2 would be `page[size]=20&page[number]=2` */
|
|
23679
|
+
page?: components["parameters"]["PageParam"];
|
|
23680
|
+
/** @description An array of sort values. To sort descending, put a `-` in front of the value, e.g. `-id`. */
|
|
23681
|
+
sort?: components["parameters"]["SortParam"];
|
|
23682
|
+
/** @description A comma separated list of include values. Included resources will show up under the root document's `include` field, with the key being the id of the included resource. In the case of applying an include to a collection of resources, if two resources share the same include, it will only appear once in the return. */
|
|
23683
|
+
include?: ("creators" | "keys" | "pipelines")[];
|
|
23684
|
+
};
|
|
23685
|
+
header?: never;
|
|
23686
|
+
path?: never;
|
|
23687
|
+
cookie?: never;
|
|
23688
|
+
};
|
|
23689
|
+
requestBody?: never;
|
|
23690
|
+
responses: {
|
|
23691
|
+
/** @description Returns a list of pipeline runs. */
|
|
23692
|
+
200: {
|
|
23693
|
+
headers: {
|
|
23694
|
+
[name: string]: unknown;
|
|
23695
|
+
};
|
|
23696
|
+
content: {
|
|
23697
|
+
"application/json": {
|
|
23698
|
+
data: components["schemas"]["PipelineRun"][];
|
|
23699
|
+
includes?: components["schemas"]["PipelineRunIncludes"];
|
|
23700
|
+
};
|
|
23701
|
+
};
|
|
23702
|
+
};
|
|
23703
|
+
default: components["responses"]["DefaultError"];
|
|
23704
|
+
};
|
|
23705
|
+
};
|
|
23400
23706
|
getPipelineRuns: {
|
|
23401
23707
|
parameters: {
|
|
23402
23708
|
query?: {
|
|
@@ -23414,7 +23720,7 @@ export interface operations {
|
|
|
23414
23720
|
};
|
|
23415
23721
|
requestBody?: never;
|
|
23416
23722
|
responses: {
|
|
23417
|
-
/** @description Returns a list of
|
|
23723
|
+
/** @description Returns a list of pipeline runs. */
|
|
23418
23724
|
200: {
|
|
23419
23725
|
headers: {
|
|
23420
23726
|
[name: string]: unknown;
|
|
@@ -24261,6 +24567,46 @@ export interface operations {
|
|
|
24261
24567
|
default: components["responses"]["DefaultError"];
|
|
24262
24568
|
};
|
|
24263
24569
|
};
|
|
24570
|
+
getAllStackBuilds: {
|
|
24571
|
+
parameters: {
|
|
24572
|
+
query?: {
|
|
24573
|
+
/** @description A comma separated list of meta values. Meta values will show up under a resource's `meta` field. In the case of applying a meta to a collection of resources, each resource will have it's own relevant meta data. In some rare cases, meta may not apply to individual resources, and may appear in the root document. These will be clearly labeled. */
|
|
24574
|
+
meta?: "containers_count"[];
|
|
24575
|
+
/**
|
|
24576
|
+
* @description ## Filter Field
|
|
24577
|
+
* The filter field is a key-value object, where the key is what you would like to filter, and the value is the value you're filtering for.
|
|
24578
|
+
*/
|
|
24579
|
+
filter?: {
|
|
24580
|
+
/** @description `filter[search]=value` search for a value associated with a field on the given Stack Build(s). */
|
|
24581
|
+
search?: string;
|
|
24582
|
+
/** @description `filter[state]=value1,value2` state filtering will allow you to filter by the Stack Build's current state. */
|
|
24583
|
+
state?: string;
|
|
24584
|
+
};
|
|
24585
|
+
/** @description An array of sort values. To sort descending, put a `-` in front of the value, e.g. `-id`. */
|
|
24586
|
+
sort?: components["parameters"]["SortParam"];
|
|
24587
|
+
/** @description In a list return, the data associated with the page number and size returned. 20 results per page, page 2 would be `page[size]=20&page[number]=2` */
|
|
24588
|
+
page?: components["parameters"]["PageParam"];
|
|
24589
|
+
};
|
|
24590
|
+
header?: never;
|
|
24591
|
+
path?: never;
|
|
24592
|
+
cookie?: never;
|
|
24593
|
+
};
|
|
24594
|
+
requestBody?: never;
|
|
24595
|
+
responses: {
|
|
24596
|
+
/** @description Returns a list of stack builds. */
|
|
24597
|
+
200: {
|
|
24598
|
+
headers: {
|
|
24599
|
+
[name: string]: unknown;
|
|
24600
|
+
};
|
|
24601
|
+
content: {
|
|
24602
|
+
"application/json": {
|
|
24603
|
+
data: components["schemas"]["StackBuild"][];
|
|
24604
|
+
};
|
|
24605
|
+
};
|
|
24606
|
+
};
|
|
24607
|
+
default: components["responses"]["DefaultError"];
|
|
24608
|
+
};
|
|
24609
|
+
};
|
|
24264
24610
|
lookupStackBuild: {
|
|
24265
24611
|
parameters: {
|
|
24266
24612
|
query?: never;
|
|
@@ -25125,4 +25471,32 @@ export interface operations {
|
|
|
25125
25471
|
default: components["responses"]["DefaultError"];
|
|
25126
25472
|
};
|
|
25127
25473
|
};
|
|
25474
|
+
environmentMetricsPush: {
|
|
25475
|
+
parameters: {
|
|
25476
|
+
query?: never;
|
|
25477
|
+
header?: never;
|
|
25478
|
+
path?: never;
|
|
25479
|
+
cookie?: never;
|
|
25480
|
+
};
|
|
25481
|
+
requestBody?: {
|
|
25482
|
+
content: {
|
|
25483
|
+
"application/json": components["schemas"]["Metric"][];
|
|
25484
|
+
};
|
|
25485
|
+
};
|
|
25486
|
+
responses: never;
|
|
25487
|
+
};
|
|
25488
|
+
environmentEventsPush: {
|
|
25489
|
+
parameters: {
|
|
25490
|
+
query?: never;
|
|
25491
|
+
header?: never;
|
|
25492
|
+
path?: never;
|
|
25493
|
+
cookie?: never;
|
|
25494
|
+
};
|
|
25495
|
+
requestBody?: {
|
|
25496
|
+
content: {
|
|
25497
|
+
"application/json": components["schemas"]["Event"][];
|
|
25498
|
+
};
|
|
25499
|
+
};
|
|
25500
|
+
responses: never;
|
|
25501
|
+
};
|
|
25128
25502
|
}
|