@northflank/js-client 0.7.14 → 0.7.15

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.
@@ -88,7 +88,7 @@ declare class ApiClientFileContextProvider extends ApiClientContextProvider {
88
88
  constructor(configPath?: string);
89
89
  loadContextWrapper(): ApiClientContextWrapper;
90
90
  protected writeContext(context: ApiClientContextWrapper): Promise<void>;
91
- assertDir: (path: string) => Promise<string | undefined>;
91
+ assertDir: (path: string) => Promise<void>;
92
92
  assertConfigDir(): Promise<void>;
93
93
  getInfo(): string;
94
94
  }
@@ -925,7 +925,7 @@ type MetricValue = {
925
925
  volumeId?: string;
926
926
  };
927
927
  data: {
928
- value: string;
928
+ value: string | number;
929
929
  ts: Date;
930
930
  }[];
931
931
  };
@@ -1444,6 +1444,18 @@ type ListCloudClustersResult = {
1444
1444
  'min'?: number;
1445
1445
  'max'?: number;
1446
1446
  };
1447
+ 'computeResources'?: {
1448
+ 'gpu'?: {
1449
+ 'mig'?: {
1450
+ 'enabled'?: boolean;
1451
+ 'partitions'?: string[];
1452
+ };
1453
+ 'timeslicing'?: {
1454
+ 'enabled'?: boolean;
1455
+ 'numSlices'?: number;
1456
+ };
1457
+ };
1458
+ };
1447
1459
  /** Configures node pool with preemptible / spot instances if enabled. */
1448
1460
  'preemptible'?: boolean;
1449
1461
  /** The disk type to use. */
@@ -1515,6 +1527,18 @@ type CreateCloudClusterResult = {
1515
1527
  'min'?: number;
1516
1528
  'max'?: number;
1517
1529
  };
1530
+ 'computeResources'?: {
1531
+ 'gpu'?: {
1532
+ 'mig'?: {
1533
+ 'enabled'?: boolean;
1534
+ 'partitions'?: string[];
1535
+ };
1536
+ 'timeslicing'?: {
1537
+ 'enabled'?: boolean;
1538
+ 'numSlices'?: number;
1539
+ };
1540
+ };
1541
+ };
1518
1542
  /** Configures node pool with preemptible / spot instances if enabled. */
1519
1543
  'preemptible'?: boolean;
1520
1544
  /** The disk type to use. */
