@pulumi/spotinst 3.79.0 → 3.80.0-alpha.1716513108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aws/ocean.d.ts +3 -0
- package/aws/ocean.js.map +1 -1
- package/dataIntegration.d.ts +3 -0
- package/dataIntegration.js.map +1 -1
- package/gcp/elastigroup.d.ts +3 -0
- package/gcp/elastigroup.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +655 -12
- package/types/output.d.ts +655 -12
package/types/output.d.ts
CHANGED
|
@@ -294,7 +294,13 @@ export declare namespace aws {
|
|
|
294
294
|
strategies?: outputs.aws.BeanstalkDeploymentPreferencesStrategy[];
|
|
295
295
|
}
|
|
296
296
|
interface BeanstalkDeploymentPreferencesStrategy {
|
|
297
|
+
/**
|
|
298
|
+
* Action to take
|
|
299
|
+
*/
|
|
297
300
|
action?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Bool value if to wait to drain instance
|
|
303
|
+
*/
|
|
298
304
|
shouldDrainInstances?: boolean;
|
|
299
305
|
}
|
|
300
306
|
interface BeanstalkManagedActions {
|
|
@@ -304,8 +310,17 @@ export declare namespace aws {
|
|
|
304
310
|
platformUpdate?: outputs.aws.BeanstalkManagedActionsPlatformUpdate;
|
|
305
311
|
}
|
|
306
312
|
interface BeanstalkManagedActionsPlatformUpdate {
|
|
313
|
+
/**
|
|
314
|
+
* Actions to perform (options: timeWindow, never)
|
|
315
|
+
*/
|
|
307
316
|
performAt?: string;
|
|
317
|
+
/**
|
|
318
|
+
* Time Window for when action occurs ex. Mon:23:50-Tue:00:20
|
|
319
|
+
*/
|
|
308
320
|
timeWindow?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Level to update
|
|
323
|
+
*/
|
|
309
324
|
updateLevel?: string;
|
|
310
325
|
}
|
|
311
326
|
interface BeanstalkScheduledTask {
|
|
@@ -664,11 +679,14 @@ export declare namespace aws {
|
|
|
664
679
|
export?: outputs.aws.ElastigroupLoggingExport;
|
|
665
680
|
}
|
|
666
681
|
interface ElastigroupLoggingExport {
|
|
682
|
+
/**
|
|
683
|
+
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
684
|
+
*/
|
|
667
685
|
s3s?: outputs.aws.ElastigroupLoggingExportS3[];
|
|
668
686
|
}
|
|
669
687
|
interface ElastigroupLoggingExportS3 {
|
|
670
688
|
/**
|
|
671
|
-
* The
|
|
689
|
+
* The identifier of The S3 data integration to export the logs to.
|
|
672
690
|
*/
|
|
673
691
|
id: string;
|
|
674
692
|
}
|
|
@@ -1422,13 +1440,37 @@ export declare namespace aws {
|
|
|
1422
1440
|
statements: outputs.aws.MrScalarTerminationPolicyStatement[];
|
|
1423
1441
|
}
|
|
1424
1442
|
interface MrScalarTerminationPolicyStatement {
|
|
1443
|
+
/**
|
|
1444
|
+
* The number of periods over which data is compared to the specified threshold.
|
|
1445
|
+
*/
|
|
1425
1446
|
evaluationPeriods?: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* The name of the metric in CloudWatch which the statement will be based on.
|
|
1449
|
+
*/
|
|
1426
1450
|
metricName: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Must contain the value: `AWS/ElasticMapReduce`.
|
|
1453
|
+
*/
|
|
1427
1454
|
namespace: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
|
|
1457
|
+
*/
|
|
1428
1458
|
operator?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* The time window in seconds over which the statistic is applied.
|
|
1461
|
+
*/
|
|
1429
1462
|
period?: number;
|
|
1463
|
+
/**
|
|
1464
|
+
* The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
|
|
1465
|
+
*/
|
|
1430
1466
|
statistic?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* The value that the specified statistic is compared to.
|
|
1469
|
+
*/
|
|
1431
1470
|
threshold: number;
|
|
1471
|
+
/**
|
|
1472
|
+
* The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
|
|
1473
|
+
*/
|
|
1432
1474
|
unit?: string;
|
|
1433
1475
|
}
|
|
1434
1476
|
interface OceanAttachLoadBalancer {
|
|
@@ -1476,25 +1518,70 @@ export declare namespace aws {
|
|
|
1476
1518
|
ebs?: outputs.aws.OceanBlockDeviceMappingEbs;
|
|
1477
1519
|
}
|
|
1478
1520
|
interface OceanBlockDeviceMappingEbs {
|
|
1521
|
+
/**
|
|
1522
|
+
* Boolean. Flag to delete the EBS on instance termination.
|
|
1523
|
+
*/
|
|
1479
1524
|
deleteOnTermination: boolean;
|
|
1525
|
+
/**
|
|
1526
|
+
* Set dynamic IOPS properties. When using this object, you cannot use the `iops` attribute. You must use one or the other.
|
|
1527
|
+
*/
|
|
1480
1528
|
dynamicIops?: outputs.aws.OceanBlockDeviceMappingEbsDynamicIops;
|
|
1529
|
+
/**
|
|
1530
|
+
* Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
1531
|
+
*/
|
|
1481
1532
|
dynamicVolumeSize?: outputs.aws.OceanBlockDeviceMappingEbsDynamicVolumeSize;
|
|
1533
|
+
/**
|
|
1534
|
+
* Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1535
|
+
*/
|
|
1482
1536
|
encrypted: boolean;
|
|
1537
|
+
/**
|
|
1538
|
+
* Must be greater than or equal to 0.
|
|
1539
|
+
*/
|
|
1483
1540
|
iops?: number;
|
|
1541
|
+
/**
|
|
1542
|
+
* String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1543
|
+
*/
|
|
1484
1544
|
kmsKeyId?: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* (Optional) String. The Snapshot ID to mount by.
|
|
1547
|
+
*/
|
|
1485
1548
|
snapshotId?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = `gp3`.
|
|
1551
|
+
*/
|
|
1486
1552
|
throughput?: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* Int. The size, in GB of the volume.
|
|
1555
|
+
*/
|
|
1487
1556
|
volumeSize?: number;
|
|
1557
|
+
/**
|
|
1558
|
+
* String. The type of the volume. (Example: `gp2`).
|
|
1559
|
+
*/
|
|
1488
1560
|
volumeType: string;
|
|
1489
1561
|
}
|
|
1490
1562
|
interface OceanBlockDeviceMappingEbsDynamicIops {
|
|
1563
|
+
/**
|
|
1564
|
+
* Initial size for IOPS.
|
|
1565
|
+
*/
|
|
1491
1566
|
baseSize: number;
|
|
1492
1567
|
resource: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* Additional size per resource unit (in IOPS). (Example: `baseSize=50`, `sizePerResourceUnit=20`, and an instance with 2 CPU is launched; its IOPS size will be: 90).
|
|
1570
|
+
*/
|
|
1493
1571
|
sizePerResourceUnit: number;
|
|
1494
1572
|
}
|
|
1495
1573
|
interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
|
|
1574
|
+
/**
|
|
1575
|
+
* Int. Initial size for volume. (Example: 50)
|
|
1576
|
+
*/
|
|
1496
1577
|
baseSize: number;
|
|
1578
|
+
/**
|
|
1579
|
+
* String. Resource type to increase volume size dynamically by. (Valid values: `CPU`)
|
|
1580
|
+
*/
|
|
1497
1581
|
resource: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* Int. Additional size (in GB) per resource unit. (Example: `baseSize=50`, `sizePerResourceUnit=20`, and instance with 2 CPU is launched; its total disk size will be: 90GB).
|
|
1584
|
+
*/
|
|
1498
1585
|
sizePerResourceUnit: number;
|
|
1499
1586
|
}
|
|
1500
1587
|
interface OceanClusterOrientation {
|
|
@@ -1581,26 +1668,59 @@ export declare namespace aws {
|
|
|
1581
1668
|
* Object. Set Elastic Block Store properties .
|
|
1582
1669
|
*/
|
|
1583
1670
|
ebs?: outputs.aws.OceanLaunchSpecBlockDeviceMappingEbs;
|
|
1584
|
-
/**
|
|
1585
|
-
* String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
1586
|
-
*/
|
|
1587
1671
|
noDevice?: string;
|
|
1588
1672
|
virtualName?: string;
|
|
1589
1673
|
}
|
|
1590
1674
|
interface OceanLaunchSpecBlockDeviceMappingEbs {
|
|
1675
|
+
/**
|
|
1676
|
+
* Boolean. Flag to delete the EBS on instance termination.
|
|
1677
|
+
*/
|
|
1591
1678
|
deleteOnTermination: boolean;
|
|
1679
|
+
/**
|
|
1680
|
+
* Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
1681
|
+
*/
|
|
1592
1682
|
dynamicVolumeSize?: outputs.aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize;
|
|
1683
|
+
/**
|
|
1684
|
+
* Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1685
|
+
*/
|
|
1593
1686
|
encrypted: boolean;
|
|
1687
|
+
/**
|
|
1688
|
+
* Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1689
|
+
*/
|
|
1594
1690
|
iops?: number;
|
|
1691
|
+
/**
|
|
1692
|
+
* String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1693
|
+
*/
|
|
1595
1694
|
kmsKeyId?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* (Optional) String. The Snapshot ID to mount by.
|
|
1697
|
+
*/
|
|
1596
1698
|
snapshotId?: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = `gp3`.
|
|
1701
|
+
*/
|
|
1597
1702
|
throughput?: number;
|
|
1703
|
+
/**
|
|
1704
|
+
* Int. The size, in GB of the volume.
|
|
1705
|
+
*/
|
|
1598
1706
|
volumeSize?: number;
|
|
1707
|
+
/**
|
|
1708
|
+
* String. The type of the volume. (Example: `gp2`).
|
|
1709
|
+
*/
|
|
1599
1710
|
volumeType: string;
|
|
1600
1711
|
}
|
|
1601
1712
|
interface OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize {
|
|
1713
|
+
/**
|
|
1714
|
+
* Int. Initial size for volume. (Example: 50)
|
|
1715
|
+
*/
|
|
1602
1716
|
baseSize: number;
|
|
1717
|
+
/**
|
|
1718
|
+
* String. Resource type to increase volume size dynamically by. (Valid values: `CPU`)
|
|
1719
|
+
*/
|
|
1603
1720
|
resource: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Int. Additional size (in GB) per resource unit. (Example: `baseSize=50`, `sizePerResourceUnit=20`, and instance with 2 CPU is launched; its total disk size will be: 90GB)
|
|
1723
|
+
*/
|
|
1604
1724
|
sizePerResourceUnit: number;
|
|
1605
1725
|
}
|
|
1606
1726
|
interface OceanLaunchSpecCreateOptions {
|
|
@@ -1626,7 +1746,13 @@ export declare namespace aws {
|
|
|
1626
1746
|
tagSelector?: outputs.aws.OceanLaunchSpecElasticIpPoolTagSelector;
|
|
1627
1747
|
}
|
|
1628
1748
|
interface OceanLaunchSpecElasticIpPoolTagSelector {
|
|
1749
|
+
/**
|
|
1750
|
+
* Elastic IP tag key. The Virtual Node Group will consider all Elastic IPs tagged with this tag as a part of the Elastic IP pool to use.
|
|
1751
|
+
*/
|
|
1629
1752
|
tagKey: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* Elastic IP tag value. Can be null.
|
|
1755
|
+
*/
|
|
1630
1756
|
tagValue?: string;
|
|
1631
1757
|
}
|
|
1632
1758
|
interface OceanLaunchSpecEphemeralStorage {
|
|
@@ -1777,9 +1903,21 @@ export declare namespace aws {
|
|
|
1777
1903
|
taskType: string;
|
|
1778
1904
|
}
|
|
1779
1905
|
interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
|
|
1906
|
+
/**
|
|
1907
|
+
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1908
|
+
*/
|
|
1780
1909
|
cpuPerUnit?: number;
|
|
1910
|
+
/**
|
|
1911
|
+
* Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
1912
|
+
*/
|
|
1781
1913
|
gpuPerUnit?: number;
|
|
1914
|
+
/**
|
|
1915
|
+
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1916
|
+
*/
|
|
1782
1917
|
memoryPerUnit?: number;
|
|
1918
|
+
/**
|
|
1919
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1920
|
+
*/
|
|
1783
1921
|
numOfUnits: number;
|
|
1784
1922
|
}
|
|
1785
1923
|
interface OceanLaunchSpecStrategy {
|
|
@@ -1834,11 +1972,14 @@ export declare namespace aws {
|
|
|
1834
1972
|
export?: outputs.aws.OceanLoggingExport;
|
|
1835
1973
|
}
|
|
1836
1974
|
interface OceanLoggingExport {
|
|
1975
|
+
/**
|
|
1976
|
+
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
1977
|
+
*/
|
|
1837
1978
|
s3s?: outputs.aws.OceanLoggingExportS3[];
|
|
1838
1979
|
}
|
|
1839
1980
|
interface OceanLoggingExportS3 {
|
|
1840
1981
|
/**
|
|
1841
|
-
* The
|
|
1982
|
+
* The identifier of The S3 data integration to export the logs to.
|
|
1842
1983
|
*/
|
|
1843
1984
|
id: string;
|
|
1844
1985
|
}
|
|
@@ -1934,17 +2075,35 @@ export declare namespace azure {
|
|
|
1934
2075
|
resourceLimits: outputs.azure.OceanAutoscalerResourceLimits;
|
|
1935
2076
|
}
|
|
1936
2077
|
interface OceanAutoscalerAutoscaleDown {
|
|
2078
|
+
/**
|
|
2079
|
+
* Would represent the maximum % to scale-down.
|
|
2080
|
+
*/
|
|
1937
2081
|
maxScaleDownPercentage: number;
|
|
1938
2082
|
}
|
|
1939
2083
|
interface OceanAutoscalerAutoscaleHeadroom {
|
|
2084
|
+
/**
|
|
2085
|
+
* Automatic headroom configuration.
|
|
2086
|
+
*/
|
|
1940
2087
|
automatic: outputs.azure.OceanAutoscalerAutoscaleHeadroomAutomatic;
|
|
1941
2088
|
}
|
|
1942
2089
|
interface OceanAutoscalerAutoscaleHeadroomAutomatic {
|
|
2090
|
+
/**
|
|
2091
|
+
* Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
2092
|
+
*/
|
|
1943
2093
|
isEnabled: boolean;
|
|
2094
|
+
/**
|
|
2095
|
+
* Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when `isEnabled` is toggled on.
|
|
2096
|
+
*/
|
|
1944
2097
|
percentage: number;
|
|
1945
2098
|
}
|
|
1946
2099
|
interface OceanAutoscalerResourceLimits {
|
|
2100
|
+
/**
|
|
2101
|
+
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
2102
|
+
*/
|
|
1947
2103
|
maxMemoryGib: number;
|
|
2104
|
+
/**
|
|
2105
|
+
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
2106
|
+
*/
|
|
1948
2107
|
maxVcpu?: number;
|
|
1949
2108
|
}
|
|
1950
2109
|
interface OceanExtension {
|
|
@@ -1979,9 +2138,21 @@ export declare namespace azure {
|
|
|
1979
2138
|
marketplaces: outputs.azure.OceanImageMarketplace[];
|
|
1980
2139
|
}
|
|
1981
2140
|
interface OceanImageMarketplace {
|
|
2141
|
+
/**
|
|
2142
|
+
* Image name.
|
|
2143
|
+
*/
|
|
1982
2144
|
offer: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Image publisher.
|
|
2147
|
+
*/
|
|
1983
2148
|
publisher: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* Image Stock Keeping Unit (which is the specific version of the image).
|
|
2151
|
+
*/
|
|
1984
2152
|
sku: string;
|
|
2153
|
+
/**
|
|
2154
|
+
* Image version.
|
|
2155
|
+
*/
|
|
1985
2156
|
version: string;
|
|
1986
2157
|
}
|
|
1987
2158
|
interface OceanLoadBalancer {
|
|
@@ -2031,17 +2202,32 @@ export declare namespace azure {
|
|
|
2031
2202
|
virtualNetworkName: string;
|
|
2032
2203
|
}
|
|
2033
2204
|
interface OceanNetworkNetworkInterface {
|
|
2205
|
+
/**
|
|
2206
|
+
* Additional configuration of network interface. The name fields between all the `additionalIpConfig` must be unique.
|
|
2207
|
+
*/
|
|
2034
2208
|
additionalIpConfigs: outputs.azure.OceanNetworkNetworkInterfaceAdditionalIpConfig[];
|
|
2209
|
+
/**
|
|
2210
|
+
* Assign public IP.
|
|
2211
|
+
*/
|
|
2035
2212
|
assignPublicIp: boolean;
|
|
2213
|
+
/**
|
|
2214
|
+
* Defines whether the network interface is primary or not.
|
|
2215
|
+
*/
|
|
2036
2216
|
isPrimary: boolean;
|
|
2037
2217
|
securityGroup: outputs.azure.OceanNetworkNetworkInterfaceSecurityGroup;
|
|
2218
|
+
/**
|
|
2219
|
+
* Subnet name.
|
|
2220
|
+
*/
|
|
2038
2221
|
subnetName: string;
|
|
2039
2222
|
}
|
|
2040
2223
|
interface OceanNetworkNetworkInterfaceAdditionalIpConfig {
|
|
2041
2224
|
/**
|
|
2042
|
-
*
|
|
2225
|
+
* Configuration name.
|
|
2043
2226
|
*/
|
|
2044
2227
|
name: string;
|
|
2228
|
+
/**
|
|
2229
|
+
* Supported values: `IPv4`, `IPv6`.
|
|
2230
|
+
*/
|
|
2045
2231
|
privateIpVersion: string;
|
|
2046
2232
|
}
|
|
2047
2233
|
interface OceanNetworkNetworkInterfaceSecurityGroup {
|
|
@@ -2073,17 +2259,35 @@ export declare namespace azure {
|
|
|
2073
2259
|
resourceLimits?: outputs.azure.OceanNpAutoscalerResourceLimits;
|
|
2074
2260
|
}
|
|
2075
2261
|
interface OceanNpAutoscalerAutoscaleDown {
|
|
2262
|
+
/**
|
|
2263
|
+
* The maximum percentage allowed to scale down in a single scaling action.
|
|
2264
|
+
*/
|
|
2076
2265
|
maxScaleDownPercentage?: number;
|
|
2077
2266
|
}
|
|
2078
2267
|
interface OceanNpAutoscalerAutoscaleHeadroom {
|
|
2268
|
+
/**
|
|
2269
|
+
* [Automatic headroom](https://docs.spot.io/ocean/features/headroom?id=automatic-headroom) configuration.
|
|
2270
|
+
*/
|
|
2079
2271
|
automatic?: outputs.azure.OceanNpAutoscalerAutoscaleHeadroomAutomatic;
|
|
2080
2272
|
}
|
|
2081
2273
|
interface OceanNpAutoscalerAutoscaleHeadroomAutomatic {
|
|
2274
|
+
/**
|
|
2275
|
+
* Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
|
|
2276
|
+
*/
|
|
2082
2277
|
isEnabled?: boolean;
|
|
2278
|
+
/**
|
|
2279
|
+
* Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
|
|
2280
|
+
*/
|
|
2083
2281
|
percentage?: number;
|
|
2084
2282
|
}
|
|
2085
2283
|
interface OceanNpAutoscalerResourceLimits {
|
|
2284
|
+
/**
|
|
2285
|
+
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
2286
|
+
*/
|
|
2086
2287
|
maxMemoryGib?: number;
|
|
2288
|
+
/**
|
|
2289
|
+
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
2290
|
+
*/
|
|
2087
2291
|
maxVcpu?: number;
|
|
2088
2292
|
}
|
|
2089
2293
|
interface OceanNpFilters {
|
|
@@ -2181,6 +2385,9 @@ export declare namespace azure {
|
|
|
2181
2385
|
sysctls?: outputs.azure.OceanNpLinuxOsConfigSysctl[];
|
|
2182
2386
|
}
|
|
2183
2387
|
interface OceanNpLinuxOsConfigSysctl {
|
|
2388
|
+
/**
|
|
2389
|
+
* Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
2390
|
+
*/
|
|
2184
2391
|
vmMaxMapCount?: number;
|
|
2185
2392
|
}
|
|
2186
2393
|
interface OceanNpScheduling {
|
|
@@ -2325,6 +2532,9 @@ export declare namespace azure {
|
|
|
2325
2532
|
sysctls?: outputs.azure.OceanNpVirtualNodeGroupLinuxOsConfigSysctl[];
|
|
2326
2533
|
}
|
|
2327
2534
|
interface OceanNpVirtualNodeGroupLinuxOsConfigSysctl {
|
|
2535
|
+
/**
|
|
2536
|
+
* Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
2537
|
+
*/
|
|
2328
2538
|
vmMaxMapCount?: number;
|
|
2329
2539
|
}
|
|
2330
2540
|
interface OceanNpVirtualNodeGroupTaint {
|
|
@@ -2394,9 +2604,21 @@ export declare namespace azure {
|
|
|
2394
2604
|
autoscaleHeadrooms?: outputs.azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom[];
|
|
2395
2605
|
}
|
|
2396
2606
|
interface OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom {
|
|
2607
|
+
/**
|
|
2608
|
+
* Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2609
|
+
*/
|
|
2397
2610
|
cpuPerUnit?: number;
|
|
2611
|
+
/**
|
|
2612
|
+
* How many GPU cores should be allocated for headroom unit.
|
|
2613
|
+
*/
|
|
2398
2614
|
gpuPerUnit?: number;
|
|
2615
|
+
/**
|
|
2616
|
+
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
2617
|
+
*/
|
|
2399
2618
|
memoryPerUnit?: number;
|
|
2619
|
+
/**
|
|
2620
|
+
* The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
|
|
2621
|
+
*/
|
|
2400
2622
|
numOfUnits: number;
|
|
2401
2623
|
}
|
|
2402
2624
|
interface OceanVirtualNodeGroupLabel {
|
|
@@ -2424,12 +2646,27 @@ export declare namespace azure {
|
|
|
2424
2646
|
tags?: outputs.azure.OceanVirtualNodeGroupLaunchSpecificationTag[];
|
|
2425
2647
|
}
|
|
2426
2648
|
interface OceanVirtualNodeGroupLaunchSpecificationOsDisk {
|
|
2649
|
+
/**
|
|
2650
|
+
* The size of the OS disk in GB, Required if dataDisks is specified.
|
|
2651
|
+
*/
|
|
2427
2652
|
sizeGb: number;
|
|
2653
|
+
/**
|
|
2654
|
+
* The type of the OS disk. Valid values: `"Standard_LRS"`, `"Premium_LRS"`, `"StandardSSD_LRS"`.
|
|
2655
|
+
*/
|
|
2428
2656
|
type?: string;
|
|
2657
|
+
/**
|
|
2658
|
+
* Flag to enable/disable the Ephemeral OS Disk utilization.
|
|
2659
|
+
*/
|
|
2429
2660
|
utilizeEphemeralStorage?: boolean;
|
|
2430
2661
|
}
|
|
2431
2662
|
interface OceanVirtualNodeGroupLaunchSpecificationTag {
|
|
2663
|
+
/**
|
|
2664
|
+
* Tag Key for Vms in the cluster.
|
|
2665
|
+
*/
|
|
2432
2666
|
key?: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* Tag Value for VMs in the cluster.
|
|
2669
|
+
*/
|
|
2433
2670
|
value?: string;
|
|
2434
2671
|
}
|
|
2435
2672
|
interface OceanVirtualNodeGroupResourceLimit {
|
|
@@ -2439,9 +2676,6 @@ export declare namespace azure {
|
|
|
2439
2676
|
maxInstanceCount?: number;
|
|
2440
2677
|
}
|
|
2441
2678
|
interface OceanVirtualNodeGroupTaint {
|
|
2442
|
-
/**
|
|
2443
|
-
* The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`, `"PreferNoExecute"`.
|
|
2444
|
-
*/
|
|
2445
2679
|
effect: string;
|
|
2446
2680
|
/**
|
|
2447
2681
|
* The taint key.
|
|
@@ -2623,8 +2857,17 @@ export declare namespace ecs {
|
|
|
2623
2857
|
taskType: string;
|
|
2624
2858
|
}
|
|
2625
2859
|
interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
|
|
2860
|
+
/**
|
|
2861
|
+
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2862
|
+
*/
|
|
2626
2863
|
cpuPerUnit?: number;
|
|
2864
|
+
/**
|
|
2865
|
+
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2866
|
+
*/
|
|
2627
2867
|
memoryPerUnit?: number;
|
|
2868
|
+
/**
|
|
2869
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2870
|
+
*/
|
|
2628
2871
|
numOfUnits: number;
|
|
2629
2872
|
}
|
|
2630
2873
|
interface OceanLaunchSpecStrategy {
|
|
@@ -2646,11 +2889,14 @@ export declare namespace ecs {
|
|
|
2646
2889
|
export?: outputs.ecs.OceanLoggingExport;
|
|
2647
2890
|
}
|
|
2648
2891
|
interface OceanLoggingExport {
|
|
2892
|
+
/**
|
|
2893
|
+
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
2894
|
+
*/
|
|
2649
2895
|
s3s?: outputs.ecs.OceanLoggingExportS3[];
|
|
2650
2896
|
}
|
|
2651
2897
|
interface OceanLoggingExportS3 {
|
|
2652
2898
|
/**
|
|
2653
|
-
* The
|
|
2899
|
+
* The identifier of The S3 data integration to export the logs to.
|
|
2654
2900
|
*/
|
|
2655
2901
|
id: string;
|
|
2656
2902
|
}
|
|
@@ -2679,6 +2925,7 @@ export declare namespace ecs {
|
|
|
2679
2925
|
key: string;
|
|
2680
2926
|
/**
|
|
2681
2927
|
* The tag value.
|
|
2928
|
+
* * `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
2682
2929
|
*/
|
|
2683
2930
|
value: string;
|
|
2684
2931
|
}
|
|
@@ -3162,13 +3409,24 @@ export declare namespace gke {
|
|
|
3162
3409
|
}
|
|
3163
3410
|
interface OceanLaunchSpecNetworkInterfaceAccessConfig {
|
|
3164
3411
|
/**
|
|
3165
|
-
* The
|
|
3412
|
+
* The name of the access configuration.
|
|
3166
3413
|
*/
|
|
3167
3414
|
name?: string;
|
|
3415
|
+
/**
|
|
3416
|
+
* The type of the access configuration.
|
|
3417
|
+
*/
|
|
3168
3418
|
type?: string;
|
|
3169
3419
|
}
|
|
3170
3420
|
interface OceanLaunchSpecNetworkInterfaceAliasIpRange {
|
|
3421
|
+
/**
|
|
3422
|
+
* specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
3423
|
+
*/
|
|
3171
3424
|
ipCidrRange: string;
|
|
3425
|
+
/**
|
|
3426
|
+
* specify the IP address range for the subnet secondary IP range.
|
|
3427
|
+
*
|
|
3428
|
+
* <a id="update-policy"></a>
|
|
3429
|
+
*/
|
|
3172
3430
|
subnetworkRangeName: string;
|
|
3173
3431
|
}
|
|
3174
3432
|
interface OceanLaunchSpecResourceLimits {
|
|
@@ -3200,9 +3458,21 @@ export declare namespace gke {
|
|
|
3200
3458
|
taskType: string;
|
|
3201
3459
|
}
|
|
3202
3460
|
interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
|
|
3461
|
+
/**
|
|
3462
|
+
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
3463
|
+
*/
|
|
3203
3464
|
cpuPerUnit?: number;
|
|
3465
|
+
/**
|
|
3466
|
+
* Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
3467
|
+
*/
|
|
3204
3468
|
gpuPerUnit?: number;
|
|
3469
|
+
/**
|
|
3470
|
+
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
3471
|
+
*/
|
|
3205
3472
|
memoryPerUnit?: number;
|
|
3473
|
+
/**
|
|
3474
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
3475
|
+
*/
|
|
3206
3476
|
numOfUnits: number;
|
|
3207
3477
|
}
|
|
3208
3478
|
interface OceanLaunchSpecShieldedInstanceConfig {
|
|
@@ -3281,14 +3551,29 @@ export declare namespace oceancd {
|
|
|
3281
3551
|
strategyName: string;
|
|
3282
3552
|
}
|
|
3283
3553
|
interface RolloutSpecStrategyArg {
|
|
3554
|
+
/**
|
|
3555
|
+
* Name of an argument.
|
|
3556
|
+
*/
|
|
3284
3557
|
argName: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* Value of an argument.
|
|
3560
|
+
*/
|
|
3285
3561
|
argValue?: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* Defines from where to get the value of an argument.
|
|
3564
|
+
*/
|
|
3286
3565
|
valueFrom?: outputs.oceancd.RolloutSpecStrategyArgValueFrom;
|
|
3287
3566
|
}
|
|
3288
3567
|
interface RolloutSpecStrategyArgValueFrom {
|
|
3568
|
+
/**
|
|
3569
|
+
* Defines the field path from where to get the value of an argument.
|
|
3570
|
+
*/
|
|
3289
3571
|
fieldRef: outputs.oceancd.RolloutSpecStrategyArgValueFromFieldRef;
|
|
3290
3572
|
}
|
|
3291
3573
|
interface RolloutSpecStrategyArgValueFromFieldRef {
|
|
3574
|
+
/**
|
|
3575
|
+
* Path to SpotDeployment's field from where to get the value of an argument.
|
|
3576
|
+
*/
|
|
3292
3577
|
fieldPath: string;
|
|
3293
3578
|
}
|
|
3294
3579
|
interface RolloutSpecTraffic {
|
|
@@ -3326,52 +3611,133 @@ export declare namespace oceancd {
|
|
|
3326
3611
|
stableService?: string;
|
|
3327
3612
|
}
|
|
3328
3613
|
interface RolloutSpecTrafficAlb {
|
|
3614
|
+
/**
|
|
3615
|
+
* Has to match the configured annotation prefix on the alb ingress controller.
|
|
3616
|
+
*/
|
|
3329
3617
|
albAnnotationPrefix?: string;
|
|
3618
|
+
/**
|
|
3619
|
+
* Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
3620
|
+
*/
|
|
3330
3621
|
albIngress: string;
|
|
3622
|
+
/**
|
|
3623
|
+
* References the service in the ingress to the controller should add the action to.
|
|
3624
|
+
*/
|
|
3331
3625
|
albRootService: string;
|
|
3626
|
+
/**
|
|
3627
|
+
* Refers to the port that the Ingress action should route traffic to.
|
|
3628
|
+
*/
|
|
3332
3629
|
servicePort: number;
|
|
3630
|
+
/**
|
|
3631
|
+
* Allows to specify further settings on the ForwardConfig.
|
|
3632
|
+
*/
|
|
3333
3633
|
stickinessConfig?: outputs.oceancd.RolloutSpecTrafficAlbStickinessConfig;
|
|
3334
3634
|
}
|
|
3335
3635
|
interface RolloutSpecTrafficAlbStickinessConfig {
|
|
3636
|
+
/**
|
|
3637
|
+
* Defines how long the load balancer should consistently route the user's request to the same target.
|
|
3638
|
+
*/
|
|
3336
3639
|
durationSeconds?: number;
|
|
3640
|
+
/**
|
|
3641
|
+
* Enables the load balancer to bind a user's session to a specific target.
|
|
3642
|
+
*/
|
|
3337
3643
|
enabled?: boolean;
|
|
3338
3644
|
}
|
|
3339
3645
|
interface RolloutSpecTrafficAmbassador {
|
|
3646
|
+
/**
|
|
3647
|
+
* A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
3648
|
+
*/
|
|
3340
3649
|
mappings: string[];
|
|
3341
3650
|
}
|
|
3342
3651
|
interface RolloutSpecTrafficIstio {
|
|
3652
|
+
/**
|
|
3653
|
+
* It references to an Istio DestinationRule to modify and shape traffic. `DestinationRule` field belongs only to the Subset Level approach.
|
|
3654
|
+
*/
|
|
3343
3655
|
destinationRule?: outputs.oceancd.RolloutSpecTrafficIstioDestinationRule;
|
|
3656
|
+
/**
|
|
3657
|
+
* Defines a set of traffic routing rules to apply when a host is addressed.
|
|
3658
|
+
*/
|
|
3344
3659
|
virtualServices: outputs.oceancd.RolloutSpecTrafficIstioVirtualService[];
|
|
3345
3660
|
}
|
|
3346
3661
|
interface RolloutSpecTrafficIstioDestinationRule {
|
|
3662
|
+
/**
|
|
3663
|
+
* The subset name to modify labels with the canary version.
|
|
3664
|
+
*/
|
|
3347
3665
|
canarySubsetName: string;
|
|
3666
|
+
/**
|
|
3667
|
+
* Holds the name of the DestinationRule.
|
|
3668
|
+
*/
|
|
3348
3669
|
destinationRuleName: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* The subset name to modify labels with the stable version.
|
|
3672
|
+
*/
|
|
3349
3673
|
stableSubsetName: string;
|
|
3350
3674
|
}
|
|
3351
3675
|
interface RolloutSpecTrafficIstioVirtualService {
|
|
3676
|
+
/**
|
|
3677
|
+
* A list of HTTPS routes within VirtualService.
|
|
3678
|
+
*/
|
|
3352
3679
|
tlsRoutes?: outputs.oceancd.RolloutSpecTrafficIstioVirtualServiceTlsRoute[];
|
|
3680
|
+
/**
|
|
3681
|
+
* Holds the name of the VirtualService.
|
|
3682
|
+
*/
|
|
3353
3683
|
virtualServiceName: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* A list of HTTP routes within VirtualService.
|
|
3686
|
+
*/
|
|
3354
3687
|
virtualServiceRoutes?: string[];
|
|
3355
3688
|
}
|
|
3356
3689
|
interface RolloutSpecTrafficIstioVirtualServiceTlsRoute {
|
|
3690
|
+
/**
|
|
3691
|
+
* The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
3692
|
+
*/
|
|
3357
3693
|
port?: number;
|
|
3694
|
+
/**
|
|
3695
|
+
* A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
3696
|
+
*/
|
|
3358
3697
|
sniHosts?: string[];
|
|
3359
3698
|
}
|
|
3360
3699
|
interface RolloutSpecTrafficNginx {
|
|
3700
|
+
/**
|
|
3701
|
+
* Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
|
|
3702
|
+
*/
|
|
3361
3703
|
additionalIngressAnnotation?: outputs.oceancd.RolloutSpecTrafficNginxAdditionalIngressAnnotation;
|
|
3704
|
+
/**
|
|
3705
|
+
* Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
3706
|
+
*/
|
|
3362
3707
|
nginxAnnotationPrefix?: string;
|
|
3708
|
+
/**
|
|
3709
|
+
* Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
3710
|
+
*/
|
|
3363
3711
|
stableIngress: string;
|
|
3364
3712
|
}
|
|
3365
3713
|
interface RolloutSpecTrafficNginxAdditionalIngressAnnotation {
|
|
3714
|
+
/**
|
|
3715
|
+
* Allows customizing the header value instead of using hardcoded values.
|
|
3716
|
+
*/
|
|
3366
3717
|
canaryByHeader?: string;
|
|
3718
|
+
/**
|
|
3719
|
+
* Any of supported annotations.
|
|
3720
|
+
*/
|
|
3367
3721
|
key1?: string;
|
|
3368
3722
|
}
|
|
3369
3723
|
interface RolloutSpecTrafficPingPong {
|
|
3724
|
+
/**
|
|
3725
|
+
* Holds the name of the ping service.
|
|
3726
|
+
*/
|
|
3370
3727
|
pingService: string;
|
|
3728
|
+
/**
|
|
3729
|
+
* Holds the name of the pong service.
|
|
3730
|
+
*/
|
|
3371
3731
|
pongService: string;
|
|
3372
3732
|
}
|
|
3373
3733
|
interface RolloutSpecTrafficSmi {
|
|
3734
|
+
/**
|
|
3735
|
+
* Holds the name of service that clients use to communicate.
|
|
3736
|
+
*/
|
|
3374
3737
|
smiRootService?: string;
|
|
3738
|
+
/**
|
|
3739
|
+
* Holds the name of the TrafficSplit.
|
|
3740
|
+
*/
|
|
3375
3741
|
trafficSplitName?: string;
|
|
3376
3742
|
}
|
|
3377
3743
|
interface StrategyCanary {
|
|
@@ -3385,38 +3751,92 @@ export declare namespace oceancd {
|
|
|
3385
3751
|
steps: outputs.oceancd.StrategyCanaryStep[];
|
|
3386
3752
|
}
|
|
3387
3753
|
interface StrategyCanaryBackgroundVerification {
|
|
3754
|
+
/**
|
|
3755
|
+
* List of Verification Template names.
|
|
3756
|
+
*/
|
|
3388
3757
|
templateNames: string[];
|
|
3389
3758
|
}
|
|
3390
3759
|
interface StrategyCanaryStep {
|
|
3760
|
+
/**
|
|
3761
|
+
* Defines the duration of time to freeze the rollout.
|
|
3762
|
+
*/
|
|
3391
3763
|
pause?: outputs.oceancd.StrategyCanaryStepPause;
|
|
3764
|
+
/**
|
|
3765
|
+
* Defines how to scale the version without traffic weight changing.
|
|
3766
|
+
*/
|
|
3392
3767
|
setCanaryScale?: outputs.oceancd.StrategyCanaryStepSetCanaryScale;
|
|
3768
|
+
/**
|
|
3769
|
+
* Defines the list of HeaderRoutes to add to the Rollout.
|
|
3770
|
+
*/
|
|
3393
3771
|
setHeaderRoute?: outputs.oceancd.StrategyCanaryStepSetHeaderRoute;
|
|
3772
|
+
/**
|
|
3773
|
+
* Defines the percentage that the new version should receive.
|
|
3774
|
+
*/
|
|
3394
3775
|
setWeight?: number;
|
|
3395
3776
|
stepName?: string;
|
|
3777
|
+
/**
|
|
3778
|
+
* Represents the list of verifications to run in a step.
|
|
3779
|
+
*/
|
|
3396
3780
|
verification?: outputs.oceancd.StrategyCanaryStepVerification;
|
|
3397
3781
|
}
|
|
3398
3782
|
interface StrategyCanaryStepPause {
|
|
3783
|
+
/**
|
|
3784
|
+
* The amount of time to wait before moving to the next step.
|
|
3785
|
+
*/
|
|
3399
3786
|
duration?: string;
|
|
3400
3787
|
}
|
|
3401
3788
|
interface StrategyCanaryStepSetCanaryScale {
|
|
3789
|
+
/**
|
|
3790
|
+
* Defines whether a rollout should match the current canary's setWeight step.
|
|
3791
|
+
*/
|
|
3402
3792
|
matchTrafficWeight?: boolean;
|
|
3793
|
+
/**
|
|
3794
|
+
* Sets the number of replicas the new version should have.
|
|
3795
|
+
*/
|
|
3403
3796
|
replicas?: number;
|
|
3797
|
+
/**
|
|
3798
|
+
* Sets the percentage of replicas the new version should have.
|
|
3799
|
+
*/
|
|
3404
3800
|
weight?: number;
|
|
3405
3801
|
}
|
|
3406
3802
|
interface StrategyCanaryStepSetHeaderRoute {
|
|
3803
|
+
/**
|
|
3804
|
+
* The name of the HeaderRoute group.
|
|
3805
|
+
*/
|
|
3407
3806
|
headerRouteName: string;
|
|
3807
|
+
/**
|
|
3808
|
+
* The matching rules for the header route.
|
|
3809
|
+
*/
|
|
3408
3810
|
matches: outputs.oceancd.StrategyCanaryStepSetHeaderRouteMatch[];
|
|
3409
3811
|
}
|
|
3410
3812
|
interface StrategyCanaryStepSetHeaderRouteMatch {
|
|
3813
|
+
/**
|
|
3814
|
+
* The name of the header.
|
|
3815
|
+
*/
|
|
3411
3816
|
headerName: string;
|
|
3817
|
+
/**
|
|
3818
|
+
* Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
|
|
3819
|
+
*/
|
|
3412
3820
|
headerValue: outputs.oceancd.StrategyCanaryStepSetHeaderRouteMatchHeaderValue;
|
|
3413
3821
|
}
|
|
3414
3822
|
interface StrategyCanaryStepSetHeaderRouteMatchHeaderValue {
|
|
3823
|
+
/**
|
|
3824
|
+
* The exact header value.
|
|
3825
|
+
*/
|
|
3415
3826
|
exact?: string;
|
|
3827
|
+
/**
|
|
3828
|
+
* The prefix of the value.
|
|
3829
|
+
*/
|
|
3416
3830
|
prefix?: string;
|
|
3831
|
+
/**
|
|
3832
|
+
* The value in a regex format.
|
|
3833
|
+
*/
|
|
3417
3834
|
regex?: string;
|
|
3418
3835
|
}
|
|
3419
3836
|
interface StrategyCanaryStepVerification {
|
|
3837
|
+
/**
|
|
3838
|
+
* List of Verification Template names.
|
|
3839
|
+
*/
|
|
3420
3840
|
templateNames: string[];
|
|
3421
3841
|
}
|
|
3422
3842
|
interface StrategyRolling {
|
|
@@ -3426,14 +3846,26 @@ export declare namespace oceancd {
|
|
|
3426
3846
|
steps: outputs.oceancd.StrategyRollingStep[];
|
|
3427
3847
|
}
|
|
3428
3848
|
interface StrategyRollingStep {
|
|
3849
|
+
/**
|
|
3850
|
+
* Defines the duration of time to freeze the rollout.
|
|
3851
|
+
*/
|
|
3429
3852
|
pause?: outputs.oceancd.StrategyRollingStepPause;
|
|
3430
3853
|
stepsName?: string;
|
|
3854
|
+
/**
|
|
3855
|
+
* Represents the list of verifications to run in a step.
|
|
3856
|
+
*/
|
|
3431
3857
|
verification?: outputs.oceancd.StrategyRollingStepVerification;
|
|
3432
3858
|
}
|
|
3433
3859
|
interface StrategyRollingStepPause {
|
|
3860
|
+
/**
|
|
3861
|
+
* The amount of time to wait before moving to the next step.
|
|
3862
|
+
*/
|
|
3434
3863
|
duration?: string;
|
|
3435
3864
|
}
|
|
3436
3865
|
interface StrategyRollingStepVerification {
|
|
3866
|
+
/**
|
|
3867
|
+
* List of Verification Template names.
|
|
3868
|
+
*/
|
|
3437
3869
|
templateNames: string[];
|
|
3438
3870
|
}
|
|
3439
3871
|
interface VerificationProviderCloudWatch {
|
|
@@ -3510,12 +3942,18 @@ export declare namespace oceancd {
|
|
|
3510
3942
|
valueFrom?: outputs.oceancd.VerificationTemplateArgValueFrom;
|
|
3511
3943
|
}
|
|
3512
3944
|
interface VerificationTemplateArgValueFrom {
|
|
3945
|
+
/**
|
|
3946
|
+
* Secret key to use.
|
|
3947
|
+
*/
|
|
3513
3948
|
secretKeyRef?: outputs.oceancd.VerificationTemplateArgValueFromSecretKeyRef;
|
|
3514
3949
|
}
|
|
3515
3950
|
interface VerificationTemplateArgValueFromSecretKeyRef {
|
|
3951
|
+
/**
|
|
3952
|
+
* The name of the field inside the secret.
|
|
3953
|
+
*/
|
|
3516
3954
|
key: string;
|
|
3517
3955
|
/**
|
|
3518
|
-
*
|
|
3956
|
+
* The name of the secret.
|
|
3519
3957
|
*/
|
|
3520
3958
|
name: string;
|
|
3521
3959
|
}
|
|
@@ -3566,115 +4004,310 @@ export declare namespace oceancd {
|
|
|
3566
4004
|
successCondition?: string;
|
|
3567
4005
|
}
|
|
3568
4006
|
interface VerificationTemplateMetricBaseline {
|
|
4007
|
+
/**
|
|
4008
|
+
* The name of the monitoring tool chosen for the metric.
|
|
4009
|
+
*/
|
|
3569
4010
|
baselineProviders: outputs.oceancd.VerificationTemplateMetricBaselineBaselineProvider[];
|
|
4011
|
+
/**
|
|
4012
|
+
* Number in percent we allow the new version’s data result to be under baseline data result.
|
|
4013
|
+
*/
|
|
3570
4014
|
maxRange?: number;
|
|
4015
|
+
/**
|
|
4016
|
+
* Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
4017
|
+
*/
|
|
3571
4018
|
minRange?: number;
|
|
4019
|
+
/**
|
|
4020
|
+
* A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
4021
|
+
*/
|
|
3572
4022
|
threshold: string;
|
|
3573
4023
|
}
|
|
3574
4024
|
interface VerificationTemplateMetricBaselineBaselineProvider {
|
|
4025
|
+
/**
|
|
4026
|
+
* The datadog provider.
|
|
4027
|
+
*/
|
|
3575
4028
|
datadog?: outputs.oceancd.VerificationTemplateMetricBaselineBaselineProviderDatadog;
|
|
4029
|
+
/**
|
|
4030
|
+
* The New Relic provider.
|
|
4031
|
+
*/
|
|
3576
4032
|
newRelic?: outputs.oceancd.VerificationTemplateMetricBaselineBaselineProviderNewRelic;
|
|
4033
|
+
/**
|
|
4034
|
+
* The Prometheus provider.
|
|
4035
|
+
*/
|
|
3577
4036
|
prometheus?: outputs.oceancd.VerificationTemplateMetricBaselineBaselineProviderPrometheus;
|
|
3578
4037
|
}
|
|
3579
4038
|
interface VerificationTemplateMetricBaselineBaselineProviderDatadog {
|
|
4039
|
+
/**
|
|
4040
|
+
* A request for information retrieved from Datadog.
|
|
4041
|
+
*/
|
|
3580
4042
|
datadogQuery: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* The window of time we are looking at in DataDog.
|
|
4045
|
+
*/
|
|
3581
4046
|
duration?: string;
|
|
3582
4047
|
}
|
|
3583
4048
|
interface VerificationTemplateMetricBaselineBaselineProviderNewRelic {
|
|
4049
|
+
/**
|
|
4050
|
+
* A raw newrelic NRQL query to perform.
|
|
4051
|
+
*/
|
|
3584
4052
|
newRelicQuery: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* The name of the secret holding NR account configuration.
|
|
4055
|
+
*/
|
|
3585
4056
|
profile?: string;
|
|
3586
4057
|
}
|
|
3587
4058
|
interface VerificationTemplateMetricBaselineBaselineProviderPrometheus {
|
|
4059
|
+
/**
|
|
4060
|
+
* A request for information retrieved from Prometheus.
|
|
4061
|
+
*/
|
|
3588
4062
|
prometheusQuery: string;
|
|
3589
4063
|
}
|
|
3590
4064
|
interface VerificationTemplateMetricProvider {
|
|
4065
|
+
/**
|
|
4066
|
+
* The CloudWatch provider.
|
|
4067
|
+
*/
|
|
3591
4068
|
cloudWatch?: outputs.oceancd.VerificationTemplateMetricProviderCloudWatch;
|
|
4069
|
+
/**
|
|
4070
|
+
* The datadog provider.
|
|
4071
|
+
*/
|
|
3592
4072
|
datadog?: outputs.oceancd.VerificationTemplateMetricProviderDatadog;
|
|
4073
|
+
/**
|
|
4074
|
+
* The Jenkins provider. Default is "{$}"
|
|
4075
|
+
*/
|
|
3593
4076
|
jenkins?: outputs.oceancd.VerificationTemplateMetricProviderJenkins;
|
|
4077
|
+
/**
|
|
4078
|
+
* The Job provider.
|
|
4079
|
+
*/
|
|
3594
4080
|
job?: outputs.oceancd.VerificationTemplateMetricProviderJob;
|
|
4081
|
+
/**
|
|
4082
|
+
* The New Relic provider.
|
|
4083
|
+
*/
|
|
3595
4084
|
newRelic?: outputs.oceancd.VerificationTemplateMetricProviderNewRelic;
|
|
4085
|
+
/**
|
|
4086
|
+
* The Prometheus provider.
|
|
4087
|
+
*/
|
|
3596
4088
|
prometheus?: outputs.oceancd.VerificationTemplateMetricProviderPrometheus;
|
|
4089
|
+
/**
|
|
4090
|
+
* The Web provider.
|
|
4091
|
+
*/
|
|
3597
4092
|
web?: outputs.oceancd.VerificationTemplateMetricProviderWeb;
|
|
3598
4093
|
}
|
|
3599
4094
|
interface VerificationTemplateMetricProviderCloudWatch {
|
|
4095
|
+
/**
|
|
4096
|
+
* The window of time we are looking at in CloudWatch.
|
|
4097
|
+
*/
|
|
3600
4098
|
duration?: string;
|
|
4099
|
+
/**
|
|
4100
|
+
* The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
|
|
4101
|
+
*/
|
|
3601
4102
|
metricDataQueries: outputs.oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQuery[];
|
|
3602
4103
|
}
|
|
3603
4104
|
interface VerificationTemplateMetricProviderCloudWatchMetricDataQuery {
|
|
4105
|
+
/**
|
|
4106
|
+
* This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
|
|
4107
|
+
*/
|
|
3604
4108
|
expression?: string;
|
|
4109
|
+
/**
|
|
4110
|
+
* The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
|
|
4111
|
+
*/
|
|
3605
4112
|
id: string;
|
|
4113
|
+
/**
|
|
4114
|
+
* A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
|
|
4115
|
+
*/
|
|
3606
4116
|
label?: string;
|
|
4117
|
+
/**
|
|
4118
|
+
* The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
|
|
4119
|
+
*/
|
|
3607
4120
|
metricStat?: outputs.oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat;
|
|
4121
|
+
/**
|
|
4122
|
+
* The granularity, in seconds, of the returned data points.
|
|
4123
|
+
*/
|
|
3608
4124
|
period?: number;
|
|
4125
|
+
/**
|
|
4126
|
+
* This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify False . If you omit this, the default of True is used.
|
|
4127
|
+
*/
|
|
3609
4128
|
returnData?: boolean;
|
|
3610
4129
|
}
|
|
3611
4130
|
interface VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat {
|
|
4131
|
+
/**
|
|
4132
|
+
* The metric to return, including the metric name, namespace, and dimensions.
|
|
4133
|
+
*/
|
|
3612
4134
|
metric?: outputs.oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric;
|
|
4135
|
+
/**
|
|
4136
|
+
* The granularity, in seconds, of the returned data points.
|
|
4137
|
+
*/
|
|
3613
4138
|
metricPeriod?: number;
|
|
4139
|
+
/**
|
|
4140
|
+
* The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
4141
|
+
*/
|
|
3614
4142
|
stat?: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* This defines what unit you want to use when storing the metric. Enum: `"Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"`
|
|
4145
|
+
*/
|
|
3615
4146
|
unit?: string;
|
|
3616
4147
|
}
|
|
3617
4148
|
interface VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric {
|
|
4149
|
+
/**
|
|
4150
|
+
* A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
|
|
4151
|
+
*/
|
|
3618
4152
|
dimensions?: outputs.oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension[];
|
|
4153
|
+
/**
|
|
4154
|
+
* The name of the metric.
|
|
4155
|
+
*/
|
|
3619
4156
|
metricName: string;
|
|
4157
|
+
/**
|
|
4158
|
+
* The namespace of the metric.
|
|
4159
|
+
*/
|
|
3620
4160
|
namespace?: string;
|
|
3621
4161
|
}
|
|
3622
4162
|
interface VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension {
|
|
4163
|
+
/**
|
|
4164
|
+
* The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
4165
|
+
*/
|
|
3623
4166
|
dimensionName: string;
|
|
4167
|
+
/**
|
|
4168
|
+
* The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
4169
|
+
*/
|
|
3624
4170
|
dimensionValue: string;
|
|
3625
4171
|
}
|
|
3626
4172
|
interface VerificationTemplateMetricProviderDatadog {
|
|
4173
|
+
/**
|
|
4174
|
+
* A request for information retrieved from Datadog.
|
|
4175
|
+
*/
|
|
3627
4176
|
datadogQuery?: string;
|
|
4177
|
+
/**
|
|
4178
|
+
* The window of time we are looking at in DataDog.
|
|
4179
|
+
*/
|
|
3628
4180
|
duration?: string;
|
|
3629
4181
|
}
|
|
3630
4182
|
interface VerificationTemplateMetricProviderJenkins {
|
|
4183
|
+
/**
|
|
4184
|
+
* The interval time to poll status.
|
|
4185
|
+
*/
|
|
3631
4186
|
jenkinsInterval: string;
|
|
4187
|
+
/**
|
|
4188
|
+
* List of parameters.
|
|
4189
|
+
*/
|
|
3632
4190
|
jenkinsParameters?: outputs.oceancd.VerificationTemplateMetricProviderJenkinsJenkinsParameters;
|
|
4191
|
+
/**
|
|
4192
|
+
* The Jenkins pipeline name.
|
|
4193
|
+
*/
|
|
3633
4194
|
pipelineName: string;
|
|
4195
|
+
/**
|
|
4196
|
+
* The total jenkins timeout.
|
|
4197
|
+
*/
|
|
3634
4198
|
timeout: string;
|
|
4199
|
+
/**
|
|
4200
|
+
* Host TLS verification.
|
|
4201
|
+
*/
|
|
3635
4202
|
tlsVerification?: boolean;
|
|
3636
4203
|
}
|
|
3637
4204
|
interface VerificationTemplateMetricProviderJenkinsJenkinsParameters {
|
|
4205
|
+
/**
|
|
4206
|
+
* Key of an argument.
|
|
4207
|
+
*/
|
|
3638
4208
|
parameterKey: string;
|
|
4209
|
+
/**
|
|
4210
|
+
* Value of an argument.
|
|
4211
|
+
*/
|
|
3639
4212
|
parameterValue: string;
|
|
3640
4213
|
}
|
|
3641
4214
|
interface VerificationTemplateMetricProviderJob {
|
|
4215
|
+
/**
|
|
4216
|
+
* The job spec require to run the metric.
|
|
4217
|
+
*/
|
|
3642
4218
|
specs: outputs.oceancd.VerificationTemplateMetricProviderJobSpec[];
|
|
3643
4219
|
}
|
|
3644
4220
|
interface VerificationTemplateMetricProviderJobSpec {
|
|
4221
|
+
/**
|
|
4222
|
+
* Specifies the number of retries before marking this job failed.
|
|
4223
|
+
*/
|
|
3645
4224
|
backoffLimit?: number;
|
|
4225
|
+
/**
|
|
4226
|
+
* Describes the pod that will be created when executing a job.
|
|
4227
|
+
*/
|
|
3646
4228
|
jobTemplates: outputs.oceancd.VerificationTemplateMetricProviderJobSpecJobTemplate[];
|
|
3647
4229
|
}
|
|
3648
4230
|
interface VerificationTemplateMetricProviderJobSpecJobTemplate {
|
|
4231
|
+
/**
|
|
4232
|
+
* Specification of the desired behavior of the pod.
|
|
4233
|
+
*/
|
|
3649
4234
|
templateSpecs: outputs.oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec[];
|
|
3650
4235
|
}
|
|
3651
4236
|
interface VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec {
|
|
4237
|
+
/**
|
|
4238
|
+
* A list of containers belonging to the pod.
|
|
4239
|
+
*/
|
|
3652
4240
|
containers: outputs.oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer[];
|
|
4241
|
+
/**
|
|
4242
|
+
* Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
4243
|
+
*/
|
|
3653
4244
|
restartPolicy: string;
|
|
3654
4245
|
}
|
|
3655
4246
|
interface VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer {
|
|
4247
|
+
/**
|
|
4248
|
+
* The entry point of a container.
|
|
4249
|
+
*/
|
|
3656
4250
|
commands: string[];
|
|
4251
|
+
/**
|
|
4252
|
+
* The name of a container.
|
|
4253
|
+
*/
|
|
3657
4254
|
containerName: string;
|
|
4255
|
+
/**
|
|
4256
|
+
* The image name of a container.
|
|
4257
|
+
*/
|
|
3658
4258
|
image: string;
|
|
3659
4259
|
}
|
|
3660
4260
|
interface VerificationTemplateMetricProviderNewRelic {
|
|
4261
|
+
/**
|
|
4262
|
+
* A raw newrelic NRQL query to perform.
|
|
4263
|
+
*/
|
|
3661
4264
|
newRelicQuery: string;
|
|
4265
|
+
/**
|
|
4266
|
+
* The name of the secret holding NR account configuration.
|
|
4267
|
+
*/
|
|
3662
4268
|
profile?: string;
|
|
3663
4269
|
}
|
|
3664
4270
|
interface VerificationTemplateMetricProviderPrometheus {
|
|
3665
4271
|
prometheusQuery: string;
|
|
3666
4272
|
}
|
|
3667
4273
|
interface VerificationTemplateMetricProviderWeb {
|
|
4274
|
+
/**
|
|
4275
|
+
* The body of the web metric.
|
|
4276
|
+
*/
|
|
3668
4277
|
body?: string;
|
|
4278
|
+
/**
|
|
4279
|
+
* Skips host TLS verification.
|
|
4280
|
+
*/
|
|
3669
4281
|
insecure?: boolean;
|
|
4282
|
+
/**
|
|
4283
|
+
* A JSON Path to use as the result variable. Default is "{$}"
|
|
4284
|
+
*/
|
|
3670
4285
|
jsonPath?: string;
|
|
4286
|
+
/**
|
|
4287
|
+
* The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
4288
|
+
*/
|
|
3671
4289
|
method?: string;
|
|
4290
|
+
/**
|
|
4291
|
+
* The timeout for the request in seconds. Default is 10.
|
|
4292
|
+
*/
|
|
3672
4293
|
timeoutSeconds?: number;
|
|
4294
|
+
/**
|
|
4295
|
+
* The address of the web metric.
|
|
4296
|
+
*/
|
|
3673
4297
|
url: string;
|
|
4298
|
+
/**
|
|
4299
|
+
* Optional HTTP headers to use in the request.
|
|
4300
|
+
*/
|
|
3674
4301
|
webHeaders?: outputs.oceancd.VerificationTemplateMetricProviderWebWebHeader[];
|
|
3675
4302
|
}
|
|
3676
4303
|
interface VerificationTemplateMetricProviderWebWebHeader {
|
|
4304
|
+
/**
|
|
4305
|
+
* The name of a header
|
|
4306
|
+
*/
|
|
3677
4307
|
webHeaderKey: string;
|
|
4308
|
+
/**
|
|
4309
|
+
* The value of a header
|
|
4310
|
+
*/
|
|
3678
4311
|
webHeaderValue: string;
|
|
3679
4312
|
}
|
|
3680
4313
|
}
|
|
@@ -3686,8 +4319,18 @@ export declare namespace organization {
|
|
|
3686
4319
|
statements: outputs.organization.PolicyPolicyContentStatement[];
|
|
3687
4320
|
}
|
|
3688
4321
|
interface PolicyPolicyContentStatement {
|
|
4322
|
+
/**
|
|
4323
|
+
* Set a list of required actions for this permissions statement.
|
|
4324
|
+
* Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
4325
|
+
*/
|
|
3689
4326
|
actions: string[];
|
|
4327
|
+
/**
|
|
4328
|
+
* Valid values "ALLOW", "DENY".
|
|
4329
|
+
*/
|
|
3690
4330
|
effect: string;
|
|
4331
|
+
/**
|
|
4332
|
+
* Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
4333
|
+
*/
|
|
3691
4334
|
resources: string[];
|
|
3692
4335
|
}
|
|
3693
4336
|
interface ProgrammaticUserAccount {
|