@pulumi/aiven 4.3.0 → 4.4.0-alpha.1637696667

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/getCassanda.d.ts CHANGED
@@ -1,215 +1,57 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
- /**
4
- * ## # Cassandra Data Source
5
- *
6
- * The Cassandra data source provides information about the existing Aiven Cassandra service.
7
- *
8
- * ## Example Usage
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as aiven from "@pulumi/aiven";
13
- *
14
- * const bar = aiven.getCassanda({
15
- * project: data.aiven_project.foo.project,
16
- * serviceName: `test-acc-sr-%s`,
17
- * });
18
- * ```
19
- */
3
+ /** @deprecated aiven.getCassanda has been deprecated in favor of aiven.getCassandra */
20
4
  export declare function getCassanda(args: GetCassandaArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandaResult>;
21
5
  /**
22
6
  * A collection of arguments for invoking getCassanda.
23
7
  */
24
8
  export interface GetCassandaArgs {
25
- /**
26
- * Cassandra specific server provided values.
27
- */
28
9
  cassandra?: inputs.GetCassandaCassandra;
29
- /**
30
- * defines Cassandra specific additional configuration options.
31
- * The following configuration options available:
32
- */
33
10
  cassandraUserConfig?: inputs.GetCassandaCassandraUserConfig;
34
- /**
35
- * defines the cloud provider and region where the service is hosted.
36
- * This can be changed freely after service is created. Changing the value will trigger
37
- * a potentially lengthy migration process for the service. Format is cloud provider name
38
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
39
- * specific region name. These are documented on each Cloud provider's own support articles,
40
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
41
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
42
- */
43
11
  cloudName?: string;
44
12
  components?: inputs.GetCassandaComponent[];
45
- /**
46
- * day of week when maintenance operations should be performed.
47
- * On monday, tuesday, wednesday, etc.
48
- */
49
13
  maintenanceWindowDow?: string;
50
- /**
51
- * time of day when maintenance operations should be performed.
52
- * UTC time in HH:mm:ss format.
53
- */
54
14
  maintenanceWindowTime?: string;
55
- /**
56
- * defines what kind of computing resources are allocated for the service. It can
57
- * be changed after creation, though there are some restrictions when going to a smaller
58
- * plan such as the new plan must have sufficient amount of disk space to store all current
59
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
60
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
61
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
62
- * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
63
- */
64
15
  plan?: string;
65
- /**
66
- * identifies the project the service belongs to. To set up proper dependency
67
- * between the project and the service, refer to the project as shown in the above example.
68
- * Project cannot be changed later without destroying and re-creating the service.
69
- */
70
16
  project: string;
71
- /**
72
- * optionally specifies the VPC the service should run in. If the value
73
- * is not set the service is not run inside a VPC. When set, the value should be given as a
74
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
75
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
76
- * creation but doing so triggers migration to new servers so the operation can take
77
- * significant amount of time to complete if the service has a lot of data.
78
- */
79
17
  projectVpcId?: string;
80
- /**
81
- * Cassandra hostname.
82
- */
83
18
  serviceHost?: string;
84
19
  serviceIntegrations?: inputs.GetCassandaServiceIntegration[];
85
- /**
86
- * specifies the actual name of the service. The name cannot be changed
87
- * later without destroying and re-creating the service so name should be picked based on
88
- * intended service usage rather than current attributes.
89
- */
90
20
  serviceName: string;
91
- /**
92
- * Password used for connecting to the Cassandra service, if applicable.
93
- */
94
21
  servicePassword?: string;
95
- /**
96
- * Cassandra port.
97
- */
98
22
  servicePort?: number;
99
23
  serviceType?: string;
100
- /**
101
- * URI for connecting to the Cassandra service.
102
- */
103
24
  serviceUri?: string;
104
- /**
105
- * Username used for connecting to the Cassandra service, if applicable.
106
- */
107
25
  serviceUsername?: string;
108
- /**
109
- * Service state.
110
- */
111
26
  state?: string;
112
- /**
113
- * prevents the service from being deleted. It is recommended to
114
- * set this to `true` for all production services to prevent unintentional service
115
- * deletion. This does not shield against deleting databases or topics but for services
116
- * with backups much of the content can at least be restored from backup in case accidental
117
- * deletion is done.
118
- */
119
27
  terminationProtection?: boolean;
120
28
  }
121
29
  /**
122
30
  * A collection of values returned by getCassanda.
123
31
  */
124
32
  export interface GetCassandaResult {
125
- /**
126
- * Cassandra specific server provided values.
127
- */
128
33
  readonly cassandra: outputs.GetCassandaCassandra;
129
- /**
130
- * defines Cassandra specific additional configuration options.
131
- * The following configuration options available:
132
- */
133
34
  readonly cassandraUserConfig?: outputs.GetCassandaCassandraUserConfig;
134
- /**
135
- * defines the cloud provider and region where the service is hosted.
136
- * This can be changed freely after service is created. Changing the value will trigger
137
- * a potentially lengthy migration process for the service. Format is cloud provider name
138
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
139
- * specific region name. These are documented on each Cloud provider's own support articles,
140
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
141
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
142
- */
143
35
  readonly cloudName?: string;
144
36
  readonly components: outputs.GetCassandaComponent[];
145
37
  /**
146
38
  * The provider-assigned unique ID for this managed resource.
147
39
  */
148
40
  readonly id: string;
149
- /**
150
- * day of week when maintenance operations should be performed.
151
- * On monday, tuesday, wednesday, etc.
152
- */
153
41
  readonly maintenanceWindowDow?: string;
154
- /**
155
- * time of day when maintenance operations should be performed.
156
- * UTC time in HH:mm:ss format.
157
- */
158
42
  readonly maintenanceWindowTime?: string;
159
- /**
160
- * defines what kind of computing resources are allocated for the service. It can
161
- * be changed after creation, though there are some restrictions when going to a smaller
162
- * plan such as the new plan must have sufficient amount of disk space to store all current
163
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
164
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
165
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
166
- * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
167
- */
168
43
  readonly plan?: string;
169
44
  readonly project: string;
170
- /**
171
- * optionally specifies the VPC the service should run in. If the value
172
- * is not set the service is not run inside a VPC. When set, the value should be given as a
173
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
174
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
175
- * creation but doing so triggers migration to new servers so the operation can take
176
- * significant amount of time to complete if the service has a lot of data.
177
- */
178
45
  readonly projectVpcId?: string;
179
- /**
180
- * Cassandra hostname.
181
- */
182
46
  readonly serviceHost: string;
183
47
  readonly serviceIntegrations?: outputs.GetCassandaServiceIntegration[];
184
48
  readonly serviceName: string;
185
- /**
186
- * Password used for connecting to the Cassandra service, if applicable.
187
- */
188
49
  readonly servicePassword: string;
189
- /**
190
- * Cassandra port.
191
- */
192
50
  readonly servicePort: number;
193
51
  readonly serviceType: string;
194
- /**
195
- * URI for connecting to the Cassandra service.
196
- */
197
52
  readonly serviceUri: string;
198
- /**
199
- * Username used for connecting to the Cassandra service, if applicable.
200
- */
201
53
  readonly serviceUsername: string;
202
- /**
203
- * Service state.
204
- */
205
54
  readonly state: string;
206
- /**
207
- * prevents the service from being deleted. It is recommended to
208
- * set this to `true` for all production services to prevent unintentional service
209
- * deletion. This does not shield against deleting databases or topics but for services
210
- * with backups much of the content can at least be restored from backup in case accidental
211
- * deletion is done.
212
- */
213
55
  readonly terminationProtection?: boolean;
214
56
  }
215
57
  export declare function getCassandaOutput(args: GetCassandaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandaResult>;
@@ -217,99 +59,23 @@ export declare function getCassandaOutput(args: GetCassandaOutputArgs, opts?: pu
217
59
  * A collection of arguments for invoking getCassanda.
218
60
  */
219
61
  export interface GetCassandaOutputArgs {
220
- /**
221
- * Cassandra specific server provided values.
222
- */
223
62
  cassandra?: pulumi.Input<inputs.GetCassandaCassandraArgs>;
224
- /**
225
- * defines Cassandra specific additional configuration options.
226
- * The following configuration options available:
227
- */
228
63
  cassandraUserConfig?: pulumi.Input<inputs.GetCassandaCassandraUserConfigArgs>;
229
- /**
230
- * defines the cloud provider and region where the service is hosted.
231
- * This can be changed freely after service is created. Changing the value will trigger
232
- * a potentially lengthy migration process for the service. Format is cloud provider name
233
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
234
- * specific region name. These are documented on each Cloud provider's own support articles,
235
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
236
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
237
- */
238
64
  cloudName?: pulumi.Input<string>;
239
65
  components?: pulumi.Input<pulumi.Input<inputs.GetCassandaComponentArgs>[]>;
240
- /**
241
- * day of week when maintenance operations should be performed.
242
- * On monday, tuesday, wednesday, etc.
243
- */
244
66
  maintenanceWindowDow?: pulumi.Input<string>;
245
- /**
246
- * time of day when maintenance operations should be performed.
247
- * UTC time in HH:mm:ss format.
248
- */
249
67
  maintenanceWindowTime?: pulumi.Input<string>;
250
- /**
251
- * defines what kind of computing resources are allocated for the service. It can
252
- * be changed after creation, though there are some restrictions when going to a smaller
253
- * plan such as the new plan must have sufficient amount of disk space to store all current
254
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
255
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
256
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
257
- * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
258
- */
259
68
  plan?: pulumi.Input<string>;
260
- /**
261
- * identifies the project the service belongs to. To set up proper dependency
262
- * between the project and the service, refer to the project as shown in the above example.
263
- * Project cannot be changed later without destroying and re-creating the service.
264
- */
265
69
  project: pulumi.Input<string>;
266
- /**
267
- * optionally specifies the VPC the service should run in. If the value
268
- * is not set the service is not run inside a VPC. When set, the value should be given as a
269
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
270
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
271
- * creation but doing so triggers migration to new servers so the operation can take
272
- * significant amount of time to complete if the service has a lot of data.
273
- */
274
70
  projectVpcId?: pulumi.Input<string>;
275
- /**
276
- * Cassandra hostname.
277
- */
278
71
  serviceHost?: pulumi.Input<string>;
279
72
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetCassandaServiceIntegrationArgs>[]>;
280
- /**
281
- * specifies the actual name of the service. The name cannot be changed
282
- * later without destroying and re-creating the service so name should be picked based on
283
- * intended service usage rather than current attributes.
284
- */
285
73
  serviceName: pulumi.Input<string>;
286
- /**
287
- * Password used for connecting to the Cassandra service, if applicable.
288
- */
289
74
  servicePassword?: pulumi.Input<string>;
290
- /**
291
- * Cassandra port.
292
- */
293
75
  servicePort?: pulumi.Input<number>;
294
76
  serviceType?: pulumi.Input<string>;
295
- /**
296
- * URI for connecting to the Cassandra service.
297
- */
298
77
  serviceUri?: pulumi.Input<string>;
299
- /**
300
- * Username used for connecting to the Cassandra service, if applicable.
301
- */
302
78
  serviceUsername?: pulumi.Input<string>;
303
- /**
304
- * Service state.
305
- */
306
79
  state?: pulumi.Input<string>;
307
- /**
308
- * prevents the service from being deleted. It is recommended to
309
- * set this to `true` for all production services to prevent unintentional service
310
- * deletion. This does not shield against deleting databases or topics but for services
311
- * with backups much of the content can at least be restored from backup in case accidental
312
- * deletion is done.
313
- */
314
80
  terminationProtection?: pulumi.Input<boolean>;
315
81
  }
package/getCassanda.js CHANGED
@@ -5,24 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getCassandaOutput = exports.getCassanda = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * ## # Cassandra Data Source
10
- *
11
- * The Cassandra data source provides information about the existing Aiven Cassandra service.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as aiven from "@pulumi/aiven";
18
- *
19
- * const bar = aiven.getCassanda({
20
- * project: data.aiven_project.foo.project,
21
- * serviceName: `test-acc-sr-%s`,
22
- * });
23
- * ```
24
- */
8
+ /** @deprecated aiven.getCassanda has been deprecated in favor of aiven.getCassandra */
25
9
  function getCassanda(args, opts) {
10
+ pulumi.log.warn("getCassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra");
26
11
  if (!opts) {
27
12
  opts = {};
28
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getCassanda.js","sourceRoot":"","sources":["../getCassanda.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA7BD,kCA6BC;AAsMD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getCassanda.js","sourceRoot":"","sources":["../getCassanda.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,uFAAuF;AACvF,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iGAAiG,CAAC,CAAA;IAClH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA9BD,kCA8BC;AAwDD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,315 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * ## # Cassandra Data Source
5
+ *
6
+ * The Cassandra data source provides information about the existing Aiven Cassandra service.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aiven from "@pulumi/aiven";
13
+ *
14
+ * const bar = aiven.getCassandra({
15
+ * project: data.aiven_project.foo.project,
16
+ * serviceName: `test-acc-sr-%s`,
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getCassandra(args: GetCassandraArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandraResult>;
21
+ /**
22
+ * A collection of arguments for invoking getCassandra.
23
+ */
24
+ export interface GetCassandraArgs {
25
+ /**
26
+ * Cassandra specific server provided values.
27
+ */
28
+ cassandra?: inputs.GetCassandraCassandra;
29
+ /**
30
+ * defines Cassandra specific additional configuration options.
31
+ * The following configuration options available:
32
+ */
33
+ cassandraUserConfig?: inputs.GetCassandraCassandraUserConfig;
34
+ /**
35
+ * defines the cloud provider and region where the service is hosted.
36
+ * This can be changed freely after service is created. Changing the value will trigger
37
+ * a potentially lengthy migration process for the service. Format is cloud provider name
38
+ * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
39
+ * specific region name. These are documented on each Cloud provider's own support articles,
40
+ * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
41
+ * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
42
+ */
43
+ cloudName?: string;
44
+ components?: inputs.GetCassandraComponent[];
45
+ /**
46
+ * day of week when maintenance operations should be performed.
47
+ * On monday, tuesday, wednesday, etc.
48
+ */
49
+ maintenanceWindowDow?: string;
50
+ /**
51
+ * time of day when maintenance operations should be performed.
52
+ * UTC time in HH:mm:ss format.
53
+ */
54
+ maintenanceWindowTime?: string;
55
+ /**
56
+ * defines what kind of computing resources are allocated for the service. It can
57
+ * be changed after creation, though there are some restrictions when going to a smaller
58
+ * plan such as the new plan must have sufficient amount of disk space to store all current
59
+ * data and switching to a plan with fewer nodes might not be supported. The basic plan
60
+ * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
61
+ * (roughly) the amount of memory on each node (also other attributes like number of CPUs
62
+ * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
63
+ */
64
+ plan?: string;
65
+ /**
66
+ * identifies the project the service belongs to. To set up proper dependency
67
+ * between the project and the service, refer to the project as shown in the above example.
68
+ * Project cannot be changed later without destroying and re-creating the service.
69
+ */
70
+ project: string;
71
+ /**
72
+ * optionally specifies the VPC the service should run in. If the value
73
+ * is not set the service is not run inside a VPC. When set, the value should be given as a
74
+ * reference as shown above to set up dependencies correctly and the VPC must be in the same
75
+ * cloud and region as the service itself. Project can be freely moved to and from VPC after
76
+ * creation but doing so triggers migration to new servers so the operation can take
77
+ * significant amount of time to complete if the service has a lot of data.
78
+ */
79
+ projectVpcId?: string;
80
+ /**
81
+ * Cassandra hostname.
82
+ */
83
+ serviceHost?: string;
84
+ serviceIntegrations?: inputs.GetCassandraServiceIntegration[];
85
+ /**
86
+ * specifies the actual name of the service. The name cannot be changed
87
+ * later without destroying and re-creating the service so name should be picked based on
88
+ * intended service usage rather than current attributes.
89
+ */
90
+ serviceName: string;
91
+ /**
92
+ * Password used for connecting to the Cassandra service, if applicable.
93
+ */
94
+ servicePassword?: string;
95
+ /**
96
+ * Cassandra port.
97
+ */
98
+ servicePort?: number;
99
+ serviceType?: string;
100
+ /**
101
+ * URI for connecting to the Cassandra service.
102
+ */
103
+ serviceUri?: string;
104
+ /**
105
+ * Username used for connecting to the Cassandra service, if applicable.
106
+ */
107
+ serviceUsername?: string;
108
+ /**
109
+ * Service state.
110
+ */
111
+ state?: string;
112
+ /**
113
+ * prevents the service from being deleted. It is recommended to
114
+ * set this to `true` for all production services to prevent unintentional service
115
+ * deletion. This does not shield against deleting databases or topics but for services
116
+ * with backups much of the content can at least be restored from backup in case accidental
117
+ * deletion is done.
118
+ */
119
+ terminationProtection?: boolean;
120
+ }
121
+ /**
122
+ * A collection of values returned by getCassandra.
123
+ */
124
+ export interface GetCassandraResult {
125
+ /**
126
+ * Cassandra specific server provided values.
127
+ */
128
+ readonly cassandra: outputs.GetCassandraCassandra;
129
+ /**
130
+ * defines Cassandra specific additional configuration options.
131
+ * The following configuration options available:
132
+ */
133
+ readonly cassandraUserConfig?: outputs.GetCassandraCassandraUserConfig;
134
+ /**
135
+ * defines the cloud provider and region where the service is hosted.
136
+ * This can be changed freely after service is created. Changing the value will trigger
137
+ * a potentially lengthy migration process for the service. Format is cloud provider name
138
+ * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
139
+ * specific region name. These are documented on each Cloud provider's own support articles,
140
+ * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
141
+ * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
142
+ */
143
+ readonly cloudName?: string;
144
+ readonly components: outputs.GetCassandraComponent[];
145
+ /**
146
+ * The provider-assigned unique ID for this managed resource.
147
+ */
148
+ readonly id: string;
149
+ /**
150
+ * day of week when maintenance operations should be performed.
151
+ * On monday, tuesday, wednesday, etc.
152
+ */
153
+ readonly maintenanceWindowDow?: string;
154
+ /**
155
+ * time of day when maintenance operations should be performed.
156
+ * UTC time in HH:mm:ss format.
157
+ */
158
+ readonly maintenanceWindowTime?: string;
159
+ /**
160
+ * defines what kind of computing resources are allocated for the service. It can
161
+ * be changed after creation, though there are some restrictions when going to a smaller
162
+ * plan such as the new plan must have sufficient amount of disk space to store all current
163
+ * data and switching to a plan with fewer nodes might not be supported. The basic plan
164
+ * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
165
+ * (roughly) the amount of memory on each node (also other attributes like number of CPUs
166
+ * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
167
+ */
168
+ readonly plan?: string;
169
+ readonly project: string;
170
+ /**
171
+ * optionally specifies the VPC the service should run in. If the value
172
+ * is not set the service is not run inside a VPC. When set, the value should be given as a
173
+ * reference as shown above to set up dependencies correctly and the VPC must be in the same
174
+ * cloud and region as the service itself. Project can be freely moved to and from VPC after
175
+ * creation but doing so triggers migration to new servers so the operation can take
176
+ * significant amount of time to complete if the service has a lot of data.
177
+ */
178
+ readonly projectVpcId?: string;
179
+ /**
180
+ * Cassandra hostname.
181
+ */
182
+ readonly serviceHost: string;
183
+ readonly serviceIntegrations?: outputs.GetCassandraServiceIntegration[];
184
+ readonly serviceName: string;
185
+ /**
186
+ * Password used for connecting to the Cassandra service, if applicable.
187
+ */
188
+ readonly servicePassword: string;
189
+ /**
190
+ * Cassandra port.
191
+ */
192
+ readonly servicePort: number;
193
+ readonly serviceType: string;
194
+ /**
195
+ * URI for connecting to the Cassandra service.
196
+ */
197
+ readonly serviceUri: string;
198
+ /**
199
+ * Username used for connecting to the Cassandra service, if applicable.
200
+ */
201
+ readonly serviceUsername: string;
202
+ /**
203
+ * Service state.
204
+ */
205
+ readonly state: string;
206
+ /**
207
+ * prevents the service from being deleted. It is recommended to
208
+ * set this to `true` for all production services to prevent unintentional service
209
+ * deletion. This does not shield against deleting databases or topics but for services
210
+ * with backups much of the content can at least be restored from backup in case accidental
211
+ * deletion is done.
212
+ */
213
+ readonly terminationProtection?: boolean;
214
+ }
215
+ export declare function getCassandraOutput(args: GetCassandraOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandraResult>;
216
+ /**
217
+ * A collection of arguments for invoking getCassandra.
218
+ */
219
+ export interface GetCassandraOutputArgs {
220
+ /**
221
+ * Cassandra specific server provided values.
222
+ */
223
+ cassandra?: pulumi.Input<inputs.GetCassandraCassandraArgs>;
224
+ /**
225
+ * defines Cassandra specific additional configuration options.
226
+ * The following configuration options available:
227
+ */
228
+ cassandraUserConfig?: pulumi.Input<inputs.GetCassandraCassandraUserConfigArgs>;
229
+ /**
230
+ * defines the cloud provider and region where the service is hosted.
231
+ * This can be changed freely after service is created. Changing the value will trigger
232
+ * a potentially lengthy migration process for the service. Format is cloud provider name
233
+ * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
234
+ * specific region name. These are documented on each Cloud provider's own support articles,
235
+ * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
236
+ * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
237
+ */
238
+ cloudName?: pulumi.Input<string>;
239
+ components?: pulumi.Input<pulumi.Input<inputs.GetCassandraComponentArgs>[]>;
240
+ /**
241
+ * day of week when maintenance operations should be performed.
242
+ * On monday, tuesday, wednesday, etc.
243
+ */
244
+ maintenanceWindowDow?: pulumi.Input<string>;
245
+ /**
246
+ * time of day when maintenance operations should be performed.
247
+ * UTC time in HH:mm:ss format.
248
+ */
249
+ maintenanceWindowTime?: pulumi.Input<string>;
250
+ /**
251
+ * defines what kind of computing resources are allocated for the service. It can
252
+ * be changed after creation, though there are some restrictions when going to a smaller
253
+ * plan such as the new plan must have sufficient amount of disk space to store all current
254
+ * data and switching to a plan with fewer nodes might not be supported. The basic plan
255
+ * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
256
+ * (roughly) the amount of memory on each node (also other attributes like number of CPUs
257
+ * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
258
+ */
259
+ plan?: pulumi.Input<string>;
260
+ /**
261
+ * identifies the project the service belongs to. To set up proper dependency
262
+ * between the project and the service, refer to the project as shown in the above example.
263
+ * Project cannot be changed later without destroying and re-creating the service.
264
+ */
265
+ project: pulumi.Input<string>;
266
+ /**
267
+ * optionally specifies the VPC the service should run in. If the value
268
+ * is not set the service is not run inside a VPC. When set, the value should be given as a
269
+ * reference as shown above to set up dependencies correctly and the VPC must be in the same
270
+ * cloud and region as the service itself. Project can be freely moved to and from VPC after
271
+ * creation but doing so triggers migration to new servers so the operation can take
272
+ * significant amount of time to complete if the service has a lot of data.
273
+ */
274
+ projectVpcId?: pulumi.Input<string>;
275
+ /**
276
+ * Cassandra hostname.
277
+ */
278
+ serviceHost?: pulumi.Input<string>;
279
+ serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetCassandraServiceIntegrationArgs>[]>;
280
+ /**
281
+ * specifies the actual name of the service. The name cannot be changed
282
+ * later without destroying and re-creating the service so name should be picked based on
283
+ * intended service usage rather than current attributes.
284
+ */
285
+ serviceName: pulumi.Input<string>;
286
+ /**
287
+ * Password used for connecting to the Cassandra service, if applicable.
288
+ */
289
+ servicePassword?: pulumi.Input<string>;
290
+ /**
291
+ * Cassandra port.
292
+ */
293
+ servicePort?: pulumi.Input<number>;
294
+ serviceType?: pulumi.Input<string>;
295
+ /**
296
+ * URI for connecting to the Cassandra service.
297
+ */
298
+ serviceUri?: pulumi.Input<string>;
299
+ /**
300
+ * Username used for connecting to the Cassandra service, if applicable.
301
+ */
302
+ serviceUsername?: pulumi.Input<string>;
303
+ /**
304
+ * Service state.
305
+ */
306
+ state?: pulumi.Input<string>;
307
+ /**
308
+ * prevents the service from being deleted. It is recommended to
309
+ * set this to `true` for all production services to prevent unintentional service
310
+ * deletion. This does not shield against deleting databases or topics but for services
311
+ * with backups much of the content can at least be restored from backup in case accidental
312
+ * deletion is done.
313
+ */
314
+ terminationProtection?: pulumi.Input<boolean>;
315
+ }