@pulumi/aiven 4.2.1 → 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/README.md +1 -1
- package/account.js +1 -0
- package/account.js.map +1 -1
- package/accountAuthentication.js +1 -0
- package/accountAuthentication.js.map +1 -1
- package/accountTeam.js +1 -0
- package/accountTeam.js.map +1 -1
- package/accountTeamMember.js +1 -0
- package/accountTeamMember.js.map +1 -1
- package/accountTeamProject.js +1 -0
- package/accountTeamProject.js.map +1 -1
- package/awsPrivatelink.js +1 -0
- package/awsPrivatelink.js.map +1 -1
- package/billingGroup.js +1 -0
- package/billingGroup.js.map +1 -1
- package/cassandra.js +1 -0
- package/cassandra.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/config/vars.js +7 -5
- package/config/vars.js.map +1 -1
- package/connectionPool.js +1 -0
- package/connectionPool.js.map +1 -1
- package/database.js +1 -0
- package/database.js.map +1 -1
- package/elasticSearch.js +1 -0
- package/elasticSearch.js.map +1 -1
- package/elasticSearchAcl.js +1 -0
- package/elasticSearchAcl.js.map +1 -1
- package/elasticSearchAclConfig.js +1 -0
- package/elasticSearchAclConfig.js.map +1 -1
- package/elasticSearchAclRule.js +1 -0
- package/elasticSearchAclRule.js.map +1 -1
- package/getAccount.d.ts +30 -0
- package/getAccount.js +5 -0
- package/getAccount.js.map +1 -1
- package/getAccountAuthentication.d.ts +54 -0
- package/getAccountAuthentication.js +5 -0
- package/getAccountAuthentication.js.map +1 -1
- package/getAccountTeam.d.ts +26 -0
- package/getAccountTeam.js +5 -0
- package/getAccountTeam.js.map +1 -1
- package/getAccountTeamMember.d.ts +33 -0
- package/getAccountTeamMember.js +5 -0
- package/getAccountTeamMember.js.map +1 -1
- package/getAccountTeamProject.d.ts +23 -0
- package/getAccountTeamProject.js +5 -0
- package/getAccountTeamProject.js.map +1 -1
- package/getAwsPrivatelink.d.ts +30 -0
- package/getAwsPrivatelink.js +5 -0
- package/getAwsPrivatelink.js.map +1 -1
- package/getCassanda.d.ts +26 -159
- package/getCassanda.js +7 -17
- package/getCassanda.js.map +1 -1
- package/getCassandra.d.ts +315 -0
- package/getCassandra.js +59 -0
- package/getCassandra.js.map +1 -0
- package/getConnectionPool.d.ts +43 -0
- package/getConnectionPool.js +5 -0
- package/getConnectionPool.js.map +1 -1
- package/getDatabase.d.ts +25 -0
- package/getDatabase.js +5 -0
- package/getDatabase.js.map +1 -1
- package/getElasticSearch.d.ts +101 -0
- package/getElasticSearch.js +5 -0
- package/getElasticSearch.js.map +1 -1
- package/getElasticSearchAcl.d.ts +23 -0
- package/getElasticSearchAcl.js +5 -0
- package/getElasticSearchAcl.js.map +1 -1
- package/getElasticSearchAclConfig.d.ts +10 -0
- package/getElasticSearchAclConfig.js +5 -0
- package/getElasticSearchAclConfig.js.map +1 -1
- package/getElasticSearchAclRule.d.ts +11 -0
- package/getElasticSearchAclRule.js +5 -0
- package/getElasticSearchAclRule.js.map +1 -1
- package/getGrafana.d.ts +101 -0
- package/getGrafana.js +5 -0
- package/getGrafana.js.map +1 -1
- package/getInfluxDb.d.ts +101 -0
- package/getInfluxDb.js +5 -0
- package/getInfluxDb.js.map +1 -1
- package/getKafka.d.ts +102 -0
- package/getKafka.js +5 -0
- package/getKafka.js.map +1 -1
- package/getKafkaAcl.d.ts +27 -0
- package/getKafkaAcl.js +5 -0
- package/getKafkaAcl.js.map +1 -1
- package/getKafkaConnect.d.ts +101 -0
- package/getKafkaConnect.js +5 -0
- package/getKafkaConnect.js.map +1 -1
- package/getKafkaConnector.d.ts +41 -0
- package/getKafkaConnector.js +5 -0
- package/getKafkaConnector.js.map +1 -1
- package/getKafkaMirrorMaker.d.ts +101 -0
- package/getKafkaMirrorMaker.js +5 -0
- package/getKafkaMirrorMaker.js.map +1 -1
- package/getKafkaSchema.d.ts +28 -0
- package/getKafkaSchema.js +5 -0
- package/getKafkaSchema.js.map +1 -1
- package/getKafkaSchemaConfiguration.d.ts +24 -0
- package/getKafkaSchemaConfiguration.js +5 -0
- package/getKafkaSchemaConfiguration.js.map +1 -1
- package/getKafkaTopic.d.ts +50 -0
- package/getKafkaTopic.js +5 -0
- package/getKafkaTopic.js.map +1 -1
- package/getM3Aggregator.d.ts +101 -0
- package/getM3Aggregator.js +5 -0
- package/getM3Aggregator.js.map +1 -1
- package/getM3Db.d.ts +101 -0
- package/getM3Db.js +5 -0
- package/getM3Db.js.map +1 -1
- package/getMirrorMakerReplicationFlow.d.ts +36 -0
- package/getMirrorMakerReplicationFlow.js +5 -0
- package/getMirrorMakerReplicationFlow.js.map +1 -1
- package/getMySql.d.ts +101 -0
- package/getMySql.js +5 -0
- package/getMySql.js.map +1 -1
- package/getOpenSearch.d.ts +99 -0
- package/getOpenSearch.js +5 -0
- package/getOpenSearch.js.map +1 -1
- package/getOpenSearchAclConfig.d.ts +10 -0
- package/getOpenSearchAclConfig.js +5 -0
- package/getOpenSearchAclConfig.js.map +1 -1
- package/getOpenSearchAclRule.d.ts +11 -0
- package/getOpenSearchAclRule.js +5 -0
- package/getOpenSearchAclRule.js.map +1 -1
- package/getPg.d.ts +101 -0
- package/getPg.js +5 -0
- package/getPg.js.map +1 -1
- package/getProject.d.ts +74 -0
- package/getProject.js +5 -0
- package/getProject.js.map +1 -1
- package/getProjectUser.d.ts +25 -0
- package/getProjectUser.js +5 -0
- package/getProjectUser.js.map +1 -1
- package/getProjectVpc.d.ts +24 -0
- package/getProjectVpc.js +5 -0
- package/getProjectVpc.js.map +1 -1
- package/getRedis.d.ts +101 -0
- package/getRedis.js +5 -0
- package/getRedis.js.map +1 -1
- package/getService.d.ts +45 -0
- package/getService.js +5 -0
- package/getService.js.map +1 -1
- package/getServiceComponent.d.ts +53 -0
- package/getServiceComponent.js +5 -0
- package/getServiceComponent.js.map +1 -1
- package/getServiceIntegration.d.ts +44 -0
- package/getServiceIntegration.js +5 -0
- package/getServiceIntegration.js.map +1 -1
- package/getServiceIntegrationEndpoint.d.ts +34 -0
- package/getServiceIntegrationEndpoint.js +5 -0
- package/getServiceIntegrationEndpoint.js.map +1 -1
- package/getServiceUser.d.ts +46 -0
- package/getServiceUser.js +5 -0
- package/getServiceUser.js.map +1 -1
- package/getTransitGatewayVpcAttachment.d.ts +31 -0
- package/getTransitGatewayVpcAttachment.js +5 -0
- package/getTransitGatewayVpcAttachment.js.map +1 -1
- package/getVpcPeeringConnection.d.ts +52 -0
- package/getVpcPeeringConnection.js +5 -0
- package/getVpcPeeringConnection.js.map +1 -1
- package/grafana.js +1 -0
- package/grafana.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +97 -88
- package/index.js.map +1 -1
- package/influxDb.js +1 -0
- package/influxDb.js.map +1 -1
- package/kafka.js +1 -0
- package/kafka.js.map +1 -1
- package/kafkaAcl.js +1 -0
- package/kafkaAcl.js.map +1 -1
- package/kafkaConnect.js +1 -0
- package/kafkaConnect.js.map +1 -1
- package/kafkaConnector.js +1 -0
- package/kafkaConnector.js.map +1 -1
- package/kafkaMirrorMaker.js +1 -0
- package/kafkaMirrorMaker.js.map +1 -1
- package/kafkaSchema.js +1 -0
- package/kafkaSchema.js.map +1 -1
- package/kafkaSchemaConfiguration.js +1 -0
- package/kafkaSchemaConfiguration.js.map +1 -1
- package/kafkaTopic.js +1 -0
- package/kafkaTopic.js.map +1 -1
- package/m3aggregator.js +1 -0
- package/m3aggregator.js.map +1 -1
- package/m3db.js +1 -0
- package/m3db.js.map +1 -1
- package/mirrorMakerReplicationFlow.js +1 -0
- package/mirrorMakerReplicationFlow.js.map +1 -1
- package/mySql.js +1 -0
- package/mySql.js.map +1 -1
- package/openSearch.js +1 -0
- package/openSearch.js.map +1 -1
- package/openSearchAclConfig.js +1 -0
- package/openSearchAclConfig.js.map +1 -1
- package/openSearchAclRule.js +1 -0
- package/openSearchAclRule.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/pg.js +1 -0
- package/pg.js.map +1 -1
- package/project.js +1 -0
- package/project.js.map +1 -1
- package/projectUser.js +1 -0
- package/projectUser.js.map +1 -1
- package/projectVpc.js +1 -0
- package/projectVpc.js.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/redis.js +1 -0
- package/redis.js.map +1 -1
- package/service.js +1 -0
- package/service.js.map +1 -1
- package/serviceIntegration.js +1 -0
- package/serviceIntegration.js.map +1 -1
- package/serviceIntegrationEndpoint.js +1 -0
- package/serviceIntegrationEndpoint.js.map +1 -1
- package/serviceUser.js +1 -0
- package/serviceUser.js.map +1 -1
- package/transitGatewayVpcAttachment.js +1 -0
- package/transitGatewayVpcAttachment.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +4361 -257
- package/types/output.d.ts +44 -8
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/vpcPeeringConnection.js +1 -0
- package/vpcPeeringConnection.js.map +1 -1
|
@@ -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
|
+
}
|
package/getCassandra.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getCassandraOutput = exports.getCassandra = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
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.getCassandra({
|
|
20
|
+
* project: data.aiven_project.foo.project,
|
|
21
|
+
* serviceName: `test-acc-sr-%s`,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getCassandra(args, opts) {
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
if (!opts.version) {
|
|
30
|
+
opts.version = utilities.getVersion();
|
|
31
|
+
}
|
|
32
|
+
return pulumi.runtime.invoke("aiven:index/getCassandra:getCassandra", {
|
|
33
|
+
"cassandra": args.cassandra,
|
|
34
|
+
"cassandraUserConfig": args.cassandraUserConfig,
|
|
35
|
+
"cloudName": args.cloudName,
|
|
36
|
+
"components": args.components,
|
|
37
|
+
"maintenanceWindowDow": args.maintenanceWindowDow,
|
|
38
|
+
"maintenanceWindowTime": args.maintenanceWindowTime,
|
|
39
|
+
"plan": args.plan,
|
|
40
|
+
"project": args.project,
|
|
41
|
+
"projectVpcId": args.projectVpcId,
|
|
42
|
+
"serviceHost": args.serviceHost,
|
|
43
|
+
"serviceIntegrations": args.serviceIntegrations,
|
|
44
|
+
"serviceName": args.serviceName,
|
|
45
|
+
"servicePassword": args.servicePassword,
|
|
46
|
+
"servicePort": args.servicePort,
|
|
47
|
+
"serviceType": args.serviceType,
|
|
48
|
+
"serviceUri": args.serviceUri,
|
|
49
|
+
"serviceUsername": args.serviceUsername,
|
|
50
|
+
"state": args.state,
|
|
51
|
+
"terminationProtection": args.terminationProtection,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getCassandra = getCassandra;
|
|
55
|
+
function getCassandraOutput(args, opts) {
|
|
56
|
+
return pulumi.output(args).apply(a => getCassandra(a, opts));
|
|
57
|
+
}
|
|
58
|
+
exports.getCassandraOutput = getCassandraOutput;
|
|
59
|
+
//# sourceMappingURL=getCassandra.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCassandra.js","sourceRoot":"","sources":["../getCassandra.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,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,uCAAuC,EAAE;QAClE,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,oCA6BC;AAsMD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
package/getConnectionPool.d.ts
CHANGED
|
@@ -97,3 +97,46 @@ export interface GetConnectionPoolResult {
|
|
|
97
97
|
*/
|
|
98
98
|
readonly username?: string;
|
|
99
99
|
}
|
|
100
|
+
export declare function getConnectionPoolOutput(args: GetConnectionPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionPoolResult>;
|
|
101
|
+
/**
|
|
102
|
+
* A collection of arguments for invoking getConnectionPool.
|
|
103
|
+
*/
|
|
104
|
+
export interface GetConnectionPoolOutputArgs {
|
|
105
|
+
/**
|
|
106
|
+
* is a computed property that tells the URI for connecting to the pool.
|
|
107
|
+
* This value cannot be set, only read.
|
|
108
|
+
*/
|
|
109
|
+
connectionUri?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* is the name of the database the pool connects to. This should be
|
|
112
|
+
* defined using reference as shown above to set up dependencies correctly.
|
|
113
|
+
*/
|
|
114
|
+
databaseName?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* is the mode the pool operates in (session, transaction, statement).
|
|
117
|
+
*/
|
|
118
|
+
poolMode?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* is the name of the pool.
|
|
121
|
+
*/
|
|
122
|
+
poolName: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* is the number of connections the pool may create towards the backend
|
|
125
|
+
* server. This does not affect the number of incoming connections, which is always a much
|
|
126
|
+
* larger number.
|
|
127
|
+
*/
|
|
128
|
+
poolSize?: pulumi.Input<number>;
|
|
129
|
+
/**
|
|
130
|
+
* and `serviceName` - (Required) define the project and service the connection pool
|
|
131
|
+
* belongs to. They should be defined using reference as shown above to set up dependencies
|
|
132
|
+
* correctly. These properties cannot be changed once the service is created. Doing so will
|
|
133
|
+
* result in the connection pool being deleted and new one created instead.
|
|
134
|
+
*/
|
|
135
|
+
project: pulumi.Input<string>;
|
|
136
|
+
serviceName: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* is the name of the service user used to connect to the database. This should
|
|
139
|
+
* be defined using reference as shown above to set up dependencies correctly.
|
|
140
|
+
*/
|
|
141
|
+
username?: pulumi.Input<string>;
|
|
142
|
+
}
|
package/getConnectionPool.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getConnectionPoolOutput = exports.getConnectionPool = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -41,4 +42,8 @@ function getConnectionPool(args, opts) {
|
|
|
41
42
|
}, opts);
|
|
42
43
|
}
|
|
43
44
|
exports.getConnectionPool = getConnectionPool;
|
|
45
|
+
function getConnectionPoolOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply(a => getConnectionPool(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getConnectionPoolOutput = getConnectionPoolOutput;
|
|
44
49
|
//# sourceMappingURL=getConnectionPool.js.map
|
package/getConnectionPool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnectionPool.js","sourceRoot":"","sources":["../getConnectionPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getConnectionPool.js","sourceRoot":"","sources":["../getConnectionPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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,iDAAiD,EAAE;QAC5E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,8CAkBC;AAmFD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
package/getDatabase.d.ts
CHANGED
|
@@ -63,3 +63,28 @@ export interface GetDatabaseResult {
|
|
|
63
63
|
readonly serviceName: string;
|
|
64
64
|
readonly terminationProtection?: boolean;
|
|
65
65
|
}
|
|
66
|
+
export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseResult>;
|
|
67
|
+
/**
|
|
68
|
+
* A collection of arguments for invoking getDatabase.
|
|
69
|
+
*/
|
|
70
|
+
export interface GetDatabaseOutputArgs {
|
|
71
|
+
/**
|
|
72
|
+
* is the actual name of the database.
|
|
73
|
+
*/
|
|
74
|
+
databaseName: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* default string sort order (LC_COLLATE) of the database. Default value: en_US.UTF-8.
|
|
77
|
+
*/
|
|
78
|
+
lcCollate?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* default character classification (LC_CTYPE) of the database. Default value: en_US.UTF-8.
|
|
81
|
+
*/
|
|
82
|
+
lcCtype?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* and `serviceName` - (Required) define the project and service the database belongs to.
|
|
85
|
+
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
86
|
+
*/
|
|
87
|
+
project: pulumi.Input<string>;
|
|
88
|
+
serviceName: pulumi.Input<string>;
|
|
89
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
90
|
+
}
|
package/getDatabase.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDatabaseOutput = exports.getDatabase = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -39,4 +40,8 @@ function getDatabase(args, opts) {
|
|
|
39
40
|
}, opts);
|
|
40
41
|
}
|
|
41
42
|
exports.getDatabase = getDatabase;
|
|
43
|
+
function getDatabaseOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply(a => getDatabase(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getDatabaseOutput = getDatabaseOutput;
|
|
42
47
|
//# sourceMappingURL=getDatabase.js.map
|
package/getDatabase.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabase.js","sourceRoot":"","sources":["../getDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getDatabase.js","sourceRoot":"","sources":["../getDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,kCAgBC;AAiDD,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"}
|
package/getElasticSearch.d.ts
CHANGED
|
@@ -212,3 +212,104 @@ export interface GetElasticSearchResult {
|
|
|
212
212
|
*/
|
|
213
213
|
readonly terminationProtection?: boolean;
|
|
214
214
|
}
|
|
215
|
+
export declare function getElasticSearchOutput(args: GetElasticSearchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetElasticSearchResult>;
|
|
216
|
+
/**
|
|
217
|
+
* A collection of arguments for invoking getElasticSearch.
|
|
218
|
+
*/
|
|
219
|
+
export interface GetElasticSearchOutputArgs {
|
|
220
|
+
/**
|
|
221
|
+
* defines where the cloud provider and region where the service is hosted
|
|
222
|
+
* in. This can be changed freely after service is created. Changing the value will trigger
|
|
223
|
+
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
224
|
+
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
225
|
+
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
226
|
+
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
227
|
+
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
228
|
+
*/
|
|
229
|
+
cloudName?: pulumi.Input<string>;
|
|
230
|
+
components?: pulumi.Input<pulumi.Input<inputs.GetElasticSearchComponentArgs>[]>;
|
|
231
|
+
/**
|
|
232
|
+
* Elasticsearch specific server provided values.
|
|
233
|
+
*/
|
|
234
|
+
elasticsearch?: pulumi.Input<inputs.GetElasticSearchElasticsearchArgs>;
|
|
235
|
+
/**
|
|
236
|
+
* defines Elasticsearch specific additional configuration options.
|
|
237
|
+
* The following configuration options available:
|
|
238
|
+
*/
|
|
239
|
+
elasticsearchUserConfig?: pulumi.Input<inputs.GetElasticSearchElasticsearchUserConfigArgs>;
|
|
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
|
+
* Elasticsearch hostname.
|
|
277
|
+
*/
|
|
278
|
+
serviceHost?: pulumi.Input<string>;
|
|
279
|
+
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetElasticSearchServiceIntegrationArgs>[]>;
|
|
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 Elasticsearch service, if applicable.
|
|
288
|
+
*/
|
|
289
|
+
servicePassword?: pulumi.Input<string>;
|
|
290
|
+
/**
|
|
291
|
+
* Elasticsearch port.
|
|
292
|
+
*/
|
|
293
|
+
servicePort?: pulumi.Input<number>;
|
|
294
|
+
serviceType?: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* URI for connecting to the Elasticsearch service.
|
|
297
|
+
*/
|
|
298
|
+
serviceUri?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Username used for connecting to the Elasticsearch 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
|
+
}
|
package/getElasticSearch.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getElasticSearchOutput = exports.getElasticSearch = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -51,4 +52,8 @@ function getElasticSearch(args, opts) {
|
|
|
51
52
|
}, opts);
|
|
52
53
|
}
|
|
53
54
|
exports.getElasticSearch = getElasticSearch;
|
|
55
|
+
function getElasticSearchOutput(args, opts) {
|
|
56
|
+
return pulumi.output(args).apply(a => getElasticSearch(a, opts));
|
|
57
|
+
}
|
|
58
|
+
exports.getElasticSearchOutput = getElasticSearchOutput;
|
|
54
59
|
//# sourceMappingURL=getElasticSearch.js.map
|
package/getElasticSearch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getElasticSearch.js","sourceRoot":"","sources":["../getElasticSearch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getElasticSearch.js","sourceRoot":"","sources":["../getElasticSearch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,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,+CAA+C,EAAE;QAC1E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,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,4CA6BC;AAsMD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/getElasticSearchAcl.d.ts
CHANGED
|
@@ -63,3 +63,26 @@ export interface GetElasticSearchAclResult {
|
|
|
63
63
|
readonly project: string;
|
|
64
64
|
readonly serviceName: string;
|
|
65
65
|
}
|
|
66
|
+
export declare function getElasticSearchAclOutput(args: GetElasticSearchAclOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetElasticSearchAclResult>;
|
|
67
|
+
/**
|
|
68
|
+
* A collection of arguments for invoking getElasticSearchAcl.
|
|
69
|
+
*/
|
|
70
|
+
export interface GetElasticSearchAclOutputArgs {
|
|
71
|
+
acls?: pulumi.Input<pulumi.Input<inputs.GetElasticSearchAclAclArgs>[]>;
|
|
72
|
+
/**
|
|
73
|
+
* enables or disables Elasticsearch ACLs.
|
|
74
|
+
*/
|
|
75
|
+
enabled?: pulumi.Input<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs
|
|
78
|
+
* (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use
|
|
79
|
+
* these APIs as long as all operations only target indexes they have been granted access to.
|
|
80
|
+
*/
|
|
81
|
+
extendedAcl?: pulumi.Input<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* and `serviceName` - (Required) define the project and service the ACL belongs to.
|
|
84
|
+
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
85
|
+
*/
|
|
86
|
+
project: pulumi.Input<string>;
|
|
87
|
+
serviceName: pulumi.Input<string>;
|
|
88
|
+
}
|