@pulumi/spotinst 3.76.0-alpha.1713904914 → 3.76.0-alpha.1713985268
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/azure/index.d.ts +0 -3
- package/azure/index.js +1 -6
- package/azure/index.js.map +1 -1
- package/azure/oceanNp.d.ts +233 -0
- package/azure/oceanNp.js +26 -0
- package/azure/oceanNp.js.map +1 -1
- package/azure/oceanNpVirtualNodeGroup.d.ts +265 -0
- package/azure/oceanNpVirtualNodeGroup.js +85 -0
- package/azure/oceanNpVirtualNodeGroup.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +153 -145
- package/types/output.d.ts +153 -145
- package/azure/elastigroup.d.ts +0 -269
- package/azure/elastigroup.js +0 -202
- package/azure/elastigroup.js.map +0 -1
package/types/output.d.ts
CHANGED
|
@@ -1899,151 +1899,6 @@ export declare namespace aws {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
1901
|
export declare namespace azure {
|
|
1902
|
-
interface ElastigroupHealthCheck {
|
|
1903
|
-
autoHealing?: boolean;
|
|
1904
|
-
gracePeriod?: number;
|
|
1905
|
-
healthCheckType: string;
|
|
1906
|
-
}
|
|
1907
|
-
interface ElastigroupImage {
|
|
1908
|
-
customs?: outputs.azure.ElastigroupImageCustom[];
|
|
1909
|
-
marketplaces?: outputs.azure.ElastigroupImageMarketplace[];
|
|
1910
|
-
}
|
|
1911
|
-
interface ElastigroupImageCustom {
|
|
1912
|
-
imageName: string;
|
|
1913
|
-
/**
|
|
1914
|
-
* Name of the Resource Group for Elastigroup.
|
|
1915
|
-
*/
|
|
1916
|
-
resourceGroupName: string;
|
|
1917
|
-
}
|
|
1918
|
-
interface ElastigroupImageMarketplace {
|
|
1919
|
-
offer: string;
|
|
1920
|
-
publisher: string;
|
|
1921
|
-
sku: string;
|
|
1922
|
-
}
|
|
1923
|
-
interface ElastigroupIntegrationKubernetes {
|
|
1924
|
-
clusterIdentifier: string;
|
|
1925
|
-
}
|
|
1926
|
-
interface ElastigroupIntegrationMultaiRuntime {
|
|
1927
|
-
deploymentId: string;
|
|
1928
|
-
}
|
|
1929
|
-
interface ElastigroupLoadBalancer {
|
|
1930
|
-
autoWeight?: boolean;
|
|
1931
|
-
balancerId?: string;
|
|
1932
|
-
targetSetId?: string;
|
|
1933
|
-
type: string;
|
|
1934
|
-
}
|
|
1935
|
-
interface ElastigroupLogin {
|
|
1936
|
-
password?: string;
|
|
1937
|
-
sshPublicKey?: string;
|
|
1938
|
-
userName: string;
|
|
1939
|
-
}
|
|
1940
|
-
interface ElastigroupManagedServiceIdentity {
|
|
1941
|
-
/**
|
|
1942
|
-
* The group name.
|
|
1943
|
-
*/
|
|
1944
|
-
name: string;
|
|
1945
|
-
/**
|
|
1946
|
-
* Name of the Resource Group for Elastigroup.
|
|
1947
|
-
*/
|
|
1948
|
-
resourceGroupName: string;
|
|
1949
|
-
}
|
|
1950
|
-
interface ElastigroupNetwork {
|
|
1951
|
-
additionalIpConfigs?: outputs.azure.ElastigroupNetworkAdditionalIpConfig[];
|
|
1952
|
-
assignPublicIp?: boolean;
|
|
1953
|
-
/**
|
|
1954
|
-
* Name of the Resource Group for Elastigroup.
|
|
1955
|
-
*/
|
|
1956
|
-
resourceGroupName: string;
|
|
1957
|
-
subnetName: string;
|
|
1958
|
-
virtualNetworkName: string;
|
|
1959
|
-
}
|
|
1960
|
-
interface ElastigroupNetworkAdditionalIpConfig {
|
|
1961
|
-
/**
|
|
1962
|
-
* The group name.
|
|
1963
|
-
*/
|
|
1964
|
-
name: string;
|
|
1965
|
-
privateIpVersion?: string;
|
|
1966
|
-
}
|
|
1967
|
-
interface ElastigroupScalingDownPolicy {
|
|
1968
|
-
actionType?: string;
|
|
1969
|
-
adjustment?: string;
|
|
1970
|
-
cooldown: number;
|
|
1971
|
-
dimensions?: outputs.azure.ElastigroupScalingDownPolicyDimension[];
|
|
1972
|
-
evaluationPeriods: number;
|
|
1973
|
-
maxTargetCapacity?: string;
|
|
1974
|
-
maximum?: string;
|
|
1975
|
-
metricName: string;
|
|
1976
|
-
minTargetCapacity?: string;
|
|
1977
|
-
minimum?: string;
|
|
1978
|
-
namespace: string;
|
|
1979
|
-
operator: string;
|
|
1980
|
-
period: number;
|
|
1981
|
-
policyName: string;
|
|
1982
|
-
statistic: string;
|
|
1983
|
-
target?: string;
|
|
1984
|
-
threshold: number;
|
|
1985
|
-
unit?: string;
|
|
1986
|
-
}
|
|
1987
|
-
interface ElastigroupScalingDownPolicyDimension {
|
|
1988
|
-
/**
|
|
1989
|
-
* The group name.
|
|
1990
|
-
*/
|
|
1991
|
-
name: string;
|
|
1992
|
-
value?: string;
|
|
1993
|
-
}
|
|
1994
|
-
interface ElastigroupScalingUpPolicy {
|
|
1995
|
-
actionType?: string;
|
|
1996
|
-
adjustment?: string;
|
|
1997
|
-
cooldown: number;
|
|
1998
|
-
dimensions?: outputs.azure.ElastigroupScalingUpPolicyDimension[];
|
|
1999
|
-
evaluationPeriods: number;
|
|
2000
|
-
maxTargetCapacity?: string;
|
|
2001
|
-
maximum?: string;
|
|
2002
|
-
metricName: string;
|
|
2003
|
-
minTargetCapacity?: string;
|
|
2004
|
-
minimum?: string;
|
|
2005
|
-
namespace: string;
|
|
2006
|
-
operator: string;
|
|
2007
|
-
period: number;
|
|
2008
|
-
policyName: string;
|
|
2009
|
-
statistic: string;
|
|
2010
|
-
target?: string;
|
|
2011
|
-
threshold: number;
|
|
2012
|
-
unit?: string;
|
|
2013
|
-
}
|
|
2014
|
-
interface ElastigroupScalingUpPolicyDimension {
|
|
2015
|
-
/**
|
|
2016
|
-
* The group name.
|
|
2017
|
-
*/
|
|
2018
|
-
name: string;
|
|
2019
|
-
value?: string;
|
|
2020
|
-
}
|
|
2021
|
-
interface ElastigroupScheduledTask {
|
|
2022
|
-
adjustment?: string;
|
|
2023
|
-
adjustmentPercentage?: string;
|
|
2024
|
-
batchSizePercentage?: string;
|
|
2025
|
-
cronExpression: string;
|
|
2026
|
-
gracePeriod?: string;
|
|
2027
|
-
isEnabled?: boolean;
|
|
2028
|
-
scaleMaxCapacity?: string;
|
|
2029
|
-
scaleMinCapacity?: string;
|
|
2030
|
-
scaleTargetCapacity?: string;
|
|
2031
|
-
taskType: string;
|
|
2032
|
-
}
|
|
2033
|
-
interface ElastigroupStrategy {
|
|
2034
|
-
drainingTimeout?: number;
|
|
2035
|
-
lowPriorityPercentage?: number;
|
|
2036
|
-
odCount?: number;
|
|
2037
|
-
}
|
|
2038
|
-
interface ElastigroupUpdatePolicy {
|
|
2039
|
-
rollConfig?: outputs.azure.ElastigroupUpdatePolicyRollConfig;
|
|
2040
|
-
shouldRoll: boolean;
|
|
2041
|
-
}
|
|
2042
|
-
interface ElastigroupUpdatePolicyRollConfig {
|
|
2043
|
-
batchSizePercentage: number;
|
|
2044
|
-
gracePeriod?: number;
|
|
2045
|
-
healthCheckType?: string;
|
|
2046
|
-
}
|
|
2047
1902
|
interface OceanAutoscaler {
|
|
2048
1903
|
/**
|
|
2049
1904
|
* Auto Scaling scale down operations.
|
|
@@ -2184,9 +2039,21 @@ export declare namespace azure {
|
|
|
2184
2039
|
resourceGroupName: string;
|
|
2185
2040
|
}
|
|
2186
2041
|
interface OceanNpAutoscaler {
|
|
2042
|
+
/**
|
|
2043
|
+
* Auto Scaling scale down operations.
|
|
2044
|
+
*/
|
|
2187
2045
|
autoscaleDown?: outputs.azure.OceanNpAutoscalerAutoscaleDown;
|
|
2046
|
+
/**
|
|
2047
|
+
* Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
|
|
2048
|
+
*/
|
|
2188
2049
|
autoscaleHeadroom?: outputs.azure.OceanNpAutoscalerAutoscaleHeadroom;
|
|
2050
|
+
/**
|
|
2051
|
+
* Enable the Ocean Kubernetes Autoscaler.
|
|
2052
|
+
*/
|
|
2189
2053
|
autoscaleIsEnabled?: boolean;
|
|
2054
|
+
/**
|
|
2055
|
+
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
2056
|
+
*/
|
|
2190
2057
|
resourceLimits?: outputs.azure.OceanNpAutoscalerResourceLimits;
|
|
2191
2058
|
}
|
|
2192
2059
|
interface OceanNpAutoscalerAutoscaleDown {
|
|
@@ -2204,32 +2071,97 @@ export declare namespace azure {
|
|
|
2204
2071
|
maxVcpu?: number;
|
|
2205
2072
|
}
|
|
2206
2073
|
interface OceanNpFilters {
|
|
2074
|
+
/**
|
|
2075
|
+
* In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
2076
|
+
*/
|
|
2207
2077
|
acceleratedNetworking?: string;
|
|
2078
|
+
/**
|
|
2079
|
+
* The filtered vm sizes will support at least one of the architectures from this list. x8664 includes both intel64 and amd64.
|
|
2080
|
+
*/
|
|
2208
2081
|
architectures?: string[];
|
|
2082
|
+
/**
|
|
2083
|
+
* The filtered vm sizes will support at least one of the classes from this list.
|
|
2084
|
+
*/
|
|
2209
2085
|
diskPerformance?: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* Vm sizes belonging to a series from the list will not be available for scaling
|
|
2088
|
+
*/
|
|
2210
2089
|
excludeSeries?: string[];
|
|
2090
|
+
/**
|
|
2091
|
+
* The filtered gpu types will belong to one of the gpu types from this list.
|
|
2092
|
+
*
|
|
2093
|
+
* <a id="update-policy"></a>
|
|
2094
|
+
*/
|
|
2211
2095
|
gpuTypes?: string[];
|
|
2096
|
+
/**
|
|
2097
|
+
* Maximum number of GPUs available.
|
|
2098
|
+
*/
|
|
2212
2099
|
maxGpu?: number;
|
|
2100
|
+
/**
|
|
2101
|
+
* Maximum amount of Memory (GiB).
|
|
2102
|
+
*/
|
|
2213
2103
|
maxMemoryGib?: number;
|
|
2104
|
+
/**
|
|
2105
|
+
* Maximum number of vcpus available.
|
|
2106
|
+
*/
|
|
2214
2107
|
maxVcpu?: number;
|
|
2108
|
+
/**
|
|
2109
|
+
* Minimum number of data disks available.
|
|
2110
|
+
*/
|
|
2215
2111
|
minDisk?: number;
|
|
2112
|
+
/**
|
|
2113
|
+
* Minimum number of GPUs available.
|
|
2114
|
+
*/
|
|
2216
2115
|
minGpu?: number;
|
|
2116
|
+
/**
|
|
2117
|
+
* Minimum amount of Memory (GiB).
|
|
2118
|
+
*/
|
|
2217
2119
|
minMemoryGib?: number;
|
|
2120
|
+
/**
|
|
2121
|
+
* Minimum number of network interfaces.
|
|
2122
|
+
*/
|
|
2218
2123
|
minNics?: number;
|
|
2124
|
+
/**
|
|
2125
|
+
* Minimum number of vcpus available.
|
|
2126
|
+
*/
|
|
2219
2127
|
minVcpu?: number;
|
|
2128
|
+
/**
|
|
2129
|
+
* Vm sizes belonging to a series from the list will be available for scaling. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "dsV2" refer to same DS_v2 series.
|
|
2130
|
+
*/
|
|
2220
2131
|
series?: string[];
|
|
2132
|
+
/**
|
|
2133
|
+
* The filtered vm types will belong to one of the vm types from this list.
|
|
2134
|
+
*/
|
|
2221
2135
|
vmTypes?: string[];
|
|
2222
2136
|
}
|
|
2223
2137
|
interface OceanNpHeadroom {
|
|
2138
|
+
/**
|
|
2139
|
+
* Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2140
|
+
*/
|
|
2224
2141
|
cpuPerUnit?: number;
|
|
2142
|
+
/**
|
|
2143
|
+
* Amount of GPU to allocate for headroom unit.
|
|
2144
|
+
*/
|
|
2225
2145
|
gpuPerUnit?: number;
|
|
2146
|
+
/**
|
|
2147
|
+
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
2148
|
+
*/
|
|
2226
2149
|
memoryPerUnit?: number;
|
|
2150
|
+
/**
|
|
2151
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
2152
|
+
*/
|
|
2227
2153
|
numOfUnits?: number;
|
|
2228
2154
|
}
|
|
2229
2155
|
interface OceanNpHealth {
|
|
2156
|
+
/**
|
|
2157
|
+
* The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
|
|
2158
|
+
*/
|
|
2230
2159
|
gracePeriod?: number;
|
|
2231
2160
|
}
|
|
2232
2161
|
interface OceanNpScheduling {
|
|
2162
|
+
/**
|
|
2163
|
+
* [Shutdown Hours](https://docs.spot.io/ocean/features/running-hours?id=shutdown-hours)An object used to specify times that the nodes in the cluster will be taken down.
|
|
2164
|
+
*/
|
|
2233
2165
|
shutdownHours?: outputs.azure.OceanNpSchedulingShutdownHours;
|
|
2234
2166
|
}
|
|
2235
2167
|
interface OceanNpSchedulingShutdownHours {
|
|
@@ -2237,8 +2169,17 @@ export declare namespace azure {
|
|
|
2237
2169
|
timeWindows: string[];
|
|
2238
2170
|
}
|
|
2239
2171
|
interface OceanNpTaint {
|
|
2172
|
+
/**
|
|
2173
|
+
* Set taint effect.
|
|
2174
|
+
*/
|
|
2240
2175
|
effect: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
|
|
2178
|
+
*/
|
|
2241
2179
|
key: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Set taint value.
|
|
2182
|
+
*/
|
|
2242
2183
|
value: string;
|
|
2243
2184
|
}
|
|
2244
2185
|
interface OceanNpUpdatePolicy {
|
|
@@ -2257,31 +2198,98 @@ export declare namespace azure {
|
|
|
2257
2198
|
vngIds?: string[];
|
|
2258
2199
|
}
|
|
2259
2200
|
interface OceanNpVirtualNodeGroupFilters {
|
|
2201
|
+
/**
|
|
2202
|
+
* In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
2203
|
+
*/
|
|
2260
2204
|
acceleratedNetworking?: string;
|
|
2205
|
+
/**
|
|
2206
|
+
* The filtered vm sizes will support at least one of the architectures from this list. x8664 includes both intel64 and amd64.
|
|
2207
|
+
*/
|
|
2261
2208
|
architectures?: string[];
|
|
2209
|
+
/**
|
|
2210
|
+
* The filtered vm sizes will support at least one of the classes from this list.
|
|
2211
|
+
*/
|
|
2262
2212
|
diskPerformance?: string;
|
|
2213
|
+
/**
|
|
2214
|
+
* Vm sizes belonging to a series from the list will not be available for scaling.
|
|
2215
|
+
*/
|
|
2263
2216
|
excludeSeries?: string[];
|
|
2217
|
+
/**
|
|
2218
|
+
* The filtered gpu types will belong to one of the gpu types from this list.
|
|
2219
|
+
* <a id="update-policy"></a>
|
|
2220
|
+
*/
|
|
2264
2221
|
gpuTypes?: string[];
|
|
2222
|
+
/**
|
|
2223
|
+
* Maximum number of GPUs available.
|
|
2224
|
+
*/
|
|
2265
2225
|
maxGpu?: number;
|
|
2226
|
+
/**
|
|
2227
|
+
* Maximum amount of Memory (GiB).
|
|
2228
|
+
*/
|
|
2266
2229
|
maxMemoryGib?: number;
|
|
2230
|
+
/**
|
|
2231
|
+
* Maximum number of vcpus available.
|
|
2232
|
+
*/
|
|
2267
2233
|
maxVcpu?: number;
|
|
2234
|
+
/**
|
|
2235
|
+
* Minimum number of data disks available.
|
|
2236
|
+
*/
|
|
2268
2237
|
minDisk?: number;
|
|
2238
|
+
/**
|
|
2239
|
+
* Minimum number of GPUs available.
|
|
2240
|
+
*/
|
|
2269
2241
|
minGpu?: number;
|
|
2242
|
+
/**
|
|
2243
|
+
* Minimum amount of Memory (GiB).
|
|
2244
|
+
*/
|
|
2270
2245
|
minMemoryGib?: number;
|
|
2246
|
+
/**
|
|
2247
|
+
* Minimum number of network interfaces.
|
|
2248
|
+
*/
|
|
2271
2249
|
minNics?: number;
|
|
2250
|
+
/**
|
|
2251
|
+
* Minimum number of vcpus available.
|
|
2252
|
+
*/
|
|
2272
2253
|
minVcpu?: number;
|
|
2254
|
+
/**
|
|
2255
|
+
* Vm sizes belonging to a series from the list will be available for scaling.
|
|
2256
|
+
*/
|
|
2273
2257
|
series?: string[];
|
|
2258
|
+
/**
|
|
2259
|
+
* The filtered vm types will belong to one of the vm types from this list.
|
|
2260
|
+
*/
|
|
2274
2261
|
vmTypes?: string[];
|
|
2275
2262
|
}
|
|
2276
2263
|
interface OceanNpVirtualNodeGroupHeadroom {
|
|
2264
|
+
/**
|
|
2265
|
+
* Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2266
|
+
*/
|
|
2277
2267
|
cpuPerUnit?: number;
|
|
2268
|
+
/**
|
|
2269
|
+
* Amount of GPU to allocate for headroom unit.
|
|
2270
|
+
*/
|
|
2278
2271
|
gpuPerUnit?: number;
|
|
2272
|
+
/**
|
|
2273
|
+
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
2274
|
+
*/
|
|
2279
2275
|
memoryPerUnit?: number;
|
|
2276
|
+
/**
|
|
2277
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
2278
|
+
*/
|
|
2280
2279
|
numOfUnits?: number;
|
|
2281
2280
|
}
|
|
2282
2281
|
interface OceanNpVirtualNodeGroupTaint {
|
|
2282
|
+
/**
|
|
2283
|
+
* Set taint effect.
|
|
2284
|
+
*/
|
|
2283
2285
|
effect: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
2288
|
+
*/
|
|
2284
2289
|
key: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* Set taint value.
|
|
2292
|
+
*/
|
|
2285
2293
|
value: string;
|
|
2286
2294
|
}
|
|
2287
2295
|
interface OceanNpVirtualNodeGroupUpdatePolicy {
|
package/azure/elastigroup.d.ts
DELETED
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Provides a Spotinst elastigroup Azure resource.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as spotinst from "@pulumi/spotinst";
|
|
12
|
-
*
|
|
13
|
-
* const testAzureGroup = new spotinst.ElastigroupAzureV3("test_azure_group", {
|
|
14
|
-
* name: "example_elastigroup_azure",
|
|
15
|
-
* resourceGroupName: "spotinst-azure",
|
|
16
|
-
* region: "eastus",
|
|
17
|
-
* os: "Linux",
|
|
18
|
-
* minSize: 0,
|
|
19
|
-
* maxSize: 1,
|
|
20
|
-
* desiredCapacity: 1,
|
|
21
|
-
* odSizes: [
|
|
22
|
-
* "standard_a1_v1",
|
|
23
|
-
* "standard_a1_v2",
|
|
24
|
-
* ],
|
|
25
|
-
* spotSizes: [
|
|
26
|
-
* "standard_a1_v1",
|
|
27
|
-
* "standard_a1_v2",
|
|
28
|
-
* ],
|
|
29
|
-
* customData: "IyEvYmluL2Jhc2gKZWNobyAidGVzdCI=",
|
|
30
|
-
* managedServiceIdentities: [{
|
|
31
|
-
* resourceGroupName: "MC_ocean-westus-dev_ocean-westus-dev-aks_westus",
|
|
32
|
-
* name: "ocean-westus-dev-aks-agentpool",
|
|
33
|
-
* }],
|
|
34
|
-
* tags: [
|
|
35
|
-
* {
|
|
36
|
-
* key: "key1",
|
|
37
|
-
* value: "value1",
|
|
38
|
-
* },
|
|
39
|
-
* {
|
|
40
|
-
* key: "key2",
|
|
41
|
-
* value: "value2",
|
|
42
|
-
* },
|
|
43
|
-
* ],
|
|
44
|
-
* images: [{
|
|
45
|
-
* marketplaces: [{
|
|
46
|
-
* publisher: "Canonical",
|
|
47
|
-
* offer: "UbuntuServer",
|
|
48
|
-
* sku: "18.04-LTS",
|
|
49
|
-
* version: "latest",
|
|
50
|
-
* }],
|
|
51
|
-
* }],
|
|
52
|
-
* spotPercentage: 65,
|
|
53
|
-
* drainingTimeout: 300,
|
|
54
|
-
* fallbackToOnDemand: true,
|
|
55
|
-
* network: {
|
|
56
|
-
* virtualNetworkName: "VirtualNetworkName",
|
|
57
|
-
* resourceGroupName: "ResourceGroup",
|
|
58
|
-
* networkInterfaces: [{
|
|
59
|
-
* subnetName: "default",
|
|
60
|
-
* assignPublicIp: false,
|
|
61
|
-
* isPrimary: true,
|
|
62
|
-
* additionalIpConfigs: [{
|
|
63
|
-
* name: "SecondaryIPConfig",
|
|
64
|
-
* privateIPVersion: "IPv4",
|
|
65
|
-
* }],
|
|
66
|
-
* applicationSecurityGroups: [{
|
|
67
|
-
* name: "ApplicationSecurityGroupName",
|
|
68
|
-
* resourceGroupName: "ResourceGroup",
|
|
69
|
-
* }],
|
|
70
|
-
* }],
|
|
71
|
-
* },
|
|
72
|
-
* login: {
|
|
73
|
-
* userName: "admin",
|
|
74
|
-
* sshPublicKey: "33a2s1f3g5a1df5g1ad3f2g1adfg56dfg==",
|
|
75
|
-
* },
|
|
76
|
-
* });
|
|
77
|
-
* ```
|
|
78
|
-
*
|
|
79
|
-
* ## Strategy
|
|
80
|
-
*
|
|
81
|
-
* * `spotPercentage` - (Optional) Percentage of Spot-VMs to maintain. Required if `onDemandCount` is not specified.
|
|
82
|
-
* * `onDemandCount` - (Optional) Number of On-Demand VMs to maintain. Required if `spotPercentage` is not specified.
|
|
83
|
-
* * `fallbackToOnDemand` -
|
|
84
|
-
* * `drainingTimeout` - (Optional, Default `120`) Time (seconds) to allow the instance to be drained from incoming TCP connections and detached from MLB before terminating it during a scale-down operation.
|
|
85
|
-
*
|
|
86
|
-
* <a id="image"></a>
|
|
87
|
-
*/
|
|
88
|
-
export declare class Elastigroup extends pulumi.CustomResource {
|
|
89
|
-
/**
|
|
90
|
-
* Get an existing Elastigroup resource's state with the given name, ID, and optional extra
|
|
91
|
-
* properties used to qualify the lookup.
|
|
92
|
-
*
|
|
93
|
-
* @param name The _unique_ name of the resulting resource.
|
|
94
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
-
* @param state Any extra arguments used during the lookup.
|
|
96
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
-
*/
|
|
98
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ElastigroupState, opts?: pulumi.CustomResourceOptions): Elastigroup;
|
|
99
|
-
/**
|
|
100
|
-
* Returns true if the given object is an instance of Elastigroup. This is designed to work even
|
|
101
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
-
*/
|
|
103
|
-
static isInstance(obj: any): obj is Elastigroup;
|
|
104
|
-
/**
|
|
105
|
-
* Custom init script file or text in Base64 encoded format.
|
|
106
|
-
*/
|
|
107
|
-
readonly customData: pulumi.Output<string | undefined>;
|
|
108
|
-
/**
|
|
109
|
-
* The desired number of instances the group should have at any time.
|
|
110
|
-
*/
|
|
111
|
-
readonly desiredCapacity: pulumi.Output<number | undefined>;
|
|
112
|
-
readonly healthCheck: pulumi.Output<outputs.azure.ElastigroupHealthCheck | undefined>;
|
|
113
|
-
readonly images: pulumi.Output<outputs.azure.ElastigroupImage[] | undefined>;
|
|
114
|
-
readonly integrationKubernetes: pulumi.Output<outputs.azure.ElastigroupIntegrationKubernetes | undefined>;
|
|
115
|
-
readonly integrationMultaiRuntime: pulumi.Output<outputs.azure.ElastigroupIntegrationMultaiRuntime | undefined>;
|
|
116
|
-
readonly loadBalancers: pulumi.Output<outputs.azure.ElastigroupLoadBalancer[] | undefined>;
|
|
117
|
-
readonly login: pulumi.Output<outputs.azure.ElastigroupLogin | undefined>;
|
|
118
|
-
readonly lowPrioritySizes: pulumi.Output<string[]>;
|
|
119
|
-
readonly managedServiceIdentities: pulumi.Output<outputs.azure.ElastigroupManagedServiceIdentity[] | undefined>;
|
|
120
|
-
/**
|
|
121
|
-
* The maximum number of instances the group should have at any time.
|
|
122
|
-
*/
|
|
123
|
-
readonly maxSize: pulumi.Output<number>;
|
|
124
|
-
/**
|
|
125
|
-
* The minimum number of instances the group should have at any time.
|
|
126
|
-
*/
|
|
127
|
-
readonly minSize: pulumi.Output<number>;
|
|
128
|
-
/**
|
|
129
|
-
* The group name.
|
|
130
|
-
*/
|
|
131
|
-
readonly name: pulumi.Output<string>;
|
|
132
|
-
readonly network: pulumi.Output<outputs.azure.ElastigroupNetwork>;
|
|
133
|
-
/**
|
|
134
|
-
* Available On-Demand sizes
|
|
135
|
-
*/
|
|
136
|
-
readonly odSizes: pulumi.Output<string[]>;
|
|
137
|
-
readonly product: pulumi.Output<string>;
|
|
138
|
-
/**
|
|
139
|
-
* The region your Azure group will be created in.
|
|
140
|
-
*/
|
|
141
|
-
readonly region: pulumi.Output<string>;
|
|
142
|
-
/**
|
|
143
|
-
* Name of the Resource Group for Elastigroup.
|
|
144
|
-
*/
|
|
145
|
-
readonly resourceGroupName: pulumi.Output<string>;
|
|
146
|
-
readonly scalingDownPolicies: pulumi.Output<outputs.azure.ElastigroupScalingDownPolicy[] | undefined>;
|
|
147
|
-
readonly scalingUpPolicies: pulumi.Output<outputs.azure.ElastigroupScalingUpPolicy[] | undefined>;
|
|
148
|
-
readonly scheduledTasks: pulumi.Output<outputs.azure.ElastigroupScheduledTask[] | undefined>;
|
|
149
|
-
readonly shutdownScript: pulumi.Output<string | undefined>;
|
|
150
|
-
readonly strategy: pulumi.Output<outputs.azure.ElastigroupStrategy>;
|
|
151
|
-
readonly updatePolicy: pulumi.Output<outputs.azure.ElastigroupUpdatePolicy | undefined>;
|
|
152
|
-
readonly userData: pulumi.Output<string | undefined>;
|
|
153
|
-
/**
|
|
154
|
-
* Create a Elastigroup resource with the given unique name, arguments, and options.
|
|
155
|
-
*
|
|
156
|
-
* @param name The _unique_ name of the resource.
|
|
157
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
158
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
159
|
-
*/
|
|
160
|
-
constructor(name: string, args: ElastigroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Input properties used for looking up and filtering Elastigroup resources.
|
|
164
|
-
*/
|
|
165
|
-
export interface ElastigroupState {
|
|
166
|
-
/**
|
|
167
|
-
* Custom init script file or text in Base64 encoded format.
|
|
168
|
-
*/
|
|
169
|
-
customData?: pulumi.Input<string>;
|
|
170
|
-
/**
|
|
171
|
-
* The desired number of instances the group should have at any time.
|
|
172
|
-
*/
|
|
173
|
-
desiredCapacity?: pulumi.Input<number>;
|
|
174
|
-
healthCheck?: pulumi.Input<inputs.azure.ElastigroupHealthCheck>;
|
|
175
|
-
images?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupImage>[]>;
|
|
176
|
-
integrationKubernetes?: pulumi.Input<inputs.azure.ElastigroupIntegrationKubernetes>;
|
|
177
|
-
integrationMultaiRuntime?: pulumi.Input<inputs.azure.ElastigroupIntegrationMultaiRuntime>;
|
|
178
|
-
loadBalancers?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupLoadBalancer>[]>;
|
|
179
|
-
login?: pulumi.Input<inputs.azure.ElastigroupLogin>;
|
|
180
|
-
lowPrioritySizes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
181
|
-
managedServiceIdentities?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupManagedServiceIdentity>[]>;
|
|
182
|
-
/**
|
|
183
|
-
* The maximum number of instances the group should have at any time.
|
|
184
|
-
*/
|
|
185
|
-
maxSize?: pulumi.Input<number>;
|
|
186
|
-
/**
|
|
187
|
-
* The minimum number of instances the group should have at any time.
|
|
188
|
-
*/
|
|
189
|
-
minSize?: pulumi.Input<number>;
|
|
190
|
-
/**
|
|
191
|
-
* The group name.
|
|
192
|
-
*/
|
|
193
|
-
name?: pulumi.Input<string>;
|
|
194
|
-
network?: pulumi.Input<inputs.azure.ElastigroupNetwork>;
|
|
195
|
-
/**
|
|
196
|
-
* Available On-Demand sizes
|
|
197
|
-
*/
|
|
198
|
-
odSizes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
199
|
-
product?: pulumi.Input<string>;
|
|
200
|
-
/**
|
|
201
|
-
* The region your Azure group will be created in.
|
|
202
|
-
*/
|
|
203
|
-
region?: pulumi.Input<string>;
|
|
204
|
-
/**
|
|
205
|
-
* Name of the Resource Group for Elastigroup.
|
|
206
|
-
*/
|
|
207
|
-
resourceGroupName?: pulumi.Input<string>;
|
|
208
|
-
scalingDownPolicies?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScalingDownPolicy>[]>;
|
|
209
|
-
scalingUpPolicies?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScalingUpPolicy>[]>;
|
|
210
|
-
scheduledTasks?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScheduledTask>[]>;
|
|
211
|
-
shutdownScript?: pulumi.Input<string>;
|
|
212
|
-
strategy?: pulumi.Input<inputs.azure.ElastigroupStrategy>;
|
|
213
|
-
updatePolicy?: pulumi.Input<inputs.azure.ElastigroupUpdatePolicy>;
|
|
214
|
-
userData?: pulumi.Input<string>;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* The set of arguments for constructing a Elastigroup resource.
|
|
218
|
-
*/
|
|
219
|
-
export interface ElastigroupArgs {
|
|
220
|
-
/**
|
|
221
|
-
* Custom init script file or text in Base64 encoded format.
|
|
222
|
-
*/
|
|
223
|
-
customData?: pulumi.Input<string>;
|
|
224
|
-
/**
|
|
225
|
-
* The desired number of instances the group should have at any time.
|
|
226
|
-
*/
|
|
227
|
-
desiredCapacity?: pulumi.Input<number>;
|
|
228
|
-
healthCheck?: pulumi.Input<inputs.azure.ElastigroupHealthCheck>;
|
|
229
|
-
images?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupImage>[]>;
|
|
230
|
-
integrationKubernetes?: pulumi.Input<inputs.azure.ElastigroupIntegrationKubernetes>;
|
|
231
|
-
integrationMultaiRuntime?: pulumi.Input<inputs.azure.ElastigroupIntegrationMultaiRuntime>;
|
|
232
|
-
loadBalancers?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupLoadBalancer>[]>;
|
|
233
|
-
login?: pulumi.Input<inputs.azure.ElastigroupLogin>;
|
|
234
|
-
lowPrioritySizes: pulumi.Input<pulumi.Input<string>[]>;
|
|
235
|
-
managedServiceIdentities?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupManagedServiceIdentity>[]>;
|
|
236
|
-
/**
|
|
237
|
-
* The maximum number of instances the group should have at any time.
|
|
238
|
-
*/
|
|
239
|
-
maxSize?: pulumi.Input<number>;
|
|
240
|
-
/**
|
|
241
|
-
* The minimum number of instances the group should have at any time.
|
|
242
|
-
*/
|
|
243
|
-
minSize?: pulumi.Input<number>;
|
|
244
|
-
/**
|
|
245
|
-
* The group name.
|
|
246
|
-
*/
|
|
247
|
-
name?: pulumi.Input<string>;
|
|
248
|
-
network: pulumi.Input<inputs.azure.ElastigroupNetwork>;
|
|
249
|
-
/**
|
|
250
|
-
* Available On-Demand sizes
|
|
251
|
-
*/
|
|
252
|
-
odSizes: pulumi.Input<pulumi.Input<string>[]>;
|
|
253
|
-
product: pulumi.Input<string>;
|
|
254
|
-
/**
|
|
255
|
-
* The region your Azure group will be created in.
|
|
256
|
-
*/
|
|
257
|
-
region: pulumi.Input<string>;
|
|
258
|
-
/**
|
|
259
|
-
* Name of the Resource Group for Elastigroup.
|
|
260
|
-
*/
|
|
261
|
-
resourceGroupName: pulumi.Input<string>;
|
|
262
|
-
scalingDownPolicies?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScalingDownPolicy>[]>;
|
|
263
|
-
scalingUpPolicies?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScalingUpPolicy>[]>;
|
|
264
|
-
scheduledTasks?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScheduledTask>[]>;
|
|
265
|
-
shutdownScript?: pulumi.Input<string>;
|
|
266
|
-
strategy: pulumi.Input<inputs.azure.ElastigroupStrategy>;
|
|
267
|
-
updatePolicy?: pulumi.Input<inputs.azure.ElastigroupUpdatePolicy>;
|
|
268
|
-
userData?: pulumi.Input<string>;
|
|
269
|
-
}
|