@upcloud/pulumi-upcloud 0.0.5
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/LICENSE +202 -0
- package/README.md +61 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +25 -0
- package/config/vars.js +43 -0
- package/config/vars.js.map +1 -0
- package/floatingIpAddress.d.ts +128 -0
- package/floatingIpAddress.js +90 -0
- package/floatingIpAddress.js.map +1 -0
- package/gateway.d.ts +206 -0
- package/gateway.js +111 -0
- package/gateway.js.map +1 -0
- package/gatewayConnection.d.ts +157 -0
- package/gatewayConnection.js +105 -0
- package/gatewayConnection.js.map +1 -0
- package/gatewayConnectionTunnel.d.ts +129 -0
- package/gatewayConnectionTunnel.js +78 -0
- package/gatewayConnectionTunnel.js.map +1 -0
- package/getHosts.d.ts +55 -0
- package/getHosts.js +52 -0
- package/getHosts.js.map +1 -0
- package/getIpAddresses.d.ts +51 -0
- package/getIpAddresses.js +48 -0
- package/getIpAddresses.js.map +1 -0
- package/getKubernetesCluster.d.ts +33 -0
- package/getKubernetesCluster.js +28 -0
- package/getKubernetesCluster.js.map +1 -0
- package/getLoadBalancerDnsChallengeDomain.d.ts +40 -0
- package/getLoadBalancerDnsChallengeDomain.js +42 -0
- package/getLoadBalancerDnsChallengeDomain.js.map +1 -0
- package/getManagedDatabaseMysqlSessions.d.ts +83 -0
- package/getManagedDatabaseMysqlSessions.js +74 -0
- package/getManagedDatabaseMysqlSessions.js.map +1 -0
- package/getManagedDatabaseOpensearchIndices.d.ts +82 -0
- package/getManagedDatabaseOpensearchIndices.js +76 -0
- package/getManagedDatabaseOpensearchIndices.js.map +1 -0
- package/getManagedDatabasePostgresqlSessions.d.ts +83 -0
- package/getManagedDatabasePostgresqlSessions.js +74 -0
- package/getManagedDatabasePostgresqlSessions.js.map +1 -0
- package/getManagedDatabaseRedisSessions.d.ts +87 -0
- package/getManagedDatabaseRedisSessions.js +78 -0
- package/getManagedDatabaseRedisSessions.js.map +1 -0
- package/getManagedDatabaseValkeySessions.d.ts +83 -0
- package/getManagedDatabaseValkeySessions.js +74 -0
- package/getManagedDatabaseValkeySessions.js.map +1 -0
- package/getManagedObjectStoragePolicies.d.ts +33 -0
- package/getManagedObjectStoragePolicies.js +28 -0
- package/getManagedObjectStoragePolicies.js.map +1 -0
- package/getManagedObjectStorageRegions.d.ts +33 -0
- package/getManagedObjectStorageRegions.js +30 -0
- package/getManagedObjectStorageRegions.js.map +1 -0
- package/getNetworks.d.ts +60 -0
- package/getNetworks.js +56 -0
- package/getNetworks.js.map +1 -0
- package/getStorage.d.ts +163 -0
- package/getStorage.js +122 -0
- package/getStorage.js.map +1 -0
- package/getTags.d.ts +20 -0
- package/getTags.js +24 -0
- package/getTags.js.map +1 -0
- package/getZone.d.ts +42 -0
- package/getZone.js +32 -0
- package/getZone.js.map +1 -0
- package/getZones.d.ts +29 -0
- package/getZones.js +30 -0
- package/getZones.js.map +1 -0
- package/index.d.ts +177 -0
- package/index.js +287 -0
- package/index.js.map +1 -0
- package/kubernetesCluster.d.ts +237 -0
- package/kubernetesCluster.js +131 -0
- package/kubernetesCluster.js.map +1 -0
- package/kubernetesNodeGroup.d.ts +243 -0
- package/kubernetesNodeGroup.js +120 -0
- package/kubernetesNodeGroup.js.map +1 -0
- package/loadbalancer.d.ts +261 -0
- package/loadbalancer.js +122 -0
- package/loadbalancer.js.map +1 -0
- package/loadbalancerBackend.d.ts +121 -0
- package/loadbalancerBackend.js +90 -0
- package/loadbalancerBackend.js.map +1 -0
- package/loadbalancerBackendTlsConfig.d.ts +75 -0
- package/loadbalancerBackendTlsConfig.js +62 -0
- package/loadbalancerBackendTlsConfig.js.map +1 -0
- package/loadbalancerDynamicBackendMember.d.ts +169 -0
- package/loadbalancerDynamicBackendMember.js +119 -0
- package/loadbalancerDynamicBackendMember.js.map +1 -0
- package/loadbalancerDynamicCertificateBundle.d.ts +114 -0
- package/loadbalancerDynamicCertificateBundle.js +83 -0
- package/loadbalancerDynamicCertificateBundle.js.map +1 -0
- package/loadbalancerFrontend.d.ts +184 -0
- package/loadbalancerFrontend.js +126 -0
- package/loadbalancerFrontend.js.map +1 -0
- package/loadbalancerFrontendRule.d.ts +170 -0
- package/loadbalancerFrontendRule.js +125 -0
- package/loadbalancerFrontendRule.js.map +1 -0
- package/loadbalancerFrontendTlsConfig.d.ts +114 -0
- package/loadbalancerFrontendTlsConfig.js +101 -0
- package/loadbalancerFrontendTlsConfig.js.map +1 -0
- package/loadbalancerManualCertificateBundle.d.ts +111 -0
- package/loadbalancerManualCertificateBundle.js +72 -0
- package/loadbalancerManualCertificateBundle.js.map +1 -0
- package/loadbalancerResolver.d.ts +171 -0
- package/loadbalancerResolver.js +120 -0
- package/loadbalancerResolver.js.map +1 -0
- package/loadbalancerStaticBackendMember.d.ts +156 -0
- package/loadbalancerStaticBackendMember.js +106 -0
- package/loadbalancerStaticBackendMember.js.map +1 -0
- package/managedDatabaseLogicalDatabase.d.ts +109 -0
- package/managedDatabaseLogicalDatabase.js +83 -0
- package/managedDatabaseLogicalDatabase.js.map +1 -0
- package/managedDatabaseMysql.d.ts +298 -0
- package/managedDatabaseMysql.js +139 -0
- package/managedDatabaseMysql.js.map +1 -0
- package/managedDatabaseOpensearch.d.ts +317 -0
- package/managedDatabaseOpensearch.js +132 -0
- package/managedDatabaseOpensearch.js.map +1 -0
- package/managedDatabasePostgresql.d.ts +295 -0
- package/managedDatabasePostgresql.js +130 -0
- package/managedDatabasePostgresql.js.map +1 -0
- package/managedDatabaseRedis.d.ts +287 -0
- package/managedDatabaseRedis.js +128 -0
- package/managedDatabaseRedis.js.map +1 -0
- package/managedDatabaseUser.d.ts +163 -0
- package/managedDatabaseUser.js +94 -0
- package/managedDatabaseUser.js.map +1 -0
- package/managedDatabaseValkey.d.ts +285 -0
- package/managedDatabaseValkey.js +126 -0
- package/managedDatabaseValkey.js.map +1 -0
- package/managedObjectStorage.d.ts +178 -0
- package/managedObjectStorage.js +107 -0
- package/managedObjectStorage.js.map +1 -0
- package/managedObjectStorageBucket.d.ts +94 -0
- package/managedObjectStorageBucket.js +76 -0
- package/managedObjectStorageBucket.js.map +1 -0
- package/managedObjectStorageCustomDomain.d.ts +105 -0
- package/managedObjectStorageCustomDomain.js +89 -0
- package/managedObjectStorageCustomDomain.js.map +1 -0
- package/managedObjectStoragePolicy.d.ts +155 -0
- package/managedObjectStoragePolicy.js +93 -0
- package/managedObjectStoragePolicy.js.map +1 -0
- package/managedObjectStorageUser.d.ts +101 -0
- package/managedObjectStorageUser.js +80 -0
- package/managedObjectStorageUser.js.map +1 -0
- package/managedObjectStorageUserAccessKey.d.ts +128 -0
- package/managedObjectStorageUserAccessKey.js +96 -0
- package/managedObjectStorageUserAccessKey.js.map +1 -0
- package/managedObjectStorageUserPolicy.d.ts +100 -0
- package/managedObjectStorageUserPolicy.js +87 -0
- package/managedObjectStorageUserPolicy.js.map +1 -0
- package/network.d.ts +142 -0
- package/network.js +95 -0
- package/network.js.map +1 -0
- package/networkPeering.d.ts +137 -0
- package/networkPeering.js +96 -0
- package/networkPeering.js.map +1 -0
- package/objectStorage.d.ts +196 -0
- package/objectStorage.js +132 -0
- package/objectStorage.js.map +1 -0
- package/package.json +29 -0
- package/provider.d.ts +60 -0
- package/provider.js +50 -0
- package/provider.js.map +1 -0
- package/router.d.ts +124 -0
- package/router.js +77 -0
- package/router.js.map +1 -0
- package/server.d.ts +332 -0
- package/server.js +106 -0
- package/server.js.map +1 -0
- package/serverFirewallRules.d.ts +124 -0
- package/serverFirewallRules.js +107 -0
- package/serverFirewallRules.js.map +1 -0
- package/serverGroup.d.ts +160 -0
- package/serverGroup.js +91 -0
- package/serverGroup.js.map +1 -0
- package/storage.d.ts +210 -0
- package/storage.js +91 -0
- package/storage.js.map +1 -0
- package/storageTemplate.d.ts +151 -0
- package/storageTemplate.js +90 -0
- package/storageTemplate.js.map +1 -0
- package/tag.d.ts +75 -0
- package/tag.js +56 -0
- package/tag.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +3721 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +3459 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
package/types/input.d.ts
ADDED
|
@@ -0,0 +1,3721 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export interface GatewayAddress {
|
|
4
|
+
/**
|
|
5
|
+
* IP addresss
|
|
6
|
+
*/
|
|
7
|
+
address?: pulumi.Input<string>;
|
|
8
|
+
/**
|
|
9
|
+
* Name of the IP address
|
|
10
|
+
*/
|
|
11
|
+
name?: pulumi.Input<string>;
|
|
12
|
+
}
|
|
13
|
+
export interface GatewayConnectionLocalRoute {
|
|
14
|
+
/**
|
|
15
|
+
* Name of the route
|
|
16
|
+
*/
|
|
17
|
+
name: pulumi.Input<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Destination prefix of the route; needs to be a valid IPv4 prefix
|
|
20
|
+
*/
|
|
21
|
+
staticNetwork: pulumi.Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Type of route; currently the only supported type is 'static'
|
|
24
|
+
*/
|
|
25
|
+
type?: pulumi.Input<string>;
|
|
26
|
+
}
|
|
27
|
+
export interface GatewayConnectionRemoteRoute {
|
|
28
|
+
/**
|
|
29
|
+
* Name of the route
|
|
30
|
+
*/
|
|
31
|
+
name: pulumi.Input<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Destination prefix of the route; needs to be a valid IPv4 prefix
|
|
34
|
+
*/
|
|
35
|
+
staticNetwork: pulumi.Input<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Type of route; currently the only supported type is 'static'
|
|
38
|
+
*/
|
|
39
|
+
type?: pulumi.Input<string>;
|
|
40
|
+
}
|
|
41
|
+
export interface GatewayConnectionTunnelIpsecAuthPsk {
|
|
42
|
+
/**
|
|
43
|
+
* The pre-shared key. This value is only used during resource creation and is not returned in the state. It is not possible to update this value. If you need to update it, delete the connection and create a new one.
|
|
44
|
+
*/
|
|
45
|
+
psk: pulumi.Input<string>;
|
|
46
|
+
}
|
|
47
|
+
export interface GatewayConnectionTunnelIpsecProperties {
|
|
48
|
+
/**
|
|
49
|
+
* IKE child SA rekey time in seconds.
|
|
50
|
+
*/
|
|
51
|
+
childRekeyTime?: pulumi.Input<number>;
|
|
52
|
+
/**
|
|
53
|
+
* Delay before sending Dead Peer Detection packets if no traffic is detected, in seconds.
|
|
54
|
+
*/
|
|
55
|
+
dpdDelay?: pulumi.Input<number>;
|
|
56
|
+
/**
|
|
57
|
+
* Timeout period for DPD reply before considering the peer to be dead, in seconds.
|
|
58
|
+
*/
|
|
59
|
+
dpdTimeout?: pulumi.Input<number>;
|
|
60
|
+
/**
|
|
61
|
+
* Maximum IKE SA lifetime in seconds.
|
|
62
|
+
*/
|
|
63
|
+
ikeLifetime?: pulumi.Input<number>;
|
|
64
|
+
/**
|
|
65
|
+
* List of Phase 1: Proposal algorithms.
|
|
66
|
+
*/
|
|
67
|
+
phase1Algorithms?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
|
+
/**
|
|
69
|
+
* List of Phase 1 Diffie-Hellman group numbers.
|
|
70
|
+
*/
|
|
71
|
+
phase1DhGroupNumbers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
72
|
+
/**
|
|
73
|
+
* List of Phase 1 integrity algorithms.
|
|
74
|
+
*/
|
|
75
|
+
phase1IntegrityAlgorithms?: pulumi.Input<pulumi.Input<string>[]>;
|
|
76
|
+
/**
|
|
77
|
+
* List of Phase 2: Security Association algorithms.
|
|
78
|
+
*/
|
|
79
|
+
phase2Algorithms?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
/**
|
|
81
|
+
* List of Phase 2 Diffie-Hellman group numbers.
|
|
82
|
+
*/
|
|
83
|
+
phase2DhGroupNumbers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
84
|
+
/**
|
|
85
|
+
* List of Phase 2 integrity algorithms.
|
|
86
|
+
*/
|
|
87
|
+
phase2IntegrityAlgorithms?: pulumi.Input<pulumi.Input<string>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* IKE SA rekey time in seconds.
|
|
90
|
+
*/
|
|
91
|
+
rekeyTime?: pulumi.Input<number>;
|
|
92
|
+
}
|
|
93
|
+
export interface GatewayRouter {
|
|
94
|
+
/**
|
|
95
|
+
* ID of the router attached to the gateway.
|
|
96
|
+
*/
|
|
97
|
+
id: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
export interface GetHostsHost {
|
|
100
|
+
/**
|
|
101
|
+
* Free form text describing the host
|
|
102
|
+
*/
|
|
103
|
+
description?: string;
|
|
104
|
+
/**
|
|
105
|
+
* The unique id of the host
|
|
106
|
+
*/
|
|
107
|
+
hostId?: number;
|
|
108
|
+
statistics?: inputs.GetHostsHostStatistic[];
|
|
109
|
+
/**
|
|
110
|
+
* If true, this node can be used as a host for Windows servers.
|
|
111
|
+
*/
|
|
112
|
+
windowsEnabled?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The zone the host is in, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
115
|
+
*/
|
|
116
|
+
zone?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface GetHostsHostArgs {
|
|
119
|
+
/**
|
|
120
|
+
* Free form text describing the host
|
|
121
|
+
*/
|
|
122
|
+
description?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The unique id of the host
|
|
125
|
+
*/
|
|
126
|
+
hostId?: pulumi.Input<number>;
|
|
127
|
+
statistics?: pulumi.Input<pulumi.Input<inputs.GetHostsHostStatisticArgs>[]>;
|
|
128
|
+
/**
|
|
129
|
+
* If true, this node can be used as a host for Windows servers.
|
|
130
|
+
*/
|
|
131
|
+
windowsEnabled?: pulumi.Input<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* The zone the host is in, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
134
|
+
*/
|
|
135
|
+
zone?: pulumi.Input<string>;
|
|
136
|
+
}
|
|
137
|
+
export interface GetHostsHostStatistic {
|
|
138
|
+
/**
|
|
139
|
+
* The name of the statistic
|
|
140
|
+
*/
|
|
141
|
+
name?: string;
|
|
142
|
+
/**
|
|
143
|
+
* The timestamp of the statistic
|
|
144
|
+
*/
|
|
145
|
+
timestamp?: string;
|
|
146
|
+
/**
|
|
147
|
+
* The value of the statistic
|
|
148
|
+
*/
|
|
149
|
+
value?: number;
|
|
150
|
+
}
|
|
151
|
+
export interface GetHostsHostStatisticArgs {
|
|
152
|
+
/**
|
|
153
|
+
* The name of the statistic
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The timestamp of the statistic
|
|
158
|
+
*/
|
|
159
|
+
timestamp?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The value of the statistic
|
|
162
|
+
*/
|
|
163
|
+
value?: pulumi.Input<number>;
|
|
164
|
+
}
|
|
165
|
+
export interface GetIpAddressesAddress {
|
|
166
|
+
/**
|
|
167
|
+
* Is address for utility or public network
|
|
168
|
+
*/
|
|
169
|
+
access?: string;
|
|
170
|
+
/**
|
|
171
|
+
* An UpCloud assigned IP Address
|
|
172
|
+
*/
|
|
173
|
+
address?: string;
|
|
174
|
+
/**
|
|
175
|
+
* IP address family
|
|
176
|
+
*/
|
|
177
|
+
family?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Does the IP Address represents a floating IP Address
|
|
180
|
+
*/
|
|
181
|
+
floating?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* MAC address of server interface to assign address to
|
|
184
|
+
*/
|
|
185
|
+
mac?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Is the address a part of a plan
|
|
188
|
+
*/
|
|
189
|
+
partOfPlan?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* A reverse DNS record entry
|
|
192
|
+
*/
|
|
193
|
+
ptrRecord?: string;
|
|
194
|
+
/**
|
|
195
|
+
* The unique identifier for a server
|
|
196
|
+
*/
|
|
197
|
+
server?: string;
|
|
198
|
+
/**
|
|
199
|
+
* Zone of address, required when assigning a detached floating IP address, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
200
|
+
*/
|
|
201
|
+
zone?: string;
|
|
202
|
+
}
|
|
203
|
+
export interface GetIpAddressesAddressArgs {
|
|
204
|
+
/**
|
|
205
|
+
* Is address for utility or public network
|
|
206
|
+
*/
|
|
207
|
+
access?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* An UpCloud assigned IP Address
|
|
210
|
+
*/
|
|
211
|
+
address?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* IP address family
|
|
214
|
+
*/
|
|
215
|
+
family?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Does the IP Address represents a floating IP Address
|
|
218
|
+
*/
|
|
219
|
+
floating?: pulumi.Input<boolean>;
|
|
220
|
+
/**
|
|
221
|
+
* MAC address of server interface to assign address to
|
|
222
|
+
*/
|
|
223
|
+
mac?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Is the address a part of a plan
|
|
226
|
+
*/
|
|
227
|
+
partOfPlan?: pulumi.Input<boolean>;
|
|
228
|
+
/**
|
|
229
|
+
* A reverse DNS record entry
|
|
230
|
+
*/
|
|
231
|
+
ptrRecord?: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* The unique identifier for a server
|
|
234
|
+
*/
|
|
235
|
+
server?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* Zone of address, required when assigning a detached floating IP address, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
238
|
+
*/
|
|
239
|
+
zone?: pulumi.Input<string>;
|
|
240
|
+
}
|
|
241
|
+
export interface GetManagedDatabaseMysqlSessionsSession {
|
|
242
|
+
/**
|
|
243
|
+
* Name of the application that is connected to this service.
|
|
244
|
+
*/
|
|
245
|
+
applicationName?: string;
|
|
246
|
+
/**
|
|
247
|
+
* IP address of the client connected to this service.
|
|
248
|
+
*/
|
|
249
|
+
clientAddr?: string;
|
|
250
|
+
/**
|
|
251
|
+
* Name of the database this service is connected to.
|
|
252
|
+
*/
|
|
253
|
+
datname?: string;
|
|
254
|
+
/**
|
|
255
|
+
* Process ID of this service.
|
|
256
|
+
*/
|
|
257
|
+
id?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Text of this service's most recent query. If state is active this field shows the currently executing query. In all other states, it shows an empty string.
|
|
260
|
+
*/
|
|
261
|
+
query?: string;
|
|
262
|
+
/**
|
|
263
|
+
* The active query current duration.
|
|
264
|
+
*/
|
|
265
|
+
queryDuration?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Current overall state of this service: active: The service is executing a query, idle: The service is waiting for a new client command.
|
|
268
|
+
*/
|
|
269
|
+
state?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Name of the user logged into this service.
|
|
272
|
+
*/
|
|
273
|
+
usename?: string;
|
|
274
|
+
}
|
|
275
|
+
export interface GetManagedDatabaseMysqlSessionsSessionArgs {
|
|
276
|
+
/**
|
|
277
|
+
* Name of the application that is connected to this service.
|
|
278
|
+
*/
|
|
279
|
+
applicationName?: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* IP address of the client connected to this service.
|
|
282
|
+
*/
|
|
283
|
+
clientAddr?: pulumi.Input<string>;
|
|
284
|
+
/**
|
|
285
|
+
* Name of the database this service is connected to.
|
|
286
|
+
*/
|
|
287
|
+
datname?: pulumi.Input<string>;
|
|
288
|
+
/**
|
|
289
|
+
* Process ID of this service.
|
|
290
|
+
*/
|
|
291
|
+
id?: pulumi.Input<string>;
|
|
292
|
+
/**
|
|
293
|
+
* Text of this service's most recent query. If state is active this field shows the currently executing query. In all other states, it shows an empty string.
|
|
294
|
+
*/
|
|
295
|
+
query?: pulumi.Input<string>;
|
|
296
|
+
/**
|
|
297
|
+
* The active query current duration.
|
|
298
|
+
*/
|
|
299
|
+
queryDuration?: pulumi.Input<string>;
|
|
300
|
+
/**
|
|
301
|
+
* Current overall state of this service: active: The service is executing a query, idle: The service is waiting for a new client command.
|
|
302
|
+
*/
|
|
303
|
+
state?: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Name of the user logged into this service.
|
|
306
|
+
*/
|
|
307
|
+
usename?: pulumi.Input<string>;
|
|
308
|
+
}
|
|
309
|
+
export interface GetManagedDatabaseOpensearchIndicesIndex {
|
|
310
|
+
/**
|
|
311
|
+
* Timestamp indicating the creation time of the index.
|
|
312
|
+
*/
|
|
313
|
+
createTime?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Number of documents stored in the index.
|
|
316
|
+
*/
|
|
317
|
+
docs?: number;
|
|
318
|
+
/**
|
|
319
|
+
* Health status of the index e.g. `green`, `yellow`, or `red`.
|
|
320
|
+
*/
|
|
321
|
+
health?: string;
|
|
322
|
+
/**
|
|
323
|
+
* Name of the index.
|
|
324
|
+
*/
|
|
325
|
+
indexName?: string;
|
|
326
|
+
/**
|
|
327
|
+
* Number of replicas configured for the index.
|
|
328
|
+
*/
|
|
329
|
+
numberOfReplicas?: number;
|
|
330
|
+
/**
|
|
331
|
+
* Number of shards configured & used by the index.
|
|
332
|
+
*/
|
|
333
|
+
numberOfShards?: number;
|
|
334
|
+
/**
|
|
335
|
+
* Indicates whether the index is in a read-only state that permits deletion of the entire index. This attribute can be automatically set to true in certain scenarios where the node disk space exceeds the flood stage.
|
|
336
|
+
*/
|
|
337
|
+
readOnlyAllowDelete?: boolean;
|
|
338
|
+
/**
|
|
339
|
+
* Size of the index in bytes.
|
|
340
|
+
*/
|
|
341
|
+
size?: number;
|
|
342
|
+
/**
|
|
343
|
+
* Status of the index e.g. `open` or `closed`.
|
|
344
|
+
*/
|
|
345
|
+
status?: string;
|
|
346
|
+
}
|
|
347
|
+
export interface GetManagedDatabaseOpensearchIndicesIndexArgs {
|
|
348
|
+
/**
|
|
349
|
+
* Timestamp indicating the creation time of the index.
|
|
350
|
+
*/
|
|
351
|
+
createTime?: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* Number of documents stored in the index.
|
|
354
|
+
*/
|
|
355
|
+
docs?: pulumi.Input<number>;
|
|
356
|
+
/**
|
|
357
|
+
* Health status of the index e.g. `green`, `yellow`, or `red`.
|
|
358
|
+
*/
|
|
359
|
+
health?: pulumi.Input<string>;
|
|
360
|
+
/**
|
|
361
|
+
* Name of the index.
|
|
362
|
+
*/
|
|
363
|
+
indexName?: pulumi.Input<string>;
|
|
364
|
+
/**
|
|
365
|
+
* Number of replicas configured for the index.
|
|
366
|
+
*/
|
|
367
|
+
numberOfReplicas?: pulumi.Input<number>;
|
|
368
|
+
/**
|
|
369
|
+
* Number of shards configured & used by the index.
|
|
370
|
+
*/
|
|
371
|
+
numberOfShards?: pulumi.Input<number>;
|
|
372
|
+
/**
|
|
373
|
+
* Indicates whether the index is in a read-only state that permits deletion of the entire index. This attribute can be automatically set to true in certain scenarios where the node disk space exceeds the flood stage.
|
|
374
|
+
*/
|
|
375
|
+
readOnlyAllowDelete?: pulumi.Input<boolean>;
|
|
376
|
+
/**
|
|
377
|
+
* Size of the index in bytes.
|
|
378
|
+
*/
|
|
379
|
+
size?: pulumi.Input<number>;
|
|
380
|
+
/**
|
|
381
|
+
* Status of the index e.g. `open` or `closed`.
|
|
382
|
+
*/
|
|
383
|
+
status?: pulumi.Input<string>;
|
|
384
|
+
}
|
|
385
|
+
export interface GetManagedDatabasePostgresqlSessionsSession {
|
|
386
|
+
/**
|
|
387
|
+
* Name of the application that is connected to this service.
|
|
388
|
+
*/
|
|
389
|
+
applicationName?: string;
|
|
390
|
+
/**
|
|
391
|
+
* Time when this process was started, i.e., when the client connected to the server.
|
|
392
|
+
*/
|
|
393
|
+
backendStart?: string;
|
|
394
|
+
/**
|
|
395
|
+
* Type of current service.
|
|
396
|
+
*/
|
|
397
|
+
backendType?: string;
|
|
398
|
+
/**
|
|
399
|
+
* Top-level transaction identifier of this service, if any.
|
|
400
|
+
*/
|
|
401
|
+
backendXid?: number;
|
|
402
|
+
/**
|
|
403
|
+
* The current service's xmin horizon.
|
|
404
|
+
*/
|
|
405
|
+
backendXmin?: number;
|
|
406
|
+
/**
|
|
407
|
+
* IP address of the client connected to this service. If this field is null, it indicates either that the client is connected via a Unix socket on the server machine or that this is an internal process such as autovacuum.
|
|
408
|
+
*/
|
|
409
|
+
clientAddr?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Host name of the connected client, as reported by a reverse DNS lookup of `clientAddr`.
|
|
412
|
+
*/
|
|
413
|
+
clientHostname?: string;
|
|
414
|
+
/**
|
|
415
|
+
* TCP port number that the client is using for communication with this service, or -1 if a Unix socket is used.
|
|
416
|
+
*/
|
|
417
|
+
clientPort?: number;
|
|
418
|
+
/**
|
|
419
|
+
* OID of the database this service is connected to.
|
|
420
|
+
*/
|
|
421
|
+
datid?: number;
|
|
422
|
+
/**
|
|
423
|
+
* Name of the database this service is connected to.
|
|
424
|
+
*/
|
|
425
|
+
datname?: string;
|
|
426
|
+
/**
|
|
427
|
+
* Process ID of this service.
|
|
428
|
+
*/
|
|
429
|
+
id?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Text of this service's most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query that was executed.
|
|
432
|
+
*/
|
|
433
|
+
query?: string;
|
|
434
|
+
/**
|
|
435
|
+
* The active query current duration.
|
|
436
|
+
*/
|
|
437
|
+
queryDuration?: string;
|
|
438
|
+
/**
|
|
439
|
+
* Time when the currently active query was started, or if state is not active, when the last query was started.
|
|
440
|
+
*/
|
|
441
|
+
queryStart?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Current overall state of this service: active: The service is executing a query, idle: The service is waiting for a new client command.
|
|
444
|
+
*/
|
|
445
|
+
state?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Time when the state was last changed.
|
|
448
|
+
*/
|
|
449
|
+
stateChange?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Name of the user logged into this service.
|
|
452
|
+
*/
|
|
453
|
+
usename?: string;
|
|
454
|
+
/**
|
|
455
|
+
* OID of the user logged into this service.
|
|
456
|
+
*/
|
|
457
|
+
usesysid?: number;
|
|
458
|
+
/**
|
|
459
|
+
* Wait event name if service is currently waiting.
|
|
460
|
+
*/
|
|
461
|
+
waitEvent?: string;
|
|
462
|
+
/**
|
|
463
|
+
* The type of event for which the service is waiting, if any; otherwise NULL.
|
|
464
|
+
*/
|
|
465
|
+
waitEventType?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Time when this process' current transaction was started, or null if no transaction is active.
|
|
468
|
+
*/
|
|
469
|
+
xactStart?: string;
|
|
470
|
+
}
|
|
471
|
+
export interface GetManagedDatabasePostgresqlSessionsSessionArgs {
|
|
472
|
+
/**
|
|
473
|
+
* Name of the application that is connected to this service.
|
|
474
|
+
*/
|
|
475
|
+
applicationName?: pulumi.Input<string>;
|
|
476
|
+
/**
|
|
477
|
+
* Time when this process was started, i.e., when the client connected to the server.
|
|
478
|
+
*/
|
|
479
|
+
backendStart?: pulumi.Input<string>;
|
|
480
|
+
/**
|
|
481
|
+
* Type of current service.
|
|
482
|
+
*/
|
|
483
|
+
backendType?: pulumi.Input<string>;
|
|
484
|
+
/**
|
|
485
|
+
* Top-level transaction identifier of this service, if any.
|
|
486
|
+
*/
|
|
487
|
+
backendXid?: pulumi.Input<number>;
|
|
488
|
+
/**
|
|
489
|
+
* The current service's xmin horizon.
|
|
490
|
+
*/
|
|
491
|
+
backendXmin?: pulumi.Input<number>;
|
|
492
|
+
/**
|
|
493
|
+
* IP address of the client connected to this service. If this field is null, it indicates either that the client is connected via a Unix socket on the server machine or that this is an internal process such as autovacuum.
|
|
494
|
+
*/
|
|
495
|
+
clientAddr?: pulumi.Input<string>;
|
|
496
|
+
/**
|
|
497
|
+
* Host name of the connected client, as reported by a reverse DNS lookup of `clientAddr`.
|
|
498
|
+
*/
|
|
499
|
+
clientHostname?: pulumi.Input<string>;
|
|
500
|
+
/**
|
|
501
|
+
* TCP port number that the client is using for communication with this service, or -1 if a Unix socket is used.
|
|
502
|
+
*/
|
|
503
|
+
clientPort?: pulumi.Input<number>;
|
|
504
|
+
/**
|
|
505
|
+
* OID of the database this service is connected to.
|
|
506
|
+
*/
|
|
507
|
+
datid?: pulumi.Input<number>;
|
|
508
|
+
/**
|
|
509
|
+
* Name of the database this service is connected to.
|
|
510
|
+
*/
|
|
511
|
+
datname?: pulumi.Input<string>;
|
|
512
|
+
/**
|
|
513
|
+
* Process ID of this service.
|
|
514
|
+
*/
|
|
515
|
+
id?: pulumi.Input<string>;
|
|
516
|
+
/**
|
|
517
|
+
* Text of this service's most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query that was executed.
|
|
518
|
+
*/
|
|
519
|
+
query?: pulumi.Input<string>;
|
|
520
|
+
/**
|
|
521
|
+
* The active query current duration.
|
|
522
|
+
*/
|
|
523
|
+
queryDuration?: pulumi.Input<string>;
|
|
524
|
+
/**
|
|
525
|
+
* Time when the currently active query was started, or if state is not active, when the last query was started.
|
|
526
|
+
*/
|
|
527
|
+
queryStart?: pulumi.Input<string>;
|
|
528
|
+
/**
|
|
529
|
+
* Current overall state of this service: active: The service is executing a query, idle: The service is waiting for a new client command.
|
|
530
|
+
*/
|
|
531
|
+
state?: pulumi.Input<string>;
|
|
532
|
+
/**
|
|
533
|
+
* Time when the state was last changed.
|
|
534
|
+
*/
|
|
535
|
+
stateChange?: pulumi.Input<string>;
|
|
536
|
+
/**
|
|
537
|
+
* Name of the user logged into this service.
|
|
538
|
+
*/
|
|
539
|
+
usename?: pulumi.Input<string>;
|
|
540
|
+
/**
|
|
541
|
+
* OID of the user logged into this service.
|
|
542
|
+
*/
|
|
543
|
+
usesysid?: pulumi.Input<number>;
|
|
544
|
+
/**
|
|
545
|
+
* Wait event name if service is currently waiting.
|
|
546
|
+
*/
|
|
547
|
+
waitEvent?: pulumi.Input<string>;
|
|
548
|
+
/**
|
|
549
|
+
* The type of event for which the service is waiting, if any; otherwise NULL.
|
|
550
|
+
*/
|
|
551
|
+
waitEventType?: pulumi.Input<string>;
|
|
552
|
+
/**
|
|
553
|
+
* Time when this process' current transaction was started, or null if no transaction is active.
|
|
554
|
+
*/
|
|
555
|
+
xactStart?: pulumi.Input<string>;
|
|
556
|
+
}
|
|
557
|
+
export interface GetManagedDatabaseRedisSessionsSession {
|
|
558
|
+
/**
|
|
559
|
+
* Number of active channel subscriptions
|
|
560
|
+
*/
|
|
561
|
+
activeChannelSubscriptions?: number;
|
|
562
|
+
/**
|
|
563
|
+
* Current database ID
|
|
564
|
+
*/
|
|
565
|
+
activeDatabase?: string;
|
|
566
|
+
/**
|
|
567
|
+
* Number of pattern matching subscriptions.
|
|
568
|
+
*/
|
|
569
|
+
activePatternMatchingChannelSubscriptions?: number;
|
|
570
|
+
/**
|
|
571
|
+
* Name of the application that is connected to this service.
|
|
572
|
+
*/
|
|
573
|
+
applicationName?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Number of pattern matching subscriptions.
|
|
576
|
+
*/
|
|
577
|
+
clientAddr?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Total duration of the connection in nanoseconds.
|
|
580
|
+
*/
|
|
581
|
+
connectionAge?: number;
|
|
582
|
+
/**
|
|
583
|
+
* Idle time of the connection in nanoseconds.
|
|
584
|
+
*/
|
|
585
|
+
connectionIdle?: number;
|
|
586
|
+
/**
|
|
587
|
+
* A set containing flags' descriptions.
|
|
588
|
+
*/
|
|
589
|
+
flags?: string[];
|
|
590
|
+
/**
|
|
591
|
+
* Client connection flags in raw string format.
|
|
592
|
+
*/
|
|
593
|
+
flagsRaw?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Process ID of this session.
|
|
596
|
+
*/
|
|
597
|
+
id?: string;
|
|
598
|
+
/**
|
|
599
|
+
* Number of commands in a MULTI/EXEC context.
|
|
600
|
+
*/
|
|
601
|
+
multiExecCommands?: number;
|
|
602
|
+
/**
|
|
603
|
+
* Output buffer length.
|
|
604
|
+
*/
|
|
605
|
+
outputBuffer?: number;
|
|
606
|
+
/**
|
|
607
|
+
* Output buffer memory usage.
|
|
608
|
+
*/
|
|
609
|
+
outputBufferMemory?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Output list length (replies are queued in this list when the buffer is full).
|
|
612
|
+
*/
|
|
613
|
+
outputListLength?: number;
|
|
614
|
+
/**
|
|
615
|
+
* The last executed command.
|
|
616
|
+
*/
|
|
617
|
+
query?: string;
|
|
618
|
+
/**
|
|
619
|
+
* Query buffer length (0 means no query pending).
|
|
620
|
+
*/
|
|
621
|
+
queryBuffer?: number;
|
|
622
|
+
/**
|
|
623
|
+
* Free space of the query buffer (0 means the buffer is full).
|
|
624
|
+
*/
|
|
625
|
+
queryBufferFree?: number;
|
|
626
|
+
}
|
|
627
|
+
export interface GetManagedDatabaseRedisSessionsSessionArgs {
|
|
628
|
+
/**
|
|
629
|
+
* Number of active channel subscriptions
|
|
630
|
+
*/
|
|
631
|
+
activeChannelSubscriptions?: pulumi.Input<number>;
|
|
632
|
+
/**
|
|
633
|
+
* Current database ID
|
|
634
|
+
*/
|
|
635
|
+
activeDatabase?: pulumi.Input<string>;
|
|
636
|
+
/**
|
|
637
|
+
* Number of pattern matching subscriptions.
|
|
638
|
+
*/
|
|
639
|
+
activePatternMatchingChannelSubscriptions?: pulumi.Input<number>;
|
|
640
|
+
/**
|
|
641
|
+
* Name of the application that is connected to this service.
|
|
642
|
+
*/
|
|
643
|
+
applicationName?: pulumi.Input<string>;
|
|
644
|
+
/**
|
|
645
|
+
* Number of pattern matching subscriptions.
|
|
646
|
+
*/
|
|
647
|
+
clientAddr?: pulumi.Input<string>;
|
|
648
|
+
/**
|
|
649
|
+
* Total duration of the connection in nanoseconds.
|
|
650
|
+
*/
|
|
651
|
+
connectionAge?: pulumi.Input<number>;
|
|
652
|
+
/**
|
|
653
|
+
* Idle time of the connection in nanoseconds.
|
|
654
|
+
*/
|
|
655
|
+
connectionIdle?: pulumi.Input<number>;
|
|
656
|
+
/**
|
|
657
|
+
* A set containing flags' descriptions.
|
|
658
|
+
*/
|
|
659
|
+
flags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
660
|
+
/**
|
|
661
|
+
* Client connection flags in raw string format.
|
|
662
|
+
*/
|
|
663
|
+
flagsRaw?: pulumi.Input<string>;
|
|
664
|
+
/**
|
|
665
|
+
* Process ID of this session.
|
|
666
|
+
*/
|
|
667
|
+
id?: pulumi.Input<string>;
|
|
668
|
+
/**
|
|
669
|
+
* Number of commands in a MULTI/EXEC context.
|
|
670
|
+
*/
|
|
671
|
+
multiExecCommands?: pulumi.Input<number>;
|
|
672
|
+
/**
|
|
673
|
+
* Output buffer length.
|
|
674
|
+
*/
|
|
675
|
+
outputBuffer?: pulumi.Input<number>;
|
|
676
|
+
/**
|
|
677
|
+
* Output buffer memory usage.
|
|
678
|
+
*/
|
|
679
|
+
outputBufferMemory?: pulumi.Input<number>;
|
|
680
|
+
/**
|
|
681
|
+
* Output list length (replies are queued in this list when the buffer is full).
|
|
682
|
+
*/
|
|
683
|
+
outputListLength?: pulumi.Input<number>;
|
|
684
|
+
/**
|
|
685
|
+
* The last executed command.
|
|
686
|
+
*/
|
|
687
|
+
query?: pulumi.Input<string>;
|
|
688
|
+
/**
|
|
689
|
+
* Query buffer length (0 means no query pending).
|
|
690
|
+
*/
|
|
691
|
+
queryBuffer?: pulumi.Input<number>;
|
|
692
|
+
/**
|
|
693
|
+
* Free space of the query buffer (0 means the buffer is full).
|
|
694
|
+
*/
|
|
695
|
+
queryBufferFree?: pulumi.Input<number>;
|
|
696
|
+
}
|
|
697
|
+
export interface GetManagedDatabaseValkeySessionsSession {
|
|
698
|
+
/**
|
|
699
|
+
* Number of active channel subscriptions
|
|
700
|
+
*/
|
|
701
|
+
activeChannelSubscriptions?: number;
|
|
702
|
+
/**
|
|
703
|
+
* Current database ID
|
|
704
|
+
*/
|
|
705
|
+
activeDatabase?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Number of pattern matching subscriptions.
|
|
708
|
+
*/
|
|
709
|
+
activePatternMatchingChannelSubscriptions?: number;
|
|
710
|
+
/**
|
|
711
|
+
* Name of the application that is connected to this service.
|
|
712
|
+
*/
|
|
713
|
+
applicationName?: string;
|
|
714
|
+
/**
|
|
715
|
+
* Number of pattern matching subscriptions.
|
|
716
|
+
*/
|
|
717
|
+
clientAddr?: string;
|
|
718
|
+
/**
|
|
719
|
+
* Total duration of the connection in nanoseconds.
|
|
720
|
+
*/
|
|
721
|
+
connectionAge?: number;
|
|
722
|
+
/**
|
|
723
|
+
* Idle time of the connection in nanoseconds.
|
|
724
|
+
*/
|
|
725
|
+
connectionIdle?: number;
|
|
726
|
+
/**
|
|
727
|
+
* A set containing flags' descriptions.
|
|
728
|
+
*/
|
|
729
|
+
flags?: string[];
|
|
730
|
+
/**
|
|
731
|
+
* Client connection flags in raw string format.
|
|
732
|
+
*/
|
|
733
|
+
flagsRaw?: string;
|
|
734
|
+
/**
|
|
735
|
+
* Process ID of this session.
|
|
736
|
+
*/
|
|
737
|
+
id?: string;
|
|
738
|
+
/**
|
|
739
|
+
* Number of commands in a MULTI/EXEC context.
|
|
740
|
+
*/
|
|
741
|
+
multiExecCommands?: number;
|
|
742
|
+
/**
|
|
743
|
+
* Output buffer length.
|
|
744
|
+
*/
|
|
745
|
+
outputBuffer?: number;
|
|
746
|
+
/**
|
|
747
|
+
* Output buffer memory usage.
|
|
748
|
+
*/
|
|
749
|
+
outputBufferMemory?: number;
|
|
750
|
+
/**
|
|
751
|
+
* Output list length (replies are queued in this list when the buffer is full).
|
|
752
|
+
*/
|
|
753
|
+
outputListLength?: number;
|
|
754
|
+
/**
|
|
755
|
+
* The last executed command.
|
|
756
|
+
*/
|
|
757
|
+
query?: string;
|
|
758
|
+
/**
|
|
759
|
+
* Query buffer length (0 means no query pending).
|
|
760
|
+
*/
|
|
761
|
+
queryBuffer?: number;
|
|
762
|
+
/**
|
|
763
|
+
* Free space of the query buffer (0 means the buffer is full).
|
|
764
|
+
*/
|
|
765
|
+
queryBufferFree?: number;
|
|
766
|
+
}
|
|
767
|
+
export interface GetManagedDatabaseValkeySessionsSessionArgs {
|
|
768
|
+
/**
|
|
769
|
+
* Number of active channel subscriptions
|
|
770
|
+
*/
|
|
771
|
+
activeChannelSubscriptions?: pulumi.Input<number>;
|
|
772
|
+
/**
|
|
773
|
+
* Current database ID
|
|
774
|
+
*/
|
|
775
|
+
activeDatabase?: pulumi.Input<string>;
|
|
776
|
+
/**
|
|
777
|
+
* Number of pattern matching subscriptions.
|
|
778
|
+
*/
|
|
779
|
+
activePatternMatchingChannelSubscriptions?: pulumi.Input<number>;
|
|
780
|
+
/**
|
|
781
|
+
* Name of the application that is connected to this service.
|
|
782
|
+
*/
|
|
783
|
+
applicationName?: pulumi.Input<string>;
|
|
784
|
+
/**
|
|
785
|
+
* Number of pattern matching subscriptions.
|
|
786
|
+
*/
|
|
787
|
+
clientAddr?: pulumi.Input<string>;
|
|
788
|
+
/**
|
|
789
|
+
* Total duration of the connection in nanoseconds.
|
|
790
|
+
*/
|
|
791
|
+
connectionAge?: pulumi.Input<number>;
|
|
792
|
+
/**
|
|
793
|
+
* Idle time of the connection in nanoseconds.
|
|
794
|
+
*/
|
|
795
|
+
connectionIdle?: pulumi.Input<number>;
|
|
796
|
+
/**
|
|
797
|
+
* A set containing flags' descriptions.
|
|
798
|
+
*/
|
|
799
|
+
flags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
800
|
+
/**
|
|
801
|
+
* Client connection flags in raw string format.
|
|
802
|
+
*/
|
|
803
|
+
flagsRaw?: pulumi.Input<string>;
|
|
804
|
+
/**
|
|
805
|
+
* Process ID of this session.
|
|
806
|
+
*/
|
|
807
|
+
id?: pulumi.Input<string>;
|
|
808
|
+
/**
|
|
809
|
+
* Number of commands in a MULTI/EXEC context.
|
|
810
|
+
*/
|
|
811
|
+
multiExecCommands?: pulumi.Input<number>;
|
|
812
|
+
/**
|
|
813
|
+
* Output buffer length.
|
|
814
|
+
*/
|
|
815
|
+
outputBuffer?: pulumi.Input<number>;
|
|
816
|
+
/**
|
|
817
|
+
* Output buffer memory usage.
|
|
818
|
+
*/
|
|
819
|
+
outputBufferMemory?: pulumi.Input<number>;
|
|
820
|
+
/**
|
|
821
|
+
* Output list length (replies are queued in this list when the buffer is full).
|
|
822
|
+
*/
|
|
823
|
+
outputListLength?: pulumi.Input<number>;
|
|
824
|
+
/**
|
|
825
|
+
* The last executed command.
|
|
826
|
+
*/
|
|
827
|
+
query?: pulumi.Input<string>;
|
|
828
|
+
/**
|
|
829
|
+
* Query buffer length (0 means no query pending).
|
|
830
|
+
*/
|
|
831
|
+
queryBuffer?: pulumi.Input<number>;
|
|
832
|
+
/**
|
|
833
|
+
* Free space of the query buffer (0 means the buffer is full).
|
|
834
|
+
*/
|
|
835
|
+
queryBufferFree?: pulumi.Input<number>;
|
|
836
|
+
}
|
|
837
|
+
export interface GetManagedObjectStorageRegionsRegion {
|
|
838
|
+
/**
|
|
839
|
+
* Name of the region.
|
|
840
|
+
*/
|
|
841
|
+
name?: string;
|
|
842
|
+
/**
|
|
843
|
+
* Primary zone of the region.
|
|
844
|
+
*/
|
|
845
|
+
primaryZone?: string;
|
|
846
|
+
/**
|
|
847
|
+
* List of zones in the region.
|
|
848
|
+
*/
|
|
849
|
+
zones?: string[];
|
|
850
|
+
}
|
|
851
|
+
export interface GetManagedObjectStorageRegionsRegionArgs {
|
|
852
|
+
/**
|
|
853
|
+
* Name of the region.
|
|
854
|
+
*/
|
|
855
|
+
name?: pulumi.Input<string>;
|
|
856
|
+
/**
|
|
857
|
+
* Primary zone of the region.
|
|
858
|
+
*/
|
|
859
|
+
primaryZone?: pulumi.Input<string>;
|
|
860
|
+
/**
|
|
861
|
+
* List of zones in the region.
|
|
862
|
+
*/
|
|
863
|
+
zones?: pulumi.Input<pulumi.Input<string>[]>;
|
|
864
|
+
}
|
|
865
|
+
export interface KubernetesNodeGroupCustomPlan {
|
|
866
|
+
/**
|
|
867
|
+
* The number of CPU cores dedicated to individual node group nodes when using custom plan
|
|
868
|
+
*/
|
|
869
|
+
cores: pulumi.Input<number>;
|
|
870
|
+
/**
|
|
871
|
+
* The amount of memory in megabytes to assign to individual node group node when using custom plan. Value needs to be divisible by 1024.
|
|
872
|
+
*/
|
|
873
|
+
memory: pulumi.Input<number>;
|
|
874
|
+
/**
|
|
875
|
+
* The size of the storage device in gigabytes.
|
|
876
|
+
*/
|
|
877
|
+
storageSize: pulumi.Input<number>;
|
|
878
|
+
/**
|
|
879
|
+
* The storage tier to use. Defaults to maxiops
|
|
880
|
+
*/
|
|
881
|
+
storageTier?: pulumi.Input<string>;
|
|
882
|
+
}
|
|
883
|
+
export interface KubernetesNodeGroupKubeletArg {
|
|
884
|
+
/**
|
|
885
|
+
* Kubelet argument key.
|
|
886
|
+
*/
|
|
887
|
+
key: pulumi.Input<string>;
|
|
888
|
+
/**
|
|
889
|
+
* Kubelet argument value.
|
|
890
|
+
*/
|
|
891
|
+
value: pulumi.Input<string>;
|
|
892
|
+
}
|
|
893
|
+
export interface KubernetesNodeGroupTaint {
|
|
894
|
+
/**
|
|
895
|
+
* Taint effect.
|
|
896
|
+
*/
|
|
897
|
+
effect: pulumi.Input<string>;
|
|
898
|
+
/**
|
|
899
|
+
* Taint key.
|
|
900
|
+
*/
|
|
901
|
+
key: pulumi.Input<string>;
|
|
902
|
+
/**
|
|
903
|
+
* Taint value.
|
|
904
|
+
*/
|
|
905
|
+
value: pulumi.Input<string>;
|
|
906
|
+
}
|
|
907
|
+
export interface LoadbalancerBackendProperties {
|
|
908
|
+
/**
|
|
909
|
+
* Expected HTTP status code returned by the customer application to mark server as healthy. Ignored for `tcp` `healthCheckType`.
|
|
910
|
+
*/
|
|
911
|
+
healthCheckExpectedStatus?: pulumi.Input<number>;
|
|
912
|
+
/**
|
|
913
|
+
* Sets how many failed health checks are allowed until the backend member is taken off from the rotation.
|
|
914
|
+
*/
|
|
915
|
+
healthCheckFall?: pulumi.Input<number>;
|
|
916
|
+
/**
|
|
917
|
+
* Interval between health checks in seconds.
|
|
918
|
+
*/
|
|
919
|
+
healthCheckInterval?: pulumi.Input<number>;
|
|
920
|
+
/**
|
|
921
|
+
* Sets how many successful health checks are required to put the backend member back into rotation.
|
|
922
|
+
*/
|
|
923
|
+
healthCheckRise?: pulumi.Input<number>;
|
|
924
|
+
/**
|
|
925
|
+
* Enables certificate verification with the system CA certificate bundle. Works with https scheme in health_check_url, otherwise ignored.
|
|
926
|
+
*/
|
|
927
|
+
healthCheckTlsVerify?: pulumi.Input<boolean>;
|
|
928
|
+
/**
|
|
929
|
+
* Health check type.
|
|
930
|
+
*/
|
|
931
|
+
healthCheckType?: pulumi.Input<string>;
|
|
932
|
+
/**
|
|
933
|
+
* Target path for health check HTTP GET requests. Ignored for `tcp` `healthCheckType`.
|
|
934
|
+
*/
|
|
935
|
+
healthCheckUrl?: pulumi.Input<string>;
|
|
936
|
+
/**
|
|
937
|
+
* Allow HTTP/2 connections to backend members by utilizing ALPN extension of TLS protocol, therefore it can only be enabled when tlsEnabled is set to true. Note: members should support HTTP/2 for this setting to work.
|
|
938
|
+
*/
|
|
939
|
+
http2Enabled?: pulumi.Input<boolean>;
|
|
940
|
+
/**
|
|
941
|
+
* Enable outbound proxy protocol by setting the desired version. Defaults to empty string. Empty string disables proxy protocol.
|
|
942
|
+
*/
|
|
943
|
+
outboundProxyProtocol?: pulumi.Input<string>;
|
|
944
|
+
/**
|
|
945
|
+
* Sets sticky session cookie name. Empty string disables sticky session.
|
|
946
|
+
*/
|
|
947
|
+
stickySessionCookieName?: pulumi.Input<string>;
|
|
948
|
+
/**
|
|
949
|
+
* Backend server timeout in seconds.
|
|
950
|
+
*/
|
|
951
|
+
timeoutServer?: pulumi.Input<number>;
|
|
952
|
+
/**
|
|
953
|
+
* Maximum inactivity time on the client and server side for tunnels in seconds.
|
|
954
|
+
*/
|
|
955
|
+
timeoutTunnel?: pulumi.Input<number>;
|
|
956
|
+
/**
|
|
957
|
+
* Enables TLS connection from the load balancer to backend servers.
|
|
958
|
+
*/
|
|
959
|
+
tlsEnabled?: pulumi.Input<boolean>;
|
|
960
|
+
/**
|
|
961
|
+
* If enabled, then the system CA certificate bundle will be used for the certificate verification.
|
|
962
|
+
*/
|
|
963
|
+
tlsUseSystemCa?: pulumi.Input<boolean>;
|
|
964
|
+
/**
|
|
965
|
+
* Enables backend servers certificate verification. Please make sure that TLS config with the certificate bundle of type authority attached to the backend or `tlsUseSystemCa` enabled. Note: `tlsVerify` has preference over `healthCheckTlsVerify` when `tlsEnabled` in true.
|
|
966
|
+
*/
|
|
967
|
+
tlsVerify?: pulumi.Input<boolean>;
|
|
968
|
+
}
|
|
969
|
+
export interface LoadbalancerFrontendNetwork {
|
|
970
|
+
/**
|
|
971
|
+
* Name of the load balancer network.
|
|
972
|
+
*/
|
|
973
|
+
name: pulumi.Input<string>;
|
|
974
|
+
}
|
|
975
|
+
export interface LoadbalancerFrontendProperties {
|
|
976
|
+
/**
|
|
977
|
+
* Enable or disable HTTP/2 support.
|
|
978
|
+
*/
|
|
979
|
+
http2Enabled?: pulumi.Input<boolean>;
|
|
980
|
+
/**
|
|
981
|
+
* Enable or disable inbound proxy protocol support.
|
|
982
|
+
*/
|
|
983
|
+
inboundProxyProtocol?: pulumi.Input<boolean>;
|
|
984
|
+
/**
|
|
985
|
+
* Client request timeout in seconds.
|
|
986
|
+
*/
|
|
987
|
+
timeoutClient?: pulumi.Input<number>;
|
|
988
|
+
}
|
|
989
|
+
export interface LoadbalancerFrontendRuleActions {
|
|
990
|
+
/**
|
|
991
|
+
* Redirects HTTP requests to specified location or URL scheme. Only either location or scheme can be defined at a time.
|
|
992
|
+
*/
|
|
993
|
+
httpRedirects?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsHttpRedirect>[]>;
|
|
994
|
+
/**
|
|
995
|
+
* Returns HTTP response with specified HTTP status.
|
|
996
|
+
*/
|
|
997
|
+
httpReturns?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsHttpReturn>[]>;
|
|
998
|
+
/**
|
|
999
|
+
* Adds 'X-Forwarded-For / -Proto / -Port' headers in your forwarded requests
|
|
1000
|
+
*/
|
|
1001
|
+
setForwardedHeaders?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsSetForwardedHeader>[]>;
|
|
1002
|
+
/**
|
|
1003
|
+
* Set request header
|
|
1004
|
+
*/
|
|
1005
|
+
setRequestHeaders?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsSetRequestHeader>[]>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Set response header
|
|
1008
|
+
*/
|
|
1009
|
+
setResponseHeaders?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsSetResponseHeader>[]>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Terminates a connection.
|
|
1012
|
+
*/
|
|
1013
|
+
tcpRejects?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsTcpReject>[]>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Routes traffic to specified `backend`.
|
|
1016
|
+
*/
|
|
1017
|
+
useBackends?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsUseBackend>[]>;
|
|
1018
|
+
}
|
|
1019
|
+
export interface LoadbalancerFrontendRuleActionsHttpRedirect {
|
|
1020
|
+
/**
|
|
1021
|
+
* Target location.
|
|
1022
|
+
*/
|
|
1023
|
+
location?: pulumi.Input<string>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Target scheme.
|
|
1026
|
+
*/
|
|
1027
|
+
scheme?: pulumi.Input<string>;
|
|
1028
|
+
/**
|
|
1029
|
+
* HTTP status code.
|
|
1030
|
+
*/
|
|
1031
|
+
status?: pulumi.Input<number>;
|
|
1032
|
+
}
|
|
1033
|
+
export interface LoadbalancerFrontendRuleActionsHttpReturn {
|
|
1034
|
+
/**
|
|
1035
|
+
* Content type.
|
|
1036
|
+
*/
|
|
1037
|
+
contentType: pulumi.Input<string>;
|
|
1038
|
+
/**
|
|
1039
|
+
* The payload.
|
|
1040
|
+
*/
|
|
1041
|
+
payload: pulumi.Input<string>;
|
|
1042
|
+
/**
|
|
1043
|
+
* HTTP status code.
|
|
1044
|
+
*/
|
|
1045
|
+
status: pulumi.Input<number>;
|
|
1046
|
+
}
|
|
1047
|
+
export interface LoadbalancerFrontendRuleActionsSetForwardedHeader {
|
|
1048
|
+
active?: pulumi.Input<boolean>;
|
|
1049
|
+
}
|
|
1050
|
+
export interface LoadbalancerFrontendRuleActionsSetRequestHeader {
|
|
1051
|
+
/**
|
|
1052
|
+
* Header name.
|
|
1053
|
+
*/
|
|
1054
|
+
header: pulumi.Input<string>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Header value.
|
|
1057
|
+
*/
|
|
1058
|
+
value?: pulumi.Input<string>;
|
|
1059
|
+
}
|
|
1060
|
+
export interface LoadbalancerFrontendRuleActionsSetResponseHeader {
|
|
1061
|
+
/**
|
|
1062
|
+
* Header name.
|
|
1063
|
+
*/
|
|
1064
|
+
header: pulumi.Input<string>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Header value.
|
|
1067
|
+
*/
|
|
1068
|
+
value?: pulumi.Input<string>;
|
|
1069
|
+
}
|
|
1070
|
+
export interface LoadbalancerFrontendRuleActionsTcpReject {
|
|
1071
|
+
/**
|
|
1072
|
+
* Indicates if the rule is active.
|
|
1073
|
+
*/
|
|
1074
|
+
active?: pulumi.Input<boolean>;
|
|
1075
|
+
}
|
|
1076
|
+
export interface LoadbalancerFrontendRuleActionsUseBackend {
|
|
1077
|
+
/**
|
|
1078
|
+
* The name of the backend where traffic will be routed.
|
|
1079
|
+
*/
|
|
1080
|
+
backendName: pulumi.Input<string>;
|
|
1081
|
+
}
|
|
1082
|
+
export interface LoadbalancerFrontendRuleMatchers {
|
|
1083
|
+
/**
|
|
1084
|
+
* Matches by range of HTTP request body sizes.
|
|
1085
|
+
*/
|
|
1086
|
+
bodySizeRanges?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersBodySizeRange>[]>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Matches by HTTP request body size.
|
|
1089
|
+
*/
|
|
1090
|
+
bodySizes?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersBodySize>[]>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Matches by HTTP cookie value. Cookie name must be provided.
|
|
1093
|
+
*/
|
|
1094
|
+
cookies?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersCookie>[]>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Matches by HTTP header value. Header name must be provided.
|
|
1097
|
+
*
|
|
1098
|
+
* @deprecated Use `requestHeader` instead.
|
|
1099
|
+
*/
|
|
1100
|
+
headers?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersHeader>[]>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Matches by hostname. Header extracted from HTTP Headers or from TLS certificate in case of secured connection.
|
|
1103
|
+
*/
|
|
1104
|
+
hosts?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersHost>[]>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Matches by HTTP method.
|
|
1107
|
+
*/
|
|
1108
|
+
httpMethods?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersHttpMethod>[]>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Matches by range of HTTP statuses.
|
|
1111
|
+
*/
|
|
1112
|
+
httpStatusRanges?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersHttpStatusRange>[]>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Matches by HTTP status.
|
|
1115
|
+
*/
|
|
1116
|
+
httpStatuses?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersHttpStatus>[]>;
|
|
1117
|
+
/**
|
|
1118
|
+
* Matches by number of healthy backend members.
|
|
1119
|
+
*/
|
|
1120
|
+
numMembersUps?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersNumMembersUp>[]>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Matches by URL path.
|
|
1123
|
+
*/
|
|
1124
|
+
paths?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersPath>[]>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Matches by HTTP request header value. Header name must be provided.
|
|
1127
|
+
*/
|
|
1128
|
+
requestHeaders?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersRequestHeader>[]>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Matches by HTTP response header value. Header name must be provided.
|
|
1131
|
+
*/
|
|
1132
|
+
responseHeaders?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersResponseHeader>[]>;
|
|
1133
|
+
/**
|
|
1134
|
+
* Matches by source IP address.
|
|
1135
|
+
*/
|
|
1136
|
+
srcIps?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersSrcIp>[]>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Matches by range of source port numbers.
|
|
1139
|
+
*/
|
|
1140
|
+
srcPortRanges?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersSrcPortRange>[]>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Matches by source port number.
|
|
1143
|
+
*/
|
|
1144
|
+
srcPorts?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersSrcPort>[]>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Matches by URL query parameter value. Query parameter name must be provided
|
|
1147
|
+
*/
|
|
1148
|
+
urlParams?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersUrlParam>[]>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Matches by URL query string.
|
|
1151
|
+
*/
|
|
1152
|
+
urlQueries?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersUrlQuery>[]>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Matches by URL without schema, e.g. `example.com/dashboard`.
|
|
1155
|
+
*/
|
|
1156
|
+
urls?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleMatchersUrl>[]>;
|
|
1157
|
+
}
|
|
1158
|
+
export interface LoadbalancerFrontendRuleMatchersBodySize {
|
|
1159
|
+
/**
|
|
1160
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1161
|
+
*/
|
|
1162
|
+
inverse?: pulumi.Input<boolean>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Match method (`equal`, `greater`, `greaterOrEqual`, `less`, `lessOrEqual`).
|
|
1165
|
+
*/
|
|
1166
|
+
method: pulumi.Input<string>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Integer value.
|
|
1169
|
+
*/
|
|
1170
|
+
value: pulumi.Input<number>;
|
|
1171
|
+
}
|
|
1172
|
+
export interface LoadbalancerFrontendRuleMatchersBodySizeRange {
|
|
1173
|
+
/**
|
|
1174
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1175
|
+
*/
|
|
1176
|
+
inverse?: pulumi.Input<boolean>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Integer value.
|
|
1179
|
+
*/
|
|
1180
|
+
rangeEnd: pulumi.Input<number>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Integer value.
|
|
1183
|
+
*/
|
|
1184
|
+
rangeStart: pulumi.Input<number>;
|
|
1185
|
+
}
|
|
1186
|
+
export interface LoadbalancerFrontendRuleMatchersCookie {
|
|
1187
|
+
/**
|
|
1188
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1189
|
+
*/
|
|
1190
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1193
|
+
*/
|
|
1194
|
+
inverse?: pulumi.Input<boolean>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1197
|
+
*/
|
|
1198
|
+
method: pulumi.Input<string>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Name of the argument.
|
|
1201
|
+
*/
|
|
1202
|
+
name: pulumi.Input<string>;
|
|
1203
|
+
/**
|
|
1204
|
+
* String value.
|
|
1205
|
+
*/
|
|
1206
|
+
value?: pulumi.Input<string>;
|
|
1207
|
+
}
|
|
1208
|
+
export interface LoadbalancerFrontendRuleMatchersHeader {
|
|
1209
|
+
/**
|
|
1210
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1211
|
+
*/
|
|
1212
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1215
|
+
*/
|
|
1216
|
+
inverse?: pulumi.Input<boolean>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1219
|
+
*/
|
|
1220
|
+
method: pulumi.Input<string>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Name of the argument.
|
|
1223
|
+
*/
|
|
1224
|
+
name: pulumi.Input<string>;
|
|
1225
|
+
/**
|
|
1226
|
+
* String value.
|
|
1227
|
+
*/
|
|
1228
|
+
value?: pulumi.Input<string>;
|
|
1229
|
+
}
|
|
1230
|
+
export interface LoadbalancerFrontendRuleMatchersHost {
|
|
1231
|
+
/**
|
|
1232
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1233
|
+
*/
|
|
1234
|
+
inverse?: pulumi.Input<boolean>;
|
|
1235
|
+
/**
|
|
1236
|
+
* String value.
|
|
1237
|
+
*/
|
|
1238
|
+
value: pulumi.Input<string>;
|
|
1239
|
+
}
|
|
1240
|
+
export interface LoadbalancerFrontendRuleMatchersHttpMethod {
|
|
1241
|
+
/**
|
|
1242
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1243
|
+
*/
|
|
1244
|
+
inverse?: pulumi.Input<boolean>;
|
|
1245
|
+
/**
|
|
1246
|
+
* String value (`GET`, `HEAD`, `POST`, `PUT`, `PATCH`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`).
|
|
1247
|
+
*/
|
|
1248
|
+
value: pulumi.Input<string>;
|
|
1249
|
+
}
|
|
1250
|
+
export interface LoadbalancerFrontendRuleMatchersHttpStatus {
|
|
1251
|
+
/**
|
|
1252
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1253
|
+
*/
|
|
1254
|
+
inverse?: pulumi.Input<boolean>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Match method (`equal`, `greater`, `greaterOrEqual`, `less`, `lessOrEqual`).
|
|
1257
|
+
*/
|
|
1258
|
+
method: pulumi.Input<string>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Integer value.
|
|
1261
|
+
*/
|
|
1262
|
+
value: pulumi.Input<number>;
|
|
1263
|
+
}
|
|
1264
|
+
export interface LoadbalancerFrontendRuleMatchersHttpStatusRange {
|
|
1265
|
+
/**
|
|
1266
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1267
|
+
*/
|
|
1268
|
+
inverse?: pulumi.Input<boolean>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Integer value.
|
|
1271
|
+
*/
|
|
1272
|
+
rangeEnd: pulumi.Input<number>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Integer value.
|
|
1275
|
+
*/
|
|
1276
|
+
rangeStart: pulumi.Input<number>;
|
|
1277
|
+
}
|
|
1278
|
+
export interface LoadbalancerFrontendRuleMatchersNumMembersUp {
|
|
1279
|
+
/**
|
|
1280
|
+
* The name of the `backend`.
|
|
1281
|
+
*/
|
|
1282
|
+
backendName: pulumi.Input<string>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1285
|
+
*/
|
|
1286
|
+
inverse?: pulumi.Input<boolean>;
|
|
1287
|
+
/**
|
|
1288
|
+
* Match method (`equal`, `greater`, `greaterOrEqual`, `less`, `lessOrEqual`).
|
|
1289
|
+
*/
|
|
1290
|
+
method: pulumi.Input<string>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Integer value.
|
|
1293
|
+
*/
|
|
1294
|
+
value: pulumi.Input<number>;
|
|
1295
|
+
}
|
|
1296
|
+
export interface LoadbalancerFrontendRuleMatchersPath {
|
|
1297
|
+
/**
|
|
1298
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1299
|
+
*/
|
|
1300
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1303
|
+
*/
|
|
1304
|
+
inverse?: pulumi.Input<boolean>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1307
|
+
*/
|
|
1308
|
+
method: pulumi.Input<string>;
|
|
1309
|
+
/**
|
|
1310
|
+
* String value.
|
|
1311
|
+
*/
|
|
1312
|
+
value?: pulumi.Input<string>;
|
|
1313
|
+
}
|
|
1314
|
+
export interface LoadbalancerFrontendRuleMatchersRequestHeader {
|
|
1315
|
+
/**
|
|
1316
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1317
|
+
*/
|
|
1318
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1321
|
+
*/
|
|
1322
|
+
inverse?: pulumi.Input<boolean>;
|
|
1323
|
+
/**
|
|
1324
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1325
|
+
*/
|
|
1326
|
+
method: pulumi.Input<string>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Name of the argument.
|
|
1329
|
+
*/
|
|
1330
|
+
name: pulumi.Input<string>;
|
|
1331
|
+
/**
|
|
1332
|
+
* String value.
|
|
1333
|
+
*/
|
|
1334
|
+
value?: pulumi.Input<string>;
|
|
1335
|
+
}
|
|
1336
|
+
export interface LoadbalancerFrontendRuleMatchersResponseHeader {
|
|
1337
|
+
/**
|
|
1338
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1339
|
+
*/
|
|
1340
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1343
|
+
*/
|
|
1344
|
+
inverse?: pulumi.Input<boolean>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1347
|
+
*/
|
|
1348
|
+
method: pulumi.Input<string>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Name of the argument.
|
|
1351
|
+
*/
|
|
1352
|
+
name: pulumi.Input<string>;
|
|
1353
|
+
/**
|
|
1354
|
+
* String value.
|
|
1355
|
+
*/
|
|
1356
|
+
value?: pulumi.Input<string>;
|
|
1357
|
+
}
|
|
1358
|
+
export interface LoadbalancerFrontendRuleMatchersSrcIp {
|
|
1359
|
+
/**
|
|
1360
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1361
|
+
*/
|
|
1362
|
+
inverse?: pulumi.Input<boolean>;
|
|
1363
|
+
/**
|
|
1364
|
+
* IP address. CIDR masks are supported, e.g. `192.168.0.0/24`.
|
|
1365
|
+
*/
|
|
1366
|
+
value: pulumi.Input<string>;
|
|
1367
|
+
}
|
|
1368
|
+
export interface LoadbalancerFrontendRuleMatchersSrcPort {
|
|
1369
|
+
/**
|
|
1370
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1371
|
+
*/
|
|
1372
|
+
inverse?: pulumi.Input<boolean>;
|
|
1373
|
+
/**
|
|
1374
|
+
* Match method (`equal`, `greater`, `greaterOrEqual`, `less`, `lessOrEqual`).
|
|
1375
|
+
*/
|
|
1376
|
+
method: pulumi.Input<string>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Integer value.
|
|
1379
|
+
*/
|
|
1380
|
+
value: pulumi.Input<number>;
|
|
1381
|
+
}
|
|
1382
|
+
export interface LoadbalancerFrontendRuleMatchersSrcPortRange {
|
|
1383
|
+
/**
|
|
1384
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1385
|
+
*/
|
|
1386
|
+
inverse?: pulumi.Input<boolean>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Integer value.
|
|
1389
|
+
*/
|
|
1390
|
+
rangeEnd: pulumi.Input<number>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Integer value.
|
|
1393
|
+
*/
|
|
1394
|
+
rangeStart: pulumi.Input<number>;
|
|
1395
|
+
}
|
|
1396
|
+
export interface LoadbalancerFrontendRuleMatchersUrl {
|
|
1397
|
+
/**
|
|
1398
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1399
|
+
*/
|
|
1400
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1403
|
+
*/
|
|
1404
|
+
inverse?: pulumi.Input<boolean>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1407
|
+
*/
|
|
1408
|
+
method: pulumi.Input<string>;
|
|
1409
|
+
/**
|
|
1410
|
+
* String value.
|
|
1411
|
+
*/
|
|
1412
|
+
value?: pulumi.Input<string>;
|
|
1413
|
+
}
|
|
1414
|
+
export interface LoadbalancerFrontendRuleMatchersUrlParam {
|
|
1415
|
+
/**
|
|
1416
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1417
|
+
*/
|
|
1418
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1421
|
+
*/
|
|
1422
|
+
inverse?: pulumi.Input<boolean>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1425
|
+
*/
|
|
1426
|
+
method: pulumi.Input<string>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Name of the argument.
|
|
1429
|
+
*/
|
|
1430
|
+
name: pulumi.Input<string>;
|
|
1431
|
+
/**
|
|
1432
|
+
* String value.
|
|
1433
|
+
*/
|
|
1434
|
+
value?: pulumi.Input<string>;
|
|
1435
|
+
}
|
|
1436
|
+
export interface LoadbalancerFrontendRuleMatchersUrlQuery {
|
|
1437
|
+
/**
|
|
1438
|
+
* Defines if case should be ignored. Defaults to `false`.
|
|
1439
|
+
*/
|
|
1440
|
+
ignoreCase?: pulumi.Input<boolean>;
|
|
1441
|
+
/**
|
|
1442
|
+
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
|
|
1443
|
+
*/
|
|
1444
|
+
inverse?: pulumi.Input<boolean>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignoreCase` fields.
|
|
1447
|
+
*/
|
|
1448
|
+
method: pulumi.Input<string>;
|
|
1449
|
+
/**
|
|
1450
|
+
* String value.
|
|
1451
|
+
*/
|
|
1452
|
+
value?: pulumi.Input<string>;
|
|
1453
|
+
}
|
|
1454
|
+
export interface LoadbalancerNetwork {
|
|
1455
|
+
/**
|
|
1456
|
+
* DNS name of the load balancer network
|
|
1457
|
+
*/
|
|
1458
|
+
dnsName?: pulumi.Input<string>;
|
|
1459
|
+
/**
|
|
1460
|
+
* Network family. Currently only `IPv4` is supported.
|
|
1461
|
+
*/
|
|
1462
|
+
family: pulumi.Input<string>;
|
|
1463
|
+
/**
|
|
1464
|
+
* The unique identifier of the network.
|
|
1465
|
+
*/
|
|
1466
|
+
id?: pulumi.Input<string>;
|
|
1467
|
+
/**
|
|
1468
|
+
* The name of the network. Must be unique within the service.
|
|
1469
|
+
*/
|
|
1470
|
+
name: pulumi.Input<string>;
|
|
1471
|
+
/**
|
|
1472
|
+
* Private network UUID. Required for private networks and must reside in loadbalancer zone. For public network the field should be omitted.
|
|
1473
|
+
*/
|
|
1474
|
+
network?: pulumi.Input<string>;
|
|
1475
|
+
/**
|
|
1476
|
+
* The type of the network. Only one public network can be attached and at least one private network must be attached.
|
|
1477
|
+
*/
|
|
1478
|
+
type: pulumi.Input<string>;
|
|
1479
|
+
}
|
|
1480
|
+
export interface LoadbalancerNode {
|
|
1481
|
+
/**
|
|
1482
|
+
* Networks attached to the node
|
|
1483
|
+
*/
|
|
1484
|
+
networks?: pulumi.Input<pulumi.Input<inputs.LoadbalancerNodeNetwork>[]>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Node's operational state. Managed by the system.
|
|
1487
|
+
*/
|
|
1488
|
+
operationalState?: pulumi.Input<string>;
|
|
1489
|
+
}
|
|
1490
|
+
export interface LoadbalancerNodeNetwork {
|
|
1491
|
+
/**
|
|
1492
|
+
* IP addresses attached to the network
|
|
1493
|
+
*/
|
|
1494
|
+
ipAddresses?: pulumi.Input<pulumi.Input<inputs.LoadbalancerNodeNetworkIpAddress>[]>;
|
|
1495
|
+
/**
|
|
1496
|
+
* The name of the network
|
|
1497
|
+
*/
|
|
1498
|
+
name?: pulumi.Input<string>;
|
|
1499
|
+
/**
|
|
1500
|
+
* The type of the network
|
|
1501
|
+
*/
|
|
1502
|
+
type?: pulumi.Input<string>;
|
|
1503
|
+
}
|
|
1504
|
+
export interface LoadbalancerNodeNetworkIpAddress {
|
|
1505
|
+
/**
|
|
1506
|
+
* Node's IP address
|
|
1507
|
+
*/
|
|
1508
|
+
address?: pulumi.Input<string>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Whether the node listens to the traffic
|
|
1511
|
+
*/
|
|
1512
|
+
listen?: pulumi.Input<boolean>;
|
|
1513
|
+
}
|
|
1514
|
+
export interface ManagedDatabaseMysqlComponent {
|
|
1515
|
+
/**
|
|
1516
|
+
* Type of the component
|
|
1517
|
+
*/
|
|
1518
|
+
component?: pulumi.Input<string>;
|
|
1519
|
+
/**
|
|
1520
|
+
* Hostname of the component
|
|
1521
|
+
*/
|
|
1522
|
+
host?: pulumi.Input<string>;
|
|
1523
|
+
/**
|
|
1524
|
+
* Port number of the component
|
|
1525
|
+
*/
|
|
1526
|
+
port?: pulumi.Input<number>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Component network route type
|
|
1529
|
+
*/
|
|
1530
|
+
route?: pulumi.Input<string>;
|
|
1531
|
+
/**
|
|
1532
|
+
* Usage of the component
|
|
1533
|
+
*/
|
|
1534
|
+
usage?: pulumi.Input<string>;
|
|
1535
|
+
}
|
|
1536
|
+
export interface ManagedDatabaseMysqlNetwork {
|
|
1537
|
+
/**
|
|
1538
|
+
* Network family. Currently only `IPv4` is supported.
|
|
1539
|
+
*/
|
|
1540
|
+
family: pulumi.Input<string>;
|
|
1541
|
+
/**
|
|
1542
|
+
* The name of the network. Must be unique within the service.
|
|
1543
|
+
*/
|
|
1544
|
+
name: pulumi.Input<string>;
|
|
1545
|
+
/**
|
|
1546
|
+
* The type of the network. Must be private.
|
|
1547
|
+
*/
|
|
1548
|
+
type: pulumi.Input<string>;
|
|
1549
|
+
/**
|
|
1550
|
+
* Private network UUID. Must reside in the same zone as the database.
|
|
1551
|
+
*/
|
|
1552
|
+
uuid: pulumi.Input<string>;
|
|
1553
|
+
}
|
|
1554
|
+
export interface ManagedDatabaseMysqlNodeState {
|
|
1555
|
+
/**
|
|
1556
|
+
* Name plus a node iteration
|
|
1557
|
+
*/
|
|
1558
|
+
name?: pulumi.Input<string>;
|
|
1559
|
+
/**
|
|
1560
|
+
* Role of the node
|
|
1561
|
+
*/
|
|
1562
|
+
role?: pulumi.Input<string>;
|
|
1563
|
+
/**
|
|
1564
|
+
* State of the node
|
|
1565
|
+
*/
|
|
1566
|
+
state?: pulumi.Input<string>;
|
|
1567
|
+
}
|
|
1568
|
+
export interface ManagedDatabaseMysqlProperties {
|
|
1569
|
+
/**
|
|
1570
|
+
* Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
|
|
1571
|
+
*/
|
|
1572
|
+
adminPassword?: pulumi.Input<string>;
|
|
1573
|
+
/**
|
|
1574
|
+
* Custom username for admin user. This must be set only when a new service is being created.
|
|
1575
|
+
*/
|
|
1576
|
+
adminUsername?: pulumi.Input<string>;
|
|
1577
|
+
/**
|
|
1578
|
+
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1579
|
+
*/
|
|
1580
|
+
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
1581
|
+
/**
|
|
1582
|
+
* The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
1583
|
+
*/
|
|
1584
|
+
backupHour?: pulumi.Input<number>;
|
|
1585
|
+
/**
|
|
1586
|
+
* The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
1587
|
+
*/
|
|
1588
|
+
backupMinute?: pulumi.Input<number>;
|
|
1589
|
+
/**
|
|
1590
|
+
* The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
|
|
1591
|
+
*/
|
|
1592
|
+
binlogRetentionPeriod?: pulumi.Input<number>;
|
|
1593
|
+
/**
|
|
1594
|
+
* The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
|
|
1595
|
+
*/
|
|
1596
|
+
connectTimeout?: pulumi.Input<number>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
|
|
1599
|
+
*/
|
|
1600
|
+
defaultTimeZone?: pulumi.Input<string>;
|
|
1601
|
+
/**
|
|
1602
|
+
* The maximum permitted result length in bytes for the GROUP_CONCAT() function.
|
|
1603
|
+
*/
|
|
1604
|
+
groupConcatMaxLen?: pulumi.Input<number>;
|
|
1605
|
+
/**
|
|
1606
|
+
* The time, in seconds, before cached statistics expire.
|
|
1607
|
+
*/
|
|
1608
|
+
informationSchemaStatsExpiry?: pulumi.Input<number>;
|
|
1609
|
+
/**
|
|
1610
|
+
* Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
|
|
1611
|
+
*/
|
|
1612
|
+
innodbChangeBufferMaxSize?: pulumi.Input<number>;
|
|
1613
|
+
/**
|
|
1614
|
+
* Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
|
|
1615
|
+
*/
|
|
1616
|
+
innodbFlushNeighbors?: pulumi.Input<number>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
|
|
1619
|
+
*/
|
|
1620
|
+
innodbFtMinTokenSize?: pulumi.Input<number>;
|
|
1621
|
+
/**
|
|
1622
|
+
* This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
1623
|
+
*/
|
|
1624
|
+
innodbFtServerStopwordTable?: pulumi.Input<string>;
|
|
1625
|
+
/**
|
|
1626
|
+
* The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
|
|
1627
|
+
*/
|
|
1628
|
+
innodbLockWaitTimeout?: pulumi.Input<number>;
|
|
1629
|
+
/**
|
|
1630
|
+
* The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
|
|
1631
|
+
*/
|
|
1632
|
+
innodbLogBufferSize?: pulumi.Input<number>;
|
|
1633
|
+
/**
|
|
1634
|
+
* The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
1635
|
+
*/
|
|
1636
|
+
innodbOnlineAlterLogMaxSize?: pulumi.Input<number>;
|
|
1637
|
+
/**
|
|
1638
|
+
* When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
|
|
1639
|
+
*/
|
|
1640
|
+
innodbPrintAllDeadlocks?: pulumi.Input<boolean>;
|
|
1641
|
+
/**
|
|
1642
|
+
* The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
|
|
1643
|
+
*/
|
|
1644
|
+
innodbReadIoThreads?: pulumi.Input<number>;
|
|
1645
|
+
/**
|
|
1646
|
+
* When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
|
|
1647
|
+
*/
|
|
1648
|
+
innodbRollbackOnTimeout?: pulumi.Input<boolean>;
|
|
1649
|
+
/**
|
|
1650
|
+
* Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
|
|
1651
|
+
*/
|
|
1652
|
+
innodbThreadConcurrency?: pulumi.Input<number>;
|
|
1653
|
+
/**
|
|
1654
|
+
* The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
|
|
1655
|
+
*/
|
|
1656
|
+
innodbWriteIoThreads?: pulumi.Input<number>;
|
|
1657
|
+
/**
|
|
1658
|
+
* The number of seconds the server waits for activity on an interactive connection before closing it.
|
|
1659
|
+
*/
|
|
1660
|
+
interactiveTimeout?: pulumi.Input<number>;
|
|
1661
|
+
/**
|
|
1662
|
+
* The storage engine for in-memory internal temporary tables.
|
|
1663
|
+
*/
|
|
1664
|
+
internalTmpMemStorageEngine?: pulumi.Input<string>;
|
|
1665
|
+
/**
|
|
1666
|
+
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
1667
|
+
*/
|
|
1668
|
+
ipFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1669
|
+
/**
|
|
1670
|
+
* The slow log output destination when slowQueryLog is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE.
|
|
1671
|
+
*/
|
|
1672
|
+
logOutput?: pulumi.Input<string>;
|
|
1673
|
+
/**
|
|
1674
|
+
* The slowQueryLogs work as SQL statements that take more than longQueryTime seconds to execute.
|
|
1675
|
+
*/
|
|
1676
|
+
longQueryTime?: pulumi.Input<number>;
|
|
1677
|
+
/**
|
|
1678
|
+
* Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
|
|
1679
|
+
*/
|
|
1680
|
+
maxAllowedPacket?: pulumi.Input<number>;
|
|
1681
|
+
/**
|
|
1682
|
+
* Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
|
|
1683
|
+
*/
|
|
1684
|
+
maxHeapTableSize?: pulumi.Input<number>;
|
|
1685
|
+
/**
|
|
1686
|
+
* Migrate data from existing server.
|
|
1687
|
+
*/
|
|
1688
|
+
migration?: pulumi.Input<inputs.ManagedDatabaseMysqlPropertiesMigration>;
|
|
1689
|
+
/**
|
|
1690
|
+
* Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
|
|
1691
|
+
*/
|
|
1692
|
+
netBufferLength?: pulumi.Input<number>;
|
|
1693
|
+
/**
|
|
1694
|
+
* The number of seconds to wait for more data from a connection before aborting the read.
|
|
1695
|
+
*/
|
|
1696
|
+
netReadTimeout?: pulumi.Input<number>;
|
|
1697
|
+
/**
|
|
1698
|
+
* The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
1699
|
+
*/
|
|
1700
|
+
netWriteTimeout?: pulumi.Input<number>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Public Access. Allow access to the service from the public Internet.
|
|
1703
|
+
*/
|
|
1704
|
+
publicAccess?: pulumi.Input<boolean>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
1707
|
+
*/
|
|
1708
|
+
serviceLog?: pulumi.Input<boolean>;
|
|
1709
|
+
/**
|
|
1710
|
+
* Slow query log enables capturing of slow queries. Setting slowQueryLog to false also truncates the mysql.slow_log table.
|
|
1711
|
+
*/
|
|
1712
|
+
slowQueryLog?: pulumi.Input<boolean>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
|
|
1715
|
+
*/
|
|
1716
|
+
sortBufferSize?: pulumi.Input<number>;
|
|
1717
|
+
/**
|
|
1718
|
+
* Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
|
|
1719
|
+
*/
|
|
1720
|
+
sqlMode?: pulumi.Input<string>;
|
|
1721
|
+
/**
|
|
1722
|
+
* Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
|
|
1723
|
+
*/
|
|
1724
|
+
sqlRequirePrimaryKey?: pulumi.Input<boolean>;
|
|
1725
|
+
/**
|
|
1726
|
+
* Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
|
|
1727
|
+
*/
|
|
1728
|
+
tmpTableSize?: pulumi.Input<number>;
|
|
1729
|
+
/**
|
|
1730
|
+
* MySQL major version.
|
|
1731
|
+
*/
|
|
1732
|
+
version?: pulumi.Input<string>;
|
|
1733
|
+
/**
|
|
1734
|
+
* The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
1735
|
+
*/
|
|
1736
|
+
waitTimeout?: pulumi.Input<number>;
|
|
1737
|
+
}
|
|
1738
|
+
export interface ManagedDatabaseMysqlPropertiesMigration {
|
|
1739
|
+
/**
|
|
1740
|
+
* Database name for bootstrapping the initial connection.
|
|
1741
|
+
*/
|
|
1742
|
+
dbname?: pulumi.Input<string>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Hostname or IP address of the server where to migrate data from.
|
|
1745
|
+
*/
|
|
1746
|
+
host?: pulumi.Input<string>;
|
|
1747
|
+
/**
|
|
1748
|
+
* Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
1749
|
+
*/
|
|
1750
|
+
ignoreDbs?: pulumi.Input<string>;
|
|
1751
|
+
/**
|
|
1752
|
+
* Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
1753
|
+
*/
|
|
1754
|
+
ignoreRoles?: pulumi.Input<string>;
|
|
1755
|
+
/**
|
|
1756
|
+
* The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
1757
|
+
*/
|
|
1758
|
+
method?: pulumi.Input<string>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Password for authentication with the server where to migrate data from.
|
|
1761
|
+
*/
|
|
1762
|
+
password?: pulumi.Input<string>;
|
|
1763
|
+
/**
|
|
1764
|
+
* Port number of the server where to migrate data from.
|
|
1765
|
+
*/
|
|
1766
|
+
port?: pulumi.Input<number>;
|
|
1767
|
+
/**
|
|
1768
|
+
* The server where to migrate data from is secured with SSL.
|
|
1769
|
+
*/
|
|
1770
|
+
ssl?: pulumi.Input<boolean>;
|
|
1771
|
+
/**
|
|
1772
|
+
* User name for authentication with the server where to migrate data from.
|
|
1773
|
+
*/
|
|
1774
|
+
username?: pulumi.Input<string>;
|
|
1775
|
+
}
|
|
1776
|
+
export interface ManagedDatabaseOpensearchComponent {
|
|
1777
|
+
/**
|
|
1778
|
+
* Type of the component
|
|
1779
|
+
*/
|
|
1780
|
+
component?: pulumi.Input<string>;
|
|
1781
|
+
/**
|
|
1782
|
+
* Hostname of the component
|
|
1783
|
+
*/
|
|
1784
|
+
host?: pulumi.Input<string>;
|
|
1785
|
+
/**
|
|
1786
|
+
* Port number of the component
|
|
1787
|
+
*/
|
|
1788
|
+
port?: pulumi.Input<number>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Component network route type
|
|
1791
|
+
*/
|
|
1792
|
+
route?: pulumi.Input<string>;
|
|
1793
|
+
/**
|
|
1794
|
+
* Usage of the component
|
|
1795
|
+
*/
|
|
1796
|
+
usage?: pulumi.Input<string>;
|
|
1797
|
+
}
|
|
1798
|
+
export interface ManagedDatabaseOpensearchNetwork {
|
|
1799
|
+
/**
|
|
1800
|
+
* Network family. Currently only `IPv4` is supported.
|
|
1801
|
+
*/
|
|
1802
|
+
family: pulumi.Input<string>;
|
|
1803
|
+
/**
|
|
1804
|
+
* The name of the network. Must be unique within the service.
|
|
1805
|
+
*/
|
|
1806
|
+
name: pulumi.Input<string>;
|
|
1807
|
+
/**
|
|
1808
|
+
* The type of the network. Must be private.
|
|
1809
|
+
*/
|
|
1810
|
+
type: pulumi.Input<string>;
|
|
1811
|
+
/**
|
|
1812
|
+
* Private network UUID. Must reside in the same zone as the database.
|
|
1813
|
+
*/
|
|
1814
|
+
uuid: pulumi.Input<string>;
|
|
1815
|
+
}
|
|
1816
|
+
export interface ManagedDatabaseOpensearchNodeState {
|
|
1817
|
+
/**
|
|
1818
|
+
* Name plus a node iteration
|
|
1819
|
+
*/
|
|
1820
|
+
name?: pulumi.Input<string>;
|
|
1821
|
+
/**
|
|
1822
|
+
* Role of the node
|
|
1823
|
+
*/
|
|
1824
|
+
role?: pulumi.Input<string>;
|
|
1825
|
+
/**
|
|
1826
|
+
* State of the node
|
|
1827
|
+
*/
|
|
1828
|
+
state?: pulumi.Input<string>;
|
|
1829
|
+
}
|
|
1830
|
+
export interface ManagedDatabaseOpensearchProperties {
|
|
1831
|
+
/**
|
|
1832
|
+
* action.auto_create_index. Explicitly allow or block automatic creation of indices. Defaults to true.
|
|
1833
|
+
*/
|
|
1834
|
+
actionAutoCreateIndexEnabled?: pulumi.Input<boolean>;
|
|
1835
|
+
/**
|
|
1836
|
+
* Require explicit index names when deleting.
|
|
1837
|
+
*/
|
|
1838
|
+
actionDestructiveRequiresName?: pulumi.Input<boolean>;
|
|
1839
|
+
/**
|
|
1840
|
+
* Opensearch Security Plugin Settings.
|
|
1841
|
+
*/
|
|
1842
|
+
authFailureListeners?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesAuthFailureListeners>;
|
|
1843
|
+
/**
|
|
1844
|
+
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1845
|
+
*/
|
|
1846
|
+
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
1847
|
+
/**
|
|
1848
|
+
* Controls the number of shards allowed in the cluster per data node.
|
|
1849
|
+
*/
|
|
1850
|
+
clusterMaxShardsPerNode?: pulumi.Input<number>;
|
|
1851
|
+
/**
|
|
1852
|
+
* When set to true, OpenSearch attempts to evenly distribute the primary shards between the cluster nodes. Enabling this setting does not always guarantee an equal number of primary shards on each node, especially in the event of a failover. Changing this setting to false after it was set to true does not invoke redistribution of primary shards. Default is false.
|
|
1853
|
+
*/
|
|
1854
|
+
clusterRoutingAllocationBalancePreferPrimary?: pulumi.Input<boolean>;
|
|
1855
|
+
/**
|
|
1856
|
+
* Concurrent incoming/outgoing shard recoveries per node. How many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to node cpu count * 2.
|
|
1857
|
+
*/
|
|
1858
|
+
clusterRoutingAllocationNodeConcurrentRecoveries?: pulumi.Input<number>;
|
|
1859
|
+
clusterSearchRequestSlowlog?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlog>;
|
|
1860
|
+
/**
|
|
1861
|
+
* Custom domain. Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
|
|
1862
|
+
*/
|
|
1863
|
+
customDomain?: pulumi.Input<string>;
|
|
1864
|
+
/**
|
|
1865
|
+
* Elasticsearch major version.
|
|
1866
|
+
*/
|
|
1867
|
+
elasticsearchVersion?: pulumi.Input<string>;
|
|
1868
|
+
/**
|
|
1869
|
+
* Sender name placeholder to be used in Opensearch Dashboards and Opensearch keystore. This should be identical to the Sender name defined in Opensearch dashboards.
|
|
1870
|
+
*/
|
|
1871
|
+
emailSenderName?: pulumi.Input<string>;
|
|
1872
|
+
/**
|
|
1873
|
+
* Sender password for Opensearch alerts to authenticate with SMTP server. Sender password for Opensearch alerts to authenticate with SMTP server.
|
|
1874
|
+
*/
|
|
1875
|
+
emailSenderPassword?: pulumi.Input<string>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Sender username for Opensearch alerts.
|
|
1878
|
+
*/
|
|
1879
|
+
emailSenderUsername?: pulumi.Input<string>;
|
|
1880
|
+
/**
|
|
1881
|
+
* Enable remote-backed storage.
|
|
1882
|
+
*/
|
|
1883
|
+
enableRemoteBackedStorage?: pulumi.Input<boolean>;
|
|
1884
|
+
/**
|
|
1885
|
+
* Enable/Disable security audit.
|
|
1886
|
+
*/
|
|
1887
|
+
enableSecurityAudit?: pulumi.Input<boolean>;
|
|
1888
|
+
/**
|
|
1889
|
+
* Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.
|
|
1890
|
+
*/
|
|
1891
|
+
httpMaxContentLength?: pulumi.Input<number>;
|
|
1892
|
+
/**
|
|
1893
|
+
* The max size of allowed headers, in bytes.
|
|
1894
|
+
*/
|
|
1895
|
+
httpMaxHeaderSize?: pulumi.Input<number>;
|
|
1896
|
+
/**
|
|
1897
|
+
* The max length of an HTTP URL, in bytes.
|
|
1898
|
+
*/
|
|
1899
|
+
httpMaxInitialLineLength?: pulumi.Input<number>;
|
|
1900
|
+
/**
|
|
1901
|
+
* Index patterns.
|
|
1902
|
+
*/
|
|
1903
|
+
indexPatterns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1904
|
+
/**
|
|
1905
|
+
* Index rollup settings.
|
|
1906
|
+
*/
|
|
1907
|
+
indexRollup?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesIndexRollup>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Template settings for all new indexes.
|
|
1910
|
+
*/
|
|
1911
|
+
indexTemplate?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesIndexTemplate>;
|
|
1912
|
+
/**
|
|
1913
|
+
* Relative amount. Maximum amount of heap memory used for field data cache. This is an expert setting; decreasing the value too much will increase overhead of loading field data; too much memory used for field data cache will decrease amount of heap available for other operations.
|
|
1914
|
+
*/
|
|
1915
|
+
indicesFielddataCacheSize?: pulumi.Input<number>;
|
|
1916
|
+
/**
|
|
1917
|
+
* Percentage value. Default is 10%. Total amount of heap used for indexing buffer, before writing segments to disk. This is an expert setting. Too low value will slow down indexing; too high value will increase indexing performance but causes performance issues for query performance.
|
|
1918
|
+
*/
|
|
1919
|
+
indicesMemoryIndexBufferSize?: pulumi.Input<number>;
|
|
1920
|
+
/**
|
|
1921
|
+
* Absolute value. Default is unbound. Doesn't work without indices.memory.index_buffer_size. Maximum amount of heap used for query cache, an absolute indices.memory.index_buffer_size maximum hard limit.
|
|
1922
|
+
*/
|
|
1923
|
+
indicesMemoryMaxIndexBufferSize?: pulumi.Input<number>;
|
|
1924
|
+
/**
|
|
1925
|
+
* Absolute value. Default is 48mb. Doesn't work without indices.memory.index_buffer_size. Minimum amount of heap used for query cache, an absolute indices.memory.index_buffer_size minimal hard limit.
|
|
1926
|
+
*/
|
|
1927
|
+
indicesMemoryMinIndexBufferSize?: pulumi.Input<number>;
|
|
1928
|
+
/**
|
|
1929
|
+
* Percentage value. Default is 10%. Maximum amount of heap used for query cache. This is an expert setting. Too low value will decrease query performance and increase performance for other operations; too high value will cause issues with other OpenSearch functionality.
|
|
1930
|
+
*/
|
|
1931
|
+
indicesQueriesCacheSize?: pulumi.Input<number>;
|
|
1932
|
+
/**
|
|
1933
|
+
* Maximum number of clauses Lucene BooleanQuery can have. The default value (1024) is relatively high, and increasing it may cause performance issues. Investigate other approaches first before increasing this value.
|
|
1934
|
+
*/
|
|
1935
|
+
indicesQueryBoolMaxClauseCount?: pulumi.Input<number>;
|
|
1936
|
+
/**
|
|
1937
|
+
* Limits total inbound and outbound recovery traffic for each node. Applies to both peer recoveries as well as snapshot recoveries (i.e., restores from a snapshot). Defaults to 40mb.
|
|
1938
|
+
*/
|
|
1939
|
+
indicesRecoveryMaxBytesPerSec?: pulumi.Input<number>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Number of file chunks sent in parallel for each recovery. Defaults to 2.
|
|
1942
|
+
*/
|
|
1943
|
+
indicesRecoveryMaxConcurrentFileChunks?: pulumi.Input<number>;
|
|
1944
|
+
/**
|
|
1945
|
+
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
1946
|
+
*/
|
|
1947
|
+
ipFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1948
|
+
/**
|
|
1949
|
+
* Specifies whether ISM is enabled or not.
|
|
1950
|
+
*/
|
|
1951
|
+
ismEnabled?: pulumi.Input<boolean>;
|
|
1952
|
+
/**
|
|
1953
|
+
* Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document.
|
|
1954
|
+
*/
|
|
1955
|
+
ismHistoryEnabled?: pulumi.Input<boolean>;
|
|
1956
|
+
/**
|
|
1957
|
+
* The maximum age before rolling over the audit history index in hours.
|
|
1958
|
+
*/
|
|
1959
|
+
ismHistoryMaxAge?: pulumi.Input<number>;
|
|
1960
|
+
/**
|
|
1961
|
+
* The maximum number of documents before rolling over the audit history index.
|
|
1962
|
+
*/
|
|
1963
|
+
ismHistoryMaxDocs?: pulumi.Input<number>;
|
|
1964
|
+
/**
|
|
1965
|
+
* The time between rollover checks for the audit history index in hours.
|
|
1966
|
+
*/
|
|
1967
|
+
ismHistoryRolloverCheckPeriod?: pulumi.Input<number>;
|
|
1968
|
+
/**
|
|
1969
|
+
* How long audit history indices are kept in days.
|
|
1970
|
+
*/
|
|
1971
|
+
ismHistoryRolloverRetentionPeriod?: pulumi.Input<number>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Don't reset index.refresh_interval to the default value. Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn't fit your case, you can disable this by setting up this flag to true.
|
|
1974
|
+
*/
|
|
1975
|
+
keepIndexRefreshInterval?: pulumi.Input<boolean>;
|
|
1976
|
+
/**
|
|
1977
|
+
* Enable or disable KNN memory circuit breaker. Defaults to true.
|
|
1978
|
+
*/
|
|
1979
|
+
knnMemoryCircuitBreakerEnabled?: pulumi.Input<boolean>;
|
|
1980
|
+
/**
|
|
1981
|
+
* Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size.
|
|
1982
|
+
*/
|
|
1983
|
+
knnMemoryCircuitBreakerLimit?: pulumi.Input<number>;
|
|
1984
|
+
/**
|
|
1985
|
+
* OpenSearch OpenID Connect Configuration.
|
|
1986
|
+
*/
|
|
1987
|
+
openid?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesOpenid>;
|
|
1988
|
+
/**
|
|
1989
|
+
* OpenSearch Dashboards settings.
|
|
1990
|
+
*/
|
|
1991
|
+
opensearchDashboards?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesOpensearchDashboards>;
|
|
1992
|
+
/**
|
|
1993
|
+
* Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false.
|
|
1994
|
+
*/
|
|
1995
|
+
overrideMainResponseVersion?: pulumi.Input<boolean>;
|
|
1996
|
+
/**
|
|
1997
|
+
* Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.
|
|
1998
|
+
*/
|
|
1999
|
+
pluginsAlertingFilterByBackendRoles?: pulumi.Input<boolean>;
|
|
2000
|
+
/**
|
|
2001
|
+
* Public Access. Allow access to the service from the public Internet.
|
|
2002
|
+
*/
|
|
2003
|
+
publicAccess?: pulumi.Input<boolean>;
|
|
2004
|
+
/**
|
|
2005
|
+
* Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
|
|
2006
|
+
*/
|
|
2007
|
+
reindexRemoteWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2008
|
+
/**
|
|
2009
|
+
* OpenSearch SAML configuration.
|
|
2010
|
+
*/
|
|
2011
|
+
saml?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSaml>;
|
|
2012
|
+
/**
|
|
2013
|
+
* Script max compilation rate - circuit breaker to prevent/minimize OOMs. Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context.
|
|
2014
|
+
*/
|
|
2015
|
+
scriptMaxCompilationsRate?: pulumi.Input<string>;
|
|
2016
|
+
/**
|
|
2017
|
+
* Search Backpressure Settings.
|
|
2018
|
+
*/
|
|
2019
|
+
searchBackpressure?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchBackpressure>;
|
|
2020
|
+
searchInsightsTopQueries?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueries>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined.
|
|
2023
|
+
*/
|
|
2024
|
+
searchMaxBuckets?: pulumi.Input<number>;
|
|
2025
|
+
/**
|
|
2026
|
+
* Segment Replication Backpressure Settings.
|
|
2027
|
+
*/
|
|
2028
|
+
segrep?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSegrep>;
|
|
2029
|
+
/**
|
|
2030
|
+
* Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2031
|
+
*/
|
|
2032
|
+
serviceLog?: pulumi.Input<boolean>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Shard indexing back pressure settings.
|
|
2035
|
+
*/
|
|
2036
|
+
shardIndexingPressure?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesShardIndexingPressure>;
|
|
2037
|
+
/**
|
|
2038
|
+
* analyze thread pool queue size. Size for the thread pool queue. See documentation for exact details.
|
|
2039
|
+
*/
|
|
2040
|
+
threadPoolAnalyzeQueueSize?: pulumi.Input<number>;
|
|
2041
|
+
/**
|
|
2042
|
+
* analyze thread pool size. Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
|
|
2043
|
+
*/
|
|
2044
|
+
threadPoolAnalyzeSize?: pulumi.Input<number>;
|
|
2045
|
+
/**
|
|
2046
|
+
* force_merge thread pool size. Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
|
|
2047
|
+
*/
|
|
2048
|
+
threadPoolForceMergeSize?: pulumi.Input<number>;
|
|
2049
|
+
/**
|
|
2050
|
+
* get thread pool queue size. Size for the thread pool queue. See documentation for exact details.
|
|
2051
|
+
*/
|
|
2052
|
+
threadPoolGetQueueSize?: pulumi.Input<number>;
|
|
2053
|
+
/**
|
|
2054
|
+
* get thread pool size. Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
|
|
2055
|
+
*/
|
|
2056
|
+
threadPoolGetSize?: pulumi.Input<number>;
|
|
2057
|
+
/**
|
|
2058
|
+
* search thread pool queue size. Size for the thread pool queue. See documentation for exact details.
|
|
2059
|
+
*/
|
|
2060
|
+
threadPoolSearchQueueSize?: pulumi.Input<number>;
|
|
2061
|
+
/**
|
|
2062
|
+
* search thread pool size. Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
|
|
2063
|
+
*/
|
|
2064
|
+
threadPoolSearchSize?: pulumi.Input<number>;
|
|
2065
|
+
/**
|
|
2066
|
+
* search_throttled thread pool queue size. Size for the thread pool queue. See documentation for exact details.
|
|
2067
|
+
*/
|
|
2068
|
+
threadPoolSearchThrottledQueueSize?: pulumi.Input<number>;
|
|
2069
|
+
/**
|
|
2070
|
+
* search_throttled thread pool size. Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
|
|
2071
|
+
*/
|
|
2072
|
+
threadPoolSearchThrottledSize?: pulumi.Input<number>;
|
|
2073
|
+
/**
|
|
2074
|
+
* write thread pool queue size. Size for the thread pool queue. See documentation for exact details.
|
|
2075
|
+
*/
|
|
2076
|
+
threadPoolWriteQueueSize?: pulumi.Input<number>;
|
|
2077
|
+
/**
|
|
2078
|
+
* write thread pool size. Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
|
|
2079
|
+
*/
|
|
2080
|
+
threadPoolWriteSize?: pulumi.Input<number>;
|
|
2081
|
+
/**
|
|
2082
|
+
* OpenSearch major version.
|
|
2083
|
+
*/
|
|
2084
|
+
version?: pulumi.Input<string>;
|
|
2085
|
+
}
|
|
2086
|
+
export interface ManagedDatabaseOpensearchPropertiesAuthFailureListeners {
|
|
2087
|
+
internalAuthenticationBackendLimiting?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesAuthFailureListenersInternalAuthenticationBackendLimiting>;
|
|
2088
|
+
/**
|
|
2089
|
+
* IP address rate limiting settings.
|
|
2090
|
+
*/
|
|
2091
|
+
ipRateLimiting?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesAuthFailureListenersIpRateLimiting>;
|
|
2092
|
+
}
|
|
2093
|
+
export interface ManagedDatabaseOpensearchPropertiesAuthFailureListenersInternalAuthenticationBackendLimiting {
|
|
2094
|
+
/**
|
|
2095
|
+
* The number of login attempts allowed before login is blocked.
|
|
2096
|
+
*/
|
|
2097
|
+
allowedTries?: pulumi.Input<number>;
|
|
2098
|
+
/**
|
|
2099
|
+
* The internal backend. Enter `internal`.
|
|
2100
|
+
*/
|
|
2101
|
+
authenticationBackend?: pulumi.Input<string>;
|
|
2102
|
+
/**
|
|
2103
|
+
* The duration of time that login remains blocked after a failed login.
|
|
2104
|
+
*/
|
|
2105
|
+
blockExpirySeconds?: pulumi.Input<number>;
|
|
2106
|
+
/**
|
|
2107
|
+
* The maximum number of blocked IP addresses.
|
|
2108
|
+
*/
|
|
2109
|
+
maxBlockedClients?: pulumi.Input<number>;
|
|
2110
|
+
/**
|
|
2111
|
+
* The maximum number of tracked IP addresses that have failed login.
|
|
2112
|
+
*/
|
|
2113
|
+
maxTrackedClients?: pulumi.Input<number>;
|
|
2114
|
+
/**
|
|
2115
|
+
* The window of time in which the value for `allowedTries` is enforced.
|
|
2116
|
+
*/
|
|
2117
|
+
timeWindowSeconds?: pulumi.Input<number>;
|
|
2118
|
+
/**
|
|
2119
|
+
* The type of rate limiting.
|
|
2120
|
+
*/
|
|
2121
|
+
type?: pulumi.Input<string>;
|
|
2122
|
+
}
|
|
2123
|
+
export interface ManagedDatabaseOpensearchPropertiesAuthFailureListenersIpRateLimiting {
|
|
2124
|
+
/**
|
|
2125
|
+
* The number of login attempts allowed before login is blocked.
|
|
2126
|
+
*/
|
|
2127
|
+
allowedTries?: pulumi.Input<number>;
|
|
2128
|
+
/**
|
|
2129
|
+
* The duration of time that login remains blocked after a failed login.
|
|
2130
|
+
*/
|
|
2131
|
+
blockExpirySeconds?: pulumi.Input<number>;
|
|
2132
|
+
/**
|
|
2133
|
+
* The maximum number of blocked IP addresses.
|
|
2134
|
+
*/
|
|
2135
|
+
maxBlockedClients?: pulumi.Input<number>;
|
|
2136
|
+
/**
|
|
2137
|
+
* The maximum number of tracked IP addresses that have failed login.
|
|
2138
|
+
*/
|
|
2139
|
+
maxTrackedClients?: pulumi.Input<number>;
|
|
2140
|
+
/**
|
|
2141
|
+
* The window of time in which the value for `allowedTries` is enforced.
|
|
2142
|
+
*/
|
|
2143
|
+
timeWindowSeconds?: pulumi.Input<number>;
|
|
2144
|
+
/**
|
|
2145
|
+
* The type of rate limiting.
|
|
2146
|
+
*/
|
|
2147
|
+
type?: pulumi.Input<string>;
|
|
2148
|
+
}
|
|
2149
|
+
export interface ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlog {
|
|
2150
|
+
/**
|
|
2151
|
+
* Log level.
|
|
2152
|
+
*/
|
|
2153
|
+
level?: pulumi.Input<string>;
|
|
2154
|
+
threshold?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlogThreshold>;
|
|
2155
|
+
}
|
|
2156
|
+
export interface ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlogThreshold {
|
|
2157
|
+
/**
|
|
2158
|
+
* Debug threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
|
|
2159
|
+
*/
|
|
2160
|
+
debug?: pulumi.Input<string>;
|
|
2161
|
+
/**
|
|
2162
|
+
* Info threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
|
|
2163
|
+
*/
|
|
2164
|
+
info?: pulumi.Input<string>;
|
|
2165
|
+
/**
|
|
2166
|
+
* Trace threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
|
|
2167
|
+
*/
|
|
2168
|
+
trace?: pulumi.Input<string>;
|
|
2169
|
+
/**
|
|
2170
|
+
* Warning threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
|
|
2171
|
+
*/
|
|
2172
|
+
warn?: pulumi.Input<string>;
|
|
2173
|
+
}
|
|
2174
|
+
export interface ManagedDatabaseOpensearchPropertiesIndexRollup {
|
|
2175
|
+
/**
|
|
2176
|
+
* plugins.rollup.dashboards.enabled. Whether rollups are enabled in OpenSearch Dashboards. Defaults to true.
|
|
2177
|
+
*/
|
|
2178
|
+
rollupDashboardsEnabled?: pulumi.Input<boolean>;
|
|
2179
|
+
/**
|
|
2180
|
+
* plugins.rollup.enabled. Whether the rollup plugin is enabled. Defaults to true.
|
|
2181
|
+
*/
|
|
2182
|
+
rollupEnabled?: pulumi.Input<boolean>;
|
|
2183
|
+
/**
|
|
2184
|
+
* plugins.rollup.search.backoff_count. How many retries the plugin should attempt for failed rollup jobs. Defaults to 5.
|
|
2185
|
+
*/
|
|
2186
|
+
rollupSearchBackoffCount?: pulumi.Input<number>;
|
|
2187
|
+
/**
|
|
2188
|
+
* plugins.rollup.search.backoff_millis. The backoff time between retries for failed rollup jobs. Defaults to 1000ms.
|
|
2189
|
+
*/
|
|
2190
|
+
rollupSearchBackoffMillis?: pulumi.Input<number>;
|
|
2191
|
+
/**
|
|
2192
|
+
* plugins.rollup.search.all_jobs. Whether OpenSearch should return all jobs that match all specified search terms. If disabled, OpenSearch returns just one, as opposed to all, of the jobs that matches the search terms. Defaults to false.
|
|
2193
|
+
*/
|
|
2194
|
+
rollupSearchSearchAllJobs?: pulumi.Input<boolean>;
|
|
2195
|
+
}
|
|
2196
|
+
export interface ManagedDatabaseOpensearchPropertiesIndexTemplate {
|
|
2197
|
+
/**
|
|
2198
|
+
* index.mapping.nested_objects.limit. The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps to prevent out of memory errors when a document contains too many nested objects. Default is 10000.
|
|
2199
|
+
*/
|
|
2200
|
+
mappingNestedObjectsLimit?: pulumi.Input<number>;
|
|
2201
|
+
/**
|
|
2202
|
+
* The number of replicas each primary shard has.
|
|
2203
|
+
*/
|
|
2204
|
+
numberOfReplicas?: pulumi.Input<number>;
|
|
2205
|
+
/**
|
|
2206
|
+
* The number of primary shards that an index should have.
|
|
2207
|
+
*/
|
|
2208
|
+
numberOfShards?: pulumi.Input<number>;
|
|
2209
|
+
}
|
|
2210
|
+
export interface ManagedDatabaseOpensearchPropertiesOpenid {
|
|
2211
|
+
/**
|
|
2212
|
+
* The ID of the OpenID Connect client. The ID of the OpenID Connect client configured in your IdP. Required.
|
|
2213
|
+
*/
|
|
2214
|
+
clientId?: pulumi.Input<string>;
|
|
2215
|
+
/**
|
|
2216
|
+
* The client secret of the OpenID Connect. The client secret of the OpenID Connect client configured in your IdP. Required.
|
|
2217
|
+
*/
|
|
2218
|
+
clientSecret?: pulumi.Input<string>;
|
|
2219
|
+
/**
|
|
2220
|
+
* OpenID Connect metadata/configuration URL. The URL of your IdP where the Security plugin can find the OpenID Connect metadata/configuration settings.
|
|
2221
|
+
*/
|
|
2222
|
+
connectUrl?: pulumi.Input<string>;
|
|
2223
|
+
/**
|
|
2224
|
+
* Enable or disable OpenSearch OpenID Connect authentication. Enables or disables OpenID Connect authentication for OpenSearch. When enabled, users can authenticate using OpenID Connect with an Identity Provider.
|
|
2225
|
+
*/
|
|
2226
|
+
enabled?: pulumi.Input<boolean>;
|
|
2227
|
+
/**
|
|
2228
|
+
* HTTP header name of the JWT token. HTTP header name of the JWT token. Optional. Default is Authorization.
|
|
2229
|
+
*/
|
|
2230
|
+
header?: pulumi.Input<string>;
|
|
2231
|
+
/**
|
|
2232
|
+
* The HTTP header that stores the token. The HTTP header that stores the token. Typically the Authorization header with the Bearer schema: Authorization: Bearer <token>. Optional. Default is Authorization.
|
|
2233
|
+
*/
|
|
2234
|
+
jwtHeader?: pulumi.Input<string>;
|
|
2235
|
+
/**
|
|
2236
|
+
* URL JWT token. If the token is not transmitted in the HTTP header, but as an URL parameter, define the name of the parameter here. Optional.
|
|
2237
|
+
*/
|
|
2238
|
+
jwtUrlParameter?: pulumi.Input<string>;
|
|
2239
|
+
/**
|
|
2240
|
+
* The maximum number of unknown key IDs in the time frame. The maximum number of unknown key IDs in the time frame. Default is 10. Optional.
|
|
2241
|
+
*/
|
|
2242
|
+
refreshRateLimitCount?: pulumi.Input<number>;
|
|
2243
|
+
/**
|
|
2244
|
+
* The time frame to use when checking the maximum number of unknown key IDs, in milliseconds. The time frame to use when checking the maximum number of unknown key IDs, in milliseconds. Optional.Default is 10000 (10 seconds).
|
|
2245
|
+
*/
|
|
2246
|
+
refreshRateLimitTimeWindowMs?: pulumi.Input<number>;
|
|
2247
|
+
/**
|
|
2248
|
+
* The key in the JSON payload that stores the user’s roles. The key in the JSON payload that stores the user’s roles. The value of this key must be a comma-separated list of roles. Required only if you want to use roles in the JWT.
|
|
2249
|
+
*/
|
|
2250
|
+
rolesKey?: pulumi.Input<string>;
|
|
2251
|
+
/**
|
|
2252
|
+
* The scope of the identity token issued by the IdP. The scope of the identity token issued by the IdP. Optional. Default is openid profile email address phone.
|
|
2253
|
+
*/
|
|
2254
|
+
scope?: pulumi.Input<string>;
|
|
2255
|
+
/**
|
|
2256
|
+
* The key in the JSON payload that stores the user’s name. The key in the JSON payload that stores the user’s name. If not defined, the subject registered claim is used. Most IdP providers use the preferredUsername claim. Optional.
|
|
2257
|
+
*/
|
|
2258
|
+
subjectKey?: pulumi.Input<string>;
|
|
2259
|
+
}
|
|
2260
|
+
export interface ManagedDatabaseOpensearchPropertiesOpensearchDashboards {
|
|
2261
|
+
/**
|
|
2262
|
+
* Enable or disable OpenSearch Dashboards.
|
|
2263
|
+
*/
|
|
2264
|
+
enabled?: pulumi.Input<boolean>;
|
|
2265
|
+
/**
|
|
2266
|
+
* Limits the maximum amount of memory (in MiB) the OpenSearch Dashboards process can use. This sets the maxOldSpaceSize option of the nodejs running the OpenSearch Dashboards. Note: the memory reserved by OpenSearch Dashboards is not available for OpenSearch.
|
|
2267
|
+
*/
|
|
2268
|
+
maxOldSpaceSize?: pulumi.Input<number>;
|
|
2269
|
+
/**
|
|
2270
|
+
* Enable or disable multiple data sources in OpenSearch Dashboards.
|
|
2271
|
+
*/
|
|
2272
|
+
multipleDataSourceEnabled?: pulumi.Input<boolean>;
|
|
2273
|
+
/**
|
|
2274
|
+
* Timeout in milliseconds for requests made by OpenSearch Dashboards towards OpenSearch.
|
|
2275
|
+
*/
|
|
2276
|
+
opensearchRequestTimeout?: pulumi.Input<number>;
|
|
2277
|
+
}
|
|
2278
|
+
export interface ManagedDatabaseOpensearchPropertiesSaml {
|
|
2279
|
+
/**
|
|
2280
|
+
* Enable or disable OpenSearch SAML authentication. Enables or disables SAML-based authentication for OpenSearch. When enabled, users can authenticate using SAML with an Identity Provider.
|
|
2281
|
+
*/
|
|
2282
|
+
enabled?: pulumi.Input<boolean>;
|
|
2283
|
+
/**
|
|
2284
|
+
* Identity Provider Entity ID. The unique identifier for the Identity Provider (IdP) entity that is used for SAML authentication. This value is typically provided by the IdP.
|
|
2285
|
+
*/
|
|
2286
|
+
idpEntityId?: pulumi.Input<string>;
|
|
2287
|
+
/**
|
|
2288
|
+
* Identity Provider (IdP) SAML metadata URL. The URL of the SAML metadata for the Identity Provider (IdP). This is used to configure SAML-based authentication with the IdP.
|
|
2289
|
+
*/
|
|
2290
|
+
idpMetadataUrl?: pulumi.Input<string>;
|
|
2291
|
+
/**
|
|
2292
|
+
* PEM-encoded root CA Content for SAML IdP server verification. This parameter specifies the PEM-encoded root certificate authority (CA) content for the SAML identity provider (IdP) server verification. The root CA content is used to verify the SSL/TLS certificate presented by the server.
|
|
2293
|
+
*/
|
|
2294
|
+
idpPemtrustedcasContent?: pulumi.Input<string>;
|
|
2295
|
+
/**
|
|
2296
|
+
* SAML response role attribute. Optional. Specifies the attribute in the SAML response where role information is stored, if available. Role attributes are not required for SAML authentication, but can be included in SAML assertions by most Identity Providers (IdPs) to determine user access levels or permissions.
|
|
2297
|
+
*/
|
|
2298
|
+
rolesKey?: pulumi.Input<string>;
|
|
2299
|
+
/**
|
|
2300
|
+
* Service Provider Entity ID. The unique identifier for the Service Provider (SP) entity that is used for SAML authentication. This value is typically provided by the SP.
|
|
2301
|
+
*/
|
|
2302
|
+
spEntityId?: pulumi.Input<string>;
|
|
2303
|
+
/**
|
|
2304
|
+
* SAML response subject attribute. Optional. Specifies the attribute in the SAML response where the subject identifier is stored. If not configured, the NameID attribute is used by default.
|
|
2305
|
+
*/
|
|
2306
|
+
subjectKey?: pulumi.Input<string>;
|
|
2307
|
+
}
|
|
2308
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchBackpressure {
|
|
2309
|
+
/**
|
|
2310
|
+
* The search backpressure mode. The search backpressure mode. Valid values are monitor_only, enforced, or disabled. Default is monitor_only.
|
|
2311
|
+
*/
|
|
2312
|
+
mode?: pulumi.Input<string>;
|
|
2313
|
+
/**
|
|
2314
|
+
* Node duress settings.
|
|
2315
|
+
*/
|
|
2316
|
+
nodeDuress?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchBackpressureNodeDuress>;
|
|
2317
|
+
/**
|
|
2318
|
+
* Search shard settings.
|
|
2319
|
+
*/
|
|
2320
|
+
searchShardTask?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchBackpressureSearchShardTask>;
|
|
2321
|
+
/**
|
|
2322
|
+
* Search task settings.
|
|
2323
|
+
*/
|
|
2324
|
+
searchTask?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchBackpressureSearchTask>;
|
|
2325
|
+
}
|
|
2326
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchBackpressureNodeDuress {
|
|
2327
|
+
/**
|
|
2328
|
+
* The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
|
|
2329
|
+
*/
|
|
2330
|
+
cpuThreshold?: pulumi.Input<number>;
|
|
2331
|
+
/**
|
|
2332
|
+
* The heap usage threshold (as a percentage) required for a node to be considered to be under duress. The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
|
|
2333
|
+
*/
|
|
2334
|
+
heapThreshold?: pulumi.Input<number>;
|
|
2335
|
+
/**
|
|
2336
|
+
* The number of successive limit breaches after which the node is considered to be under duress. The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
|
|
2337
|
+
*/
|
|
2338
|
+
numSuccessiveBreaches?: pulumi.Input<number>;
|
|
2339
|
+
}
|
|
2340
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchBackpressureSearchShardTask {
|
|
2341
|
+
/**
|
|
2342
|
+
* The maximum number of search tasks to cancel in a single iteration of the observer thread. The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
|
|
2343
|
+
*/
|
|
2344
|
+
cancellationBurst?: pulumi.Input<number>;
|
|
2345
|
+
/**
|
|
2346
|
+
* The maximum number of tasks to cancel per millisecond of elapsed time. The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
2347
|
+
*/
|
|
2348
|
+
cancellationRate?: pulumi.Input<number>;
|
|
2349
|
+
/**
|
|
2350
|
+
* The maximum number of tasks to cancel. The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
|
|
2351
|
+
*/
|
|
2352
|
+
cancellationRatio?: pulumi.Input<number>;
|
|
2353
|
+
/**
|
|
2354
|
+
* The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
|
|
2355
|
+
*/
|
|
2356
|
+
cpuTimeMillisThreshold?: pulumi.Input<number>;
|
|
2357
|
+
/**
|
|
2358
|
+
* The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
|
|
2359
|
+
*/
|
|
2360
|
+
elapsedTimeMillisThreshold?: pulumi.Input<number>;
|
|
2361
|
+
/**
|
|
2362
|
+
* The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
|
|
2363
|
+
*/
|
|
2364
|
+
heapMovingAverageWindowSize?: pulumi.Input<number>;
|
|
2365
|
+
/**
|
|
2366
|
+
* The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
|
|
2367
|
+
*/
|
|
2368
|
+
heapPercentThreshold?: pulumi.Input<number>;
|
|
2369
|
+
/**
|
|
2370
|
+
* The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0.
|
|
2371
|
+
*/
|
|
2372
|
+
heapVariance?: pulumi.Input<number>;
|
|
2373
|
+
/**
|
|
2374
|
+
* The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5.
|
|
2375
|
+
*/
|
|
2376
|
+
totalHeapPercentThreshold?: pulumi.Input<number>;
|
|
2377
|
+
}
|
|
2378
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchBackpressureSearchTask {
|
|
2379
|
+
/**
|
|
2380
|
+
* The maximum number of search tasks to cancel in a single iteration of the observer thread. The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
|
|
2381
|
+
*/
|
|
2382
|
+
cancellationBurst?: pulumi.Input<number>;
|
|
2383
|
+
/**
|
|
2384
|
+
* The maximum number of search tasks to cancel per millisecond of elapsed time. The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
2385
|
+
*/
|
|
2386
|
+
cancellationRate?: pulumi.Input<number>;
|
|
2387
|
+
/**
|
|
2388
|
+
* The maximum number of search tasks to cancel, as a percentage of successful search task completions. The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
|
|
2389
|
+
*/
|
|
2390
|
+
cancellationRatio?: pulumi.Input<number>;
|
|
2391
|
+
/**
|
|
2392
|
+
* The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
|
|
2393
|
+
*/
|
|
2394
|
+
cpuTimeMillisThreshold?: pulumi.Input<number>;
|
|
2395
|
+
/**
|
|
2396
|
+
* The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
|
|
2397
|
+
*/
|
|
2398
|
+
elapsedTimeMillisThreshold?: pulumi.Input<number>;
|
|
2399
|
+
/**
|
|
2400
|
+
* The window size used to calculate the rolling average of the heap usage for the completed parent tasks. The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
|
|
2401
|
+
*/
|
|
2402
|
+
heapMovingAverageWindowSize?: pulumi.Input<number>;
|
|
2403
|
+
/**
|
|
2404
|
+
* The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
|
|
2405
|
+
*/
|
|
2406
|
+
heapPercentThreshold?: pulumi.Input<number>;
|
|
2407
|
+
/**
|
|
2408
|
+
* The heap usage variance required for an individual parent task before it is considered for cancellation. The heap usage variance required for an individual parent task before it is considered for cancellation. A task is considered for cancellation when taskHeapUsage is greater than or equal to heapUsageMovingAverage * variance. Default is 2.0.
|
|
2409
|
+
*/
|
|
2410
|
+
heapVariance?: pulumi.Input<number>;
|
|
2411
|
+
/**
|
|
2412
|
+
* The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. Default is 0.5.
|
|
2413
|
+
*/
|
|
2414
|
+
totalHeapPercentThreshold?: pulumi.Input<number>;
|
|
2415
|
+
}
|
|
2416
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueries {
|
|
2417
|
+
/**
|
|
2418
|
+
* Top N queries monitoring by CPU.
|
|
2419
|
+
*/
|
|
2420
|
+
cpu?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueriesCpu>;
|
|
2421
|
+
/**
|
|
2422
|
+
* Top N queries monitoring by latency.
|
|
2423
|
+
*/
|
|
2424
|
+
latency?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueriesLatency>;
|
|
2425
|
+
/**
|
|
2426
|
+
* Top N queries monitoring by memory.
|
|
2427
|
+
*/
|
|
2428
|
+
memory?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueriesMemory>;
|
|
2429
|
+
}
|
|
2430
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueriesCpu {
|
|
2431
|
+
/**
|
|
2432
|
+
* Enable or disable top N query monitoring by the metric. Enable or disable top N query monitoring by the metric.
|
|
2433
|
+
*/
|
|
2434
|
+
enabled?: pulumi.Input<boolean>;
|
|
2435
|
+
/**
|
|
2436
|
+
* Specify the value of N for the top N queries by the metric.
|
|
2437
|
+
*/
|
|
2438
|
+
topNSize?: pulumi.Input<number>;
|
|
2439
|
+
/**
|
|
2440
|
+
* The window size of the top N queries by the metric. Configure the window size of the top N queries.
|
|
2441
|
+
*/
|
|
2442
|
+
windowSize?: pulumi.Input<string>;
|
|
2443
|
+
}
|
|
2444
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueriesLatency {
|
|
2445
|
+
/**
|
|
2446
|
+
* Enable or disable top N query monitoring by the metric. Enable or disable top N query monitoring by the metric.
|
|
2447
|
+
*/
|
|
2448
|
+
enabled?: pulumi.Input<boolean>;
|
|
2449
|
+
/**
|
|
2450
|
+
* Specify the value of N for the top N queries by the metric.
|
|
2451
|
+
*/
|
|
2452
|
+
topNSize?: pulumi.Input<number>;
|
|
2453
|
+
/**
|
|
2454
|
+
* The window size of the top N queries by the metric. Configure the window size of the top N queries.
|
|
2455
|
+
*/
|
|
2456
|
+
windowSize?: pulumi.Input<string>;
|
|
2457
|
+
}
|
|
2458
|
+
export interface ManagedDatabaseOpensearchPropertiesSearchInsightsTopQueriesMemory {
|
|
2459
|
+
/**
|
|
2460
|
+
* Enable or disable top N query monitoring by the metric. Enable or disable top N query monitoring by the metric.
|
|
2461
|
+
*/
|
|
2462
|
+
enabled?: pulumi.Input<boolean>;
|
|
2463
|
+
/**
|
|
2464
|
+
* Specify the value of N for the top N queries by the metric.
|
|
2465
|
+
*/
|
|
2466
|
+
topNSize?: pulumi.Input<number>;
|
|
2467
|
+
/**
|
|
2468
|
+
* The window size of the top N queries by the metric. Configure the window size of the top N queries.
|
|
2469
|
+
*/
|
|
2470
|
+
windowSize?: pulumi.Input<string>;
|
|
2471
|
+
}
|
|
2472
|
+
export interface ManagedDatabaseOpensearchPropertiesSegrep {
|
|
2473
|
+
/**
|
|
2474
|
+
* The maximum number of indexing checkpoints that a replica shard can fall behind when copying from primary. Once `segrep.pressure.checkpoint.limit` is breached along with `segrep.pressure.time.limit`, the segment replication backpressure mechanism is initiated. Default is 4 checkpoints.
|
|
2475
|
+
*/
|
|
2476
|
+
pressureCheckpointLimit?: pulumi.Input<number>;
|
|
2477
|
+
/**
|
|
2478
|
+
* Enables the segment replication backpressure mechanism. Default is false.
|
|
2479
|
+
*/
|
|
2480
|
+
pressureEnabled?: pulumi.Input<boolean>;
|
|
2481
|
+
/**
|
|
2482
|
+
* The maximum number of stale replica shards that can exist in a replication group. Once `segrep.pressure.replica.stale.limit` is breached, the segment replication backpressure mechanism is initiated. Default is .5, which is 50% of a replication group.
|
|
2483
|
+
*/
|
|
2484
|
+
pressureReplicaStaleLimit?: pulumi.Input<number>;
|
|
2485
|
+
/**
|
|
2486
|
+
* The maximum amount of time that a replica shard can take to copy from the primary shard. Once segrep.pressure.time.limit is breached along with segrep.pressure.checkpoint.limit, the segment replication backpressure mechanism is initiated. Default is 5 minutes.
|
|
2487
|
+
*/
|
|
2488
|
+
pressureTimeLimit?: pulumi.Input<string>;
|
|
2489
|
+
}
|
|
2490
|
+
export interface ManagedDatabaseOpensearchPropertiesShardIndexingPressure {
|
|
2491
|
+
/**
|
|
2492
|
+
* Enable or disable shard indexing backpressure. Enable or disable shard indexing backpressure. Default is false.
|
|
2493
|
+
*/
|
|
2494
|
+
enabled?: pulumi.Input<boolean>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Run shard indexing backpressure in shadow mode or enforced mode. Run shard indexing backpressure in shadow mode or enforced mode.
|
|
2497
|
+
* In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
|
|
2498
|
+
* but it doesn’t actually reject any indexing requests.
|
|
2499
|
+
* In enforced mode (value set as true),
|
|
2500
|
+
* shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
|
|
2501
|
+
* Default is false.
|
|
2502
|
+
*/
|
|
2503
|
+
enforced?: pulumi.Input<boolean>;
|
|
2504
|
+
/**
|
|
2505
|
+
* Operating factor.
|
|
2506
|
+
*/
|
|
2507
|
+
operatingFactor?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesShardIndexingPressureOperatingFactor>;
|
|
2508
|
+
/**
|
|
2509
|
+
* Primary parameter.
|
|
2510
|
+
*/
|
|
2511
|
+
primaryParameter?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesShardIndexingPressurePrimaryParameter>;
|
|
2512
|
+
}
|
|
2513
|
+
export interface ManagedDatabaseOpensearchPropertiesShardIndexingPressureOperatingFactor {
|
|
2514
|
+
/**
|
|
2515
|
+
* Lower occupancy limit of the allocated quota of memory for the shard. Specify the lower occupancy limit of the allocated quota of memory for the shard.
|
|
2516
|
+
* If the total memory usage of a shard is below this limit,
|
|
2517
|
+
* shard indexing backpressure decreases the current allocated memory for that shard.
|
|
2518
|
+
* Default is 0.75.
|
|
2519
|
+
*/
|
|
2520
|
+
lower?: pulumi.Input<number>;
|
|
2521
|
+
/**
|
|
2522
|
+
* Optimal occupancy of the allocated quota of memory for the shard. Specify the optimal occupancy of the allocated quota of memory for the shard.
|
|
2523
|
+
* If the total memory usage of a shard is at this level,
|
|
2524
|
+
* shard indexing backpressure doesn’t change the current allocated memory for that shard.
|
|
2525
|
+
* Default is 0.85.
|
|
2526
|
+
*/
|
|
2527
|
+
optimal?: pulumi.Input<number>;
|
|
2528
|
+
/**
|
|
2529
|
+
* Upper occupancy limit of the allocated quota of memory for the shard. Specify the upper occupancy limit of the allocated quota of memory for the shard.
|
|
2530
|
+
* If the total memory usage of a shard is above this limit,
|
|
2531
|
+
* shard indexing backpressure increases the current allocated memory for that shard.
|
|
2532
|
+
* Default is 0.95.
|
|
2533
|
+
*/
|
|
2534
|
+
upper?: pulumi.Input<number>;
|
|
2535
|
+
}
|
|
2536
|
+
export interface ManagedDatabaseOpensearchPropertiesShardIndexingPressurePrimaryParameter {
|
|
2537
|
+
node?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesShardIndexingPressurePrimaryParameterNode>;
|
|
2538
|
+
shard?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesShardIndexingPressurePrimaryParameterShard>;
|
|
2539
|
+
}
|
|
2540
|
+
export interface ManagedDatabaseOpensearchPropertiesShardIndexingPressurePrimaryParameterNode {
|
|
2541
|
+
/**
|
|
2542
|
+
* Node soft limit. Define the percentage of the node-level memory
|
|
2543
|
+
* threshold that acts as a soft indicator for strain on a node.
|
|
2544
|
+
* Default is 0.7.
|
|
2545
|
+
*/
|
|
2546
|
+
softLimit?: pulumi.Input<number>;
|
|
2547
|
+
}
|
|
2548
|
+
export interface ManagedDatabaseOpensearchPropertiesShardIndexingPressurePrimaryParameterShard {
|
|
2549
|
+
/**
|
|
2550
|
+
* Shard min limit. Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
|
|
2551
|
+
* Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
|
|
2552
|
+
* Default is 0.001.
|
|
2553
|
+
*/
|
|
2554
|
+
minLimit?: pulumi.Input<number>;
|
|
2555
|
+
}
|
|
2556
|
+
export interface ManagedDatabasePostgresqlComponent {
|
|
2557
|
+
/**
|
|
2558
|
+
* Type of the component
|
|
2559
|
+
*/
|
|
2560
|
+
component?: pulumi.Input<string>;
|
|
2561
|
+
/**
|
|
2562
|
+
* Hostname of the component
|
|
2563
|
+
*/
|
|
2564
|
+
host?: pulumi.Input<string>;
|
|
2565
|
+
/**
|
|
2566
|
+
* Port number of the component
|
|
2567
|
+
*/
|
|
2568
|
+
port?: pulumi.Input<number>;
|
|
2569
|
+
/**
|
|
2570
|
+
* Component network route type
|
|
2571
|
+
*/
|
|
2572
|
+
route?: pulumi.Input<string>;
|
|
2573
|
+
/**
|
|
2574
|
+
* Usage of the component
|
|
2575
|
+
*/
|
|
2576
|
+
usage?: pulumi.Input<string>;
|
|
2577
|
+
}
|
|
2578
|
+
export interface ManagedDatabasePostgresqlNetwork {
|
|
2579
|
+
/**
|
|
2580
|
+
* Network family. Currently only `IPv4` is supported.
|
|
2581
|
+
*/
|
|
2582
|
+
family: pulumi.Input<string>;
|
|
2583
|
+
/**
|
|
2584
|
+
* The name of the network. Must be unique within the service.
|
|
2585
|
+
*/
|
|
2586
|
+
name: pulumi.Input<string>;
|
|
2587
|
+
/**
|
|
2588
|
+
* The type of the network. Must be private.
|
|
2589
|
+
*/
|
|
2590
|
+
type: pulumi.Input<string>;
|
|
2591
|
+
/**
|
|
2592
|
+
* Private network UUID. Must reside in the same zone as the database.
|
|
2593
|
+
*/
|
|
2594
|
+
uuid: pulumi.Input<string>;
|
|
2595
|
+
}
|
|
2596
|
+
export interface ManagedDatabasePostgresqlNodeState {
|
|
2597
|
+
/**
|
|
2598
|
+
* Name plus a node iteration
|
|
2599
|
+
*/
|
|
2600
|
+
name?: pulumi.Input<string>;
|
|
2601
|
+
/**
|
|
2602
|
+
* Role of the node
|
|
2603
|
+
*/
|
|
2604
|
+
role?: pulumi.Input<string>;
|
|
2605
|
+
/**
|
|
2606
|
+
* State of the node
|
|
2607
|
+
*/
|
|
2608
|
+
state?: pulumi.Input<string>;
|
|
2609
|
+
}
|
|
2610
|
+
export interface ManagedDatabasePostgresqlProperties {
|
|
2611
|
+
/**
|
|
2612
|
+
* Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
|
|
2613
|
+
*/
|
|
2614
|
+
adminPassword?: pulumi.Input<string>;
|
|
2615
|
+
/**
|
|
2616
|
+
* Custom username for admin user. This must be set only when a new service is being created.
|
|
2617
|
+
*/
|
|
2618
|
+
adminUsername?: pulumi.Input<string>;
|
|
2619
|
+
/**
|
|
2620
|
+
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2621
|
+
*/
|
|
2622
|
+
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
2623
|
+
/**
|
|
2624
|
+
* Specifies a fraction of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
|
|
2625
|
+
*/
|
|
2626
|
+
autovacuumAnalyzeScaleFactor?: pulumi.Input<number>;
|
|
2627
|
+
/**
|
|
2628
|
+
* Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
|
|
2629
|
+
*/
|
|
2630
|
+
autovacuumAnalyzeThreshold?: pulumi.Input<number>;
|
|
2631
|
+
/**
|
|
2632
|
+
* Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
2633
|
+
*/
|
|
2634
|
+
autovacuumFreezeMaxAge?: pulumi.Input<number>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
|
|
2637
|
+
*/
|
|
2638
|
+
autovacuumMaxWorkers?: pulumi.Input<number>;
|
|
2639
|
+
/**
|
|
2640
|
+
* Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
|
|
2641
|
+
*/
|
|
2642
|
+
autovacuumNaptime?: pulumi.Input<number>;
|
|
2643
|
+
/**
|
|
2644
|
+
* Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuumCostDelay value will be used. The default value is 20 milliseconds.
|
|
2645
|
+
*/
|
|
2646
|
+
autovacuumVacuumCostDelay?: pulumi.Input<number>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuumCostLimit value will be used.
|
|
2649
|
+
*/
|
|
2650
|
+
autovacuumVacuumCostLimit?: pulumi.Input<number>;
|
|
2651
|
+
/**
|
|
2652
|
+
* Specifies a fraction of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
|
|
2653
|
+
*/
|
|
2654
|
+
autovacuumVacuumScaleFactor?: pulumi.Input<number>;
|
|
2655
|
+
/**
|
|
2656
|
+
* Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
|
|
2657
|
+
*/
|
|
2658
|
+
autovacuumVacuumThreshold?: pulumi.Input<number>;
|
|
2659
|
+
/**
|
|
2660
|
+
* The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
2661
|
+
*/
|
|
2662
|
+
backupHour?: pulumi.Input<number>;
|
|
2663
|
+
/**
|
|
2664
|
+
* The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
2665
|
+
*/
|
|
2666
|
+
backupMinute?: pulumi.Input<number>;
|
|
2667
|
+
/**
|
|
2668
|
+
* Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
|
|
2669
|
+
*/
|
|
2670
|
+
bgwriterDelay?: pulumi.Input<number>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Whenever more than bgwriterFlushAfter bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
2673
|
+
*/
|
|
2674
|
+
bgwriterFlushAfter?: pulumi.Input<number>;
|
|
2675
|
+
/**
|
|
2676
|
+
* In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
|
|
2677
|
+
*/
|
|
2678
|
+
bgwriterLruMaxpages?: pulumi.Input<number>;
|
|
2679
|
+
/**
|
|
2680
|
+
* The average recent need for new buffers is multiplied by bgwriterLruMultiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
|
|
2681
|
+
*/
|
|
2682
|
+
bgwriterLruMultiplier?: pulumi.Input<number>;
|
|
2683
|
+
/**
|
|
2684
|
+
* This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2685
|
+
*/
|
|
2686
|
+
deadlockTimeout?: pulumi.Input<number>;
|
|
2687
|
+
/**
|
|
2688
|
+
* Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
|
|
2689
|
+
*/
|
|
2690
|
+
defaultToastCompression?: pulumi.Input<string>;
|
|
2691
|
+
/**
|
|
2692
|
+
* Time out sessions with open transactions after this number of milliseconds.
|
|
2693
|
+
*/
|
|
2694
|
+
idleInTransactionSessionTimeout?: pulumi.Input<number>;
|
|
2695
|
+
/**
|
|
2696
|
+
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2697
|
+
*/
|
|
2698
|
+
ipFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Controls system-wide use of Just-in-Time Compilation (JIT).
|
|
2701
|
+
*/
|
|
2702
|
+
jit?: pulumi.Input<boolean>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
2705
|
+
*/
|
|
2706
|
+
logAutovacuumMinDuration?: pulumi.Input<number>;
|
|
2707
|
+
/**
|
|
2708
|
+
* Controls the amount of detail written in the server log for each message that is logged.
|
|
2709
|
+
*/
|
|
2710
|
+
logErrorVerbosity?: pulumi.Input<string>;
|
|
2711
|
+
/**
|
|
2712
|
+
* Choose from one of the available log formats.
|
|
2713
|
+
*/
|
|
2714
|
+
logLinePrefix?: pulumi.Input<string>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Log statements that take more than this number of milliseconds to run, -1 disables.
|
|
2717
|
+
*/
|
|
2718
|
+
logMinDurationStatement?: pulumi.Input<number>;
|
|
2719
|
+
/**
|
|
2720
|
+
* Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
|
|
2721
|
+
*/
|
|
2722
|
+
logTempFiles?: pulumi.Input<number>;
|
|
2723
|
+
/**
|
|
2724
|
+
* PostgreSQL maximum number of files that can be open per process.
|
|
2725
|
+
*/
|
|
2726
|
+
maxFilesPerProcess?: pulumi.Input<number>;
|
|
2727
|
+
/**
|
|
2728
|
+
* PostgreSQL maximum locks per transaction.
|
|
2729
|
+
*/
|
|
2730
|
+
maxLocksPerTransaction?: pulumi.Input<number>;
|
|
2731
|
+
/**
|
|
2732
|
+
* PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2733
|
+
*/
|
|
2734
|
+
maxLogicalReplicationWorkers?: pulumi.Input<number>;
|
|
2735
|
+
/**
|
|
2736
|
+
* Sets the maximum number of workers that the system can support for parallel queries.
|
|
2737
|
+
*/
|
|
2738
|
+
maxParallelWorkers?: pulumi.Input<number>;
|
|
2739
|
+
/**
|
|
2740
|
+
* Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2741
|
+
*/
|
|
2742
|
+
maxParallelWorkersPerGather?: pulumi.Input<number>;
|
|
2743
|
+
/**
|
|
2744
|
+
* PostgreSQL maximum predicate locks per transaction.
|
|
2745
|
+
*/
|
|
2746
|
+
maxPredLocksPerTransaction?: pulumi.Input<number>;
|
|
2747
|
+
/**
|
|
2748
|
+
* PostgreSQL maximum prepared transactions.
|
|
2749
|
+
*/
|
|
2750
|
+
maxPreparedTransactions?: pulumi.Input<number>;
|
|
2751
|
+
/**
|
|
2752
|
+
* PostgreSQL maximum replication slots.
|
|
2753
|
+
*/
|
|
2754
|
+
maxReplicationSlots?: pulumi.Input<number>;
|
|
2755
|
+
/**
|
|
2756
|
+
* PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). walKeepSize minimum WAL size setting takes precedence over this.
|
|
2757
|
+
*/
|
|
2758
|
+
maxSlotWalKeepSize?: pulumi.Input<number>;
|
|
2759
|
+
/**
|
|
2760
|
+
* Maximum depth of the stack in bytes.
|
|
2761
|
+
*/
|
|
2762
|
+
maxStackDepth?: pulumi.Input<number>;
|
|
2763
|
+
/**
|
|
2764
|
+
* Max standby archive delay in milliseconds.
|
|
2765
|
+
*/
|
|
2766
|
+
maxStandbyArchiveDelay?: pulumi.Input<number>;
|
|
2767
|
+
/**
|
|
2768
|
+
* Max standby streaming delay in milliseconds.
|
|
2769
|
+
*/
|
|
2770
|
+
maxStandbyStreamingDelay?: pulumi.Input<number>;
|
|
2771
|
+
/**
|
|
2772
|
+
* PostgreSQL maximum WAL senders.
|
|
2773
|
+
*/
|
|
2774
|
+
maxWalSenders?: pulumi.Input<number>;
|
|
2775
|
+
/**
|
|
2776
|
+
* Sets the maximum number of background processes that the system can support.
|
|
2777
|
+
*/
|
|
2778
|
+
maxWorkerProcesses?: pulumi.Input<number>;
|
|
2779
|
+
/**
|
|
2780
|
+
* Migrate data from existing server.
|
|
2781
|
+
*/
|
|
2782
|
+
migration?: pulumi.Input<inputs.ManagedDatabasePostgresqlPropertiesMigration>;
|
|
2783
|
+
/**
|
|
2784
|
+
* Chooses the algorithm for encrypting passwords.
|
|
2785
|
+
*/
|
|
2786
|
+
passwordEncryption?: pulumi.Input<string>;
|
|
2787
|
+
/**
|
|
2788
|
+
* Sets the time interval to run pg_partman's scheduled tasks.
|
|
2789
|
+
*/
|
|
2790
|
+
pgPartmanBgwInterval?: pulumi.Input<number>;
|
|
2791
|
+
/**
|
|
2792
|
+
* Controls which role to use for pg_partman's scheduled background tasks.
|
|
2793
|
+
*/
|
|
2794
|
+
pgPartmanBgwRole?: pulumi.Input<string>;
|
|
2795
|
+
/**
|
|
2796
|
+
* Enable pgStatMonitor extension if available for the current cluster. Enable the pgStatMonitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pgStatStatements results for utility commands are unreliable.
|
|
2797
|
+
*/
|
|
2798
|
+
pgStatMonitorEnable?: pulumi.Input<boolean>;
|
|
2799
|
+
/**
|
|
2800
|
+
* Enables or disables query plan monitoring.
|
|
2801
|
+
*/
|
|
2802
|
+
pgStatMonitorPgsmEnableQueryPlan?: pulumi.Input<boolean>;
|
|
2803
|
+
/**
|
|
2804
|
+
* Sets the maximum number of buckets.
|
|
2805
|
+
*/
|
|
2806
|
+
pgStatMonitorPgsmMaxBuckets?: pulumi.Input<number>;
|
|
2807
|
+
/**
|
|
2808
|
+
* Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
|
|
2809
|
+
*/
|
|
2810
|
+
pgStatStatementsTrack?: pulumi.Input<string>;
|
|
2811
|
+
/**
|
|
2812
|
+
* PGBouncer connection pooling settings. System-wide settings for pgbouncer.
|
|
2813
|
+
*/
|
|
2814
|
+
pgbouncer?: pulumi.Input<inputs.ManagedDatabasePostgresqlPropertiesPgbouncer>;
|
|
2815
|
+
/**
|
|
2816
|
+
* PGLookout settings. System-wide settings for pglookout.
|
|
2817
|
+
*/
|
|
2818
|
+
pglookout?: pulumi.Input<inputs.ManagedDatabasePostgresqlPropertiesPglookout>;
|
|
2819
|
+
/**
|
|
2820
|
+
* Public Access. Allow access to the service from the public Internet.
|
|
2821
|
+
*/
|
|
2822
|
+
publicAccess?: pulumi.Input<boolean>;
|
|
2823
|
+
/**
|
|
2824
|
+
* Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2825
|
+
*/
|
|
2826
|
+
serviceLog?: pulumi.Input<boolean>;
|
|
2827
|
+
/**
|
|
2828
|
+
* Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value.
|
|
2829
|
+
*/
|
|
2830
|
+
sharedBuffersPercentage?: pulumi.Input<number>;
|
|
2831
|
+
/**
|
|
2832
|
+
* Synchronous replication type. Note that the service plan also needs to support synchronous replication.
|
|
2833
|
+
*/
|
|
2834
|
+
synchronousReplication?: pulumi.Input<string>;
|
|
2835
|
+
/**
|
|
2836
|
+
* PostgreSQL temporary file limit in KiB, -1 for unlimited.
|
|
2837
|
+
*/
|
|
2838
|
+
tempFileLimit?: pulumi.Input<number>;
|
|
2839
|
+
/**
|
|
2840
|
+
* TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
|
|
2841
|
+
*/
|
|
2842
|
+
timescaledb?: pulumi.Input<inputs.ManagedDatabasePostgresqlPropertiesTimescaledb>;
|
|
2843
|
+
/**
|
|
2844
|
+
* PostgreSQL service timezone.
|
|
2845
|
+
*/
|
|
2846
|
+
timezone?: pulumi.Input<string>;
|
|
2847
|
+
/**
|
|
2848
|
+
* Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2849
|
+
*/
|
|
2850
|
+
trackActivityQuerySize?: pulumi.Input<number>;
|
|
2851
|
+
/**
|
|
2852
|
+
* Record commit time of transactions.
|
|
2853
|
+
*/
|
|
2854
|
+
trackCommitTimestamp?: pulumi.Input<string>;
|
|
2855
|
+
/**
|
|
2856
|
+
* Enables tracking of function call counts and time used.
|
|
2857
|
+
*/
|
|
2858
|
+
trackFunctions?: pulumi.Input<string>;
|
|
2859
|
+
/**
|
|
2860
|
+
* Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
|
|
2861
|
+
*/
|
|
2862
|
+
trackIoTiming?: pulumi.Input<string>;
|
|
2863
|
+
/**
|
|
2864
|
+
* Variant of the PostgreSQL service, may affect the features that are exposed by default.
|
|
2865
|
+
*/
|
|
2866
|
+
variant?: pulumi.Input<string>;
|
|
2867
|
+
/**
|
|
2868
|
+
* PostgreSQL major version.
|
|
2869
|
+
*/
|
|
2870
|
+
version?: pulumi.Input<string>;
|
|
2871
|
+
/**
|
|
2872
|
+
* Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
|
|
2873
|
+
*/
|
|
2874
|
+
walSenderTimeout?: pulumi.Input<number>;
|
|
2875
|
+
/**
|
|
2876
|
+
* WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
|
|
2877
|
+
*/
|
|
2878
|
+
walWriterDelay?: pulumi.Input<number>;
|
|
2879
|
+
/**
|
|
2880
|
+
* Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2881
|
+
*/
|
|
2882
|
+
workMem?: pulumi.Input<number>;
|
|
2883
|
+
}
|
|
2884
|
+
export interface ManagedDatabasePostgresqlPropertiesMigration {
|
|
2885
|
+
/**
|
|
2886
|
+
* Database name for bootstrapping the initial connection.
|
|
2887
|
+
*/
|
|
2888
|
+
dbname?: pulumi.Input<string>;
|
|
2889
|
+
/**
|
|
2890
|
+
* Hostname or IP address of the server where to migrate data from.
|
|
2891
|
+
*/
|
|
2892
|
+
host?: pulumi.Input<string>;
|
|
2893
|
+
/**
|
|
2894
|
+
* Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2895
|
+
*/
|
|
2896
|
+
ignoreDbs?: pulumi.Input<string>;
|
|
2897
|
+
/**
|
|
2898
|
+
* Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2899
|
+
*/
|
|
2900
|
+
ignoreRoles?: pulumi.Input<string>;
|
|
2901
|
+
/**
|
|
2902
|
+
* The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2903
|
+
*/
|
|
2904
|
+
method?: pulumi.Input<string>;
|
|
2905
|
+
/**
|
|
2906
|
+
* Password for authentication with the server where to migrate data from.
|
|
2907
|
+
*/
|
|
2908
|
+
password?: pulumi.Input<string>;
|
|
2909
|
+
/**
|
|
2910
|
+
* Port number of the server where to migrate data from.
|
|
2911
|
+
*/
|
|
2912
|
+
port?: pulumi.Input<number>;
|
|
2913
|
+
/**
|
|
2914
|
+
* The server where to migrate data from is secured with SSL.
|
|
2915
|
+
*/
|
|
2916
|
+
ssl?: pulumi.Input<boolean>;
|
|
2917
|
+
/**
|
|
2918
|
+
* User name for authentication with the server where to migrate data from.
|
|
2919
|
+
*/
|
|
2920
|
+
username?: pulumi.Input<string>;
|
|
2921
|
+
}
|
|
2922
|
+
export interface ManagedDatabasePostgresqlPropertiesPgbouncer {
|
|
2923
|
+
/**
|
|
2924
|
+
* If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
|
|
2925
|
+
*/
|
|
2926
|
+
autodbIdleTimeout?: pulumi.Input<number>;
|
|
2927
|
+
/**
|
|
2928
|
+
* Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
|
|
2929
|
+
*/
|
|
2930
|
+
autodbMaxDbConnections?: pulumi.Input<number>;
|
|
2931
|
+
/**
|
|
2932
|
+
* PGBouncer pool mode.
|
|
2933
|
+
*/
|
|
2934
|
+
autodbPoolMode?: pulumi.Input<string>;
|
|
2935
|
+
/**
|
|
2936
|
+
* If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
|
|
2937
|
+
*/
|
|
2938
|
+
autodbPoolSize?: pulumi.Input<number>;
|
|
2939
|
+
/**
|
|
2940
|
+
* List of parameters to ignore when given in startup packet.
|
|
2941
|
+
*/
|
|
2942
|
+
ignoreStartupParameters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2943
|
+
/**
|
|
2944
|
+
* PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when maxPreparedStatements is set to a non-zero value. Setting it to 0 disables prepared statements. maxPreparedStatements defaults to 100, and its maximum is 3000.
|
|
2945
|
+
*/
|
|
2946
|
+
maxPreparedStatements?: pulumi.Input<number>;
|
|
2947
|
+
/**
|
|
2948
|
+
* Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
|
|
2949
|
+
*/
|
|
2950
|
+
minPoolSize?: pulumi.Input<number>;
|
|
2951
|
+
/**
|
|
2952
|
+
* If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
|
|
2953
|
+
*/
|
|
2954
|
+
serverIdleTimeout?: pulumi.Input<number>;
|
|
2955
|
+
/**
|
|
2956
|
+
* The pooler will close an unused server connection that has been connected longer than this. [seconds].
|
|
2957
|
+
*/
|
|
2958
|
+
serverLifetime?: pulumi.Input<number>;
|
|
2959
|
+
/**
|
|
2960
|
+
* Run serverResetQuery (DISCARD ALL) in all pooling modes.
|
|
2961
|
+
*/
|
|
2962
|
+
serverResetQueryAlways?: pulumi.Input<boolean>;
|
|
2963
|
+
}
|
|
2964
|
+
export interface ManagedDatabasePostgresqlPropertiesPglookout {
|
|
2965
|
+
/**
|
|
2966
|
+
* Number of seconds of master unavailability before triggering database failover to standby.
|
|
2967
|
+
*/
|
|
2968
|
+
maxFailoverReplicationTimeLag?: pulumi.Input<number>;
|
|
2969
|
+
}
|
|
2970
|
+
export interface ManagedDatabasePostgresqlPropertiesTimescaledb {
|
|
2971
|
+
/**
|
|
2972
|
+
* The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time.
|
|
2973
|
+
*/
|
|
2974
|
+
maxBackgroundWorkers?: pulumi.Input<number>;
|
|
2975
|
+
}
|
|
2976
|
+
export interface ManagedDatabaseRedisComponent {
|
|
2977
|
+
/**
|
|
2978
|
+
* Type of the component
|
|
2979
|
+
*/
|
|
2980
|
+
component?: pulumi.Input<string>;
|
|
2981
|
+
/**
|
|
2982
|
+
* Hostname of the component
|
|
2983
|
+
*/
|
|
2984
|
+
host?: pulumi.Input<string>;
|
|
2985
|
+
/**
|
|
2986
|
+
* Port number of the component
|
|
2987
|
+
*/
|
|
2988
|
+
port?: pulumi.Input<number>;
|
|
2989
|
+
/**
|
|
2990
|
+
* Component network route type
|
|
2991
|
+
*/
|
|
2992
|
+
route?: pulumi.Input<string>;
|
|
2993
|
+
/**
|
|
2994
|
+
* Usage of the component
|
|
2995
|
+
*/
|
|
2996
|
+
usage?: pulumi.Input<string>;
|
|
2997
|
+
}
|
|
2998
|
+
export interface ManagedDatabaseRedisNetwork {
|
|
2999
|
+
/**
|
|
3000
|
+
* Network family. Currently only `IPv4` is supported.
|
|
3001
|
+
*/
|
|
3002
|
+
family: pulumi.Input<string>;
|
|
3003
|
+
/**
|
|
3004
|
+
* The name of the network. Must be unique within the service.
|
|
3005
|
+
*/
|
|
3006
|
+
name: pulumi.Input<string>;
|
|
3007
|
+
/**
|
|
3008
|
+
* The type of the network. Must be private.
|
|
3009
|
+
*/
|
|
3010
|
+
type: pulumi.Input<string>;
|
|
3011
|
+
/**
|
|
3012
|
+
* Private network UUID. Must reside in the same zone as the database.
|
|
3013
|
+
*/
|
|
3014
|
+
uuid: pulumi.Input<string>;
|
|
3015
|
+
}
|
|
3016
|
+
export interface ManagedDatabaseRedisNodeState {
|
|
3017
|
+
/**
|
|
3018
|
+
* Name plus a node iteration
|
|
3019
|
+
*/
|
|
3020
|
+
name?: pulumi.Input<string>;
|
|
3021
|
+
/**
|
|
3022
|
+
* Role of the node
|
|
3023
|
+
*/
|
|
3024
|
+
role?: pulumi.Input<string>;
|
|
3025
|
+
/**
|
|
3026
|
+
* State of the node
|
|
3027
|
+
*/
|
|
3028
|
+
state?: pulumi.Input<string>;
|
|
3029
|
+
}
|
|
3030
|
+
export interface ManagedDatabaseRedisProperties {
|
|
3031
|
+
/**
|
|
3032
|
+
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
3033
|
+
*/
|
|
3034
|
+
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
3035
|
+
/**
|
|
3036
|
+
* The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
3037
|
+
*/
|
|
3038
|
+
backupHour?: pulumi.Input<number>;
|
|
3039
|
+
/**
|
|
3040
|
+
* The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
3041
|
+
*/
|
|
3042
|
+
backupMinute?: pulumi.Input<number>;
|
|
3043
|
+
/**
|
|
3044
|
+
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
3045
|
+
*/
|
|
3046
|
+
ipFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3047
|
+
/**
|
|
3048
|
+
* Migrate data from existing server.
|
|
3049
|
+
*/
|
|
3050
|
+
migration?: pulumi.Input<inputs.ManagedDatabaseRedisPropertiesMigration>;
|
|
3051
|
+
/**
|
|
3052
|
+
* Public Access. Allow access to the service from the public Internet.
|
|
3053
|
+
*/
|
|
3054
|
+
publicAccess?: pulumi.Input<boolean>;
|
|
3055
|
+
/**
|
|
3056
|
+
* Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, allChannels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
|
|
3057
|
+
*/
|
|
3058
|
+
redisAclChannelsDefault?: pulumi.Input<string>;
|
|
3059
|
+
/**
|
|
3060
|
+
* Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
|
|
3061
|
+
*/
|
|
3062
|
+
redisIoThreads?: pulumi.Input<number>;
|
|
3063
|
+
/**
|
|
3064
|
+
* LFU maxmemory-policy counter decay time in minutes.
|
|
3065
|
+
*/
|
|
3066
|
+
redisLfuDecayTime?: pulumi.Input<number>;
|
|
3067
|
+
/**
|
|
3068
|
+
* Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
|
|
3069
|
+
*/
|
|
3070
|
+
redisLfuLogFactor?: pulumi.Input<number>;
|
|
3071
|
+
/**
|
|
3072
|
+
* Redis maxmemory-policy.
|
|
3073
|
+
*/
|
|
3074
|
+
redisMaxmemoryPolicy?: pulumi.Input<string>;
|
|
3075
|
+
/**
|
|
3076
|
+
* Set notify-keyspace-events option.
|
|
3077
|
+
*/
|
|
3078
|
+
redisNotifyKeyspaceEvents?: pulumi.Input<string>;
|
|
3079
|
+
/**
|
|
3080
|
+
* Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
|
|
3081
|
+
*/
|
|
3082
|
+
redisNumberOfDatabases?: pulumi.Input<number>;
|
|
3083
|
+
/**
|
|
3084
|
+
* Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
|
|
3085
|
+
*/
|
|
3086
|
+
redisPersistence?: pulumi.Input<string>;
|
|
3087
|
+
/**
|
|
3088
|
+
* Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
3089
|
+
*/
|
|
3090
|
+
redisPubsubClientOutputBufferLimit?: pulumi.Input<number>;
|
|
3091
|
+
/**
|
|
3092
|
+
* Require SSL to access Redis.
|
|
3093
|
+
*/
|
|
3094
|
+
redisSsl?: pulumi.Input<boolean>;
|
|
3095
|
+
/**
|
|
3096
|
+
* Redis idle connection timeout in seconds.
|
|
3097
|
+
*/
|
|
3098
|
+
redisTimeout?: pulumi.Input<number>;
|
|
3099
|
+
/**
|
|
3100
|
+
* Redis major version.
|
|
3101
|
+
*/
|
|
3102
|
+
redisVersion?: pulumi.Input<string>;
|
|
3103
|
+
/**
|
|
3104
|
+
* Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
3105
|
+
*/
|
|
3106
|
+
serviceLog?: pulumi.Input<boolean>;
|
|
3107
|
+
}
|
|
3108
|
+
export interface ManagedDatabaseRedisPropertiesMigration {
|
|
3109
|
+
/**
|
|
3110
|
+
* Database name for bootstrapping the initial connection.
|
|
3111
|
+
*/
|
|
3112
|
+
dbname?: pulumi.Input<string>;
|
|
3113
|
+
/**
|
|
3114
|
+
* Hostname or IP address of the server where to migrate data from.
|
|
3115
|
+
*/
|
|
3116
|
+
host?: pulumi.Input<string>;
|
|
3117
|
+
/**
|
|
3118
|
+
* Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
3119
|
+
*/
|
|
3120
|
+
ignoreDbs?: pulumi.Input<string>;
|
|
3121
|
+
/**
|
|
3122
|
+
* Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
3123
|
+
*/
|
|
3124
|
+
ignoreRoles?: pulumi.Input<string>;
|
|
3125
|
+
/**
|
|
3126
|
+
* The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
3127
|
+
*/
|
|
3128
|
+
method?: pulumi.Input<string>;
|
|
3129
|
+
/**
|
|
3130
|
+
* Password for authentication with the server where to migrate data from.
|
|
3131
|
+
*/
|
|
3132
|
+
password?: pulumi.Input<string>;
|
|
3133
|
+
/**
|
|
3134
|
+
* Port number of the server where to migrate data from.
|
|
3135
|
+
*/
|
|
3136
|
+
port?: pulumi.Input<number>;
|
|
3137
|
+
/**
|
|
3138
|
+
* The server where to migrate data from is secured with SSL.
|
|
3139
|
+
*/
|
|
3140
|
+
ssl?: pulumi.Input<boolean>;
|
|
3141
|
+
/**
|
|
3142
|
+
* User name for authentication with the server where to migrate data from.
|
|
3143
|
+
*/
|
|
3144
|
+
username?: pulumi.Input<string>;
|
|
3145
|
+
}
|
|
3146
|
+
export interface ManagedDatabaseUserOpensearchAccessControl {
|
|
3147
|
+
/**
|
|
3148
|
+
* Set user access control rules.
|
|
3149
|
+
*/
|
|
3150
|
+
rules: pulumi.Input<pulumi.Input<inputs.ManagedDatabaseUserOpensearchAccessControlRule>[]>;
|
|
3151
|
+
}
|
|
3152
|
+
export interface ManagedDatabaseUserOpensearchAccessControlRule {
|
|
3153
|
+
/**
|
|
3154
|
+
* Set index name, pattern or top level API.
|
|
3155
|
+
*/
|
|
3156
|
+
index: pulumi.Input<string>;
|
|
3157
|
+
/**
|
|
3158
|
+
* Set permission access.
|
|
3159
|
+
*/
|
|
3160
|
+
permission: pulumi.Input<string>;
|
|
3161
|
+
}
|
|
3162
|
+
export interface ManagedDatabaseUserPgAccessControl {
|
|
3163
|
+
/**
|
|
3164
|
+
* Grant replication privilege
|
|
3165
|
+
*/
|
|
3166
|
+
allowReplication?: pulumi.Input<boolean>;
|
|
3167
|
+
}
|
|
3168
|
+
export interface ManagedDatabaseUserRedisAccessControl {
|
|
3169
|
+
/**
|
|
3170
|
+
* Set access control to all commands in specified categories.
|
|
3171
|
+
*/
|
|
3172
|
+
categories?: pulumi.Input<string>;
|
|
3173
|
+
/**
|
|
3174
|
+
* Set access control to Pub/Sub channels.
|
|
3175
|
+
*/
|
|
3176
|
+
channels?: pulumi.Input<string>;
|
|
3177
|
+
/**
|
|
3178
|
+
* Set access control to commands.
|
|
3179
|
+
*/
|
|
3180
|
+
commands?: pulumi.Input<string>;
|
|
3181
|
+
/**
|
|
3182
|
+
* Set access control to keys.
|
|
3183
|
+
*/
|
|
3184
|
+
keys?: pulumi.Input<string>;
|
|
3185
|
+
}
|
|
3186
|
+
export interface ManagedDatabaseUserValkeyAccessControl {
|
|
3187
|
+
/**
|
|
3188
|
+
* Set access control to all commands in specified categories.
|
|
3189
|
+
*/
|
|
3190
|
+
categories?: pulumi.Input<string>;
|
|
3191
|
+
/**
|
|
3192
|
+
* Set access control to Pub/Sub channels.
|
|
3193
|
+
*/
|
|
3194
|
+
channels?: pulumi.Input<string>;
|
|
3195
|
+
/**
|
|
3196
|
+
* Set access control to commands.
|
|
3197
|
+
*/
|
|
3198
|
+
commands?: pulumi.Input<string>;
|
|
3199
|
+
/**
|
|
3200
|
+
* Set access control to keys.
|
|
3201
|
+
*/
|
|
3202
|
+
keys?: pulumi.Input<string>;
|
|
3203
|
+
}
|
|
3204
|
+
export interface ManagedDatabaseValkeyComponent {
|
|
3205
|
+
/**
|
|
3206
|
+
* Type of the component
|
|
3207
|
+
*/
|
|
3208
|
+
component?: pulumi.Input<string>;
|
|
3209
|
+
/**
|
|
3210
|
+
* Hostname of the component
|
|
3211
|
+
*/
|
|
3212
|
+
host?: pulumi.Input<string>;
|
|
3213
|
+
/**
|
|
3214
|
+
* Port number of the component
|
|
3215
|
+
*/
|
|
3216
|
+
port?: pulumi.Input<number>;
|
|
3217
|
+
/**
|
|
3218
|
+
* Component network route type
|
|
3219
|
+
*/
|
|
3220
|
+
route?: pulumi.Input<string>;
|
|
3221
|
+
/**
|
|
3222
|
+
* Usage of the component
|
|
3223
|
+
*/
|
|
3224
|
+
usage?: pulumi.Input<string>;
|
|
3225
|
+
}
|
|
3226
|
+
export interface ManagedDatabaseValkeyNetwork {
|
|
3227
|
+
/**
|
|
3228
|
+
* Network family. Currently only `IPv4` is supported.
|
|
3229
|
+
*/
|
|
3230
|
+
family: pulumi.Input<string>;
|
|
3231
|
+
/**
|
|
3232
|
+
* The name of the network. Must be unique within the service.
|
|
3233
|
+
*/
|
|
3234
|
+
name: pulumi.Input<string>;
|
|
3235
|
+
/**
|
|
3236
|
+
* The type of the network. Must be private.
|
|
3237
|
+
*/
|
|
3238
|
+
type: pulumi.Input<string>;
|
|
3239
|
+
/**
|
|
3240
|
+
* Private network UUID. Must reside in the same zone as the database.
|
|
3241
|
+
*/
|
|
3242
|
+
uuid: pulumi.Input<string>;
|
|
3243
|
+
}
|
|
3244
|
+
export interface ManagedDatabaseValkeyNodeState {
|
|
3245
|
+
/**
|
|
3246
|
+
* Name plus a node iteration
|
|
3247
|
+
*/
|
|
3248
|
+
name?: pulumi.Input<string>;
|
|
3249
|
+
/**
|
|
3250
|
+
* Role of the node
|
|
3251
|
+
*/
|
|
3252
|
+
role?: pulumi.Input<string>;
|
|
3253
|
+
/**
|
|
3254
|
+
* State of the node
|
|
3255
|
+
*/
|
|
3256
|
+
state?: pulumi.Input<string>;
|
|
3257
|
+
}
|
|
3258
|
+
export interface ManagedDatabaseValkeyProperties {
|
|
3259
|
+
/**
|
|
3260
|
+
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
3261
|
+
*/
|
|
3262
|
+
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
3263
|
+
/**
|
|
3264
|
+
* The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
3265
|
+
*/
|
|
3266
|
+
backupHour?: pulumi.Input<number>;
|
|
3267
|
+
/**
|
|
3268
|
+
* The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
3269
|
+
*/
|
|
3270
|
+
backupMinute?: pulumi.Input<number>;
|
|
3271
|
+
/**
|
|
3272
|
+
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
3273
|
+
*/
|
|
3274
|
+
ipFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3275
|
+
/**
|
|
3276
|
+
* Migrate data from existing server.
|
|
3277
|
+
*/
|
|
3278
|
+
migration?: pulumi.Input<inputs.ManagedDatabaseValkeyPropertiesMigration>;
|
|
3279
|
+
/**
|
|
3280
|
+
* Public Access. Allow access to the service from the public Internet.
|
|
3281
|
+
*/
|
|
3282
|
+
publicAccess?: pulumi.Input<boolean>;
|
|
3283
|
+
/**
|
|
3284
|
+
* Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
3285
|
+
*/
|
|
3286
|
+
serviceLog?: pulumi.Input<boolean>;
|
|
3287
|
+
/**
|
|
3288
|
+
* Default ACL for pub/sub channels used when a Valkey user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, allChannels is assumed to keep backward compatibility. This option doesn't affect Valkey configuration acl-pubsub-default.
|
|
3289
|
+
*/
|
|
3290
|
+
valkeyAclChannelsDefault?: pulumi.Input<string>;
|
|
3291
|
+
/**
|
|
3292
|
+
* Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
|
|
3293
|
+
*/
|
|
3294
|
+
valkeyIoThreads?: pulumi.Input<number>;
|
|
3295
|
+
/**
|
|
3296
|
+
* LFU maxmemory-policy counter decay time in minutes.
|
|
3297
|
+
*/
|
|
3298
|
+
valkeyLfuDecayTime?: pulumi.Input<number>;
|
|
3299
|
+
/**
|
|
3300
|
+
* Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
|
|
3301
|
+
*/
|
|
3302
|
+
valkeyLfuLogFactor?: pulumi.Input<number>;
|
|
3303
|
+
/**
|
|
3304
|
+
* Valkey maxmemory-policy.
|
|
3305
|
+
*/
|
|
3306
|
+
valkeyMaxmemoryPolicy?: pulumi.Input<string>;
|
|
3307
|
+
/**
|
|
3308
|
+
* Set notify-keyspace-events option.
|
|
3309
|
+
*/
|
|
3310
|
+
valkeyNotifyKeyspaceEvents?: pulumi.Input<string>;
|
|
3311
|
+
/**
|
|
3312
|
+
* Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
|
|
3313
|
+
*/
|
|
3314
|
+
valkeyNumberOfDatabases?: pulumi.Input<number>;
|
|
3315
|
+
/**
|
|
3316
|
+
* Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
|
|
3317
|
+
*/
|
|
3318
|
+
valkeyPersistence?: pulumi.Input<string>;
|
|
3319
|
+
/**
|
|
3320
|
+
* Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
3321
|
+
*/
|
|
3322
|
+
valkeyPubsubClientOutputBufferLimit?: pulumi.Input<number>;
|
|
3323
|
+
/**
|
|
3324
|
+
* Require SSL to access Valkey.
|
|
3325
|
+
*/
|
|
3326
|
+
valkeySsl?: pulumi.Input<boolean>;
|
|
3327
|
+
/**
|
|
3328
|
+
* Valkey idle connection timeout in seconds.
|
|
3329
|
+
*/
|
|
3330
|
+
valkeyTimeout?: pulumi.Input<number>;
|
|
3331
|
+
}
|
|
3332
|
+
export interface ManagedDatabaseValkeyPropertiesMigration {
|
|
3333
|
+
/**
|
|
3334
|
+
* Database name for bootstrapping the initial connection.
|
|
3335
|
+
*/
|
|
3336
|
+
dbname?: pulumi.Input<string>;
|
|
3337
|
+
/**
|
|
3338
|
+
* Hostname or IP address of the server where to migrate data from.
|
|
3339
|
+
*/
|
|
3340
|
+
host?: pulumi.Input<string>;
|
|
3341
|
+
/**
|
|
3342
|
+
* Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
3343
|
+
*/
|
|
3344
|
+
ignoreDbs?: pulumi.Input<string>;
|
|
3345
|
+
/**
|
|
3346
|
+
* Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
3347
|
+
*/
|
|
3348
|
+
ignoreRoles?: pulumi.Input<string>;
|
|
3349
|
+
/**
|
|
3350
|
+
* The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
3351
|
+
*/
|
|
3352
|
+
method?: pulumi.Input<string>;
|
|
3353
|
+
/**
|
|
3354
|
+
* Password for authentication with the server where to migrate data from.
|
|
3355
|
+
*/
|
|
3356
|
+
password?: pulumi.Input<string>;
|
|
3357
|
+
/**
|
|
3358
|
+
* Port number of the server where to migrate data from.
|
|
3359
|
+
*/
|
|
3360
|
+
port?: pulumi.Input<number>;
|
|
3361
|
+
/**
|
|
3362
|
+
* The server where to migrate data from is secured with SSL.
|
|
3363
|
+
*/
|
|
3364
|
+
ssl?: pulumi.Input<boolean>;
|
|
3365
|
+
/**
|
|
3366
|
+
* User name for authentication with the server where to migrate data from.
|
|
3367
|
+
*/
|
|
3368
|
+
username?: pulumi.Input<string>;
|
|
3369
|
+
}
|
|
3370
|
+
export interface ManagedObjectStorageEndpoint {
|
|
3371
|
+
/**
|
|
3372
|
+
* Domain name of the endpoint.
|
|
3373
|
+
*/
|
|
3374
|
+
domainName?: pulumi.Input<string>;
|
|
3375
|
+
/**
|
|
3376
|
+
* URL for IAM.
|
|
3377
|
+
*/
|
|
3378
|
+
iamUrl?: pulumi.Input<string>;
|
|
3379
|
+
/**
|
|
3380
|
+
* URL for STS.
|
|
3381
|
+
*/
|
|
3382
|
+
stsUrl?: pulumi.Input<string>;
|
|
3383
|
+
/**
|
|
3384
|
+
* Type of the endpoint (`private` / `public`).
|
|
3385
|
+
*/
|
|
3386
|
+
type?: pulumi.Input<string>;
|
|
3387
|
+
}
|
|
3388
|
+
export interface ManagedObjectStorageNetwork {
|
|
3389
|
+
/**
|
|
3390
|
+
* Network family. IPv6 currently not supported.
|
|
3391
|
+
*/
|
|
3392
|
+
family: pulumi.Input<string>;
|
|
3393
|
+
/**
|
|
3394
|
+
* Network name. Must be unique within the service.
|
|
3395
|
+
*/
|
|
3396
|
+
name: pulumi.Input<string>;
|
|
3397
|
+
/**
|
|
3398
|
+
* Network type.
|
|
3399
|
+
*/
|
|
3400
|
+
type: pulumi.Input<string>;
|
|
3401
|
+
/**
|
|
3402
|
+
* Private network uuid. For public networks the field should be omitted.
|
|
3403
|
+
*/
|
|
3404
|
+
uuid?: pulumi.Input<string>;
|
|
3405
|
+
}
|
|
3406
|
+
export interface NetworkIpNetwork {
|
|
3407
|
+
/**
|
|
3408
|
+
* The CIDR range of the subnet
|
|
3409
|
+
*/
|
|
3410
|
+
address: pulumi.Input<string>;
|
|
3411
|
+
/**
|
|
3412
|
+
* Is DHCP enabled?
|
|
3413
|
+
*/
|
|
3414
|
+
dhcp: pulumi.Input<boolean>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Is the gateway the DHCP default route?
|
|
3417
|
+
*/
|
|
3418
|
+
dhcpDefaultRoute?: pulumi.Input<boolean>;
|
|
3419
|
+
/**
|
|
3420
|
+
* The DNS servers given by DHCP
|
|
3421
|
+
*/
|
|
3422
|
+
dhcpDns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3423
|
+
/**
|
|
3424
|
+
* The additional DHCP classless static routes given by DHCP
|
|
3425
|
+
*/
|
|
3426
|
+
dhcpRoutes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3427
|
+
/**
|
|
3428
|
+
* IP address family
|
|
3429
|
+
*/
|
|
3430
|
+
family: pulumi.Input<string>;
|
|
3431
|
+
/**
|
|
3432
|
+
* Gateway address given by DHCP
|
|
3433
|
+
*/
|
|
3434
|
+
gateway?: pulumi.Input<string>;
|
|
3435
|
+
}
|
|
3436
|
+
export interface NetworkPeeringNetwork {
|
|
3437
|
+
/**
|
|
3438
|
+
* The UUID of the network.
|
|
3439
|
+
*/
|
|
3440
|
+
uuid: pulumi.Input<string>;
|
|
3441
|
+
}
|
|
3442
|
+
export interface NetworkPeeringPeerNetwork {
|
|
3443
|
+
/**
|
|
3444
|
+
* The UUID of the network.
|
|
3445
|
+
*/
|
|
3446
|
+
uuid: pulumi.Input<string>;
|
|
3447
|
+
}
|
|
3448
|
+
export interface ObjectStorageBucket {
|
|
3449
|
+
/**
|
|
3450
|
+
* The name of the bucket
|
|
3451
|
+
*/
|
|
3452
|
+
name: pulumi.Input<string>;
|
|
3453
|
+
}
|
|
3454
|
+
export interface RouterStaticRoute {
|
|
3455
|
+
name: pulumi.Input<string>;
|
|
3456
|
+
nexthop: pulumi.Input<string>;
|
|
3457
|
+
route: pulumi.Input<string>;
|
|
3458
|
+
type: pulumi.Input<string>;
|
|
3459
|
+
}
|
|
3460
|
+
export interface ServerFirewallRulesFirewallRule {
|
|
3461
|
+
/**
|
|
3462
|
+
* Action to take if the rule conditions are met. Valid values `accept | drop`
|
|
3463
|
+
*/
|
|
3464
|
+
action: pulumi.Input<string>;
|
|
3465
|
+
/**
|
|
3466
|
+
* Freeform comment string for the rule
|
|
3467
|
+
*/
|
|
3468
|
+
comment?: pulumi.Input<string>;
|
|
3469
|
+
/**
|
|
3470
|
+
* The destination address range ends from this address
|
|
3471
|
+
*/
|
|
3472
|
+
destinationAddressEnd?: pulumi.Input<string>;
|
|
3473
|
+
/**
|
|
3474
|
+
* The destination address range starts from this address
|
|
3475
|
+
*/
|
|
3476
|
+
destinationAddressStart?: pulumi.Input<string>;
|
|
3477
|
+
/**
|
|
3478
|
+
* The destination port range ends from this port number
|
|
3479
|
+
*/
|
|
3480
|
+
destinationPortEnd?: pulumi.Input<string>;
|
|
3481
|
+
/**
|
|
3482
|
+
* The destination port range starts from this port number
|
|
3483
|
+
*/
|
|
3484
|
+
destinationPortStart?: pulumi.Input<string>;
|
|
3485
|
+
/**
|
|
3486
|
+
* The direction of network traffic this rule will be applied to
|
|
3487
|
+
*/
|
|
3488
|
+
direction: pulumi.Input<string>;
|
|
3489
|
+
/**
|
|
3490
|
+
* The address family of new firewall rule
|
|
3491
|
+
*/
|
|
3492
|
+
family?: pulumi.Input<string>;
|
|
3493
|
+
/**
|
|
3494
|
+
* The ICMP type
|
|
3495
|
+
*/
|
|
3496
|
+
icmpType?: pulumi.Input<string>;
|
|
3497
|
+
/**
|
|
3498
|
+
* The protocol this rule will be applied to
|
|
3499
|
+
*/
|
|
3500
|
+
protocol?: pulumi.Input<string>;
|
|
3501
|
+
/**
|
|
3502
|
+
* The source address range ends from this address
|
|
3503
|
+
*/
|
|
3504
|
+
sourceAddressEnd?: pulumi.Input<string>;
|
|
3505
|
+
/**
|
|
3506
|
+
* The source address range starts from this address
|
|
3507
|
+
*/
|
|
3508
|
+
sourceAddressStart?: pulumi.Input<string>;
|
|
3509
|
+
/**
|
|
3510
|
+
* The source port range ends from this port number
|
|
3511
|
+
*/
|
|
3512
|
+
sourcePortEnd?: pulumi.Input<string>;
|
|
3513
|
+
/**
|
|
3514
|
+
* The source port range starts from this port number
|
|
3515
|
+
*/
|
|
3516
|
+
sourcePortStart?: pulumi.Input<string>;
|
|
3517
|
+
}
|
|
3518
|
+
export interface ServerLogin {
|
|
3519
|
+
/**
|
|
3520
|
+
* Indicates a password should be create to allow access
|
|
3521
|
+
*/
|
|
3522
|
+
createPassword?: pulumi.Input<boolean>;
|
|
3523
|
+
/**
|
|
3524
|
+
* A list of ssh keys to access the server
|
|
3525
|
+
*/
|
|
3526
|
+
keys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3527
|
+
/**
|
|
3528
|
+
* The delivery method for the server's root password (one of `none`, `email` or `sms`)
|
|
3529
|
+
*/
|
|
3530
|
+
passwordDelivery?: pulumi.Input<string>;
|
|
3531
|
+
/**
|
|
3532
|
+
* Username to be create to access the server
|
|
3533
|
+
*/
|
|
3534
|
+
user?: pulumi.Input<string>;
|
|
3535
|
+
}
|
|
3536
|
+
export interface ServerNetworkInterface {
|
|
3537
|
+
/**
|
|
3538
|
+
* 0-31 blocks of additional IP addresses to assign to this interface. Allowed only with network interfaces of type `private`
|
|
3539
|
+
*/
|
|
3540
|
+
additionalIpAddresses?: pulumi.Input<pulumi.Input<inputs.ServerNetworkInterfaceAdditionalIpAddress>[]>;
|
|
3541
|
+
/**
|
|
3542
|
+
* `true` if this interface should be used for network booting.
|
|
3543
|
+
*/
|
|
3544
|
+
bootable?: pulumi.Input<boolean>;
|
|
3545
|
+
/**
|
|
3546
|
+
* The interface index.
|
|
3547
|
+
*/
|
|
3548
|
+
index?: pulumi.Input<number>;
|
|
3549
|
+
/**
|
|
3550
|
+
* The primary IP address of this interface.
|
|
3551
|
+
*/
|
|
3552
|
+
ipAddress?: pulumi.Input<string>;
|
|
3553
|
+
/**
|
|
3554
|
+
* The type of the primary IP address of this interface (one of `IPv4` or `IPv6`).
|
|
3555
|
+
*/
|
|
3556
|
+
ipAddressFamily?: pulumi.Input<string>;
|
|
3557
|
+
/**
|
|
3558
|
+
* `true` indicates that the primary IP address is a floating IP address.
|
|
3559
|
+
*/
|
|
3560
|
+
ipAddressFloating?: pulumi.Input<boolean>;
|
|
3561
|
+
/**
|
|
3562
|
+
* The MAC address of the interface.
|
|
3563
|
+
*/
|
|
3564
|
+
macAddress?: pulumi.Input<string>;
|
|
3565
|
+
/**
|
|
3566
|
+
* The UUID of the network to attach this interface to. Required for private network interfaces.
|
|
3567
|
+
*/
|
|
3568
|
+
network?: pulumi.Input<string>;
|
|
3569
|
+
/**
|
|
3570
|
+
* `true` if source IP should be filtered.
|
|
3571
|
+
*/
|
|
3572
|
+
sourceIpFiltering?: pulumi.Input<boolean>;
|
|
3573
|
+
/**
|
|
3574
|
+
* Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
3575
|
+
*/
|
|
3576
|
+
type: pulumi.Input<string>;
|
|
3577
|
+
}
|
|
3578
|
+
export interface ServerNetworkInterfaceAdditionalIpAddress {
|
|
3579
|
+
/**
|
|
3580
|
+
* An additional IP address for this interface.
|
|
3581
|
+
*/
|
|
3582
|
+
ipAddress?: pulumi.Input<string>;
|
|
3583
|
+
/**
|
|
3584
|
+
* The type of the additional IP address of this interface (one of `IPv4` or `IPv6`).
|
|
3585
|
+
*/
|
|
3586
|
+
ipAddressFamily?: pulumi.Input<string>;
|
|
3587
|
+
/**
|
|
3588
|
+
* `true` indicates that the additional IP address is a floating IP address.
|
|
3589
|
+
*/
|
|
3590
|
+
ipAddressFloating?: pulumi.Input<boolean>;
|
|
3591
|
+
}
|
|
3592
|
+
export interface ServerSimpleBackup {
|
|
3593
|
+
/**
|
|
3594
|
+
* Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
3595
|
+
*/
|
|
3596
|
+
plan?: pulumi.Input<string>;
|
|
3597
|
+
/**
|
|
3598
|
+
* Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
3599
|
+
*/
|
|
3600
|
+
time?: pulumi.Input<string>;
|
|
3601
|
+
}
|
|
3602
|
+
export interface ServerStorageDevice {
|
|
3603
|
+
/**
|
|
3604
|
+
* The device address the storage will be attached to (`scsi`|`virtio`|`ide`). Leave `addressPosition` field empty to auto-select next available address from that bus.
|
|
3605
|
+
*/
|
|
3606
|
+
address?: pulumi.Input<string>;
|
|
3607
|
+
/**
|
|
3608
|
+
* The device position in the given bus (defined via field `address`). Valid values for address `virtio` are `0-15` (`0`, for example). Valid values for `scsi` or `ide` are `0-1:0-1` (`0:0`, for example). Leave empty to auto-select next available address in the given bus.
|
|
3609
|
+
*/
|
|
3610
|
+
addressPosition?: pulumi.Input<string>;
|
|
3611
|
+
/**
|
|
3612
|
+
* The UUID of the storage to attach to the server.
|
|
3613
|
+
*/
|
|
3614
|
+
storage?: pulumi.Input<string>;
|
|
3615
|
+
/**
|
|
3616
|
+
* The device type the storage will be attached as
|
|
3617
|
+
*/
|
|
3618
|
+
type?: pulumi.Input<string>;
|
|
3619
|
+
}
|
|
3620
|
+
export interface ServerTemplate {
|
|
3621
|
+
/**
|
|
3622
|
+
* The device address the storage will be attached to (`scsi`|`virtio`|`ide`). Leave `addressPosition` field empty to auto-select next available address from that bus.
|
|
3623
|
+
*/
|
|
3624
|
+
address?: pulumi.Input<string>;
|
|
3625
|
+
/**
|
|
3626
|
+
* The device position in the given bus (defined via field `address`). For example `0:0`, or `0`. Leave empty to auto-select next available address in the given bus.
|
|
3627
|
+
*/
|
|
3628
|
+
addressPosition?: pulumi.Input<string>;
|
|
3629
|
+
backupRule?: pulumi.Input<inputs.ServerTemplateBackupRule>;
|
|
3630
|
+
/**
|
|
3631
|
+
* If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
3632
|
+
*/
|
|
3633
|
+
deleteAutoresizeBackup?: pulumi.Input<boolean>;
|
|
3634
|
+
/**
|
|
3635
|
+
* Sets if the storage is encrypted at rest
|
|
3636
|
+
*/
|
|
3637
|
+
encrypt?: pulumi.Input<boolean>;
|
|
3638
|
+
/**
|
|
3639
|
+
* If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes.
|
|
3640
|
+
* Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used
|
|
3641
|
+
* to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless deleteAutoresizeBackup option is set to true).
|
|
3642
|
+
* Taking and keeping backups incure costs.
|
|
3643
|
+
*/
|
|
3644
|
+
filesystemAutoresize?: pulumi.Input<boolean>;
|
|
3645
|
+
/**
|
|
3646
|
+
* The unique identifier for the storage
|
|
3647
|
+
*/
|
|
3648
|
+
id?: pulumi.Input<string>;
|
|
3649
|
+
/**
|
|
3650
|
+
* The size of the storage in gigabytes
|
|
3651
|
+
*/
|
|
3652
|
+
size?: pulumi.Input<number>;
|
|
3653
|
+
/**
|
|
3654
|
+
* A valid storage UUID or template name. You can list available public templates with `upctl storage list --public --template` and available private templates with `upctl storage list --template`.
|
|
3655
|
+
*/
|
|
3656
|
+
storage?: pulumi.Input<string>;
|
|
3657
|
+
/**
|
|
3658
|
+
* The storage tier to use.
|
|
3659
|
+
*/
|
|
3660
|
+
tier?: pulumi.Input<string>;
|
|
3661
|
+
/**
|
|
3662
|
+
* A short, informative description
|
|
3663
|
+
*/
|
|
3664
|
+
title?: pulumi.Input<string>;
|
|
3665
|
+
}
|
|
3666
|
+
export interface ServerTemplateBackupRule {
|
|
3667
|
+
/**
|
|
3668
|
+
* The weekday when the backup is created
|
|
3669
|
+
*/
|
|
3670
|
+
interval: pulumi.Input<string>;
|
|
3671
|
+
/**
|
|
3672
|
+
* The number of days before a backup is automatically deleted
|
|
3673
|
+
*/
|
|
3674
|
+
retention: pulumi.Input<number>;
|
|
3675
|
+
/**
|
|
3676
|
+
* The time of day when the backup is created
|
|
3677
|
+
*/
|
|
3678
|
+
time: pulumi.Input<string>;
|
|
3679
|
+
}
|
|
3680
|
+
export interface StorageBackupRule {
|
|
3681
|
+
/**
|
|
3682
|
+
* The weekday when the backup is created
|
|
3683
|
+
*/
|
|
3684
|
+
interval: pulumi.Input<string>;
|
|
3685
|
+
/**
|
|
3686
|
+
* The number of days before a backup is automatically deleted
|
|
3687
|
+
*/
|
|
3688
|
+
retention: pulumi.Input<number>;
|
|
3689
|
+
/**
|
|
3690
|
+
* The time of day when the backup is created
|
|
3691
|
+
*/
|
|
3692
|
+
time: pulumi.Input<string>;
|
|
3693
|
+
}
|
|
3694
|
+
export interface StorageClone {
|
|
3695
|
+
/**
|
|
3696
|
+
* The unique identifier of the storage/template to clone.
|
|
3697
|
+
*/
|
|
3698
|
+
id: pulumi.Input<string>;
|
|
3699
|
+
}
|
|
3700
|
+
export interface StorageImport {
|
|
3701
|
+
/**
|
|
3702
|
+
* sha256 sum of the imported data
|
|
3703
|
+
*/
|
|
3704
|
+
sha256sum?: pulumi.Input<string>;
|
|
3705
|
+
/**
|
|
3706
|
+
* The mode of the import task. One of `httpImport` or `directUpload`.
|
|
3707
|
+
*/
|
|
3708
|
+
source: pulumi.Input<string>;
|
|
3709
|
+
/**
|
|
3710
|
+
* SHA256 hash of the source content. This hash is used to verify the integrity of the imported data by comparing it to `sha256sum` after the import has completed. Possible filename is automatically removed from the hash before comparison.
|
|
3711
|
+
*/
|
|
3712
|
+
sourceHash?: pulumi.Input<string>;
|
|
3713
|
+
/**
|
|
3714
|
+
* The location of the file to import. For `httpImport` an accessible URL. For `directUpload` a local file. When direct uploading a compressed image, `Content-Type` header of the PUT request is set automatically based on the file extension (`.gz` or `.xz`, case-insensitive).
|
|
3715
|
+
*/
|
|
3716
|
+
sourceLocation: pulumi.Input<string>;
|
|
3717
|
+
/**
|
|
3718
|
+
* Number of bytes imported
|
|
3719
|
+
*/
|
|
3720
|
+
writtenBytes?: pulumi.Input<number>;
|
|
3721
|
+
}
|