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