@pulumi/aiven 4.5.0 → 4.5.1

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,46 +1,142 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { output as outputs } from "./types";
3
+ /**
4
+ * The Cassandra data source provides information about the existing Aiven Cassandra service.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aiven from "@pulumi/aiven";
11
+ *
12
+ * const bar = aiven.getCassandra({
13
+ * project: data.aiven_project.foo.project,
14
+ * serviceName: "<SERVICE_NAME>",
15
+ * });
16
+ * ```
17
+ */
3
18
  /** @deprecated aiven.getCassanda has been deprecated in favor of aiven.getCassandra */
4
19
  export declare function getCassanda(args: GetCassandaArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandaResult>;
5
20
  /**
6
21
  * A collection of arguments for invoking getCassanda.
7
22
  */
8
23
  export interface GetCassandaArgs {
24
+ /**
25
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
26
+ */
9
27
  project: string;
28
+ /**
29
+ * Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
30
+ */
10
31
  serviceName: string;
11
32
  }
12
33
  /**
13
34
  * A collection of values returned by getCassanda.
14
35
  */
15
36
  export interface GetCassandaResult {
37
+ /**
38
+ * Cassandra user configurable settings
39
+ */
16
40
  readonly cassandraUserConfigs: outputs.GetCassandaCassandraUserConfig[];
41
+ /**
42
+ * Cassandra server provided values
43
+ */
17
44
  readonly cassandras: outputs.GetCassandaCassandra[];
45
+ /**
46
+ * Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
47
+ */
18
48
  readonly cloudName: string;
49
+ /**
50
+ * Service component information objects
51
+ */
19
52
  readonly components: outputs.GetCassandaComponent[];
53
+ /**
54
+ * The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
55
+ */
20
56
  readonly diskSpace: string;
57
+ /**
58
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
59
+ */
21
60
  readonly diskSpaceCap: string;
61
+ /**
62
+ * The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `diskSpace`
63
+ */
22
64
  readonly diskSpaceDefault: string;
65
+ /**
66
+ * The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `diskSpace` needs to increment from `diskSpaceDefault` by increments of this size.
67
+ */
23
68
  readonly diskSpaceStep: string;
69
+ /**
70
+ * Disk space that service is currently using
71
+ */
24
72
  readonly diskSpaceUsed: string;
25
73
  /**
26
74
  * The provider-assigned unique ID for this managed resource.
27
75
  */
28
76
  readonly id: string;
77
+ /**
78
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
79
+ */
29
80
  readonly maintenanceWindowDow: string;
81
+ /**
82
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
83
+ */
30
84
  readonly maintenanceWindowTime: string;
85
+ /**
86
+ * Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs 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).
87
+ */
31
88
  readonly plan: string;
89
+ /**
90
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
91
+ */
32
92
  readonly project: string;
93
+ /**
94
+ * Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
95
+ */
33
96
  readonly projectVpcId: string;
97
+ /**
98
+ * The hostname of the service.
99
+ */
34
100
  readonly serviceHost: string;
101
+ /**
102
+ * Service integrations to specify when creating a service. Not applied after initial service creation
103
+ */
35
104
  readonly serviceIntegrations: outputs.GetCassandaServiceIntegration[];
105
+ /**
106
+ * Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
107
+ */
36
108
  readonly serviceName: string;
109
+ /**
110
+ * Password used for connecting to the service, if applicable
111
+ */
37
112
  readonly servicePassword: string;
113
+ /**
114
+ * The port of the service
115
+ */
38
116
  readonly servicePort: number;
117
+ /**
118
+ * Aiven internal service type code
119
+ */
39
120
  readonly serviceType: string;
121
+ /**
122
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
123
+ */
40
124
  readonly serviceUri: string;
125
+ /**
126
+ * Username used for connecting to the service, if applicable
127
+ */
41
128
  readonly serviceUsername: string;
129
+ /**
130
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
131
+ */
42
132
  readonly state: string;
133
+ /**
134
+ * Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
135
+ */
43
136
  readonly staticIps: string[];
137
+ /**
138
+ * Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
139
+ */
44
140
  readonly terminationProtection: boolean;
45
141
  }
46
142
  export declare function getCassandaOutput(args: GetCassandaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandaResult>;
@@ -48,6 +144,12 @@ export declare function getCassandaOutput(args: GetCassandaOutputArgs, opts?: pu
48
144
  * A collection of arguments for invoking getCassanda.
49
145
  */
50
146
  export interface GetCassandaOutputArgs {
147
+ /**
148
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
149
+ */
51
150
  project: pulumi.Input<string>;
151
+ /**
152
+ * Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
153
+ */
52
154
  serviceName: pulumi.Input<string>;
53
155
  }
package/getCassanda.js CHANGED
@@ -5,6 +5,21 @@ 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
+ * The Cassandra data source provides information about the existing Aiven Cassandra service.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aiven from "@pulumi/aiven";
16
+ *
17
+ * const bar = aiven.getCassandra({
18
+ * project: data.aiven_project.foo.project,
19
+ * serviceName: "<SERVICE_NAME>",
20
+ * });
21
+ * ```
22
+ */
8
23
  /** @deprecated aiven.getCassanda has been deprecated in favor of aiven.getCassandra */
9
24
  function getCassanda(args, opts) {
10
25
  pulumi.log.warn("getCassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra");
@@ -1 +1 @@
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,iGAA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C,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aiven",
3
- "version": "v4.5.0",
3
+ "version": "v4.5.1",
4
4
  "description": "A Pulumi package for creating and managing Aiven cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource aiven v4.5.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource aiven v4.5.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aiven",
3
- "version": "v4.5.0",
3
+ "version": "v4.5.1",
4
4
  "description": "A Pulumi package for creating and managing Aiven cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource aiven v4.5.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource aiven v4.5.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/types/output.d.ts CHANGED
@@ -387,6 +387,9 @@ export interface FlinkServiceIntegration {
387
387
  export interface GetCassandaCassandra {
388
388
  }
389
389
  export interface GetCassandaCassandraUserConfig {
390
+ /**
391
+ * Cassandra server provided values
392
+ */
390
393
  cassandra?: outputs.GetCassandaCassandraUserConfigCassandra;
391
394
  cassandraVersion?: string;
392
395
  ipFilters?: string[];
@@ -395,6 +398,9 @@ export interface GetCassandaCassandraUserConfig {
395
398
  projectToForkFrom?: string;
396
399
  publicAccess?: outputs.GetCassandaCassandraUserConfigPublicAccess;
397
400
  serviceToForkFrom?: string;
401
+ /**
402
+ * Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
403
+ */
398
404
  staticIps?: string;
399
405
  }
400
406
  export interface GetCassandaCassandraUserConfigCassandra {