@@ -1552,7 +1576,7 @@ type CreateCloudClusterData = {
1552
1576
  /** The description of the cluster. Example: "This is a new cluster." */
1553
1577
  'description'?: string;
1554
1578
  /** Cloud provider to be used for the selected resource Example: "gcp" */
1555
- 'provider': 'gcp' | 'aws' | 'azure' | 'do';
1579
+ 'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'byok';
1556
1580
  /** Region of the cluster. Example: "europe-west2" */
1557
1581
  'region': string;
1558
1582
  /** Kubernetes version of the cluster. Example: "1.23.8" */
@@ -1582,6 +1606,18 @@ type CreateCloudClusterData = {
1582
1606
  'min'?: number;
1583
1607
  'max'?: number;
1584
1608
  };
1609
+ 'computeResources'?: {
1610
+ 'gpu'?: {
1611
+ 'mig'?: {
1612
+ 'enabled'?: boolean;
1613
+ 'partitions'?: string[];
1614
+ };
1615
+ 'timeslicing'?: {
1616
+ 'enabled'?: boolean;
1617
+ 'numSlices'?: number;
1618
+ };
1619
+ };
1620
+ };
1585
1621
  /** Configures node pool with preemptible / spot instances if enabled. */
1586
1622
  'preemptible'?: boolean;
1587
1623
  /** The disk type to use. */
@@ -1661,6 +1697,18 @@ type GetCloudClusterResult = {
1661
1697
  'min'?: number;
1662
1698
  'max'?: number;
1663
1699
  };
1700
+ 'computeResources'?: {
1701
+ 'gpu'?: {
1702
+ 'mig'?: {
1703
+ 'enabled'?: boolean;
1704
+ 'partitions'?: string[];
1705
+ };
1706
+ 'timeslicing'?: {
1707
+ 'enabled'?: boolean;
1708
+ 'numSlices'?: number;
1709
+ };
1710
+ };
1711
+ };
1664
1712
  /** Configures node pool with preemptible / spot instances if enabled. */
1665
1713
  'preemptible'?: boolean;
1666
1714
  /** The disk type to use. */
@@ -1726,6 +1774,18 @@ type UpdateCloudClusterResult = {
1726
1774
  'min'?: number;
1727
1775
  'max'?: number;
1728
1776
  };
1777
+ 'computeResources'?: {
1778
+ 'gpu'?: {
1779
+ 'mig'?: {
1780
+ 'enabled'?: boolean;
1781
+ 'partitions'?: string[];
1782
+ };
1783
+ 'timeslicing'?: {
1784
+ 'enabled'?: boolean;
1785
+ 'numSlices'?: number;
1786
+ };
1787
+ };
1788
+ };
1729
1789
  /** Configures node pool with preemptible / spot instances if enabled. */
1730
1790
  'preemptible'?: boolean;
1731
1791
  /** The disk type to use. */
@@ -1775,6 +1835,18 @@ type UpdateCloudClusterData = {
1775
1835
  'min'?: number;
1776
1836
  'max'?: number;
1777
1837
  };
1838
+ 'computeResources'?: {
1839
+ 'gpu'?: {
1840
+ 'mig'?: {
1841
+ 'enabled'?: boolean;
1842
+ 'partitions'?: string[];
1843
+ };
1844
+ 'timeslicing'?: {
1845
+ 'enabled'?: boolean;
1846
+ 'numSlices'?: number;
1847
+ };
1848
+ };
1849
+ };
1778
1850
  /** Configures node pool with preemptible / spot instances if enabled. */
1779
1851
  'preemptible'?: boolean;
1780
1852
  /** The disk type to use. */
@@ -1903,7 +1975,7 @@ type CreateCloudDockerregistryData = {
1903
1975
  /** The description of the integration. Example: "This is a new cloud provider integration." */
1904
1976
  'description'?: string;
1905
1977
  /** Cloud provider to be used for the selected resource */
1906
- 'provider': 'gcp' | 'aws' | 'azure' | 'do';
1978
+ 'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'byok';
1907
1979
  'region': string;
1908
1980
  /** Existing integration to use for this registry. Example: "gcp-integration" */
1909
1981
  'integrationId'?: string;
@@ -2033,7 +2105,7 @@ type CreateCloudIntegrationData = {
2033
2105
  /** The description of the integration. Example: "This is a new cloud provider integration." */
2034
2106
  'description'?: string;
2035
2107
  /** Cloud provider to be used for the selected resource Example: "gcp" */
2036
- 'provider': 'gcp' | 'aws' | 'azure' | 'do';
2108
+ 'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'byok';
2037
2109
  /** The type of provider integration. Example: "cluster" */
2038
2110
  'type'?: 'cluster' | 'domain' | 'registry' | 'cdn';
2039
2111
  /** Cloud provider credential input, required fields dependent on which provider is chosen. */
@@ -2183,6 +2255,8 @@ type ListCloudNodetypesResult = {
2183
2255
  /** Amount of memory capacity in GB of this node type Example: 32 */
2184
2256
  'memory'?: number;
2185
2257
  };
2258
+ /** Family of the node type Example: "N" */
2259
+ 'family': string;
2186
2260
  /** Processor family of the node type Example: "intel" */
2187
2261
  'processorFamily': string;
2188
2262
  /** Workload this node type is optimized for Example: "general-purpose" */
@@ -2204,6 +2278,12 @@ type ListCloudNodetypesOptions = {
2204
2278
  'provider'?: string;
2205
2279
  /** If provided, only returns items available in this region. */
2206
2280
  'region'?: string;
2281
+ /** If provided, only returns items of this family. */
2282
+ 'family'?: string;
2283
+ /** If provided, only returns items with a generation age less than or equal to the number given. */
2284
+ 'maxGenerationAge'?: number;
2285
+ /** If true, only returns items with GPUs. If false, only returns items without GPUs. */
2286
+ 'hasGpu'?: boolean;
2207
2287
  };
2208
2288
  /** Lists supported cloud provider node types */
2209
2289
  declare class ListCloudNodetypesEndpoint extends GetApiEndpoint<ListCloudNodetypesRequest, ListCloudNodetypesResult> {
@@ -2576,7 +2656,7 @@ type AssignSubdomainServiceData = {
2576
2656
  'serviceId': string;
2577
2657
  /** The ID of the project the service belongs to. Example: "default-project" */
2578
2658
  'projectId': string;
2579
- /** The name of the port that will be assigned to the subdomain. Example: "port-1" */
2659
+ /** The name of the port that will be assigned to the subdomain. Example: "p01" */
2580
2660
  'portName': string;
2581
2661
  };
2582
2662
  /** Assigns a service port to the given subdomain */
@@ -2643,8 +2723,46 @@ type EnableSubdomainCdnParameters = {
2643
2723
  'subdomain': string;
2644
2724
  };
2645
2725
  type EnableSubdomainCdnData = {
2646
- /** Provider for which a CDN on the subdomain should be enabled. Example: "cloudfront" */
2726
+ /** Provider for which a CDN on the subdomain should be enabled. Example: "fastly" */
2647
2727
  'provider': string;
2728
+ 'options'?: {
2729
+ 'service'?: {
2730
+ 'forceTlsEnableHsts'?: boolean;
2731
+ 'hstsDuration'?: number;
2732
+ 'staleIfError'?: boolean;
2733
+ 'staleIfErrorTtl'?: number;
2734
+ 'defaultTtl'?: number;
2735
+ };
2736
+ 'logging'?: {
2737
+ 'enabled'?: boolean;
2738
+ };
2739
+ 'http3'?: {
2740
+ 'enabled'?: boolean;
2741
+ };
2742
+ 'websockets'?: {
2743
+ 'enabled'?: boolean;
2744
+ };
2745
+ 'compression'?: {
2746
+ 'enabled'?: boolean;
2747
+ 'mode'?: 'gzip' | 'brotli';
2748
+ };
2749
+ 'vclSnippets'?: {
2750
+ 'id'?: string;
2751
+ 'name': string;
2752
+ 'type': 'init' | 'recv' | 'hash' | 'hit' | 'miss' | 'pass' | 'fetch' | 'error' | 'deliver' | 'log' | 'none';
2753
+ 'dynamic': '0' | '1';
2754
+ 'priority': number;
2755
+ 'content': string;
2756
+ }[];
2757
+ 'cacheSettings'?: {
2758
+ 'id'?: string;
2759
+ 'name': string;
2760
+ 'action'?: 'pass' | 'cache' | 'restart';
2761
+ 'cacheCondition'?: string;
2762
+ 'staleTtl': number;
2763
+ 'ttl': number;
2764
+ }[];
2765
+ } | any;
2648
2766
  };
2649
2767
  /** Enables a CDN integration on the given subdomain */
2650
2768
  declare class EnableSubdomainCdnEndpoint extends PostApiEndpoint<EnableSubdomainCdnRequest, EnableSubdomainCdnResult> {
@@ -2702,10 +2820,20 @@ type ListLogsinksResult = {
2702
2820
  'description'?: string;
2703
2821
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2704
2822
  'restricted': boolean;
2705
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2706
- 'useCustomLabels'?: boolean;
2707
2823
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2708
2824
  'projects': string[];
2825
+ /** Current status of the log sink */
2826
+ 'status': 'paused' | 'running' | 'failing' | 'creating';
2827
+ 'options'?: {
2828
+ /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2829
+ 'useCustomLabels'?: boolean;
2830
+ /** Forward CDN logs from your workloads Example: true */
2831
+ 'forwardCdnLogs'?: boolean;
2832
+ /** Forward ingress logs from your workloads Example: true */
2833
+ 'forwardIngressLogs'?: boolean;
2834
+ /** Forward mesh logs from your workloads Example: true */
2835
+ 'forwardMeshLogs'?: boolean;
2836
+ };
2709
2837
  /** The type of the log sink. Example: "loki" */
2710
2838
  'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
2711
2839
  /** Timestamp of when the log sink was created. Example: "2022-06-14 15:10:42.842Z" */
@@ -2750,10 +2878,6 @@ type CreateLogsinkData = {
2750
2878
  'description'?: string;
2751
2879
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2752
2880
  'restricted'?: boolean;
2753
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2754
- 'useCustomLabels'?: boolean;
2755
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2756
- 'forwardAccessLogs'?: boolean;
2757
2881
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2758
2882
  'projects'?: string[];
2759
2883
  /** The type of the log sink. Example: "loki" */
@@ -2784,10 +2908,6 @@ type CreateLogsinkData = {
2784
2908
  'description'?: string;
2785
2909
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2786
2910
  'restricted'?: boolean;
2787
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2788
- 'useCustomLabels'?: boolean;
2789
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2790
- 'forwardAccessLogs'?: boolean;
2791
2911
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2792
2912
  'projects'?: string[];
2793
2913
  /** The type of the log sink. Example: "datadog_logs" */
@@ -2806,10 +2926,6 @@ type CreateLogsinkData = {
2806
2926
  'description'?: string;
2807
2927
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2808
2928
  'restricted'?: boolean;
2809
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2810
- 'useCustomLabels'?: boolean;
2811
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2812
- 'forwardAccessLogs'?: boolean;
2813
2929
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2814
2930
  'projects'?: string[];
2815
2931
  /** The type of the log sink. Example: "papertrail" */
@@ -2837,10 +2953,6 @@ type CreateLogsinkData = {
2837
2953
  'description'?: string;
2838
2954
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2839
2955
  'restricted'?: boolean;
2840
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2841
- 'useCustomLabels'?: boolean;
2842
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2843
- 'forwardAccessLogs'?: boolean;
2844
2956
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2845
2957
  'projects'?: string[];
2846
2958
  /** The type of the log sink. Example: "aws_s3" */
@@ -2870,10 +2982,6 @@ type CreateLogsinkData = {
2870
2982
  'description'?: string;
2871
2983
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2872
2984
  'restricted'?: boolean;
2873
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2874
- 'useCustomLabels'?: boolean;
2875
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2876
- 'forwardAccessLogs'?: boolean;
2877
2985
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2878
2986
  'projects'?: string[];
2879
2987
  /** The type of the log sink. Example: "http" */
@@ -2887,22 +2995,7 @@ type CreateLogsinkData = {
2887
2995
  /** Codec to encode logs in Example: "json" */
2888
2996
  'codec': 'text' | 'json';
2889
2997
  };
2890
- 'auth': {
2891
- /** No authentication strategy Example: "none" */
2892
- 'strategy': 'none';
2893
- } | {
2894
- /** Basic HTTP authentication strategy. Example: "basic" */
2895
- 'strategy': 'basic';
2896
- /** Username for basic http authentication. Example: "my-user" */
2897
- 'user'?: string;
2898
- /** Password for basic http authentication. Example: "secret-password" */
2899
- 'password': string;
2900
- } | {
2901
- /** Bearer token authentication strategy. Example: "bearer" */
2902
- 'strategy': 'bearer';
2903
- /** Token for bearer token authentication. Example: "my-token" */
2904
- 'token'?: string;
2905
- };
2998
+ 'auth': any;
2906
2999
  };
2907
3000
  } | {
2908
3001
  /** Name of the log sink. Example: "example-log-sink" */
@@ -2911,10 +3004,6 @@ type CreateLogsinkData = {
2911
3004
  'description'?: string;
2912
3005
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2913
3006
  'restricted'?: boolean;
2914
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2915
- 'useCustomLabels'?: boolean;
2916
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2917
- 'forwardAccessLogs'?: boolean;
2918
3007
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2919
3008
  'projects'?: string[];
2920
3009
  /** The type of the log sink. Example: "logdna" */
@@ -2931,15 +3020,11 @@ type CreateLogsinkData = {
2931
3020
  'description'?: string;
2932
3021
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2933
3022
  'restricted'?: boolean;
2934
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2935
- 'useCustomLabels'?: boolean;
2936
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2937
- 'forwardAccessLogs'?: boolean;
2938
3023
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2939
3024
  'projects'?: string[];
2940
3025
  /** The type of the log sink. Example: "betterStack" */
2941
3026
  'sinkType': 'betterStack';
2942
- /** Details about the undefined log sink. */
3027
+ /** Details about the Better Stack log sink. */
2943
3028
  'sinkData': {
2944
3029
  /** Better Stack Source Token Example: "vhnqrLygVQ5GnSQUTZamKvAq" */
2945
3030
  'token': string;
@@ -2951,10 +3036,6 @@ type CreateLogsinkData = {
2951
3036
  'description'?: string;
2952
3037
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2953
3038
  'restricted'?: boolean;
2954
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2955
- 'useCustomLabels'?: boolean;
2956
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2957
- 'forwardAccessLogs'?: boolean;
2958
3039
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2959
3040
  'projects'?: string[];
2960
3041
  /** The type of the log sink. Example: "honeycomb" */
@@ -2973,10 +3054,6 @@ type CreateLogsinkData = {
2973
3054
  'description'?: string;
2974
3055
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2975
3056
  'restricted'?: boolean;
2976
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2977
- 'useCustomLabels'?: boolean;
2978
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
2979
- 'forwardAccessLogs'?: boolean;
2980
3057
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
2981
3058
  'projects'?: string[];
2982
3059
  /** The type of the log sink. Example: "logzio" */
@@ -2995,10 +3072,6 @@ type CreateLogsinkData = {
2995
3072
  'description'?: string;
2996
3073
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
2997
3074
  'restricted'?: boolean;
2998
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
2999
- 'useCustomLabels'?: boolean;
3000
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
3001
- 'forwardAccessLogs'?: boolean;
3002
3075
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
3003
3076
  'projects'?: string[];
3004
3077
  /** The type of the log sink. Example: "axiom" */
@@ -3023,15 +3096,11 @@ type CreateLogsinkData = {
3023
3096
  'description'?: string;
3024
3097
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
3025
3098
  'restricted'?: boolean;
3026
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
3027
- 'useCustomLabels'?: boolean;
3028
- /** If `true` your network access logs will be forwarded with your workload logs Example: true */
3029
- 'forwardAccessLogs'?: boolean;
3030
3099
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
3031
3100
  'projects'?: string[];
3032
3101
  /** The type of the log sink. Example: "newRelic" */
3033
3102
  'sinkType': 'newRelic';
3034
- /** Details about the undefined log sink. */
3103
+ /** Details about the New Relic log sink. */
3035
3104
  'sinkData': {
3036
3105
  /** New Relic Account ID Example: "b1dd3feb585asd1a3e9" */
3037
3106
  'accountId': string;
@@ -3057,10 +3126,20 @@ type GetLogsinkResult = {
3057
3126
  'description'?: string;
3058
3127
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
3059
3128
  'restricted': boolean;
3060
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
3061
- 'useCustomLabels'?: boolean;
3062
3129
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
3063
3130
  'projects': string[];
3131
+ /** Current status of the log sink */
3132
+ 'status': 'paused' | 'running' | 'failing' | 'creating';
3133
+ 'options'?: {
3134
+ /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
3135
+ 'useCustomLabels'?: boolean;
3136
+ /** Forward CDN logs from your workloads Example: true */
3137
+ 'forwardCdnLogs'?: boolean;
3138
+ /** Forward ingress logs from your workloads Example: true */
3139
+ 'forwardIngressLogs'?: boolean;
3140
+ /** Forward mesh logs from your workloads Example: true */
3141
+ 'forwardMeshLogs'?: boolean;
3142
+ };
3064
3143
  /** The type of the log sink. Example: "loki" */
3065
3144
  'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
3066
3145
  /** Timestamp of when the log sink was created. Example: "2022-06-14 15:10:42.842Z" */
@@ -3098,22 +3177,7 @@ type GetLogsinkResult = {
3098
3177
  /** Codec to encode logs in Example: "json" */
3099
3178
  'codec': 'text' | 'json';
3100
3179
  };
3101
- 'auth': {
3102
- /** No authentication strategy Example: "none" */
3103
- 'strategy': 'none';
3104
- } | {
3105
- /** Basic HTTP authentication strategy. Example: "basic" */
3106
- 'strategy': 'basic';
3107
- /** Username for basic http authentication. Example: "my-user" */
3108
- 'user'?: string;
3109
- /** Password for basic http authentication. Example: "secret-password" */
3110
- 'password': string;
3111
- } | {
3112
- /** Bearer token authentication strategy. Example: "bearer" */
3113
- 'strategy': 'bearer';
3114
- /** Token for bearer token authentication. Example: "my-token" */
3115
- 'token'?: string;
3116
- };
3180
+ 'auth': any;
3117
3181
  } | {
3118
3182
  /** Endpoint for the AWS S3 or compatible API bucket. Example: "my.bucket.com" */
3119
3183
  'endpoint': string;
@@ -3233,10 +3297,18 @@ type UpdateLogsinkParameters = {
3233
3297
  type UpdateLogsinkData = {
3234
3298
  /** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
3235
3299
  'restricted'?: boolean;
3236
- /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
3237
- 'useCustomLabels'?: boolean;
3238
3300
  /** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
3239
3301
  'projects'?: string[];
3302
+ 'options'?: {
3303
+ /** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
3304
+ 'useCustomLabels'?: boolean;
3305
+ /** Forward CDN logs from your workloads Example: true */
3306
+ 'forwardCdnLogs'?: boolean;
3307
+ /** Forward ingress logs from your workloads Example: true */
3308
+ 'forwardIngressLogs'?: boolean;
3309
+ /** Forward mesh logs from your workloads Example: true */
3310
+ 'forwardMeshLogs'?: boolean;
3311
+ };
3240
3312
  /** Data about the log sink. */
3241
3313
  'sinkData'?: {
3242
3314
  /** The endpoint of the Loki log sink. Example: "https://logs.example.com" */
@@ -3263,22 +3335,7 @@ type UpdateLogsinkData = {
3263
3335
  /** Codec to encode logs in Example: "json" */
3264
3336
  'codec': 'text' | 'json';
3265
3337
  };
3266
- 'auth': {
3267
- /** No authentication strategy Example: "none" */
3268
- 'strategy': 'none';
3269
- } | {
3270
- /** Basic HTTP authentication strategy. Example: "basic" */
3271
- 'strategy': 'basic';
3272
- /** Username for basic http authentication. Example: "my-user" */
3273
- 'user'?: string;
3274
- /** Password for basic http authentication. Example: "secret-password" */
3275
- 'password': string;
3276
- } | {
3277
- /** Bearer token authentication strategy. Example: "bearer" */
3278
- 'strategy': 'bearer';
3279
- /** Token for bearer token authentication. Example: "my-token" */
3280
- 'token'?: string;
3281
- };
3338
+ 'auth': any;
3282
3339
  } | {
3283
3340
  /** Endpoint for the AWS S3 or compatible API bucket. Example: "my.bucket.com" */
3284
3341
  'endpoint': string;
@@ -4499,7 +4556,7 @@ type CreateAddonResult = {
4499
4556
  'description'?: string;
4500
4557
  /** An array of previously defined tags to help identify and group the resource. */
4501
4558
  'tags'?: string[];
4502
- /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgres" */
4559
+ /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgresql" */
4503
4560
  'type': string;
4504
4561
  /** The version of the addon type to use. If set to `latest`, the addon will be created with the most recent addon version. If set to a major version appended with `-latest`, e.g. `14-latest`, the addon will be created with the most recent minor version belonging to that major version. Example: "latest" */
4505
4562
  'version': string;
@@ -4605,7 +4662,7 @@ type CreateAddonData = {
4605
4662
  'description'?: string;
4606
4663
  /** An array of previously defined tags to help identify and group the resource. */
4607
4664
  'tags'?: string[];
4608
- /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgres" */
4665
+ /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgresql" */
4609
4666
  'type': string;
4610
4667
  /** The version of the addon type to use. If set to `latest`, the addon will be created with the most recent addon version. If set to a major version appended with `-latest`, e.g. `14-latest`, the addon will be created with the most recent minor version belonging to that major version. Example: "latest" */
4611
4668
  'version': string;
@@ -4697,7 +4754,7 @@ type PutAddonResult = {
4697
4754
  'description'?: string;
4698
4755
  /** An array of previously defined tags to help identify and group the resource. */
4699
4756
  'tags'?: string[];
4700
- /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgres" */
4757
+ /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgresql" */
4701
4758
  'type': string;
4702
4759
  /** The version of the addon type to use. If set to `latest`, the addon will be created with the most recent addon version. If set to a major version appended with `-latest`, e.g. `14-latest`, the addon will be created with the most recent minor version belonging to that major version. Example: "latest" */
4703
4760
  'version': string;
@@ -4803,7 +4860,7 @@ type PutAddonData = {
4803
4860
  'description'?: string;
4804
4861
  /** An array of previously defined tags to help identify and group the resource. */
4805
4862
  'tags'?: string[];
4806
- /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgres" */
4863
+ /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgresql" */
4807
4864
  'type': string;
4808
4865
  /** The version of the addon type to use. If set to `latest`, the addon will be created with the most recent addon version. If set to a major version appended with `-latest`, e.g. `14-latest`, the addon will be created with the most recent minor version belonging to that major version. `latest` and `-latest` will only be applied on addon creation. Example: "latest" */
4809
4866
  'version': string;
@@ -4977,7 +5034,7 @@ type PatchAddonResult = {
4977
5034
  'description'?: string;
4978
5035
  /** An array of previously defined tags to help identify and group the resource. */
4979
5036
  'tags'?: string[];
4980
- /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgres" */
5037
+ /** The identifier for the type of addon. Addon types can be found at the Get Addon Types endpoint. Example: "postgresql" */
4981
5038
  'type': string;
4982
5039
  /** The version of the addon type to use. If set to `latest`, the addon will be created with the most recent addon version. If set to a major version appended with `-latest`, e.g. `14-latest`, the addon will be created with the most recent minor version belonging to that major version. Example: "latest" */
4983
5040
  'version': string;
@@ -6101,8 +6158,17 @@ type CreateJobCronResult = {
6101
6158
  /** An array of previously defined tags to help identify and group the resource. */
6102
6159
  'tags'?: string[];
6103
6160
  'billing': {
6161
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
6162
+ 'buildPlan'?: string;
6104
6163
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
6105
6164
  'deploymentPlan': string;
6165
+ 'gpu'?: {
6166
+ 'enabled'?: boolean;
6167
+ 'configuration'?: {
6168
+ 'gpuType': string;
6169
+ 'timesliced'?: boolean;
6170
+ };
6171
+ };
6106
6172
  };
6107
6173
  /** The number of attempts to rerun a job before it is marked as failed. */
6108
6174
  'backoffLimit': number;
@@ -6128,6 +6194,12 @@ type CreateJobCronResult = {
6128
6194
  'includeGitFolder'?: boolean;
6129
6195
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
6130
6196
  'fullGitClone'?: boolean;
6197
+ 'storage'?: {
6198
+ 'ephemeralStorage'?: {
6199
+ /** Ephemeral storage per build in MB Example: 16384 */
6200
+ 'storageSize'?: number;
6201
+ };
6202
+ };
6131
6203
  };
6132
6204
  /** An object containing the runtime environment to set for the job. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"variable1":"abcdef","variable2":"12345"} */
6133
6205
  'runtimeEnvironment'?: any;
@@ -6198,9 +6270,18 @@ type CreateJobCronResult = {
6198
6270
  /** Ephemeral storage per container in MB Example: 1024 */
6199
6271
  'storageSize'?: number;
6200
6272
  };
6201
- /** shm size per container in MB */
6273
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6202
6274
  'shmSize'?: number;
6203
6275
  };
6276
+ 'gpu'?: {
6277
+ 'enabled'?: boolean;
6278
+ 'configuration'?: {
6279
+ 'gpuType': string;
6280
+ 'timesliced'?: boolean;
6281
+ };
6282
+ };
6283
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
6284
+ 'gracePeriodSeconds'?: number;
6204
6285
  'vcs'?: {
6205
6286
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
6206
6287
  'projectUrl': string;
@@ -6235,6 +6316,12 @@ type CreateJobCronResult = {
6235
6316
  'imageUrl'?: string;
6236
6317
  };
6237
6318
  'buildSettings'?: {
6319
+ 'storage'?: {
6320
+ 'ephemeralStorage'?: {
6321
+ /** Ephemeral storage per build in MB Example: 16384 */
6322
+ 'storageSize'?: number;
6323
+ };
6324
+ };
6238
6325
  'dockerfile': {
6239
6326
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
6240
6327
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -6246,6 +6333,12 @@ type CreateJobCronResult = {
6246
6333
  'useCache'?: boolean;
6247
6334
  };
6248
6335
  } | {
6336
+ 'storage'?: {
6337
+ 'ephemeralStorage'?: {
6338
+ /** Ephemeral storage per build in MB Example: 16384 */
6339
+ 'storageSize'?: number;
6340
+ };
6341
+ };
6249
6342
  'buildpack': {
6250
6343
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
6251
6344
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -6293,8 +6386,17 @@ type CreateJobCronData = {
6293
6386
  /** An array of previously defined tags to help identify and group the resource. */
6294
6387
  'tags'?: string[];
6295
6388
  'billing': {
6389
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
6390
+ 'buildPlan'?: string;
6296
6391
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
6297
6392
  'deploymentPlan': string;
6393
+ 'gpu'?: {
6394
+ 'enabled'?: boolean;
6395
+ 'configuration'?: {
6396
+ 'gpuType': string;
6397
+ 'timesliced'?: boolean;
6398
+ };
6399
+ };
6298
6400
  };
6299
6401
  /** The number of attempts to rerun a job before it is marked as failed. */
6300
6402
  'backoffLimit': number;
@@ -6329,9 +6431,18 @@ type CreateJobCronData = {
6329
6431
  /** Ephemeral storage per container in MB Example: 1024 */
6330
6432
  'storageSize'?: number;
6331
6433
  };
6332
- /** shm size per container in MB */
6434
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6333
6435
  'shmSize'?: number;
6334
6436
  };
6437
+ 'gpu'?: {
6438
+ 'enabled'?: boolean;
6439
+ 'configuration'?: {
6440
+ 'gpuType': string;
6441
+ 'timesliced'?: boolean;
6442
+ };
6443
+ };
6444
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
6445
+ 'gracePeriodSeconds'?: number;
6335
6446
  'vcs': {
6336
6447
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
6337
6448
  'projectUrl': string;
@@ -6372,9 +6483,18 @@ type CreateJobCronData = {
6372
6483
  /** Ephemeral storage per container in MB Example: 1024 */
6373
6484
  'storageSize'?: number;
6374
6485
  };
6375
- /** shm size per container in MB */
6486
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6376
6487
  'shmSize'?: number;
6377
6488
  };
6489
+ 'gpu'?: {
6490
+ 'enabled'?: boolean;
6491
+ 'configuration'?: {
6492
+ 'gpuType': string;
6493
+ 'timesliced'?: boolean;
6494
+ };
6495
+ };
6496
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
6497
+ 'gracePeriodSeconds'?: number;
6378
6498
  'external': {
6379
6499
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
6380
6500
  'imagePath': string;
@@ -6407,9 +6527,18 @@ type CreateJobCronData = {
6407
6527
  /** Ephemeral storage per container in MB Example: 1024 */
6408
6528
  'storageSize'?: number;
6409
6529
  };
6410
- /** shm size per container in MB */
6530
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6411
6531
  'shmSize'?: number;
6412
6532
  };
6533
+ 'gpu'?: {
6534
+ 'enabled'?: boolean;
6535
+ 'configuration'?: {
6536
+ 'gpuType': string;
6537
+ 'timesliced'?: boolean;
6538
+ };
6539
+ };
6540
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
6541
+ 'gracePeriodSeconds'?: number;
6413
6542
  'internal': {
6414
6543
  /** ID of the build service to deploy Example: "example-build-service" */
6415
6544
  'id'?: string;
@@ -6439,8 +6568,20 @@ type CreateJobCronData = {
6439
6568
  'includeGitFolder'?: boolean;
6440
6569
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
6441
6570
  'fullGitClone'?: boolean;
6571
+ 'storage'?: {
6572
+ 'ephemeralStorage'?: {
6573
+ /** Ephemeral storage per build in MB Example: 16384 */
6574
+ 'storageSize'?: number;
6575
+ };
6576
+ };
6442
6577
  };
6443
6578
  'buildSettings'?: {
6579
+ 'storage'?: {
6580
+ 'ephemeralStorage'?: {
6581
+ /** Ephemeral storage per build in MB Example: 16384 */
6582
+ 'storageSize'?: number;
6583
+ };
6584
+ };
6444
6585
  'dockerfile': {
6445
6586
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
6446
6587
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -6452,6 +6593,12 @@ type CreateJobCronData = {
6452
6593
  'useCache'?: boolean;
6453
6594
  };
6454
6595
  } | {
6596
+ 'storage'?: {
6597
+ 'ephemeralStorage'?: {
6598
+ /** Ephemeral storage per build in MB Example: 16384 */
6599
+ 'storageSize'?: number;
6600
+ };
6601
+ };
6455
6602
  'buildpack': {
6456
6603
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
6457
6604
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -6518,8 +6665,17 @@ type PutJobCronResult = {
6518
6665
  /** An array of previously defined tags to help identify and group the resource. */
6519
6666
  'tags'?: string[];
6520
6667
  'billing': {
6668
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
6669
+ 'buildPlan'?: string;
6521
6670
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
6522
6671
  'deploymentPlan': string;
6672
+ 'gpu'?: {
6673
+ 'enabled'?: boolean;
6674
+ 'configuration'?: {
6675
+ 'gpuType': string;
6676
+ 'timesliced'?: boolean;
6677
+ };
6678
+ };
6523
6679
  };
6524
6680
  /** The number of attempts to rerun a job before it is marked as failed. */
6525
6681
  'backoffLimit': number;
@@ -6545,6 +6701,12 @@ type PutJobCronResult = {
6545
6701
  'includeGitFolder'?: boolean;
6546
6702
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
6547
6703
  'fullGitClone'?: boolean;
6704
+ 'storage'?: {
6705
+ 'ephemeralStorage'?: {
6706
+ /** Ephemeral storage per build in MB Example: 16384 */
6707
+ 'storageSize'?: number;
6708
+ };
6709
+ };
6548
6710
  };
6549
6711
  /** An object containing the runtime environment to set for the job. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"variable1":"abcdef","variable2":"12345"} */
6550
6712
  'runtimeEnvironment'?: any;
@@ -6615,9 +6777,18 @@ type PutJobCronResult = {
6615
6777
  /** Ephemeral storage per container in MB Example: 1024 */
6616
6778
  'storageSize'?: number;
6617
6779
  };
6618
- /** shm size per container in MB */
6780
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6619
6781
  'shmSize'?: number;
6620
6782
  };
6783
+ 'gpu'?: {
6784
+ 'enabled'?: boolean;
6785
+ 'configuration'?: {
6786
+ 'gpuType': string;
6787
+ 'timesliced'?: boolean;
6788
+ };
6789
+ };
6790
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
6791
+ 'gracePeriodSeconds'?: number;
6621
6792
  'vcs'?: {
6622
6793
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
6623
6794
  'projectUrl': string;
@@ -6652,6 +6823,12 @@ type PutJobCronResult = {
6652
6823
  'imageUrl'?: string;
6653
6824
  };
6654
6825
  'buildSettings'?: {
6826
+ 'storage'?: {
6827
+ 'ephemeralStorage'?: {
6828
+ /** Ephemeral storage per build in MB Example: 16384 */
6829
+ 'storageSize'?: number;
6830
+ };
6831
+ };
6655
6832
  'dockerfile': {
6656
6833
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
6657
6834
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -6663,6 +6840,12 @@ type PutJobCronResult = {
6663
6840
  'useCache'?: boolean;
6664
6841
  };
6665
6842
  } | {
6843
+ 'storage'?: {
6844
+ 'ephemeralStorage'?: {
6845
+ /** Ephemeral storage per build in MB Example: 16384 */
6846
+ 'storageSize'?: number;
6847
+ };
6848
+ };
6666
6849
  'buildpack': {
6667
6850
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
6668
6851
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -6710,8 +6893,17 @@ type PutJobCronData = {
6710
6893
  /** An array of previously defined tags to help identify and group the resource. */
6711
6894
  'tags'?: string[];
6712
6895
  'billing': {
6896
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
6897
+ 'buildPlan'?: string;
6713
6898
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
6714
6899
  'deploymentPlan': string;
6900
+ 'gpu'?: {
6901
+ 'enabled'?: boolean;
6902
+ 'configuration'?: {
6903
+ 'gpuType': string;
6904
+ 'timesliced'?: boolean;
6905
+ };
6906
+ };
6715
6907
  };
6716
6908
  /** The number of attempts to rerun a job before it is marked as failed. */
6717
6909
  'backoffLimit': number;
@@ -6746,9 +6938,18 @@ type PutJobCronData = {
6746
6938
  /** Ephemeral storage per container in MB Example: 1024 */
6747
6939
  'storageSize'?: number;
6748
6940
  };
6749
- /** shm size per container in MB */
6941
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6750
6942
  'shmSize'?: number;
6751
6943
  };
6944
+ 'gpu'?: {
6945
+ 'enabled'?: boolean;
6946
+ 'configuration'?: {
6947
+ 'gpuType': string;
6948
+ 'timesliced'?: boolean;
6949
+ };
6950
+ };
6951
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
6952
+ 'gracePeriodSeconds'?: number;
6752
6953
  'vcs': {
6753
6954
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
6754
6955
  'projectUrl': string;
@@ -6789,9 +6990,18 @@ type PutJobCronData = {
6789
6990
  /** Ephemeral storage per container in MB Example: 1024 */
6790
6991
  'storageSize'?: number;
6791
6992
  };
6792
- /** shm size per container in MB */
6993
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6793
6994
  'shmSize'?: number;
6794
6995
  };
6996
+ 'gpu'?: {
6997
+ 'enabled'?: boolean;
6998
+ 'configuration'?: {
6999
+ 'gpuType': string;
7000
+ 'timesliced'?: boolean;
7001
+ };
7002
+ };
7003
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7004
+ 'gracePeriodSeconds'?: number;
6795
7005
  'external': {
6796
7006
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
6797
7007
  'imagePath': string;
@@ -6824,9 +7034,18 @@ type PutJobCronData = {
6824
7034
  /** Ephemeral storage per container in MB Example: 1024 */
6825
7035
  'storageSize'?: number;
6826
7036
  };
6827
- /** shm size per container in MB */
7037
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
6828
7038
  'shmSize'?: number;
6829
7039
  };
7040
+ 'gpu'?: {
7041
+ 'enabled'?: boolean;
7042
+ 'configuration'?: {
7043
+ 'gpuType': string;
7044
+ 'timesliced'?: boolean;
7045
+ };
7046
+ };
7047
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7048
+ 'gracePeriodSeconds'?: number;
6830
7049
  'internal': {
6831
7050
  /** ID of the build service to deploy Example: "example-build-service" */
6832
7051
  'id'?: string;
@@ -6856,8 +7075,20 @@ type PutJobCronData = {
6856
7075
  'includeGitFolder'?: boolean;
6857
7076
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
6858
7077
  'fullGitClone'?: boolean;
7078
+ 'storage'?: {
7079
+ 'ephemeralStorage'?: {
7080
+ /** Ephemeral storage per build in MB Example: 16384 */
7081
+ 'storageSize'?: number;
7082
+ };
7083
+ };
6859
7084
  };
6860
7085
  'buildSettings'?: {
7086
+ 'storage'?: {
7087
+ 'ephemeralStorage'?: {
7088
+ /** Ephemeral storage per build in MB Example: 16384 */
7089
+ 'storageSize'?: number;
7090
+ };
7091
+ };
6861
7092
  'dockerfile': {
6862
7093
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
6863
7094
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -6869,6 +7100,12 @@ type PutJobCronData = {
6869
7100
  'useCache'?: boolean;
6870
7101
  };
6871
7102
  } | {
7103
+ 'storage'?: {
7104
+ 'ephemeralStorage'?: {
7105
+ /** Ephemeral storage per build in MB Example: 16384 */
7106
+ 'storageSize'?: number;
7107
+ };
7108
+ };
6872
7109
  'buildpack': {
6873
7110
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
6874
7111
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -6935,8 +7172,17 @@ type PatchJobCronResult = {
6935
7172
  /** An array of previously defined tags to help identify and group the resource. */
6936
7173
  'tags'?: string[];
6937
7174
  'billing': {
7175
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
7176
+ 'buildPlan'?: string;
6938
7177
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
6939
7178
  'deploymentPlan': string;
7179
+ 'gpu'?: {
7180
+ 'enabled'?: boolean;
7181
+ 'configuration'?: {
7182
+ 'gpuType': string;
7183
+ 'timesliced'?: boolean;
7184
+ };
7185
+ };
6940
7186
  };
6941
7187
  /** The number of attempts to rerun a job before it is marked as failed. */
6942
7188
  'backoffLimit': number;
@@ -6962,6 +7208,12 @@ type PatchJobCronResult = {
6962
7208
  'includeGitFolder'?: boolean;
6963
7209
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
6964
7210
  'fullGitClone'?: boolean;
7211
+ 'storage'?: {
7212
+ 'ephemeralStorage'?: {
7213
+ /** Ephemeral storage per build in MB Example: 16384 */
7214
+ 'storageSize'?: number;
7215
+ };
7216
+ };
6965
7217
  };
6966
7218
  /** An object containing the runtime environment to set for the job. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"variable1":"abcdef","variable2":"12345"} */
6967
7219
  'runtimeEnvironment'?: any;
@@ -7032,9 +7284,18 @@ type PatchJobCronResult = {
7032
7284
  /** Ephemeral storage per container in MB Example: 1024 */
7033
7285
  'storageSize'?: number;
7034
7286
  };
7035
- /** shm size per container in MB */
7287
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7036
7288
  'shmSize'?: number;
7037
7289
  };
7290
+ 'gpu'?: {
7291
+ 'enabled'?: boolean;
7292
+ 'configuration'?: {
7293
+ 'gpuType': string;
7294
+ 'timesliced'?: boolean;
7295
+ };
7296
+ };
7297
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7298
+ 'gracePeriodSeconds'?: number;
7038
7299
  'vcs'?: {
7039
7300
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
7040
7301
  'projectUrl': string;
@@ -7069,6 +7330,12 @@ type PatchJobCronResult = {
7069
7330
  'imageUrl'?: string;
7070
7331
  };
7071
7332
  'buildSettings'?: {
7333
+ 'storage'?: {
7334
+ 'ephemeralStorage'?: {
7335
+ /** Ephemeral storage per build in MB Example: 16384 */
7336
+ 'storageSize'?: number;
7337
+ };
7338
+ };
7072
7339
  'dockerfile': {
7073
7340
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
7074
7341
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -7080,6 +7347,12 @@ type PatchJobCronResult = {
7080
7347
  'useCache'?: boolean;
7081
7348
  };
7082
7349
  } | {
7350
+ 'storage'?: {
7351
+ 'ephemeralStorage'?: {
7352
+ /** Ephemeral storage per build in MB Example: 16384 */
7353
+ 'storageSize'?: number;
7354
+ };
7355
+ };
7083
7356
  'buildpack': {
7084
7357
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
7085
7358
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -7127,8 +7400,17 @@ type PatchJobCronData = {
7127
7400
  /** An array of previously defined tags to help identify and group the resource. */
7128
7401
  'tags'?: string[];
7129
7402
  'billing'?: {
7403
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
7404
+ 'buildPlan'?: string;
7130
7405
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
7131
7406
  'deploymentPlan'?: string;
7407
+ 'gpu'?: {
7408
+ 'enabled'?: boolean;
7409
+ 'configuration'?: {
7410
+ 'gpuType'?: string;
7411
+ 'timesliced'?: boolean;
7412
+ };
7413
+ };
7132
7414
  };
7133
7415
  /** The number of attempts to rerun a job before it is marked as failed. */
7134
7416
  'backoffLimit'?: number;
@@ -7147,9 +7429,27 @@ type PatchJobCronData = {
7147
7429
  'ciIgnoreFlagsEnabled'?: boolean;
7148
7430
  /** An array of commit ignore flags. If a commit message contains one or more of these flags, that commit will not be built. Defaults to `["[skip ci]", "[ci skip]", "[no ci]", "[skip nf]", "[nf skip]", "[northflank skip]", "[skip northflank]"]` Example: ["[skip ci]","[ci skip]","[no ci]","[skip nf]","[nf skip]","[northflank skip]","[skip northflank]"] */
7149
7431
  'ciIgnoreFlags'?: string[];
7432
+ /** If your Dockerfile contains multiple build stages, you can specify the target stage by entering its name here. */
7433
+ 'dockerfileTarget'?: string;
7150
7434
  'dockerCredentials'?: string[];
7435
+ /** Include .git folder inside the build context */
7436
+ 'includeGitFolder'?: boolean;
7437
+ /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
7438
+ 'fullGitClone'?: boolean;
7439
+ 'storage'?: {
7440
+ 'ephemeralStorage'?: {
7441
+ /** Ephemeral storage per build in MB Example: 16384 */
7442
+ 'storageSize'?: number;
7443
+ };
7444
+ };
7151
7445
  };
7152
7446
  'buildSettings'?: {
7447
+ 'storage'?: {
7448
+ 'ephemeralStorage'?: {
7449
+ /** Ephemeral storage per build in MB Example: 16384 */
7450
+ 'storageSize'?: number;
7451
+ };
7452
+ };
7153
7453
  'dockerfile'?: {
7154
7454
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
7155
7455
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -7224,8 +7524,17 @@ type CreateJobManualResult = {
7224
7524
  /** An array of previously defined tags to help identify and group the resource. */
7225
7525
  'tags'?: string[];
7226
7526
  'billing': {
7527
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
7528
+ 'buildPlan'?: string;
7227
7529
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
7228
7530
  'deploymentPlan': string;
7531
+ 'gpu'?: {
7532
+ 'enabled'?: boolean;
7533
+ 'configuration'?: {
7534
+ 'gpuType': string;
7535
+ 'timesliced'?: boolean;
7536
+ };
7537
+ };
7229
7538
  };
7230
7539
  /** The number of attempts to rerun a job before it is marked as failed. */
7231
7540
  'backoffLimit': number;
@@ -7251,6 +7560,12 @@ type CreateJobManualResult = {
7251
7560
  'includeGitFolder'?: boolean;
7252
7561
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
7253
7562
  'fullGitClone'?: boolean;
7563
+ 'storage'?: {
7564
+ 'ephemeralStorage'?: {
7565
+ /** Ephemeral storage per build in MB Example: 16384 */
7566
+ 'storageSize'?: number;
7567
+ };
7568
+ };
7254
7569
  };
7255
7570
  /** An object containing the runtime environment to set for the job. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"variable1":"abcdef","variable2":"12345"} */
7256
7571
  'runtimeEnvironment'?: any;
@@ -7315,9 +7630,18 @@ type CreateJobManualResult = {
7315
7630
  /** Ephemeral storage per container in MB Example: 1024 */
7316
7631
  'storageSize'?: number;
7317
7632
  };
7318
- /** shm size per container in MB */
7633
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7319
7634
  'shmSize'?: number;
7320
7635
  };
7636
+ 'gpu'?: {
7637
+ 'enabled'?: boolean;
7638
+ 'configuration'?: {
7639
+ 'gpuType': string;
7640
+ 'timesliced'?: boolean;
7641
+ };
7642
+ };
7643
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7644
+ 'gracePeriodSeconds'?: number;
7321
7645
  'vcs'?: {
7322
7646
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
7323
7647
  'projectUrl': string;
@@ -7352,6 +7676,12 @@ type CreateJobManualResult = {
7352
7676
  'imageUrl'?: string;
7353
7677
  };
7354
7678
  'buildSettings'?: {
7679
+ 'storage'?: {
7680
+ 'ephemeralStorage'?: {
7681
+ /** Ephemeral storage per build in MB Example: 16384 */
7682
+ 'storageSize'?: number;
7683
+ };
7684
+ };
7355
7685
  'dockerfile': {
7356
7686
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
7357
7687
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -7363,6 +7693,12 @@ type CreateJobManualResult = {
7363
7693
  'useCache'?: boolean;
7364
7694
  };
7365
7695
  } | {
7696
+ 'storage'?: {
7697
+ 'ephemeralStorage'?: {
7698
+ /** Ephemeral storage per build in MB Example: 16384 */
7699
+ 'storageSize'?: number;
7700
+ };
7701
+ };
7366
7702
  'buildpack': {
7367
7703
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
7368
7704
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -7410,8 +7746,17 @@ type CreateJobManualData = {
7410
7746
  /** An array of previously defined tags to help identify and group the resource. */
7411
7747
  'tags'?: string[];
7412
7748
  'billing': {
7749
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
7750
+ 'buildPlan'?: string;
7413
7751
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
7414
7752
  'deploymentPlan': string;
7753
+ 'gpu'?: {
7754
+ 'enabled'?: boolean;
7755
+ 'configuration'?: {
7756
+ 'gpuType': string;
7757
+ 'timesliced'?: boolean;
7758
+ };
7759
+ };
7415
7760
  };
7416
7761
  /** The number of attempts to rerun a job before it is marked as failed. */
7417
7762
  'backoffLimit': number;
@@ -7446,9 +7791,18 @@ type CreateJobManualData = {
7446
7791
  /** Ephemeral storage per container in MB Example: 1024 */
7447
7792
  'storageSize'?: number;
7448
7793
  };
7449
- /** shm size per container in MB */
7794
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7450
7795
  'shmSize'?: number;
7451
7796
  };
7797
+ 'gpu'?: {
7798
+ 'enabled'?: boolean;
7799
+ 'configuration'?: {
7800
+ 'gpuType': string;
7801
+ 'timesliced'?: boolean;
7802
+ };
7803
+ };
7804
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7805
+ 'gracePeriodSeconds'?: number;
7452
7806
  'vcs': {
7453
7807
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
7454
7808
  'projectUrl': string;
@@ -7489,9 +7843,18 @@ type CreateJobManualData = {
7489
7843
  /** Ephemeral storage per container in MB Example: 1024 */
7490
7844
  'storageSize'?: number;
7491
7845
  };
7492
- /** shm size per container in MB */
7846
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7493
7847
  'shmSize'?: number;
7494
7848
  };
7849
+ 'gpu'?: {
7850
+ 'enabled'?: boolean;
7851
+ 'configuration'?: {
7852
+ 'gpuType': string;
7853
+ 'timesliced'?: boolean;
7854
+ };
7855
+ };
7856
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7857
+ 'gracePeriodSeconds'?: number;
7495
7858
  'external': {
7496
7859
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
7497
7860
  'imagePath': string;
@@ -7524,9 +7887,18 @@ type CreateJobManualData = {
7524
7887
  /** Ephemeral storage per container in MB Example: 1024 */
7525
7888
  'storageSize'?: number;
7526
7889
  };
7527
- /** shm size per container in MB */
7890
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7528
7891
  'shmSize'?: number;
7529
7892
  };
7893
+ 'gpu'?: {
7894
+ 'enabled'?: boolean;
7895
+ 'configuration'?: {
7896
+ 'gpuType': string;
7897
+ 'timesliced'?: boolean;
7898
+ };
7899
+ };
7900
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
7901
+ 'gracePeriodSeconds'?: number;
7530
7902
  'internal': {
7531
7903
  /** ID of the build service to deploy Example: "example-build-service" */
7532
7904
  'id'?: string;
@@ -7556,8 +7928,20 @@ type CreateJobManualData = {
7556
7928
  'includeGitFolder'?: boolean;
7557
7929
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
7558
7930
  'fullGitClone'?: boolean;
7931
+ 'storage'?: {
7932
+ 'ephemeralStorage'?: {
7933
+ /** Ephemeral storage per build in MB Example: 16384 */
7934
+ 'storageSize'?: number;
7935
+ };
7936
+ };
7559
7937
  };
7560
7938
  'buildSettings'?: {
7939
+ 'storage'?: {
7940
+ 'ephemeralStorage'?: {
7941
+ /** Ephemeral storage per build in MB Example: 16384 */
7942
+ 'storageSize'?: number;
7943
+ };
7944
+ };
7561
7945
  'dockerfile': {
7562
7946
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
7563
7947
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -7569,6 +7953,12 @@ type CreateJobManualData = {
7569
7953
  'useCache'?: boolean;
7570
7954
  };
7571
7955
  } | {
7956
+ 'storage'?: {
7957
+ 'ephemeralStorage'?: {
7958
+ /** Ephemeral storage per build in MB Example: 16384 */
7959
+ 'storageSize'?: number;
7960
+ };
7961
+ };
7572
7962
  'buildpack': {
7573
7963
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
7574
7964
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -7629,8 +8019,17 @@ type PutJobManualResult = {
7629
8019
  /** An array of previously defined tags to help identify and group the resource. */
7630
8020
  'tags'?: string[];
7631
8021
  'billing': {
8022
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
8023
+ 'buildPlan'?: string;
7632
8024
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
7633
8025
  'deploymentPlan': string;
8026
+ 'gpu'?: {
8027
+ 'enabled'?: boolean;
8028
+ 'configuration'?: {
8029
+ 'gpuType': string;
8030
+ 'timesliced'?: boolean;
8031
+ };
8032
+ };
7634
8033
  };
7635
8034
  /** The number of attempts to rerun a job before it is marked as failed. */
7636
8035
  'backoffLimit': number;
@@ -7656,6 +8055,12 @@ type PutJobManualResult = {
7656
8055
  'includeGitFolder'?: boolean;
7657
8056
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
7658
8057
  'fullGitClone'?: boolean;
8058
+ 'storage'?: {
8059
+ 'ephemeralStorage'?: {
8060
+ /** Ephemeral storage per build in MB Example: 16384 */
8061
+ 'storageSize'?: number;
8062
+ };
8063
+ };
7659
8064
  };
7660
8065
  /** An object containing the runtime environment to set for the job. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"variable1":"abcdef","variable2":"12345"} */
7661
8066
  'runtimeEnvironment'?: any;
@@ -7720,10 +8125,19 @@ type PutJobManualResult = {
7720
8125
  /** Ephemeral storage per container in MB Example: 1024 */
7721
8126
  'storageSize'?: number;
7722
8127
  };
7723
- /** shm size per container in MB */
8128
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7724
8129
  'shmSize'?: number;
7725
8130
  };
7726
- 'vcs'?: {
8131
+ 'gpu'?: {
8132
+ 'enabled'?: boolean;
8133
+ 'configuration'?: {
8134
+ 'gpuType': string;
8135
+ 'timesliced'?: boolean;
8136
+ };
8137
+ };
8138
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
8139
+ 'gracePeriodSeconds'?: number;
8140
+ 'vcs'?: {
7727
8141
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
7728
8142
  'projectUrl': string;
7729
8143
  /** The VCS provider to use. Example: "github" */
@@ -7757,6 +8171,12 @@ type PutJobManualResult = {
7757
8171
  'imageUrl'?: string;
7758
8172
  };
7759
8173
  'buildSettings'?: {
8174
+ 'storage'?: {
8175
+ 'ephemeralStorage'?: {
8176
+ /** Ephemeral storage per build in MB Example: 16384 */
8177
+ 'storageSize'?: number;
8178
+ };
8179
+ };
7760
8180
  'dockerfile': {
7761
8181
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
7762
8182
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -7768,6 +8188,12 @@ type PutJobManualResult = {
7768
8188
  'useCache'?: boolean;
7769
8189
  };
7770
8190
  } | {
8191
+ 'storage'?: {
8192
+ 'ephemeralStorage'?: {
8193
+ /** Ephemeral storage per build in MB Example: 16384 */
8194
+ 'storageSize'?: number;
8195
+ };
8196
+ };
7771
8197
  'buildpack': {
7772
8198
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
7773
8199
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -7815,8 +8241,17 @@ type PutJobManualData = {
7815
8241
  /** An array of previously defined tags to help identify and group the resource. */
7816
8242
  'tags'?: string[];
7817
8243
  'billing': {
8244
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
8245
+ 'buildPlan'?: string;
7818
8246
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
7819
8247
  'deploymentPlan': string;
8248
+ 'gpu'?: {
8249
+ 'enabled'?: boolean;
8250
+ 'configuration'?: {
8251
+ 'gpuType': string;
8252
+ 'timesliced'?: boolean;
8253
+ };
8254
+ };
7820
8255
  };
7821
8256
  /** The number of attempts to rerun a job before it is marked as failed. */
7822
8257
  'backoffLimit': number;
@@ -7851,9 +8286,18 @@ type PutJobManualData = {
7851
8286
  /** Ephemeral storage per container in MB Example: 1024 */
7852
8287
  'storageSize'?: number;
7853
8288
  };
7854
- /** shm size per container in MB */
8289
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7855
8290
  'shmSize'?: number;
7856
8291
  };
8292
+ 'gpu'?: {
8293
+ 'enabled'?: boolean;
8294
+ 'configuration'?: {
8295
+ 'gpuType': string;
8296
+ 'timesliced'?: boolean;
8297
+ };
8298
+ };
8299
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
8300
+ 'gracePeriodSeconds'?: number;
7857
8301
  'vcs': {
7858
8302
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
7859
8303
  'projectUrl': string;
@@ -7894,9 +8338,18 @@ type PutJobManualData = {
7894
8338
  /** Ephemeral storage per container in MB Example: 1024 */
7895
8339
  'storageSize'?: number;
7896
8340
  };
7897
- /** shm size per container in MB */
8341
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7898
8342
  'shmSize'?: number;
7899
8343
  };
8344
+ 'gpu'?: {
8345
+ 'enabled'?: boolean;
8346
+ 'configuration'?: {
8347
+ 'gpuType': string;
8348
+ 'timesliced'?: boolean;
8349
+ };
8350
+ };
8351
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
8352
+ 'gracePeriodSeconds'?: number;
7900
8353
  'external': {
7901
8354
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
7902
8355
  'imagePath': string;
@@ -7929,9 +8382,18 @@ type PutJobManualData = {
7929
8382
  /** Ephemeral storage per container in MB Example: 1024 */
7930
8383
  'storageSize'?: number;
7931
8384
  };
7932
- /** shm size per container in MB */
8385
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
7933
8386
  'shmSize'?: number;
7934
8387
  };
8388
+ 'gpu'?: {
8389
+ 'enabled'?: boolean;
8390
+ 'configuration'?: {
8391
+ 'gpuType': string;
8392
+ 'timesliced'?: boolean;
8393
+ };
8394
+ };
8395
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
8396
+ 'gracePeriodSeconds'?: number;
7935
8397
  'internal': {
7936
8398
  /** ID of the build service to deploy Example: "example-build-service" */
7937
8399
  'id'?: string;
@@ -7961,8 +8423,20 @@ type PutJobManualData = {
7961
8423
  'includeGitFolder'?: boolean;
7962
8424
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
7963
8425
  'fullGitClone'?: boolean;
8426
+ 'storage'?: {
8427
+ 'ephemeralStorage'?: {
8428
+ /** Ephemeral storage per build in MB Example: 16384 */
8429
+ 'storageSize'?: number;
8430
+ };
8431
+ };
7964
8432
  };
7965
8433
  'buildSettings'?: {
8434
+ 'storage'?: {
8435
+ 'ephemeralStorage'?: {
8436
+ /** Ephemeral storage per build in MB Example: 16384 */
8437
+ 'storageSize'?: number;
8438
+ };
8439
+ };
7966
8440
  'dockerfile': {
7967
8441
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
7968
8442
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -7974,6 +8448,12 @@ type PutJobManualData = {
7974
8448
  'useCache'?: boolean;
7975
8449
  };
7976
8450
  } | {
8451
+ 'storage'?: {
8452
+ 'ephemeralStorage'?: {
8453
+ /** Ephemeral storage per build in MB Example: 16384 */
8454
+ 'storageSize'?: number;
8455
+ };
8456
+ };
7977
8457
  'buildpack': {
7978
8458
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
7979
8459
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -8034,8 +8514,17 @@ type PatchJobManualResult = {
8034
8514
  /** An array of previously defined tags to help identify and group the resource. */
8035
8515
  'tags'?: string[];
8036
8516
  'billing': {
8517
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
8518
+ 'buildPlan'?: string;
8037
8519
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
8038
8520
  'deploymentPlan': string;
8521
+ 'gpu'?: {
8522
+ 'enabled'?: boolean;
8523
+ 'configuration'?: {
8524
+ 'gpuType': string;
8525
+ 'timesliced'?: boolean;
8526
+ };
8527
+ };
8039
8528
  };
8040
8529
  /** The number of attempts to rerun a job before it is marked as failed. */
8041
8530
  'backoffLimit': number;
@@ -8061,6 +8550,12 @@ type PatchJobManualResult = {
8061
8550
  'includeGitFolder'?: boolean;
8062
8551
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
8063
8552
  'fullGitClone'?: boolean;
8553
+ 'storage'?: {
8554
+ 'ephemeralStorage'?: {
8555
+ /** Ephemeral storage per build in MB Example: 16384 */
8556
+ 'storageSize'?: number;
8557
+ };
8558
+ };
8064
8559
  };
8065
8560
  /** An object containing the runtime environment to set for the job. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"variable1":"abcdef","variable2":"12345"} */
8066
8561
  'runtimeEnvironment'?: any;
@@ -8125,9 +8620,18 @@ type PatchJobManualResult = {
8125
8620
  /** Ephemeral storage per container in MB Example: 1024 */
8126
8621
  'storageSize'?: number;
8127
8622
  };
8128
- /** shm size per container in MB */
8623
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
8129
8624
  'shmSize'?: number;
8130
8625
  };
8626
+ 'gpu'?: {
8627
+ 'enabled'?: boolean;
8628
+ 'configuration'?: {
8629
+ 'gpuType': string;
8630
+ 'timesliced'?: boolean;
8631
+ };
8632
+ };
8633
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
8634
+ 'gracePeriodSeconds'?: number;
8131
8635
  'vcs'?: {
8132
8636
  /** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
8133
8637
  'projectUrl': string;
@@ -8162,6 +8666,12 @@ type PatchJobManualResult = {
8162
8666
  'imageUrl'?: string;
8163
8667
  };
8164
8668
  'buildSettings'?: {
8669
+ 'storage'?: {
8670
+ 'ephemeralStorage'?: {
8671
+ /** Ephemeral storage per build in MB Example: 16384 */
8672
+ 'storageSize'?: number;
8673
+ };
8674
+ };
8165
8675
  'dockerfile': {
8166
8676
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
8167
8677
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -8173,6 +8683,12 @@ type PatchJobManualResult = {
8173
8683
  'useCache'?: boolean;
8174
8684
  };
8175
8685
  } | {
8686
+ 'storage'?: {
8687
+ 'ephemeralStorage'?: {
8688
+ /** Ephemeral storage per build in MB Example: 16384 */
8689
+ 'storageSize'?: number;
8690
+ };
8691
+ };
8176
8692
  'buildpack': {
8177
8693
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
8178
8694
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -8220,8 +8736,17 @@ type PatchJobManualData = {
8220
8736
  /** An array of previously defined tags to help identify and group the resource. */
8221
8737
  'tags'?: string[];
8222
8738
  'billing'?: {
8739
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
8740
+ 'buildPlan'?: string;
8223
8741
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
8224
8742
  'deploymentPlan'?: string;
8743
+ 'gpu'?: {
8744
+ 'enabled'?: boolean;
8745
+ 'configuration'?: {
8746
+ 'gpuType'?: string;
8747
+ 'timesliced'?: boolean;
8748
+ };
8749
+ };
8225
8750
  };
8226
8751
  /** The number of attempts to rerun a job before it is marked as failed. */
8227
8752
  'backoffLimit'?: number;
@@ -8240,9 +8765,27 @@ type PatchJobManualData = {
8240
8765
  'ciIgnoreFlagsEnabled'?: boolean;
8241
8766
  /** An array of commit ignore flags. If a commit message contains one or more of these flags, that commit will not be built. Defaults to `["[skip ci]", "[ci skip]", "[no ci]", "[skip nf]", "[nf skip]", "[northflank skip]", "[skip northflank]"]` Example: ["[skip ci]","[ci skip]","[no ci]","[skip nf]","[nf skip]","[northflank skip]","[skip northflank]"] */
8242
8767
  'ciIgnoreFlags'?: string[];
8768
+ /** If your Dockerfile contains multiple build stages, you can specify the target stage by entering its name here. */
8769
+ 'dockerfileTarget'?: string;
8243
8770
  'dockerCredentials'?: string[];
8771
+ /** Include .git folder inside the build context */
8772
+ 'includeGitFolder'?: boolean;
8773
+ /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
8774
+ 'fullGitClone'?: boolean;
8775
+ 'storage'?: {
8776
+ 'ephemeralStorage'?: {
8777
+ /** Ephemeral storage per build in MB Example: 16384 */
8778
+ 'storageSize'?: number;
8779
+ };
8780
+ };
8244
8781
  };
8245
8782
  'buildSettings'?: {
8783
+ 'storage'?: {
8784
+ 'ephemeralStorage'?: {
8785
+ /** Ephemeral storage per build in MB Example: 16384 */
8786
+ 'storageSize'?: number;
8787
+ };
8788
+ };
8246
8789
  'dockerfile'?: {
8247
8790
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
8248
8791
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -8354,6 +8897,12 @@ type GetJobResult = {
8354
8897
  'includeGitFolder'?: boolean;
8355
8898
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
8356
8899
  'fullGitClone'?: boolean;
8900
+ 'storage'?: {
8901
+ 'ephemeralStorage'?: {
8902
+ /** Ephemeral storage per build in MB Example: 16384 */
8903
+ 'storageSize'?: number;
8904
+ };
8905
+ };
8357
8906
  };
8358
8907
  'buildEngineConfiguration'?: {
8359
8908
  /** The build engine used. Example: "buildpack" */
@@ -8792,6 +9341,12 @@ type UpdateJobBuildoptionsData = {
8792
9341
  'includeGitFolder'?: boolean;
8793
9342
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
8794
9343
  'fullGitClone'?: boolean;
9344
+ 'storage'?: {
9345
+ 'ephemeralStorage'?: {
9346
+ /** Ephemeral storage per build in MB Example: 16384 */
9347
+ 'storageSize'?: number;
9348
+ };
9349
+ };
8795
9350
  } | {
8796
9351
  'buildpack': {
8797
9352
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
@@ -8827,6 +9382,12 @@ type UpdateJobBuildoptionsData = {
8827
9382
  'includeGitFolder'?: boolean;
8828
9383
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
8829
9384
  'fullGitClone'?: boolean;
9385
+ 'storage'?: {
9386
+ 'ephemeralStorage'?: {
9387
+ /** Ephemeral storage per build in MB Example: 16384 */
9388
+ 'storageSize'?: number;
9389
+ };
9390
+ };
8830
9391
  };
8831
9392
  /** Updates the build options for a given job. */
8832
9393
  declare class UpdateJobBuildoptionsEndpoint extends PostApiEndpoint<UpdateJobBuildoptionsRequest, UpdateJobBuildoptionsResult> {
@@ -9464,7 +10025,7 @@ type StartJobRunData = {
9464
10025
  /** Ephemeral storage per container in MB Example: 1024 */
9465
10026
  'storageSize'?: number;
9466
10027
  };
9467
- /** shm size per container in MB */
10028
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
9468
10029
  'shmSize'?: number;
9469
10030
  };
9470
10031
  /** Optional: Specify the commit to run */
@@ -9504,7 +10065,7 @@ type StartJobRunData = {
9504
10065
  /** Ephemeral storage per container in MB Example: 1024 */
9505
10066
  'storageSize'?: number;
9506
10067
  };
9507
- /** shm size per container in MB */
10068
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
9508
10069
  'shmSize'?: number;
9509
10070
  };
9510
10071
  /** Optional: Specify the external image to run */
@@ -9735,7 +10296,7 @@ type ScaleJobData = {
9735
10296
  /** Ephemeral storage per container in MB Example: 1024 */
9736
10297
  'storageSize'?: number;
9737
10298
  };
9738
- /** shm size per container in MB */
10299
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
9739
10300
  'shmSize'?: number;
9740
10301
  };
9741
10302
  };
@@ -9880,7 +10441,7 @@ declare class GetPipelineEndpoint extends GetApiEndpoint<GetPipelineRequest, Get
9880
10441
  type GetPreviewtemplateResult = {
9881
10442
  /** The version of the Northflank API to run the template against. Example: "v1" */
9882
10443
  'apiVersion': 'v1';
9883
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10444
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
9884
10445
  'arguments'?: any;
9885
10446
  'triggers'?: {
9886
10447
  /** A reference that can be used to access the output of this trigger in the template. */
@@ -9956,7 +10517,7 @@ type UpdatePreviewtemplateParameters = {
9956
10517
  type UpdatePreviewtemplateData = {
9957
10518
  /** The version of the Northflank API to run the template against. Example: "v1" */
9958
10519
  'apiVersion': 'v1';
9959
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10520
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
9960
10521
  'arguments'?: any;
9961
10522
  'spec': any;
9962
10523
  /** Whether triggers are paused for this preview template. If `true`, Git triggers and webhook triggers will not create or update previews. */
@@ -10109,7 +10670,7 @@ declare class ListPreviewtemplaterunsEndpoint extends GetApiEndpoint<ListPreview
10109
10670
  type GetPreviewtemplaterunResult = {
10110
10671
  /** The version of the Northflank API to run the template against. Example: "v1" */
10111
10672
  'apiVersion': 'v1';
10112
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10673
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
10113
10674
  'arguments'?: any;
10114
10675
  'triggers'?: {
10115
10676
  /** A reference that can be used to access the output of this trigger in the template. */
@@ -10169,7 +10730,7 @@ declare class GetPreviewtemplaterunEndpoint extends GetApiEndpoint<GetPreviewtem
10169
10730
  type GetReleaseflowResult = {
10170
10731
  /** The version of the Northflank API to run the template against. Example: "v1" */
10171
10732
  'apiVersion': 'v1';
10172
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10733
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
10173
10734
  'arguments'?: any;
10174
10735
  'spec': any;
10175
10736
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
@@ -10222,7 +10783,7 @@ type UpdateReleaseflowData = {
10222
10783
  'content': {
10223
10784
  /** The version of the Northflank API to run the template against. Example: "v1" */
10224
10785
  'apiVersion': 'v1';
10225
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10786
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
10226
10787
  'arguments'?: any;
10227
10788
  'spec': any;
10228
10789
  };
@@ -10258,7 +10819,7 @@ type RunReleaseflowData = {
10258
10819
  'name'?: string;
10259
10820
  /** The optional description of the release-flow run. Example: "This is a description for the release-flow run." */
10260
10821
  'description'?: string;
10261
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARG_1":"value"} */
10822
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10262
10823
  'arguments'?: any;
10263
10824
  /** Overrides for specific reference values. This should be an object where each key corresponds to a ref defined in the template. The values of each of these keys should also be an object, where each key value pair provided will overwrite the value for that key in the given ref. For example, the value `{ 'example-ref': { 'branch': 'devel' } }` would set the `branch` field to `devel` for the node with ref `example-ref`. Example: {"example-ref":{"branch":"devel"}} */
10264
10825
  'overrides'?: any;
@@ -10329,7 +10890,7 @@ declare class ListReleaseflowrunsEndpoint extends GetApiEndpoint<ListReleaseflow
10329
10890
  type GetReleaseflowrunResult = {
10330
10891
  /** The version of the Northflank API to run the template against. Example: "v1" */
10331
10892
  'apiVersion': 'v1';
10332
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10893
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
10333
10894
  'arguments'?: any;
10334
10895
  'spec': any;
10335
10896
  'refs'?: any;
@@ -10377,7 +10938,7 @@ declare class GetReleaseflowrunEndpoint extends GetApiEndpoint<GetReleaseflowrun
10377
10938
  type AbortReleaseflowrunResult = {
10378
10939
  /** The version of the Northflank API to run the template against. Example: "v1" */
10379
10940
  'apiVersion': 'v1';
10380
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
10941
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
10381
10942
  'arguments'?: any;
10382
10943
  'spec': any;
10383
10944
  'refs'?: any;
@@ -11130,8 +11691,17 @@ type CreateServiceBuildResult = {
11130
11691
  /** An array of previously defined tags to help identify and group the resource. */
11131
11692
  'tags'?: string[];
11132
11693
  'billing': {
11133
- /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11134
- 'deploymentPlan': string;
11694
+ /** The ID of the deployment plan to use. (Deprecated - use buildPlan for build resources instead.). Example: "nf-compute-20" */
11695
+ 'deploymentPlan'?: string;
11696
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
11697
+ 'buildPlan'?: string;
11698
+ 'gpu'?: {
11699
+ 'enabled'?: boolean;
11700
+ 'configuration'?: {
11701
+ 'gpuType': string;
11702
+ 'timesliced'?: boolean;
11703
+ };
11704
+ };
11135
11705
  };
11136
11706
  /** Whether CI (continuous integration) should be disabled. */
11137
11707
  'disabledCI'?: boolean;
@@ -11148,6 +11718,12 @@ type CreateServiceBuildResult = {
11148
11718
  'vcsLinkId'?: string;
11149
11719
  };
11150
11720
  'buildSettings': {
11721
+ 'storage'?: {
11722
+ 'ephemeralStorage'?: {
11723
+ /** Ephemeral storage per build in MB Example: 16384 */
11724
+ 'storageSize'?: number;
11725
+ };
11726
+ };
11151
11727
  'dockerfile': {
11152
11728
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11153
11729
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11159,6 +11735,12 @@ type CreateServiceBuildResult = {
11159
11735
  'useCache'?: boolean;
11160
11736
  };
11161
11737
  } | {
11738
+ 'storage'?: {
11739
+ 'ephemeralStorage'?: {
11740
+ /** Ephemeral storage per build in MB Example: 16384 */
11741
+ 'storageSize'?: number;
11742
+ };
11743
+ };
11162
11744
  'buildpack': {
11163
11745
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
11164
11746
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -11190,6 +11772,12 @@ type CreateServiceBuildResult = {
11190
11772
  'includeGitFolder'?: boolean;
11191
11773
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
11192
11774
  'fullGitClone'?: boolean;
11775
+ 'storage'?: {
11776
+ 'ephemeralStorage'?: {
11777
+ /** Ephemeral storage per build in MB Example: 16384 */
11778
+ 'storageSize'?: number;
11779
+ };
11780
+ };
11193
11781
  };
11194
11782
  /** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
11195
11783
  'buildArguments'?: any;
@@ -11237,8 +11825,17 @@ type CreateServiceBuildData = {
11237
11825
  /** An array of previously defined tags to help identify and group the resource. */
11238
11826
  'tags'?: string[];
11239
11827
  'billing': {
11240
- /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11241
- 'deploymentPlan': string;
11828
+ /** The ID of the deployment plan to use. (Deprecated - use buildPlan for build resources instead.). Example: "nf-compute-20" */
11829
+ 'deploymentPlan'?: string;
11830
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
11831
+ 'buildPlan'?: string;
11832
+ 'gpu'?: {
11833
+ 'enabled'?: boolean;
11834
+ 'configuration'?: {
11835
+ 'gpuType': string;
11836
+ 'timesliced'?: boolean;
11837
+ };
11838
+ };
11242
11839
  };
11243
11840
  /** Whether CI (continuous integration) should be disabled. */
11244
11841
  'disabledCI'?: boolean;
@@ -11255,6 +11852,12 @@ type CreateServiceBuildData = {
11255
11852
  'vcsLinkId'?: string;
11256
11853
  };
11257
11854
  'buildSettings': {
11855
+ 'storage'?: {
11856
+ 'ephemeralStorage'?: {
11857
+ /** Ephemeral storage per build in MB Example: 16384 */
11858
+ 'storageSize'?: number;
11859
+ };
11860
+ };
11258
11861
  'dockerfile': {
11259
11862
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11260
11863
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11266,6 +11869,12 @@ type CreateServiceBuildData = {
11266
11869
  'useCache'?: boolean;
11267
11870
  };
11268
11871
  } | {
11872
+ 'storage'?: {
11873
+ 'ephemeralStorage'?: {
11874
+ /** Ephemeral storage per build in MB Example: 16384 */
11875
+ 'storageSize'?: number;
11876
+ };
11877
+ };
11269
11878
  'buildpack': {
11270
11879
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
11271
11880
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -11297,6 +11906,12 @@ type CreateServiceBuildData = {
11297
11906
  'includeGitFolder'?: boolean;
11298
11907
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
11299
11908
  'fullGitClone'?: boolean;
11909
+ 'storage'?: {
11910
+ 'ephemeralStorage'?: {
11911
+ /** Ephemeral storage per build in MB Example: 16384 */
11912
+ 'storageSize'?: number;
11913
+ };
11914
+ };
11300
11915
  };
11301
11916
  /** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
11302
11917
  'buildArguments'?: any;
@@ -11320,8 +11935,17 @@ type PutServiceBuildResult = {
11320
11935
  /** An array of previously defined tags to help identify and group the resource. */
11321
11936
  'tags'?: string[];
11322
11937
  'billing': {
11323
- /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11324
- 'deploymentPlan': string;
11938
+ /** The ID of the deployment plan to use. (Deprecated - use buildPlan for build resources instead.). Example: "nf-compute-20" */
11939
+ 'deploymentPlan'?: string;
11940
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
11941
+ 'buildPlan'?: string;
11942
+ 'gpu'?: {
11943
+ 'enabled'?: boolean;
11944
+ 'configuration'?: {
11945
+ 'gpuType': string;
11946
+ 'timesliced'?: boolean;
11947
+ };
11948
+ };
11325
11949
  };
11326
11950
  /** Whether CI (continuous integration) should be disabled. */
11327
11951
  'disabledCI'?: boolean;
@@ -11338,6 +11962,12 @@ type PutServiceBuildResult = {
11338
11962
  'vcsLinkId'?: string;
11339
11963
  };
11340
11964
  'buildSettings': {
11965
+ 'storage'?: {
11966
+ 'ephemeralStorage'?: {
11967
+ /** Ephemeral storage per build in MB Example: 16384 */
11968
+ 'storageSize'?: number;
11969
+ };
11970
+ };
11341
11971
  'dockerfile': {
11342
11972
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11343
11973
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11349,6 +11979,12 @@ type PutServiceBuildResult = {
11349
11979
  'useCache'?: boolean;
11350
11980
  };
11351
11981
  } | {
11982
+ 'storage'?: {
11983
+ 'ephemeralStorage'?: {
11984
+ /** Ephemeral storage per build in MB Example: 16384 */
11985
+ 'storageSize'?: number;
11986
+ };
11987
+ };
11352
11988
  'buildpack': {
11353
11989
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
11354
11990
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -11380,6 +12016,12 @@ type PutServiceBuildResult = {
11380
12016
  'includeGitFolder'?: boolean;
11381
12017
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
11382
12018
  'fullGitClone'?: boolean;
12019
+ 'storage'?: {
12020
+ 'ephemeralStorage'?: {
12021
+ /** Ephemeral storage per build in MB Example: 16384 */
12022
+ 'storageSize'?: number;
12023
+ };
12024
+ };
11383
12025
  };
11384
12026
  /** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
11385
12027
  'buildArguments'?: any;
@@ -11427,8 +12069,17 @@ type PutServiceBuildData = {
11427
12069
  /** An array of previously defined tags to help identify and group the resource. */
11428
12070
  'tags'?: string[];
11429
12071
  'billing': {
11430
- /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11431
- 'deploymentPlan': string;
12072
+ /** The ID of the deployment plan to use. (Deprecated - use buildPlan for build resources instead.). Example: "nf-compute-20" */
12073
+ 'deploymentPlan'?: string;
12074
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
12075
+ 'buildPlan'?: string;
12076
+ 'gpu'?: {
12077
+ 'enabled'?: boolean;
12078
+ 'configuration'?: {
12079
+ 'gpuType': string;
12080
+ 'timesliced'?: boolean;
12081
+ };
12082
+ };
11432
12083
  };
11433
12084
  /** Whether CI (continuous integration) should be disabled. */
11434
12085
  'disabledCI'?: boolean;
@@ -11445,6 +12096,12 @@ type PutServiceBuildData = {
11445
12096
  'vcsLinkId'?: string;
11446
12097
  };
11447
12098
  'buildSettings': {
12099
+ 'storage'?: {
12100
+ 'ephemeralStorage'?: {
12101
+ /** Ephemeral storage per build in MB Example: 16384 */
12102
+ 'storageSize'?: number;
12103
+ };
12104
+ };
11448
12105
  'dockerfile': {
11449
12106
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11450
12107
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11456,6 +12113,12 @@ type PutServiceBuildData = {
11456
12113
  'useCache'?: boolean;
11457
12114
  };
11458
12115
  } | {
12116
+ 'storage'?: {
12117
+ 'ephemeralStorage'?: {
12118
+ /** Ephemeral storage per build in MB Example: 16384 */
12119
+ 'storageSize'?: number;
12120
+ };
12121
+ };
11459
12122
  'buildpack': {
11460
12123
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
11461
12124
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -11487,6 +12150,12 @@ type PutServiceBuildData = {
11487
12150
  'includeGitFolder'?: boolean;
11488
12151
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
11489
12152
  'fullGitClone'?: boolean;
12153
+ 'storage'?: {
12154
+ 'ephemeralStorage'?: {
12155
+ /** Ephemeral storage per build in MB Example: 16384 */
12156
+ 'storageSize'?: number;
12157
+ };
12158
+ };
11490
12159
  };
11491
12160
  /** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
11492
12161
  'buildArguments'?: any;
@@ -11510,8 +12179,17 @@ type PatchServiceBuildResult = {
11510
12179
  /** An array of previously defined tags to help identify and group the resource. */
11511
12180
  'tags'?: string[];
11512
12181
  'billing': {
11513
- /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11514
- 'deploymentPlan': string;
12182
+ /** The ID of the deployment plan to use. (Deprecated - use buildPlan for build resources instead.). Example: "nf-compute-20" */
12183
+ 'deploymentPlan'?: string;
12184
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
12185
+ 'buildPlan'?: string;
12186
+ 'gpu'?: {
12187
+ 'enabled'?: boolean;
12188
+ 'configuration'?: {
12189
+ 'gpuType': string;
12190
+ 'timesliced'?: boolean;
12191
+ };
12192
+ };
11515
12193
  };
11516
12194
  /** Whether CI (continuous integration) should be disabled. */
11517
12195
  'disabledCI'?: boolean;
@@ -11528,6 +12206,12 @@ type PatchServiceBuildResult = {
11528
12206
  'vcsLinkId'?: string;
11529
12207
  };
11530
12208
  'buildSettings': {
12209
+ 'storage'?: {
12210
+ 'ephemeralStorage'?: {
12211
+ /** Ephemeral storage per build in MB Example: 16384 */
12212
+ 'storageSize'?: number;
12213
+ };
12214
+ };
11531
12215
  'dockerfile': {
11532
12216
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11533
12217
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11539,6 +12223,12 @@ type PatchServiceBuildResult = {
11539
12223
  'useCache'?: boolean;
11540
12224
  };
11541
12225
  } | {
12226
+ 'storage'?: {
12227
+ 'ephemeralStorage'?: {
12228
+ /** Ephemeral storage per build in MB Example: 16384 */
12229
+ 'storageSize'?: number;
12230
+ };
12231
+ };
11542
12232
  'buildpack': {
11543
12233
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
11544
12234
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -11570,6 +12260,12 @@ type PatchServiceBuildResult = {
11570
12260
  'includeGitFolder'?: boolean;
11571
12261
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
11572
12262
  'fullGitClone'?: boolean;
12263
+ 'storage'?: {
12264
+ 'ephemeralStorage'?: {
12265
+ /** Ephemeral storage per build in MB Example: 16384 */
12266
+ 'storageSize'?: number;
12267
+ };
12268
+ };
11573
12269
  };
11574
12270
  /** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
11575
12271
  'buildArguments'?: any;
@@ -11617,8 +12313,17 @@ type PatchServiceBuildData = {
11617
12313
  /** An array of previously defined tags to help identify and group the resource. */
11618
12314
  'tags'?: string[];
11619
12315
  'billing'?: {
11620
- /** The ID of the deployment plan to use. Example: "nf-compute-20" */
12316
+ /** The ID of the deployment plan to use. (Deprecated - use buildPlan for build resources instead.). Example: "nf-compute-20" */
11621
12317
  'deploymentPlan'?: string;
12318
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
12319
+ 'buildPlan'?: string;
12320
+ 'gpu'?: {
12321
+ 'enabled'?: boolean;
12322
+ 'configuration'?: {
12323
+ 'gpuType'?: string;
12324
+ 'timesliced'?: boolean;
12325
+ };
12326
+ };
11622
12327
  };
11623
12328
  /** Whether CI (continuous integration) should be disabled. */
11624
12329
  'disabledCI'?: boolean;
@@ -11635,6 +12340,12 @@ type PatchServiceBuildData = {
11635
12340
  'vcsLinkId'?: string;
11636
12341
  };
11637
12342
  'buildSettings'?: {
12343
+ 'storage'?: {
12344
+ 'ephemeralStorage'?: {
12345
+ /** Ephemeral storage per build in MB Example: 16384 */
12346
+ 'storageSize'?: number;
12347
+ };
12348
+ };
11638
12349
  'dockerfile'?: {
11639
12350
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11640
12351
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11669,7 +12380,19 @@ type PatchServiceBuildData = {
11669
12380
  'ciIgnoreFlagsEnabled'?: boolean;
11670
12381
  /** An array of commit ignore flags. If a commit message contains one or more of these flags, that commit will not be built. Defaults to `["[skip ci]", "[ci skip]", "[no ci]", "[skip nf]", "[nf skip]", "[northflank skip]", "[skip northflank]"]` Example: ["[skip ci]","[ci skip]","[no ci]","[skip nf]","[nf skip]","[northflank skip]","[skip northflank]"] */
11671
12382
  'ciIgnoreFlags'?: string[];
12383
+ /** If your Dockerfile contains multiple build stages, you can specify the target stage by entering its name here. */
12384
+ 'dockerfileTarget'?: string;
11672
12385
  'dockerCredentials'?: string[];
12386
+ /** Include .git folder inside the build context */
12387
+ 'includeGitFolder'?: boolean;
12388
+ /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
12389
+ 'fullGitClone'?: boolean;
12390
+ 'storage'?: {
12391
+ 'ephemeralStorage'?: {
12392
+ /** Ephemeral storage per build in MB Example: 16384 */
12393
+ 'storageSize'?: number;
12394
+ };
12395
+ };
11673
12396
  };
11674
12397
  /** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
11675
12398
  'buildArguments'?: any;
@@ -11695,9 +12418,18 @@ type CreateServiceCombinedResult = {
11695
12418
  'billing': {
11696
12419
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11697
12420
  'deploymentPlan': string;
12421
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
12422
+ 'buildPlan'?: string;
12423
+ 'gpu'?: {
12424
+ 'enabled'?: boolean;
12425
+ 'configuration'?: {
12426
+ 'gpuType': string;
12427
+ 'timesliced'?: boolean;
12428
+ };
12429
+ };
11698
12430
  };
11699
12431
  'ports'?: {
11700
- /** The name used to identify the port. Example: "port-1" */
12432
+ /** The name used to identify the port. Example: "p01" */
11701
12433
  'name': string;
11702
12434
  /** The port number. Example: 8080 */
11703
12435
  'internalPort': number;
@@ -11745,6 +12477,12 @@ type CreateServiceCombinedResult = {
11745
12477
  'projectBranch': string;
11746
12478
  };
11747
12479
  'buildSettings': {
12480
+ 'storage'?: {
12481
+ 'ephemeralStorage'?: {
12482
+ /** Ephemeral storage per build in MB Example: 16384 */
12483
+ 'storageSize'?: number;
12484
+ };
12485
+ };
11748
12486
  'dockerfile': {
11749
12487
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
11750
12488
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -11756,6 +12494,12 @@ type CreateServiceCombinedResult = {
11756
12494
  'useCache'?: boolean;
11757
12495
  };
11758
12496
  } | {
12497
+ 'storage'?: {
12498
+ 'ephemeralStorage'?: {
12499
+ /** Ephemeral storage per build in MB Example: 16384 */
12500
+ 'storageSize'?: number;
12501
+ };
12502
+ };
11759
12503
  'buildpack': {
11760
12504
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
11761
12505
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -11783,6 +12527,12 @@ type CreateServiceCombinedResult = {
11783
12527
  'includeGitFolder'?: boolean;
11784
12528
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
11785
12529
  'fullGitClone'?: boolean;
12530
+ 'storage'?: {
12531
+ 'ephemeralStorage'?: {
12532
+ /** Ephemeral storage per build in MB Example: 16384 */
12533
+ 'storageSize'?: number;
12534
+ };
12535
+ };
11786
12536
  };
11787
12537
  /** An object containing the runtime environment to set for the service. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
11788
12538
  'runtimeEnvironment'?: any;
@@ -11878,7 +12628,7 @@ type CreateServiceCombinedResult = {
11878
12628
  /** Ephemeral storage per container in MB Example: 1024 */
11879
12629
  'storageSize'?: number;
11880
12630
  };
11881
- /** shm size per container in MB */
12631
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
11882
12632
  'shmSize'?: number;
11883
12633
  };
11884
12634
  'strategy'?: {
@@ -11887,6 +12637,15 @@ type CreateServiceCombinedResult = {
11887
12637
  };
11888
12638
  /** Defines scheduling behaviour across different zones within the same region. */
11889
12639
  'zonalRedundancy'?: 'preferred' | 'disabled';
12640
+ 'gpu'?: {
12641
+ 'enabled'?: boolean;
12642
+ 'configuration'?: {
12643
+ 'gpuType': string;
12644
+ 'timesliced'?: boolean;
12645
+ };
12646
+ };
12647
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
12648
+ 'gracePeriodSeconds'?: number;
11890
12649
  /** Image registry url of the deployed image. */
11891
12650
  'imageUrl'?: string;
11892
12651
  };
@@ -11941,6 +12700,15 @@ type CreateServiceCombinedData = {
11941
12700
  'billing': {
11942
12701
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
11943
12702
  'deploymentPlan': string;
12703
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
12704
+ 'buildPlan'?: string;
12705
+ 'gpu'?: {
12706
+ 'enabled'?: boolean;
12707
+ 'configuration'?: {
12708
+ 'gpuType': string;
12709
+ 'timesliced'?: boolean;
12710
+ };
12711
+ };
11944
12712
  };
11945
12713
  'deployment': {
11946
12714
  /** The number of instances to run the service on. Example: 1 */
@@ -11970,7 +12738,7 @@ type CreateServiceCombinedData = {
11970
12738
  /** Ephemeral storage per container in MB Example: 1024 */
11971
12739
  'storageSize'?: number;
11972
12740
  };
11973
- /** shm size per container in MB */
12741
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
11974
12742
  'shmSize'?: number;
11975
12743
  };
11976
12744
  'strategy'?: {
@@ -11979,9 +12747,18 @@ type CreateServiceCombinedData = {
11979
12747
  };
11980
12748
  /** Defines scheduling behaviour across different zones within the same region. */
11981
12749
  'zonalRedundancy'?: 'preferred' | 'disabled';
12750
+ 'gpu'?: {
12751
+ 'enabled'?: boolean;
12752
+ 'configuration'?: {
12753
+ 'gpuType': string;
12754
+ 'timesliced'?: boolean;
12755
+ };
12756
+ };
12757
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
12758
+ 'gracePeriodSeconds'?: number;
11982
12759
  };
11983
12760
  'ports'?: {
11984
- /** The name used to identify the port. Example: "port-1" */
12761
+ /** The name used to identify the port. Example: "p01" */
11985
12762
  'name': string;
11986
12763
  /** The port number. Example: 8080 */
11987
12764
  'internalPort': number;
@@ -12029,6 +12806,12 @@ type CreateServiceCombinedData = {
12029
12806
  'projectBranch': string;
12030
12807
  };
12031
12808
  'buildSettings': {
12809
+ 'storage'?: {
12810
+ 'ephemeralStorage'?: {
12811
+ /** Ephemeral storage per build in MB Example: 16384 */
12812
+ 'storageSize'?: number;
12813
+ };
12814
+ };
12032
12815
  'dockerfile': {
12033
12816
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
12034
12817
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -12040,6 +12823,12 @@ type CreateServiceCombinedData = {
12040
12823
  'useCache'?: boolean;
12041
12824
  };
12042
12825
  } | {
12826
+ 'storage'?: {
12827
+ 'ephemeralStorage'?: {
12828
+ /** Ephemeral storage per build in MB Example: 16384 */
12829
+ 'storageSize'?: number;
12830
+ };
12831
+ };
12043
12832
  'buildpack': {
12044
12833
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
12045
12834
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -12067,6 +12856,12 @@ type CreateServiceCombinedData = {
12067
12856
  'includeGitFolder'?: boolean;
12068
12857
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
12069
12858
  'fullGitClone'?: boolean;
12859
+ 'storage'?: {
12860
+ 'ephemeralStorage'?: {
12861
+ /** Ephemeral storage per build in MB Example: 16384 */
12862
+ 'storageSize'?: number;
12863
+ };
12864
+ };
12070
12865
  };
12071
12866
  /** An object containing the runtime environment to set for the service. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
12072
12867
  'runtimeEnvironment'?: any;
@@ -12149,9 +12944,18 @@ type PutServiceCombinedResult = {
12149
12944
  'billing': {
12150
12945
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
12151
12946
  'deploymentPlan': string;
12947
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
12948
+ 'buildPlan'?: string;
12949
+ 'gpu'?: {
12950
+ 'enabled'?: boolean;
12951
+ 'configuration'?: {
12952
+ 'gpuType': string;
12953
+ 'timesliced'?: boolean;
12954
+ };
12955
+ };
12152
12956
  };
12153
12957
  'ports'?: {
12154
- /** The name used to identify the port. Example: "port-1" */
12958
+ /** The name used to identify the port. Example: "p01" */
12155
12959
  'name': string;
12156
12960
  /** The port number. Example: 8080 */
12157
12961
  'internalPort': number;
@@ -12199,6 +13003,12 @@ type PutServiceCombinedResult = {
12199
13003
  'projectBranch': string;
12200
13004
  };
12201
13005
  'buildSettings': {
13006
+ 'storage'?: {
13007
+ 'ephemeralStorage'?: {
13008
+ /** Ephemeral storage per build in MB Example: 16384 */
13009
+ 'storageSize'?: number;
13010
+ };
13011
+ };
12202
13012
  'dockerfile': {
12203
13013
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
12204
13014
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -12210,6 +13020,12 @@ type PutServiceCombinedResult = {
12210
13020
  'useCache'?: boolean;
12211
13021
  };
12212
13022
  } | {
13023
+ 'storage'?: {
13024
+ 'ephemeralStorage'?: {
13025
+ /** Ephemeral storage per build in MB Example: 16384 */
13026
+ 'storageSize'?: number;
13027
+ };
13028
+ };
12213
13029
  'buildpack': {
12214
13030
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
12215
13031
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -12237,6 +13053,12 @@ type PutServiceCombinedResult = {
12237
13053
  'includeGitFolder'?: boolean;
12238
13054
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
12239
13055
  'fullGitClone'?: boolean;
13056
+ 'storage'?: {
13057
+ 'ephemeralStorage'?: {
13058
+ /** Ephemeral storage per build in MB Example: 16384 */
13059
+ 'storageSize'?: number;
13060
+ };
13061
+ };
12240
13062
  };
12241
13063
  /** An object containing the runtime environment to set for the service. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
12242
13064
  'runtimeEnvironment'?: any;
@@ -12332,7 +13154,7 @@ type PutServiceCombinedResult = {
12332
13154
  /** Ephemeral storage per container in MB Example: 1024 */
12333
13155
  'storageSize'?: number;
12334
13156
  };
12335
- /** shm size per container in MB */
13157
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
12336
13158
  'shmSize'?: number;
12337
13159
  };
12338
13160
  'strategy'?: {
@@ -12341,6 +13163,15 @@ type PutServiceCombinedResult = {
12341
13163
  };
12342
13164
  /** Defines scheduling behaviour across different zones within the same region. */
12343
13165
  'zonalRedundancy'?: 'preferred' | 'disabled';
13166
+ 'gpu'?: {
13167
+ 'enabled'?: boolean;
13168
+ 'configuration'?: {
13169
+ 'gpuType': string;
13170
+ 'timesliced'?: boolean;
13171
+ };
13172
+ };
13173
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
13174
+ 'gracePeriodSeconds'?: number;
12344
13175
  /** Image registry url of the deployed image. */
12345
13176
  'imageUrl'?: string;
12346
13177
  };
@@ -12395,6 +13226,15 @@ type PutServiceCombinedData = {
12395
13226
  'billing': {
12396
13227
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
12397
13228
  'deploymentPlan': string;
13229
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
13230
+ 'buildPlan'?: string;
13231
+ 'gpu'?: {
13232
+ 'enabled'?: boolean;
13233
+ 'configuration'?: {
13234
+ 'gpuType': string;
13235
+ 'timesliced'?: boolean;
13236
+ };
13237
+ };
12398
13238
  };
12399
13239
  'deployment': {
12400
13240
  /** The number of instances to run the service on. Example: 1 */
@@ -12424,7 +13264,7 @@ type PutServiceCombinedData = {
12424
13264
  /** Ephemeral storage per container in MB Example: 1024 */
12425
13265
  'storageSize'?: number;
12426
13266
  };
12427
- /** shm size per container in MB */
13267
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
12428
13268
  'shmSize'?: number;
12429
13269
  };
12430
13270
  'strategy'?: {
@@ -12433,9 +13273,18 @@ type PutServiceCombinedData = {
12433
13273
  };
12434
13274
  /** Defines scheduling behaviour across different zones within the same region. */
12435
13275
  'zonalRedundancy'?: 'preferred' | 'disabled';
13276
+ 'gpu'?: {
13277
+ 'enabled'?: boolean;
13278
+ 'configuration'?: {
13279
+ 'gpuType': string;
13280
+ 'timesliced'?: boolean;
13281
+ };
13282
+ };
13283
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
13284
+ 'gracePeriodSeconds'?: number;
12436
13285
  };
12437
13286
  'ports'?: {
12438
- /** The name used to identify the port. Example: "port-1" */
13287
+ /** The name used to identify the port. Example: "p01" */
12439
13288
  'name': string;
12440
13289
  /** The port number. Example: 8080 */
12441
13290
  'internalPort': number;
@@ -12483,6 +13332,12 @@ type PutServiceCombinedData = {
12483
13332
  'projectBranch': string;
12484
13333
  };
12485
13334
  'buildSettings': {
13335
+ 'storage'?: {
13336
+ 'ephemeralStorage'?: {
13337
+ /** Ephemeral storage per build in MB Example: 16384 */
13338
+ 'storageSize'?: number;
13339
+ };
13340
+ };
12486
13341
  'dockerfile': {
12487
13342
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
12488
13343
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -12494,6 +13349,12 @@ type PutServiceCombinedData = {
12494
13349
  'useCache'?: boolean;
12495
13350
  };
12496
13351
  } | {
13352
+ 'storage'?: {
13353
+ 'ephemeralStorage'?: {
13354
+ /** Ephemeral storage per build in MB Example: 16384 */
13355
+ 'storageSize'?: number;
13356
+ };
13357
+ };
12497
13358
  'buildpack': {
12498
13359
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
12499
13360
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -12521,6 +13382,12 @@ type PutServiceCombinedData = {
12521
13382
  'includeGitFolder'?: boolean;
12522
13383
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
12523
13384
  'fullGitClone'?: boolean;
13385
+ 'storage'?: {
13386
+ 'ephemeralStorage'?: {
13387
+ /** Ephemeral storage per build in MB Example: 16384 */
13388
+ 'storageSize'?: number;
13389
+ };
13390
+ };
12524
13391
  };
12525
13392
  /** An object containing the runtime environment to set for the service. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
12526
13393
  'runtimeEnvironment'?: any;
@@ -12603,9 +13470,18 @@ type PatchServiceCombinedResult = {
12603
13470
  'billing': {
12604
13471
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
12605
13472
  'deploymentPlan': string;
13473
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
13474
+ 'buildPlan'?: string;
13475
+ 'gpu'?: {
13476
+ 'enabled'?: boolean;
13477
+ 'configuration'?: {
13478
+ 'gpuType': string;
13479
+ 'timesliced'?: boolean;
13480
+ };
13481
+ };
12606
13482
  };
12607
13483
  'ports'?: {
12608
- /** The name used to identify the port. Example: "port-1" */
13484
+ /** The name used to identify the port. Example: "p01" */
12609
13485
  'name': string;
12610
13486
  /** The port number. Example: 8080 */
12611
13487
  'internalPort': number;
@@ -12653,6 +13529,12 @@ type PatchServiceCombinedResult = {
12653
13529
  'projectBranch': string;
12654
13530
  };
12655
13531
  'buildSettings': {
13532
+ 'storage'?: {
13533
+ 'ephemeralStorage'?: {
13534
+ /** Ephemeral storage per build in MB Example: 16384 */
13535
+ 'storageSize'?: number;
13536
+ };
13537
+ };
12656
13538
  'dockerfile': {
12657
13539
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
12658
13540
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -12664,6 +13546,12 @@ type PatchServiceCombinedResult = {
12664
13546
  'useCache'?: boolean;
12665
13547
  };
12666
13548
  } | {
13549
+ 'storage'?: {
13550
+ 'ephemeralStorage'?: {
13551
+ /** Ephemeral storage per build in MB Example: 16384 */
13552
+ 'storageSize'?: number;
13553
+ };
13554
+ };
12667
13555
  'buildpack': {
12668
13556
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
12669
13557
  'builder'?: 'HEROKU_22' | 'HEROKU_22_CLASSIC' | 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
@@ -12691,6 +13579,12 @@ type PatchServiceCombinedResult = {
12691
13579
  'includeGitFolder'?: boolean;
12692
13580
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
12693
13581
  'fullGitClone'?: boolean;
13582
+ 'storage'?: {
13583
+ 'ephemeralStorage'?: {
13584
+ /** Ephemeral storage per build in MB Example: 16384 */
13585
+ 'storageSize'?: number;
13586
+ };
13587
+ };
12694
13588
  };
12695
13589
  /** An object containing the runtime environment to set for the service. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
12696
13590
  'runtimeEnvironment'?: any;
@@ -12786,7 +13680,7 @@ type PatchServiceCombinedResult = {
12786
13680
  /** Ephemeral storage per container in MB Example: 1024 */
12787
13681
  'storageSize'?: number;
12788
13682
  };
12789
- /** shm size per container in MB */
13683
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
12790
13684
  'shmSize'?: number;
12791
13685
  };
12792
13686
  'strategy'?: {
@@ -12795,6 +13689,15 @@ type PatchServiceCombinedResult = {
12795
13689
  };
12796
13690
  /** Defines scheduling behaviour across different zones within the same region. */
12797
13691
  'zonalRedundancy'?: 'preferred' | 'disabled';
13692
+ 'gpu'?: {
13693
+ 'enabled'?: boolean;
13694
+ 'configuration'?: {
13695
+ 'gpuType': string;
13696
+ 'timesliced'?: boolean;
13697
+ };
13698
+ };
13699
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
13700
+ 'gracePeriodSeconds'?: number;
12798
13701
  /** Image registry url of the deployed image. */
12799
13702
  'imageUrl'?: string;
12800
13703
  };
@@ -12849,6 +13752,15 @@ type PatchServiceCombinedData = {
12849
13752
  'billing'?: {
12850
13753
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
12851
13754
  'deploymentPlan'?: string;
13755
+ /** The ID of the build plan to use. Example: "nf-compute-200-8" */
13756
+ 'buildPlan'?: string;
13757
+ 'gpu'?: {
13758
+ 'enabled'?: boolean;
13759
+ 'configuration'?: {
13760
+ 'gpuType'?: string;
13761
+ 'timesliced'?: boolean;
13762
+ };
13763
+ };
12852
13764
  };
12853
13765
  'deployment'?: {
12854
13766
  /** The number of instances to run the service on. Example: 1 */
@@ -12869,7 +13781,7 @@ type PatchServiceCombinedData = {
12869
13781
  /** Ephemeral storage per container in MB Example: 1024 */
12870
13782
  'storageSize'?: number;
12871
13783
  };
12872
- /** shm size per container in MB */
13784
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
12873
13785
  'shmSize'?: number;
12874
13786
  };
12875
13787
  'strategy'?: {
@@ -12878,9 +13790,18 @@ type PatchServiceCombinedData = {
12878
13790
  };
12879
13791
  /** Defines scheduling behaviour across different zones within the same region. */
12880
13792
  'zonalRedundancy'?: 'preferred' | 'disabled';
13793
+ 'gpu'?: {
13794
+ 'enabled'?: boolean;
13795
+ 'configuration'?: {
13796
+ 'gpuType'?: string;
13797
+ 'timesliced'?: boolean;
13798
+ };
13799
+ };
13800
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
13801
+ 'gracePeriodSeconds'?: number;
12881
13802
  };
12882
13803
  'ports'?: {
12883
- /** The name used to identify the port. Example: "port-1" */
13804
+ /** The name used to identify the port. Example: "p01" */
12884
13805
  'name': string;
12885
13806
  /** The port number. Example: 8080 */
12886
13807
  'internalPort': number;
@@ -12928,6 +13849,12 @@ type PatchServiceCombinedData = {
12928
13849
  'projectBranch'?: string;
12929
13850
  };
12930
13851
  'buildSettings'?: {
13852
+ 'storage'?: {
13853
+ 'ephemeralStorage'?: {
13854
+ /** Ephemeral storage per build in MB Example: 16384 */
13855
+ 'storageSize'?: number;
13856
+ };
13857
+ };
12931
13858
  'dockerfile'?: {
12932
13859
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
12933
13860
  'buildEngine'?: 'kaniko' | 'buildkit';
@@ -12958,7 +13885,19 @@ type PatchServiceCombinedData = {
12958
13885
  'ciIgnoreFlagsEnabled'?: boolean;
12959
13886
  /** An array of commit ignore flags. If a commit message contains one or more of these flags, that commit will not be built. Defaults to `["[skip ci]", "[ci skip]", "[no ci]", "[skip nf]", "[nf skip]", "[northflank skip]", "[skip northflank]"]` Example: ["[skip ci]","[ci skip]","[no ci]","[skip nf]","[nf skip]","[northflank skip]","[skip northflank]"] */
12960
13887
  'ciIgnoreFlags'?: string[];
13888
+ /** If your Dockerfile contains multiple build stages, you can specify the target stage by entering its name here. */
13889
+ 'dockerfileTarget'?: string;
12961
13890
  'dockerCredentials'?: string[];
13891
+ /** Include .git folder inside the build context */
13892
+ 'includeGitFolder'?: boolean;
13893
+ /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
13894
+ 'fullGitClone'?: boolean;
13895
+ 'storage'?: {
13896
+ 'ephemeralStorage'?: {
13897
+ /** Ephemeral storage per build in MB Example: 16384 */
13898
+ 'storageSize'?: number;
13899
+ };
13900
+ };
12962
13901
  };
12963
13902
  /** An object containing the runtime environment to set for the service. Keys may only contain letters, numbers, hyphens, forward slashes and dots. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
12964
13903
  'runtimeEnvironment'?: any;
@@ -13039,9 +13978,16 @@ type CreateServiceDeploymentResult = {
13039
13978
  'billing': {
13040
13979
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
13041
13980
  'deploymentPlan': string;
13981
+ 'gpu'?: {
13982
+ 'enabled'?: boolean;
13983
+ 'configuration'?: {
13984
+ 'gpuType': string;
13985
+ 'timesliced'?: boolean;
13986
+ };
13987
+ };
13042
13988
  };
13043
13989
  'ports'?: {
13044
- /** The name used to identify the port. Example: "port-1" */
13990
+ /** The name used to identify the port. Example: "p01" */
13045
13991
  'name': string;
13046
13992
  /** The port number. Example: 8080 */
13047
13993
  'internalPort': number;
@@ -13162,7 +14108,7 @@ type CreateServiceDeploymentResult = {
13162
14108
  /** Ephemeral storage per container in MB Example: 1024 */
13163
14109
  'storageSize'?: number;
13164
14110
  };
13165
- /** shm size per container in MB */
14111
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13166
14112
  'shmSize'?: number;
13167
14113
  };
13168
14114
  'strategy'?: {
@@ -13171,6 +14117,15 @@ type CreateServiceDeploymentResult = {
13171
14117
  };
13172
14118
  /** Defines scheduling behaviour across different zones within the same region. */
13173
14119
  'zonalRedundancy'?: 'preferred' | 'disabled';
14120
+ 'gpu'?: {
14121
+ 'enabled'?: boolean;
14122
+ 'configuration'?: {
14123
+ 'gpuType': string;
14124
+ 'timesliced'?: boolean;
14125
+ };
14126
+ };
14127
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14128
+ 'gracePeriodSeconds'?: number;
13174
14129
  'internal'?: {
13175
14130
  /** ID of the build service to deploy Example: "example-build-service" */
13176
14131
  'id'?: string;
@@ -13234,6 +14189,13 @@ type CreateServiceDeploymentData = {
13234
14189
  'billing': {
13235
14190
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
13236
14191
  'deploymentPlan': string;
14192
+ 'gpu'?: {
14193
+ 'enabled'?: boolean;
14194
+ 'configuration'?: {
14195
+ 'gpuType': string;
14196
+ 'timesliced'?: boolean;
14197
+ };
14198
+ };
13237
14199
  };
13238
14200
  /** Deployment type */
13239
14201
  'deployment': {
@@ -13264,7 +14226,7 @@ type CreateServiceDeploymentData = {
13264
14226
  /** Ephemeral storage per container in MB Example: 1024 */
13265
14227
  'storageSize'?: number;
13266
14228
  };
13267
- /** shm size per container in MB */
14229
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13268
14230
  'shmSize'?: number;
13269
14231
  };
13270
14232
  'strategy'?: {
@@ -13273,6 +14235,15 @@ type CreateServiceDeploymentData = {
13273
14235
  };
13274
14236
  /** Defines scheduling behaviour across different zones within the same region. */
13275
14237
  'zonalRedundancy'?: 'preferred' | 'disabled';
14238
+ 'gpu'?: {
14239
+ 'enabled'?: boolean;
14240
+ 'configuration'?: {
14241
+ 'gpuType': string;
14242
+ 'timesliced'?: boolean;
14243
+ };
14244
+ };
14245
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14246
+ 'gracePeriodSeconds'?: number;
13276
14247
  'internal': {
13277
14248
  /** ID of the build service to deploy Example: "example-build-service" */
13278
14249
  'id'?: string;
@@ -13311,7 +14282,7 @@ type CreateServiceDeploymentData = {
13311
14282
  /** Ephemeral storage per container in MB Example: 1024 */
13312
14283
  'storageSize'?: number;
13313
14284
  };
13314
- /** shm size per container in MB */
14285
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13315
14286
  'shmSize'?: number;
13316
14287
  };
13317
14288
  'strategy'?: {
@@ -13320,6 +14291,15 @@ type CreateServiceDeploymentData = {
13320
14291
  };
13321
14292
  /** Defines scheduling behaviour across different zones within the same region. */
13322
14293
  'zonalRedundancy'?: 'preferred' | 'disabled';
14294
+ 'gpu'?: {
14295
+ 'enabled'?: boolean;
14296
+ 'configuration'?: {
14297
+ 'gpuType': string;
14298
+ 'timesliced'?: boolean;
14299
+ };
14300
+ };
14301
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14302
+ 'gracePeriodSeconds'?: number;
13323
14303
  'external': {
13324
14304
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
13325
14305
  'imagePath': string;
@@ -13354,7 +14334,7 @@ type CreateServiceDeploymentData = {
13354
14334
  /** Ephemeral storage per container in MB Example: 1024 */
13355
14335
  'storageSize'?: number;
13356
14336
  };
13357
- /** shm size per container in MB */
14337
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13358
14338
  'shmSize'?: number;
13359
14339
  };
13360
14340
  'strategy'?: {
@@ -13363,9 +14343,18 @@ type CreateServiceDeploymentData = {
13363
14343
  };
13364
14344
  /** Defines scheduling behaviour across different zones within the same region. */
13365
14345
  'zonalRedundancy'?: 'preferred' | 'disabled';
14346
+ 'gpu'?: {
14347
+ 'enabled'?: boolean;
14348
+ 'configuration'?: {
14349
+ 'gpuType': string;
14350
+ 'timesliced'?: boolean;
14351
+ };
14352
+ };
14353
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14354
+ 'gracePeriodSeconds'?: number;
13366
14355
  };
13367
14356
  'ports'?: {
13368
- /** The name used to identify the port. Example: "port-1" */
14357
+ /** The name used to identify the port. Example: "p01" */
13369
14358
  'name': string;
13370
14359
  /** The port number. Example: 8080 */
13371
14360
  'internalPort': number;
@@ -13473,9 +14462,16 @@ type PutServiceDeploymentResult = {
13473
14462
  'billing': {
13474
14463
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
13475
14464
  'deploymentPlan': string;
14465
+ 'gpu'?: {
14466
+ 'enabled'?: boolean;
14467
+ 'configuration'?: {
14468
+ 'gpuType': string;
14469
+ 'timesliced'?: boolean;
14470
+ };
14471
+ };
13476
14472
  };
13477
14473
  'ports'?: {
13478
- /** The name used to identify the port. Example: "port-1" */
14474
+ /** The name used to identify the port. Example: "p01" */
13479
14475
  'name': string;
13480
14476
  /** The port number. Example: 8080 */
13481
14477
  'internalPort': number;
@@ -13596,7 +14592,7 @@ type PutServiceDeploymentResult = {
13596
14592
  /** Ephemeral storage per container in MB Example: 1024 */
13597
14593
  'storageSize'?: number;
13598
14594
  };
13599
- /** shm size per container in MB */
14595
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13600
14596
  'shmSize'?: number;
13601
14597
  };
13602
14598
  'strategy'?: {
@@ -13605,6 +14601,15 @@ type PutServiceDeploymentResult = {
13605
14601
  };
13606
14602
  /** Defines scheduling behaviour across different zones within the same region. */
13607
14603
  'zonalRedundancy'?: 'preferred' | 'disabled';
14604
+ 'gpu'?: {
14605
+ 'enabled'?: boolean;
14606
+ 'configuration'?: {
14607
+ 'gpuType': string;
14608
+ 'timesliced'?: boolean;
14609
+ };
14610
+ };
14611
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14612
+ 'gracePeriodSeconds'?: number;
13608
14613
  'internal'?: {
13609
14614
  /** ID of the build service to deploy Example: "example-build-service" */
13610
14615
  'id'?: string;
@@ -13668,6 +14673,13 @@ type PutServiceDeploymentData = {
13668
14673
  'billing': {
13669
14674
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
13670
14675
  'deploymentPlan': string;
14676
+ 'gpu'?: {
14677
+ 'enabled'?: boolean;
14678
+ 'configuration'?: {
14679
+ 'gpuType': string;
14680
+ 'timesliced'?: boolean;
14681
+ };
14682
+ };
13671
14683
  };
13672
14684
  /** Deployment type */
13673
14685
  'deployment': {
@@ -13698,7 +14710,7 @@ type PutServiceDeploymentData = {
13698
14710
  /** Ephemeral storage per container in MB Example: 1024 */
13699
14711
  'storageSize'?: number;
13700
14712
  };
13701
- /** shm size per container in MB */
14713
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13702
14714
  'shmSize'?: number;
13703
14715
  };
13704
14716
  'strategy'?: {
@@ -13707,6 +14719,15 @@ type PutServiceDeploymentData = {
13707
14719
  };
13708
14720
  /** Defines scheduling behaviour across different zones within the same region. */
13709
14721
  'zonalRedundancy'?: 'preferred' | 'disabled';
14722
+ 'gpu'?: {
14723
+ 'enabled'?: boolean;
14724
+ 'configuration'?: {
14725
+ 'gpuType': string;
14726
+ 'timesliced'?: boolean;
14727
+ };
14728
+ };
14729
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14730
+ 'gracePeriodSeconds'?: number;
13710
14731
  'internal': {
13711
14732
  /** ID of the build service to deploy Example: "example-build-service" */
13712
14733
  'id'?: string;
@@ -13745,7 +14766,7 @@ type PutServiceDeploymentData = {
13745
14766
  /** Ephemeral storage per container in MB Example: 1024 */
13746
14767
  'storageSize'?: number;
13747
14768
  };
13748
- /** shm size per container in MB */
14769
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13749
14770
  'shmSize'?: number;
13750
14771
  };
13751
14772
  'strategy'?: {
@@ -13754,6 +14775,15 @@ type PutServiceDeploymentData = {
13754
14775
  };
13755
14776
  /** Defines scheduling behaviour across different zones within the same region. */
13756
14777
  'zonalRedundancy'?: 'preferred' | 'disabled';
14778
+ 'gpu'?: {
14779
+ 'enabled'?: boolean;
14780
+ 'configuration'?: {
14781
+ 'gpuType': string;
14782
+ 'timesliced'?: boolean;
14783
+ };
14784
+ };
14785
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14786
+ 'gracePeriodSeconds'?: number;
13757
14787
  'external': {
13758
14788
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
13759
14789
  'imagePath': string;
@@ -13788,7 +14818,7 @@ type PutServiceDeploymentData = {
13788
14818
  /** Ephemeral storage per container in MB Example: 1024 */
13789
14819
  'storageSize'?: number;
13790
14820
  };
13791
- /** shm size per container in MB */
14821
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
13792
14822
  'shmSize'?: number;
13793
14823
  };
13794
14824
  'strategy'?: {
@@ -13797,9 +14827,18 @@ type PutServiceDeploymentData = {
13797
14827
  };
13798
14828
  /** Defines scheduling behaviour across different zones within the same region. */
13799
14829
  'zonalRedundancy'?: 'preferred' | 'disabled';
14830
+ 'gpu'?: {
14831
+ 'enabled'?: boolean;
14832
+ 'configuration'?: {
14833
+ 'gpuType': string;
14834
+ 'timesliced'?: boolean;
14835
+ };
14836
+ };
14837
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
14838
+ 'gracePeriodSeconds'?: number;
13800
14839
  };
13801
14840
  'ports'?: {
13802
- /** The name used to identify the port. Example: "port-1" */
14841
+ /** The name used to identify the port. Example: "p01" */
13803
14842
  'name': string;
13804
14843
  /** The port number. Example: 8080 */
13805
14844
  'internalPort': number;
@@ -13907,9 +14946,16 @@ type PatchServiceDeploymentResult = {
13907
14946
  'billing': {
13908
14947
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
13909
14948
  'deploymentPlan': string;
14949
+ 'gpu'?: {
14950
+ 'enabled'?: boolean;
14951
+ 'configuration'?: {
14952
+ 'gpuType': string;
14953
+ 'timesliced'?: boolean;
14954
+ };
14955
+ };
13910
14956
  };
13911
14957
  'ports'?: {
13912
- /** The name used to identify the port. Example: "port-1" */
14958
+ /** The name used to identify the port. Example: "p01" */
13913
14959
  'name': string;
13914
14960
  /** The port number. Example: 8080 */
13915
14961
  'internalPort': number;
@@ -14030,7 +15076,7 @@ type PatchServiceDeploymentResult = {
14030
15076
  /** Ephemeral storage per container in MB Example: 1024 */
14031
15077
  'storageSize'?: number;
14032
15078
  };
14033
- /** shm size per container in MB */
15079
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
14034
15080
  'shmSize'?: number;
14035
15081
  };
14036
15082
  'strategy'?: {
@@ -14039,6 +15085,15 @@ type PatchServiceDeploymentResult = {
14039
15085
  };
14040
15086
  /** Defines scheduling behaviour across different zones within the same region. */
14041
15087
  'zonalRedundancy'?: 'preferred' | 'disabled';
15088
+ 'gpu'?: {
15089
+ 'enabled'?: boolean;
15090
+ 'configuration'?: {
15091
+ 'gpuType': string;
15092
+ 'timesliced'?: boolean;
15093
+ };
15094
+ };
15095
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
15096
+ 'gracePeriodSeconds'?: number;
14042
15097
  'internal'?: {
14043
15098
  /** ID of the build service to deploy Example: "example-build-service" */
14044
15099
  'id'?: string;
@@ -14102,6 +15157,13 @@ type PatchServiceDeploymentData = {
14102
15157
  'billing'?: {
14103
15158
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
14104
15159
  'deploymentPlan'?: string;
15160
+ 'gpu'?: {
15161
+ 'enabled'?: boolean;
15162
+ 'configuration'?: {
15163
+ 'gpuType'?: string;
15164
+ 'timesliced'?: boolean;
15165
+ };
15166
+ };
14105
15167
  };
14106
15168
  /** Deployment type */
14107
15169
  'deployment'?: {
@@ -14132,7 +15194,7 @@ type PatchServiceDeploymentData = {
14132
15194
  /** Ephemeral storage per container in MB Example: 1024 */
14133
15195
  'storageSize'?: number;
14134
15196
  };
14135
- /** shm size per container in MB */
15197
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
14136
15198
  'shmSize'?: number;
14137
15199
  };
14138
15200
  'strategy'?: {
@@ -14141,6 +15203,15 @@ type PatchServiceDeploymentData = {
14141
15203
  };
14142
15204
  /** Defines scheduling behaviour across different zones within the same region. */
14143
15205
  'zonalRedundancy'?: 'preferred' | 'disabled';
15206
+ 'gpu'?: {
15207
+ 'enabled'?: boolean;
15208
+ 'configuration'?: {
15209
+ 'gpuType': string;
15210
+ 'timesliced'?: boolean;
15211
+ };
15212
+ };
15213
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
15214
+ 'gracePeriodSeconds'?: number;
14144
15215
  'internal': {
14145
15216
  /** ID of the build service to deploy Example: "example-build-service" */
14146
15217
  'id'?: string;
@@ -14179,7 +15250,7 @@ type PatchServiceDeploymentData = {
14179
15250
  /** Ephemeral storage per container in MB Example: 1024 */
14180
15251
  'storageSize'?: number;
14181
15252
  };
14182
- /** shm size per container in MB */
15253
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
14183
15254
  'shmSize'?: number;
14184
15255
  };
14185
15256
  'strategy'?: {
@@ -14188,6 +15259,15 @@ type PatchServiceDeploymentData = {
14188
15259
  };
14189
15260
  /** Defines scheduling behaviour across different zones within the same region. */
14190
15261
  'zonalRedundancy'?: 'preferred' | 'disabled';
15262
+ 'gpu'?: {
15263
+ 'enabled'?: boolean;
15264
+ 'configuration'?: {
15265
+ 'gpuType': string;
15266
+ 'timesliced'?: boolean;
15267
+ };
15268
+ };
15269
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
15270
+ 'gracePeriodSeconds'?: number;
14191
15271
  'external': {
14192
15272
  /** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
14193
15273
  'imagePath': string;
@@ -14222,7 +15302,7 @@ type PatchServiceDeploymentData = {
14222
15302
  /** Ephemeral storage per container in MB Example: 1024 */
14223
15303
  'storageSize'?: number;
14224
15304
  };
14225
- /** shm size per container in MB */
15305
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
14226
15306
  'shmSize'?: number;
14227
15307
  };
14228
15308
  'strategy'?: {
@@ -14231,9 +15311,18 @@ type PatchServiceDeploymentData = {
14231
15311
  };
14232
15312
  /** Defines scheduling behaviour across different zones within the same region. */
14233
15313
  'zonalRedundancy'?: 'preferred' | 'disabled';
15314
+ 'gpu'?: {
15315
+ 'enabled'?: boolean;
15316
+ 'configuration'?: {
15317
+ 'gpuType': string;
15318
+ 'timesliced'?: boolean;
15319
+ };
15320
+ };
15321
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
15322
+ 'gracePeriodSeconds'?: number;
14234
15323
  };
14235
15324
  'ports'?: {
14236
- /** The name used to identify the port. Example: "port-1" */
15325
+ /** The name used to identify the port. Example: "p01" */
14237
15326
  'name': string;
14238
15327
  /** The port number. Example: 8080 */
14239
15328
  'internalPort': number;
@@ -14479,11 +15568,41 @@ type GetServiceResult = {
14479
15568
  'useCache'?: boolean;
14480
15569
  };
14481
15570
  };
15571
+ /** Describes all autoscaling configurations */
15572
+ 'autoscaling'?: {
15573
+ /** Describes the horizontal autoscaling configuration */
15574
+ 'horizontal'?: {
15575
+ /** Whether horizontal autoscaling should be enabled */
15576
+ 'enabled': boolean;
15577
+ /** Minimum number of replicas which should be running at any time */
15578
+ 'minReplicas': number;
15579
+ /** Maximum number of replicas which can be running at any time */
15580
+ 'maxReplicas': number;
15581
+ 'cpu'?: {
15582
+ /** Whether autoscaling should take into account cpu usage */
15583
+ 'enabled': boolean;
15584
+ /** Threshold CPU usage percentage at which the workload will be scaled */
15585
+ 'thresholdPercentage': number;
15586
+ };
15587
+ 'memory'?: {
15588
+ /** Whether autoscaling should take into account memory usage */
15589
+ 'enabled': boolean;
15590
+ /** Threshold memory usage percentage at which the workload will be scaled */
15591
+ 'thresholdPercentage': number;
15592
+ };
15593
+ 'rps'?: {
15594
+ /** Whether autoscaling should take into requests-per-second */
15595
+ 'enabled': boolean;
15596
+ /** Threshold rps value on which the workload will be scaled */
15597
+ 'thresholdValue': number;
15598
+ };
15599
+ };
15600
+ };
14482
15601
  /** An array of ports of the service. */
14483
15602
  'ports': {
14484
15603
  /** The id used to identify the port across requests. Example: "eonyui" */
14485
15604
  'id': string;
14486
- /** The name of the port used in the public url and UI. Example: "port-1" */
15605
+ /** The name of the port used in the public url and UI. Example: "p01" */
14487
15606
  'name': string;
14488
15607
  /** The port number. Example: 8080 */
14489
15608
  'internalPort': number;
@@ -14491,7 +15610,7 @@ type GetServiceResult = {
14491
15610
  'protocol': 'HTTP' | 'HTTP/2' | 'TCP' | 'UDP';
14492
15611
  /** If true, the port is exposed publicly. Example: true */
14493
15612
  'public': boolean;
14494
- /** DNS entry for this port. Example: "port-1--example-service--default-service--user-abc1.salvo.code.run" */
15613
+ /** DNS entry for this port. Example: "p01--example-service--default-service--user-abc1.salvo.code.run" */
14495
15614
  'dns'?: string;
14496
15615
  /** An array of domains that redirect to this port. */
14497
15616
  'domains': {
@@ -14904,6 +16023,12 @@ type UpdateServiceBuildoptionsData = {
14904
16023
  'includeGitFolder'?: boolean;
14905
16024
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
14906
16025
  'fullGitClone'?: boolean;
16026
+ 'storage'?: {
16027
+ 'ephemeralStorage'?: {
16028
+ /** Ephemeral storage per build in MB Example: 16384 */
16029
+ 'storageSize'?: number;
16030
+ };
16031
+ };
14907
16032
  } | {
14908
16033
  'buildpack': {
14909
16034
  /** Buildpack stack to use. Defaults to recommended stack `HEROKU_22_CLASSIC`. Example: "HEROKU_22_CLASSIC" */
@@ -14943,6 +16068,12 @@ type UpdateServiceBuildoptionsData = {
14943
16068
  'includeGitFolder'?: boolean;
14944
16069
  /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
14945
16070
  'fullGitClone'?: boolean;
16071
+ 'storage'?: {
16072
+ 'ephemeralStorage'?: {
16073
+ /** Ephemeral storage per build in MB Example: 16384 */
16074
+ 'storageSize'?: number;
16075
+ };
16076
+ };
14946
16077
  };
14947
16078
  /** Updates the build options for a given service. */
14948
16079
  declare class UpdateServiceBuildoptionsEndpoint extends PostApiEndpoint<UpdateServiceBuildoptionsRequest, UpdateServiceBuildoptionsResult> {
@@ -15401,7 +16532,7 @@ type GetServicePortsResult = {
15401
16532
  'ports': {
15402
16533
  /** The id used to identify the port across requests. Example: "eonyui" */
15403
16534
  'id': string;
15404
- /** The name of the port used in the public url and UI. Example: "port-1" */
16535
+ /** The name of the port used in the public url and UI. Example: "p01" */
15405
16536
  'name': string;
15406
16537
  /** The port number. Example: 8080 */
15407
16538
  'internalPort': number;
@@ -15409,7 +16540,7 @@ type GetServicePortsResult = {
15409
16540
  'protocol': 'HTTP' | 'HTTP/2' | 'TCP' | 'UDP';
15410
16541
  /** If true, the port is exposed publicly. Example: true */
15411
16542
  'public': boolean;
15412
- /** DNS entry for this port. Example: "port-1--example-service--default-service--user-abc1.salvo.code.run" */
16543
+ /** DNS entry for this port. Example: "p01--example-service--default-service--user-abc1.salvo.code.run" */
15413
16544
  'dns'?: string;
15414
16545
  /** An array of domains that redirect to this port. */
15415
16546
  'domains': {
@@ -15482,7 +16613,7 @@ type UpdateServicePortsData = {
15482
16613
  'ports': {
15483
16614
  /** The id of an existing port. Pass this when changing in order to keep security configurations. Example: "p01" */
15484
16615
  'id'?: string;
15485
- /** The name used to identify the port. Example: "port-1" */
16616
+ /** The name used to identify the port. Example: "p01" */
15486
16617
  'name': string;
15487
16618
  /** The port number. Example: 12345 */
15488
16619
  'internalPort': number;
@@ -15771,9 +16902,11 @@ type ScaleServiceData = {
15771
16902
  /** Ephemeral storage per container in MB Example: 1024 */
15772
16903
  'storageSize'?: number;
15773
16904
  };
15774
- /** shm size per container in MB */
16905
+ /** Configures the amount of available memory-backed disk space available to /dev/shm */
15775
16906
  'shmSize'?: number;
15776
16907
  };
16908
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
16909
+ 'gracePeriodSeconds'?: number;
15777
16910
  };
15778
16911
  /** Modifies the scaling settings for the given service. */
15779
16912
  declare class ScaleServiceEndpoint extends PostApiEndpoint<ScaleServiceRequest, ScaleServiceResult> {
@@ -16198,7 +17331,7 @@ type CreateTemplateResult = {
16198
17331
  'clusterId'?: string;
16199
17332
  };
16200
17333
  };
16201
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17334
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16202
17335
  'arguments'?: any;
16203
17336
  'spec': any;
16204
17337
  /** Identifier for the template Example: "example-template" */
@@ -16262,7 +17395,7 @@ type CreateTemplateResult = {
16262
17395
  'clusterId'?: string;
16263
17396
  };
16264
17397
  };
16265
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17398
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16266
17399
  'arguments'?: any;
16267
17400
  'spec': any;
16268
17401
  'refs'?: any;
@@ -16316,18 +17449,18 @@ type CreateTemplateData = {
16316
17449
  'clusterId'?: string;
16317
17450
  };
16318
17451
  };
16319
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17452
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16320
17453
  'arguments'?: any;
16321
17454
  'spec': any;
16322
17455
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
16323
17456
  'concurrencyPolicy'?: 'allow' | 'queue' | 'forbid';
16324
- /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. */
17457
+ /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16325
17458
  'argumentOverrides'?: any;
16326
17459
  /** Additional options for the template creation. */
16327
17460
  'options'?: {
16328
17461
  /** If true, the template will be ran immediately after creation. Example: true */
16329
17462
  'runOnCreation'?: boolean;
16330
- /** Argument overrides for the initial run. Valid only if `runOnCreation` is `true`. */
17463
+ /** Argument overrides for the initial run. Valid only if `runOnCreation` is `true`. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16331
17464
  'runOnCreationArgumentOverrides'?: any;
16332
17465
  /** If true, the template will run automatically whenever it is updated. */
16333
17466
  'autorun'?: boolean;
@@ -16364,18 +17497,18 @@ type CreateTemplateData = {
16364
17497
  'clusterId'?: string;
16365
17498
  };
16366
17499
  };
16367
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17500
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16368
17501
  'arguments'?: any;
16369
17502
  'spec': any;
16370
17503
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
16371
17504
  'concurrencyPolicy'?: 'allow' | 'queue' | 'forbid';
16372
- /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. */
17505
+ /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16373
17506
  'argumentOverrides'?: any;
16374
17507
  /** Additional options for the template creation. */
16375
17508
  'options'?: {
16376
17509
  /** If true, the template will be ran immediately after creation. Example: true */
16377
17510
  'runOnCreation'?: boolean;
16378
- /** Argument overrides for the initial run. Valid only if `runOnCreation` is `true`. */
17511
+ /** Argument overrides for the initial run. Valid only if `runOnCreation` is `true`. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16379
17512
  'runOnCreationArgumentOverrides'?: any;
16380
17513
  /** If true, the template will run automatically whenever it is updated. */
16381
17514
  'autorun'?: boolean;
@@ -16402,13 +17535,13 @@ type CreateTemplateData = {
16402
17535
  'description'?: string;
16403
17536
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
16404
17537
  'concurrencyPolicy'?: 'allow' | 'queue' | 'forbid';
16405
- /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. */
17538
+ /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16406
17539
  'argumentOverrides'?: any;
16407
17540
  /** Additional options for the template creation. */
16408
17541
  'options'?: {
16409
17542
  /** If true, the template will be ran immediately after creation. Example: true */
16410
17543
  'runOnCreation'?: boolean;
16411
- /** Argument overrides for the initial run. Valid only if `runOnCreation` is `true`. */
17544
+ /** Argument overrides for the initial run. Valid only if `runOnCreation` is `true`. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16412
17545
  'runOnCreationArgumentOverrides'?: any;
16413
17546
  /** If true, the template will run automatically whenever it is updated. */
16414
17547
  'autorun'?: boolean;
@@ -16470,7 +17603,7 @@ type GetTemplateResult = {
16470
17603
  'clusterId'?: string;
16471
17604
  };
16472
17605
  };
16473
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17606
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16474
17607
  'arguments'?: any;
16475
17608
  'spec': any;
16476
17609
  /** Identifier for the template Example: "example-template" */
@@ -16561,7 +17694,7 @@ type UpdateTemplateResult = {
16561
17694
  'clusterId'?: string;
16562
17695
  };
16563
17696
  };
16564
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17697
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16565
17698
  'arguments'?: any;
16566
17699
  'spec': any;
16567
17700
  /** Identifier for the template Example: "example-template" */
@@ -16625,7 +17758,7 @@ type UpdateTemplateResult = {
16625
17758
  'clusterId'?: string;
16626
17759
  };
16627
17760
  };
16628
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17761
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16629
17762
  'arguments'?: any;
16630
17763
  'spec': any;
16631
17764
  'refs'?: any;
@@ -16683,12 +17816,12 @@ type UpdateTemplateData = {
16683
17816
  'clusterId'?: string;
16684
17817
  };
16685
17818
  };
16686
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17819
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16687
17820
  'arguments'?: any;
16688
17821
  'spec': any;
16689
17822
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
16690
17823
  'concurrencyPolicy'?: 'allow' | 'queue' | 'forbid';
16691
- /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. */
17824
+ /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16692
17825
  'argumentOverrides'?: any;
16693
17826
  /** Additional options for the template creation. */
16694
17827
  'options'?: {
@@ -16727,12 +17860,12 @@ type UpdateTemplateData = {
16727
17860
  'clusterId'?: string;
16728
17861
  };
16729
17862
  };
16730
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17863
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16731
17864
  'arguments'?: any;
16732
17865
  'spec': any;
16733
17866
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
16734
17867
  'concurrencyPolicy'?: 'allow' | 'queue' | 'forbid';
16735
- /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. */
17868
+ /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16736
17869
  'argumentOverrides'?: any;
16737
17870
  /** Additional options for the template creation. */
16738
17871
  'options'?: {
@@ -16761,7 +17894,7 @@ type UpdateTemplateData = {
16761
17894
  'description'?: string;
16762
17895
  /** Defines the concurrency behaviour of the template with respect to parallel runs. Example: "allow" */
16763
17896
  'concurrencyPolicy'?: 'allow' | 'queue' | 'forbid';
16764
- /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. */
17897
+ /** Argument overrides stored outside of the template. If GitOps is enabled, these will not be saved in version control. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16765
17898
  'argumentOverrides'?: any;
16766
17899
  /** Additional options for the template creation. */
16767
17900
  'options'?: {
@@ -16842,7 +17975,7 @@ type RunTemplateResult = {
16842
17975
  'clusterId'?: string;
16843
17976
  };
16844
17977
  };
16845
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
17978
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16846
17979
  'arguments'?: any;
16847
17980
  'spec': any;
16848
17981
  'refs'?: any;
@@ -16868,7 +18001,7 @@ type RunTemplateParameters = {
16868
18001
  /** ID of the template */ 'templateId': string;
16869
18002
  };
16870
18003
  type RunTemplateData = {
16871
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
18004
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16872
18005
  'arguments'?: any;
16873
18006
  };
16874
18007
  /** Run a template */
@@ -16964,7 +18097,7 @@ type GetTemplaterunResult = {
16964
18097
  'clusterId'?: string;
16965
18098
  };
16966
18099
  };
16967
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
18100
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
16968
18101
  'arguments'?: any;
16969
18102
  'spec': any;
16970
18103
  'refs'?: any;
@@ -17031,7 +18164,7 @@ type AbortTemplaterunResult = {
17031
18164
  'clusterId'?: string;
17032
18165
  };
17033
18166
  };
17034
- /** A set of arguments that can be referenced in a template using '${args.argumentName}'. */
18167
+ /** A set of arguments that can be referenced in a template using '${args.argumentName}'. Example: {"ARGUMENT_1":"value_1","ARGUMENT_2":"value_2"} */
17035
18168
  'arguments'?: any;
17036
18169
  'spec': any;
17037
18170
  'refs'?: any;