@pulumi/aiven 4.4.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/account.d.ts +13 -31
- package/account.js +4 -6
- package/account.js.map +1 -1
- package/accountAuthentication.d.ts +31 -53
- package/accountAuthentication.js +5 -7
- package/accountAuthentication.js.map +1 -1
- package/accountTeam.d.ts +12 -22
- package/accountTeam.js +2 -4
- package/accountTeam.js.map +1 -1
- package/accountTeamMember.d.ts +16 -39
- package/accountTeamMember.js +4 -6
- package/accountTeamMember.js.map +1 -1
- package/accountTeamProject.d.ts +12 -17
- package/accountTeamProject.js +0 -2
- package/accountTeamProject.js.map +1 -1
- package/awsPrivatelink.d.ts +13 -27
- package/awsPrivatelink.js +0 -2
- package/awsPrivatelink.js.map +1 -1
- package/azurePrivatelink.d.ts +120 -0
- package/azurePrivatelink.js +86 -0
- package/azurePrivatelink.js.map +1 -0
- package/azurePrivatelinkConnectionApproval.d.ts +91 -0
- package/azurePrivatelinkConnectionApproval.js +66 -0
- package/azurePrivatelinkConnectionApproval.js.map +1 -0
- package/billingGroup.d.ts +0 -2
- package/billingGroup.js +0 -2
- package/billingGroup.js.map +1 -1
- package/cassandra.d.ts +101 -135
- package/cassandra.js +14 -4
- package/cassandra.js.map +1 -1
- package/clickhouse.d.ts +304 -0
- package/clickhouse.js +122 -0
- package/clickhouse.js.map +1 -0
- package/clickhouseDatabase.d.ts +105 -0
- package/clickhouseDatabase.js +76 -0
- package/clickhouseDatabase.js.map +1 -0
- package/clickhouseGrant.d.ts +169 -0
- package/clickhouseGrant.js +125 -0
- package/clickhouseGrant.js.map +1 -0
- package/clickhouseRole.d.ts +75 -0
- package/clickhouseRole.js +65 -0
- package/clickhouseRole.js.map +1 -0
- package/clickhouseUser.d.ts +112 -0
- package/clickhouseUser.js +84 -0
- package/clickhouseUser.js.map +1 -0
- package/connectionPool.d.ts +23 -53
- package/connectionPool.js +0 -4
- package/connectionPool.js.map +1 -1
- package/database.d.ts +18 -23
- package/database.js +0 -2
- package/database.js.map +1 -1
- package/elasticSearch.d.ts +97 -134
- package/elasticSearch.js +14 -4
- package/elasticSearch.js.map +1 -1
- package/elasticSearchAcl.d.ts +14 -26
- package/elasticSearchAcl.js +2 -5
- package/elasticSearchAcl.js.map +1 -1
- package/elasticSearchAclConfig.d.ts +12 -23
- package/elasticSearchAclConfig.js +0 -2
- package/elasticSearchAclConfig.js.map +1 -1
- package/elasticSearchAclRule.d.ts +15 -20
- package/elasticSearchAclRule.js +0 -2
- package/elasticSearchAclRule.js.map +1 -1
- package/flink.d.ts +311 -0
- package/flink.js +125 -0
- package/flink.js.map +1 -0
- package/flinkJob.d.ts +136 -0
- package/flinkJob.js +100 -0
- package/flinkJob.js.map +1 -0
- package/flinkJobTable.d.ts +224 -0
- package/flinkJobTable.js +114 -0
- package/flinkJobTable.js.map +1 -0
- package/getAccount.d.ts +10 -49
- package/getAccount.js +0 -7
- package/getAccount.js.map +1 -1
- package/getAccountAuthentication.d.ts +21 -103
- package/getAccountAuthentication.js +0 -12
- package/getAccountAuthentication.js.map +1 -1
- package/getAccountTeam.d.ts +13 -33
- package/getAccountTeam.js +0 -5
- package/getAccountTeam.js.map +1 -1
- package/getAccountTeamMember.d.ts +18 -43
- package/getAccountTeamMember.js +0 -5
- package/getAccountTeamMember.js.map +1 -1
- package/getAccountTeamProject.d.ts +17 -21
- package/getAccountTeamProject.js +0 -3
- package/getAccountTeamProject.js.map +1 -1
- package/getAwsPrivatelink.d.ts +14 -42
- package/getAwsPrivatelink.js +0 -5
- package/getAwsPrivatelink.js.map +1 -1
- package/getAzurePrivatelink.d.ts +81 -0
- package/getAzurePrivatelink.js +38 -0
- package/getAzurePrivatelink.js.map +1 -0
- package/getBillingGroup.d.ts +96 -0
- package/getBillingGroup.js +36 -0
- package/getBillingGroup.js.map +1 -0
- package/getCassanda.d.ts +118 -44
- package/getCassanda.js +15 -17
- package/getCassanda.js.map +1 -1
- package/getCassandra.d.ts +62 -223
- package/getCassandra.js +1 -20
- package/getCassandra.js.map +1 -1
- package/getClickhouse.d.ts +154 -0
- package/getClickhouse.js +38 -0
- package/getClickhouse.js.map +1 -0
- package/getClickhouseDatabase.d.ts +75 -0
- package/getClickhouseDatabase.js +40 -0
- package/getClickhouseDatabase.js.map +1 -0
- package/getClickhouseUser.d.ts +86 -0
- package/getClickhouseUser.js +40 -0
- package/getClickhouseUser.js.map +1 -0
- package/getConnectionPool.d.ts +26 -74
- package/getConnectionPool.js +0 -7
- package/getConnectionPool.js.map +1 -1
- package/getDatabase.d.ts +22 -29
- package/getDatabase.js +0 -5
- package/getDatabase.js.map +1 -1
- package/getElasticSearch.d.ts +61 -222
- package/getElasticSearch.js +0 -19
- package/getElasticSearch.js.map +1 -1
- package/getElasticSearchAcl.d.ts +22 -36
- package/getElasticSearchAcl.js +1 -7
- package/getElasticSearchAcl.js.map +1 -1
- package/getElasticSearchAclConfig.d.ts +41 -6
- package/getElasticSearchAclConfig.js +15 -2
- package/getElasticSearchAclConfig.js.map +1 -1
- package/getElasticSearchAclRule.d.ts +56 -2
- package/getElasticSearchAclRule.js +17 -1
- package/getElasticSearchAclRule.js.map +1 -1
- package/getFlink.d.ts +154 -0
- package/getFlink.js +38 -0
- package/getFlink.js.map +1 -0
- package/getGrafana.d.ts +61 -222
- package/getGrafana.js +0 -19
- package/getGrafana.js.map +1 -1
- package/getInfluxDb.d.ts +61 -222
- package/getInfluxDb.js +0 -19
- package/getInfluxDb.js.map +1 -1
- package/getKafka.d.ts +65 -221
- package/getKafka.js +0 -20
- package/getKafka.js.map +1 -1
- package/getKafkaAcl.d.ts +31 -21
- package/getKafkaAcl.js +2 -5
- package/getKafkaAcl.js.map +1 -1
- package/getKafkaConnect.d.ts +61 -222
- package/getKafkaConnect.js +0 -19
- package/getKafkaConnect.js.map +1 -1
- package/getKafkaConnector.d.ts +31 -73
- package/getKafkaConnector.js +0 -15
- package/getKafkaConnector.js.map +1 -1
- package/getKafkaMirrorMaker.d.ts +61 -222
- package/getKafkaMirrorMaker.js +0 -19
- package/getKafkaMirrorMaker.js.map +1 -1
- package/getKafkaSchema.d.ts +23 -37
- package/getKafkaSchema.js +1 -7
- package/getKafkaSchema.js.map +1 -1
- package/getKafkaSchemaConfiguration.d.ts +29 -41
- package/getKafkaSchemaConfiguration.js +4 -10
- package/getKafkaSchemaConfiguration.js.map +1 -1
- package/getKafkaTopic.d.ts +34 -95
- package/getKafkaTopic.js +0 -18
- package/getKafkaTopic.js.map +1 -1
- package/getM3Aggregator.d.ts +62 -223
- package/getM3Aggregator.js +1 -20
- package/getM3Aggregator.js.map +1 -1
- package/getM3Db.d.ts +61 -222
- package/getM3Db.js +0 -19
- package/getM3Db.js.map +1 -1
- package/getMirrorMakerReplicationFlow.d.ts +45 -52
- package/getMirrorMakerReplicationFlow.js +1 -11
- package/getMirrorMakerReplicationFlow.js.map +1 -1
- package/getMySql.d.ts +61 -222
- package/getMySql.js +0 -19
- package/getMySql.js.map +1 -1
- package/getOpenSearch.d.ts +61 -216
- package/getOpenSearch.js +0 -19
- package/getOpenSearch.js.map +1 -1
- package/getOpenSearchAclConfig.d.ts +41 -6
- package/getOpenSearchAclConfig.js +15 -2
- package/getOpenSearchAclConfig.js.map +1 -1
- package/getOpenSearchAclRule.d.ts +62 -0
- package/getOpenSearchAclRule.js +17 -0
- package/getOpenSearchAclRule.js.map +1 -1
- package/getPg.d.ts +61 -222
- package/getPg.js +0 -19
- package/getPg.js.map +1 -1
- package/getProject.d.ts +49 -166
- package/getProject.js +0 -20
- package/getProject.js.map +1 -1
- package/getProjectUser.d.ts +13 -34
- package/getProjectUser.js +0 -4
- package/getProjectUser.js.map +1 -1
- package/getProjectVpc.d.ts +13 -30
- package/getProjectVpc.js +0 -4
- package/getProjectVpc.js.map +1 -1
- package/getRedis.d.ts +60 -221
- package/getRedis.js +0 -19
- package/getRedis.js.map +1 -1
- package/getService.d.ts +203 -105
- package/getService.js +3 -37
- package/getService.js.map +1 -1
- package/getServiceComponent.d.ts +38 -90
- package/getServiceComponent.js +1 -22
- package/getServiceComponent.js.map +1 -1
- package/getServiceIntegration.d.ts +67 -95
- package/getServiceIntegration.js +1 -41
- package/getServiceIntegration.js.map +1 -1
- package/getServiceIntegrationEndpoint.d.ts +61 -63
- package/getServiceIntegrationEndpoint.js +1 -17
- package/getServiceIntegrationEndpoint.js.map +1 -1
- package/getServiceUser.d.ts +37 -78
- package/getServiceUser.js +0 -13
- package/getServiceUser.js.map +1 -1
- package/getTransitGatewayVpcAttachment.d.ts +29 -40
- package/getTransitGatewayVpcAttachment.js +1 -9
- package/getTransitGatewayVpcAttachment.js.map +1 -1
- package/getVpcPeeringConnection.d.ts +27 -92
- package/getVpcPeeringConnection.js +1 -11
- package/getVpcPeeringConnection.js.map +1 -1
- package/grafana.d.ts +97 -134
- package/grafana.js +14 -4
- package/grafana.js.map +1 -1
- package/index.d.ts +17 -0
- package/index.js +61 -0
- package/index.js.map +1 -1
- package/influxDb.d.ts +97 -131
- package/influxDb.js +14 -4
- package/influxDb.js.map +1 -1
- package/kafka.d.ts +110 -128
- package/kafka.js +14 -2
- package/kafka.js.map +1 -1
- package/kafkaAcl.d.ts +15 -29
- package/kafkaAcl.js +0 -2
- package/kafkaAcl.js.map +1 -1
- package/kafkaConnect.d.ts +97 -134
- package/kafkaConnect.js +14 -4
- package/kafkaConnect.js.map +1 -1
- package/kafkaConnector.d.ts +34 -44
- package/kafkaConnector.js +8 -16
- package/kafkaConnector.js.map +1 -1
- package/kafkaMirrorMaker.d.ts +97 -131
- package/kafkaMirrorMaker.js +14 -4
- package/kafkaMirrorMaker.js.map +1 -1
- package/kafkaSchema.d.ts +45 -31
- package/kafkaSchema.js +28 -2
- package/kafkaSchema.js.map +1 -1
- package/kafkaSchemaConfiguration.d.ts +11 -31
- package/kafkaSchemaConfiguration.js +0 -5
- package/kafkaSchemaConfiguration.js.map +1 -1
- package/kafkaTopic.d.ts +58 -48
- package/kafkaTopic.js +28 -0
- package/kafkaTopic.js.map +1 -1
- package/m3aggregator.d.ts +97 -131
- package/m3aggregator.js +14 -4
- package/m3aggregator.js.map +1 -1
- package/m3db.d.ts +97 -131
- package/m3db.js +14 -4
- package/m3db.js.map +1 -1
- package/mirrorMakerReplicationFlow.d.ts +34 -40
- package/mirrorMakerReplicationFlow.js +1 -4
- package/mirrorMakerReplicationFlow.js.map +1 -1
- package/mySql.d.ts +104 -150
- package/mySql.js +14 -4
- package/mySql.js.map +1 -1
- package/openSearch.d.ts +101 -132
- package/openSearch.js +14 -4
- package/openSearch.js.map +1 -1
- package/openSearchAclConfig.d.ts +31 -29
- package/openSearchAclConfig.js +19 -8
- package/openSearchAclConfig.js.map +1 -1
- package/openSearchAclRule.d.ts +30 -35
- package/openSearchAclRule.js +15 -17
- package/openSearchAclRule.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pg.d.ts +101 -126
- package/pg.js +15 -0
- package/pg.js.map +1 -1
- package/project.d.ts +60 -121
- package/project.js +3 -5
- package/project.js.map +1 -1
- package/projectUser.d.ts +11 -19
- package/projectUser.js +0 -2
- package/projectUser.js.map +1 -1
- package/projectVpc.d.ts +11 -18
- package/projectVpc.js +0 -2
- package/projectVpc.js.map +1 -1
- package/redis.d.ts +99 -136
- package/redis.js +13 -3
- package/redis.js.map +1 -1
- package/service.d.ts +184 -121
- package/service.js +44 -21
- package/service.js.map +1 -1
- package/serviceIntegration.d.ts +18 -185
- package/serviceIntegration.js +4 -40
- package/serviceIntegration.js.map +1 -1
- package/serviceIntegrationEndpoint.d.ts +9 -49
- package/serviceIntegrationEndpoint.js +0 -34
- package/serviceIntegrationEndpoint.js.map +1 -1
- package/serviceUser.d.ts +45 -40
- package/serviceUser.js +2 -4
- package/serviceUser.js.map +1 -1
- package/staticIp.d.ts +95 -0
- package/staticIp.js +68 -0
- package/staticIp.js.map +1 -0
- package/transitGatewayVpcAttachment.d.ts +16 -19
- package/transitGatewayVpcAttachment.js +1 -4
- package/transitGatewayVpcAttachment.js.map +1 -1
- package/types/input.d.ts +1440 -9809
- package/types/output.d.ts +1744 -3691
- package/vpcPeeringConnection.d.ts +27 -58
- package/vpcPeeringConnection.js +0 -22
- package/vpcPeeringConnection.js.map +1 -1
package/getCassandra.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.getCassandraOutput = exports.getCassandra = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Cassandra Data Source
|
|
10
|
-
*
|
|
11
9
|
* The Cassandra data source provides information about the existing Aiven Cassandra service.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -18,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
18
16
|
*
|
|
19
17
|
* const bar = aiven.getCassandra({
|
|
20
18
|
* project: data.aiven_project.foo.project,
|
|
21
|
-
* serviceName:
|
|
19
|
+
* serviceName: "<SERVICE_NAME>",
|
|
22
20
|
* });
|
|
23
21
|
* ```
|
|
24
22
|
*/
|
|
@@ -28,25 +26,8 @@ function getCassandra(args, opts) {
|
|
|
28
26
|
}
|
|
29
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
28
|
return pulumi.runtime.invoke("aiven:index/getCassandra:getCassandra", {
|
|
31
|
-
"cassandra": args.cassandra,
|
|
32
|
-
"cassandraUserConfig": args.cassandraUserConfig,
|
|
33
|
-
"cloudName": args.cloudName,
|
|
34
|
-
"components": args.components,
|
|
35
|
-
"maintenanceWindowDow": args.maintenanceWindowDow,
|
|
36
|
-
"maintenanceWindowTime": args.maintenanceWindowTime,
|
|
37
|
-
"plan": args.plan,
|
|
38
29
|
"project": args.project,
|
|
39
|
-
"projectVpcId": args.projectVpcId,
|
|
40
|
-
"serviceHost": args.serviceHost,
|
|
41
|
-
"serviceIntegrations": args.serviceIntegrations,
|
|
42
30
|
"serviceName": args.serviceName,
|
|
43
|
-
"servicePassword": args.servicePassword,
|
|
44
|
-
"servicePort": args.servicePort,
|
|
45
|
-
"serviceType": args.serviceType,
|
|
46
|
-
"serviceUri": args.serviceUri,
|
|
47
|
-
"serviceUsername": args.serviceUsername,
|
|
48
|
-
"state": args.state,
|
|
49
|
-
"terminationProtection": args.terminationProtection,
|
|
50
31
|
}, opts);
|
|
51
32
|
}
|
|
52
33
|
exports.getCassandra = getCassandra;
|
package/getCassandra.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCassandra.js","sourceRoot":"","sources":["../getCassandra.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCassandra.js","sourceRoot":"","sources":["../getCassandra.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AA8HD,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"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Clickhouse data source provides information about the existing Aiven Clickhouse 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 clickhouse = aiven.getClickhouse({
|
|
13
|
+
* project: data.aiven_project.pr1.project,
|
|
14
|
+
* serviceName: "<SERVICE_NAME>",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getClickhouse(args: GetClickhouseArgs, opts?: pulumi.InvokeOptions): Promise<GetClickhouseResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getClickhouse.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetClickhouseArgs {
|
|
23
|
+
/**
|
|
24
|
+
* 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.
|
|
25
|
+
*/
|
|
26
|
+
project: string;
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
30
|
+
serviceName: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getClickhouse.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetClickhouseResult {
|
|
36
|
+
/**
|
|
37
|
+
* Clickhouse user configurable settings
|
|
38
|
+
*/
|
|
39
|
+
readonly clickhouseUserConfigs: outputs.GetClickhouseClickhouseUserConfig[];
|
|
40
|
+
/**
|
|
41
|
+
* Clickhouse server provided values
|
|
42
|
+
*/
|
|
43
|
+
readonly clickhouses: outputs.GetClickhouseClickhouse[];
|
|
44
|
+
/**
|
|
45
|
+
* 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).
|
|
46
|
+
*/
|
|
47
|
+
readonly cloudName: string;
|
|
48
|
+
/**
|
|
49
|
+
* Service component information objects
|
|
50
|
+
*/
|
|
51
|
+
readonly components: outputs.GetClickhouseComponent[];
|
|
52
|
+
/**
|
|
53
|
+
* 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.
|
|
54
|
+
*/
|
|
55
|
+
readonly diskSpace: string;
|
|
56
|
+
/**
|
|
57
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
58
|
+
*/
|
|
59
|
+
readonly diskSpaceCap: string;
|
|
60
|
+
/**
|
|
61
|
+
* 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`
|
|
62
|
+
*/
|
|
63
|
+
readonly diskSpaceDefault: string;
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
*/
|
|
67
|
+
readonly diskSpaceStep: string;
|
|
68
|
+
/**
|
|
69
|
+
* Disk space that service is currently using
|
|
70
|
+
*/
|
|
71
|
+
readonly diskSpaceUsed: string;
|
|
72
|
+
/**
|
|
73
|
+
* The provider-assigned unique ID for this managed resource.
|
|
74
|
+
*/
|
|
75
|
+
readonly id: string;
|
|
76
|
+
/**
|
|
77
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
78
|
+
*/
|
|
79
|
+
readonly maintenanceWindowDow: string;
|
|
80
|
+
/**
|
|
81
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
82
|
+
*/
|
|
83
|
+
readonly maintenanceWindowTime: string;
|
|
84
|
+
/**
|
|
85
|
+
* 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).
|
|
86
|
+
*/
|
|
87
|
+
readonly plan: string;
|
|
88
|
+
/**
|
|
89
|
+
* 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.
|
|
90
|
+
*/
|
|
91
|
+
readonly project: string;
|
|
92
|
+
/**
|
|
93
|
+
* 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.
|
|
94
|
+
*/
|
|
95
|
+
readonly projectVpcId: string;
|
|
96
|
+
/**
|
|
97
|
+
* The hostname of the service.
|
|
98
|
+
*/
|
|
99
|
+
readonly serviceHost: string;
|
|
100
|
+
/**
|
|
101
|
+
* Service integrations to specify when creating a service. Not applied after initial service creation
|
|
102
|
+
*/
|
|
103
|
+
readonly serviceIntegrations: outputs.GetClickhouseServiceIntegration[];
|
|
104
|
+
/**
|
|
105
|
+
* 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.
|
|
106
|
+
*/
|
|
107
|
+
readonly serviceName: string;
|
|
108
|
+
/**
|
|
109
|
+
* Password used for connecting to the service, if applicable
|
|
110
|
+
*/
|
|
111
|
+
readonly servicePassword: string;
|
|
112
|
+
/**
|
|
113
|
+
* The port of the service
|
|
114
|
+
*/
|
|
115
|
+
readonly servicePort: number;
|
|
116
|
+
/**
|
|
117
|
+
* Aiven internal service type code
|
|
118
|
+
*/
|
|
119
|
+
readonly serviceType: string;
|
|
120
|
+
/**
|
|
121
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
122
|
+
*/
|
|
123
|
+
readonly serviceUri: string;
|
|
124
|
+
/**
|
|
125
|
+
* Username used for connecting to the service, if applicable
|
|
126
|
+
*/
|
|
127
|
+
readonly serviceUsername: string;
|
|
128
|
+
/**
|
|
129
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
130
|
+
*/
|
|
131
|
+
readonly state: string;
|
|
132
|
+
/**
|
|
133
|
+
* 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
|
|
134
|
+
*/
|
|
135
|
+
readonly staticIps: string[];
|
|
136
|
+
/**
|
|
137
|
+
* 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.
|
|
138
|
+
*/
|
|
139
|
+
readonly terminationProtection: boolean;
|
|
140
|
+
}
|
|
141
|
+
export declare function getClickhouseOutput(args: GetClickhouseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClickhouseResult>;
|
|
142
|
+
/**
|
|
143
|
+
* A collection of arguments for invoking getClickhouse.
|
|
144
|
+
*/
|
|
145
|
+
export interface GetClickhouseOutputArgs {
|
|
146
|
+
/**
|
|
147
|
+
* 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.
|
|
148
|
+
*/
|
|
149
|
+
project: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* 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.
|
|
152
|
+
*/
|
|
153
|
+
serviceName: pulumi.Input<string>;
|
|
154
|
+
}
|
package/getClickhouse.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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.getClickhouseOutput = exports.getClickhouse = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Clickhouse data source provides information about the existing Aiven Clickhouse 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 clickhouse = aiven.getClickhouse({
|
|
18
|
+
* project: data.aiven_project.pr1.project,
|
|
19
|
+
* serviceName: "<SERVICE_NAME>",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getClickhouse(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("aiven:index/getClickhouse:getClickhouse", {
|
|
29
|
+
"project": args.project,
|
|
30
|
+
"serviceName": args.serviceName,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getClickhouse = getClickhouse;
|
|
34
|
+
function getClickhouseOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getClickhouse(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getClickhouseOutput = getClickhouseOutput;
|
|
38
|
+
//# sourceMappingURL=getClickhouse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClickhouse.js","sourceRoot":"","sources":["../getClickhouse.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA8HD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Clickhouse database data source provides information about the existing Aiven Clickhouse Database.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const clickhouseDb = aiven.getClickhouseDatabase({
|
|
12
|
+
* project: aiven_clickhouse.ch.project,
|
|
13
|
+
* serviceName: aiven_clickhouse.ch.service_name,
|
|
14
|
+
* name: "my-ch-db",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getClickhouseDatabase(args: GetClickhouseDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetClickhouseDatabaseResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getClickhouseDatabase.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetClickhouseDatabaseArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the Clickhouse database. This property cannot be changed, doing so forces recreation of the resource.
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
30
|
+
project: string;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the name of the service that 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.
|
|
33
|
+
*/
|
|
34
|
+
serviceName: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getClickhouseDatabase.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetClickhouseDatabaseResult {
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the Clickhouse database. This property cannot be changed, doing so forces recreation of the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: string;
|
|
48
|
+
/**
|
|
49
|
+
* 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.
|
|
50
|
+
*/
|
|
51
|
+
readonly project: string;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the name of the service that 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.
|
|
54
|
+
*/
|
|
55
|
+
readonly serviceName: string;
|
|
56
|
+
readonly terminationProtection: boolean;
|
|
57
|
+
}
|
|
58
|
+
export declare function getClickhouseDatabaseOutput(args: GetClickhouseDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClickhouseDatabaseResult>;
|
|
59
|
+
/**
|
|
60
|
+
* A collection of arguments for invoking getClickhouseDatabase.
|
|
61
|
+
*/
|
|
62
|
+
export interface GetClickhouseDatabaseOutputArgs {
|
|
63
|
+
/**
|
|
64
|
+
* The name of the Clickhouse database. This property cannot be changed, doing so forces recreation of the resource.
|
|
65
|
+
*/
|
|
66
|
+
name: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* 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.
|
|
69
|
+
*/
|
|
70
|
+
project: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the name of the service that 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.
|
|
73
|
+
*/
|
|
74
|
+
serviceName: pulumi.Input<string>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.getClickhouseDatabaseOutput = exports.getClickhouseDatabase = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Clickhouse database data source provides information about the existing Aiven Clickhouse Database.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const clickhouseDb = aiven.getClickhouseDatabase({
|
|
18
|
+
* project: aiven_clickhouse.ch.project,
|
|
19
|
+
* serviceName: aiven_clickhouse.ch.service_name,
|
|
20
|
+
* name: "my-ch-db",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getClickhouseDatabase(args, opts) {
|
|
25
|
+
if (!opts) {
|
|
26
|
+
opts = {};
|
|
27
|
+
}
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
29
|
+
return pulumi.runtime.invoke("aiven:index/getClickhouseDatabase:getClickhouseDatabase", {
|
|
30
|
+
"name": args.name,
|
|
31
|
+
"project": args.project,
|
|
32
|
+
"serviceName": args.serviceName,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getClickhouseDatabase = getClickhouseDatabase;
|
|
36
|
+
function getClickhouseDatabaseOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getClickhouseDatabase(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getClickhouseDatabaseOutput = getClickhouseDatabaseOutput;
|
|
40
|
+
//# sourceMappingURL=getClickhouseDatabase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClickhouseDatabase.js","sourceRoot":"","sources":["../getClickhouseDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sDAWC;AA2CD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,kEAEC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Clickhouse User data source provides information about the existing Aiven Clickhouse User.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const ch-user = aiven.getClickhouseUser({
|
|
12
|
+
* project: aiven_project.myproject.project,
|
|
13
|
+
* serviceName: aiven_clickhouse.myservice.service_name,
|
|
14
|
+
* username: "<USERNAME>",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getClickhouseUser(args: GetClickhouseUserArgs, opts?: pulumi.InvokeOptions): Promise<GetClickhouseUserResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getClickhouseUser.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetClickhouseUserArgs {
|
|
23
|
+
/**
|
|
24
|
+
* 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.
|
|
25
|
+
*/
|
|
26
|
+
project: string;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the name of the service that 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.
|
|
29
|
+
*/
|
|
30
|
+
serviceName: string;
|
|
31
|
+
/**
|
|
32
|
+
* The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
|
|
33
|
+
*/
|
|
34
|
+
username: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getClickhouseUser.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetClickhouseUserResult {
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The password of the clickhouse user.
|
|
46
|
+
*/
|
|
47
|
+
readonly password: string;
|
|
48
|
+
/**
|
|
49
|
+
* 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.
|
|
50
|
+
*/
|
|
51
|
+
readonly project: string;
|
|
52
|
+
/**
|
|
53
|
+
* Indicates if a clickhouse user is required
|
|
54
|
+
*/
|
|
55
|
+
readonly required: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the name of the service that 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.
|
|
58
|
+
*/
|
|
59
|
+
readonly serviceName: string;
|
|
60
|
+
/**
|
|
61
|
+
* The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
|
|
62
|
+
*/
|
|
63
|
+
readonly username: string;
|
|
64
|
+
/**
|
|
65
|
+
* UUID of the clickhouse user.
|
|
66
|
+
*/
|
|
67
|
+
readonly uuid: string;
|
|
68
|
+
}
|
|
69
|
+
export declare function getClickhouseUserOutput(args: GetClickhouseUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClickhouseUserResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getClickhouseUser.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetClickhouseUserOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
77
|
+
project: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the name of the service that 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.
|
|
80
|
+
*/
|
|
81
|
+
serviceName: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
|
|
84
|
+
*/
|
|
85
|
+
username: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.getClickhouseUserOutput = exports.getClickhouseUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Clickhouse User data source provides information about the existing Aiven Clickhouse User.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const ch-user = aiven.getClickhouseUser({
|
|
18
|
+
* project: aiven_project.myproject.project,
|
|
19
|
+
* serviceName: aiven_clickhouse.myservice.service_name,
|
|
20
|
+
* username: "<USERNAME>",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getClickhouseUser(args, opts) {
|
|
25
|
+
if (!opts) {
|
|
26
|
+
opts = {};
|
|
27
|
+
}
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
29
|
+
return pulumi.runtime.invoke("aiven:index/getClickhouseUser:getClickhouseUser", {
|
|
30
|
+
"project": args.project,
|
|
31
|
+
"serviceName": args.serviceName,
|
|
32
|
+
"username": args.username,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getClickhouseUser = getClickhouseUser;
|
|
36
|
+
function getClickhouseUserOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getClickhouseUser(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getClickhouseUserOutput = getClickhouseUserOutput;
|
|
40
|
+
//# sourceMappingURL=getClickhouseUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClickhouseUser.js","sourceRoot":"","sources":["../getClickhouseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,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;AAXD,8CAWC;AAsDD,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/getConnectionPool.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Connection Pool Data Source
|
|
4
|
-
*
|
|
5
3
|
* The Connection Pool data source provides information about the existing Aiven Connection Pool.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
@@ -23,79 +21,58 @@ export declare function getConnectionPool(args: GetConnectionPoolArgs, opts?: pu
|
|
|
23
21
|
*/
|
|
24
22
|
export interface GetConnectionPoolArgs {
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
27
|
-
* This value cannot be set, only read.
|
|
28
|
-
*/
|
|
29
|
-
connectionUri?: string;
|
|
30
|
-
/**
|
|
31
|
-
* is the name of the database the pool connects to. This should be
|
|
32
|
-
* defined using reference as shown above to set up dependencies correctly.
|
|
33
|
-
*/
|
|
34
|
-
databaseName?: string;
|
|
35
|
-
/**
|
|
36
|
-
* is the mode the pool operates in (session, transaction, statement).
|
|
37
|
-
*/
|
|
38
|
-
poolMode?: string;
|
|
39
|
-
/**
|
|
40
|
-
* is the name of the pool.
|
|
24
|
+
* The name of the created pool. This property cannot be changed, doing so forces recreation of the resource.
|
|
41
25
|
*/
|
|
42
26
|
poolName: string;
|
|
43
27
|
/**
|
|
44
|
-
*
|
|
45
|
-
* server. This does not affect the number of incoming connections, which is always a much
|
|
46
|
-
* larger number.
|
|
47
|
-
*/
|
|
48
|
-
poolSize?: number;
|
|
49
|
-
/**
|
|
50
|
-
* and `serviceName` - (Required) define the project and service the connection pool
|
|
51
|
-
* belongs to. They should be defined using reference as shown above to set up dependencies
|
|
52
|
-
* correctly. These properties cannot be changed once the service is created. Doing so will
|
|
53
|
-
* result in the connection pool being deleted and new one created instead.
|
|
28
|
+
* 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.
|
|
54
29
|
*/
|
|
55
30
|
project: string;
|
|
56
|
-
serviceName: string;
|
|
57
31
|
/**
|
|
58
|
-
*
|
|
59
|
-
* be defined using reference as shown above to set up dependencies correctly.
|
|
32
|
+
* Specifies the name of the service that 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.
|
|
60
33
|
*/
|
|
61
|
-
|
|
34
|
+
serviceName: string;
|
|
62
35
|
}
|
|
63
36
|
/**
|
|
64
37
|
* A collection of values returned by getConnectionPool.
|
|
65
38
|
*/
|
|
66
39
|
export interface GetConnectionPoolResult {
|
|
67
40
|
/**
|
|
68
|
-
*
|
|
69
|
-
* This value cannot be set, only read.
|
|
41
|
+
* The URI for connecting to the pool
|
|
70
42
|
*/
|
|
71
43
|
readonly connectionUri: string;
|
|
72
44
|
/**
|
|
73
|
-
*
|
|
74
|
-
* defined using reference as shown above to set up dependencies correctly.
|
|
45
|
+
* The name of the database the pool connects 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.
|
|
75
46
|
*/
|
|
76
|
-
readonly databaseName
|
|
47
|
+
readonly databaseName: string;
|
|
77
48
|
/**
|
|
78
49
|
* The provider-assigned unique ID for this managed resource.
|
|
79
50
|
*/
|
|
80
51
|
readonly id: string;
|
|
81
52
|
/**
|
|
82
|
-
*
|
|
53
|
+
* The mode the pool operates in The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
|
|
54
|
+
*/
|
|
55
|
+
readonly poolMode: string;
|
|
56
|
+
/**
|
|
57
|
+
* The name of the created pool. This property cannot be changed, doing so forces recreation of the resource.
|
|
83
58
|
*/
|
|
84
|
-
readonly poolMode?: string;
|
|
85
59
|
readonly poolName: string;
|
|
86
60
|
/**
|
|
87
|
-
*
|
|
88
|
-
|
|
89
|
-
|
|
61
|
+
* The number of connections the pool may create towards the backend server. This does not affect the number of incoming connections, which is always a much larger number. The default value is `10`.
|
|
62
|
+
*/
|
|
63
|
+
readonly poolSize: number;
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
90
66
|
*/
|
|
91
|
-
readonly poolSize?: number;
|
|
92
67
|
readonly project: string;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the name of the service that 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.
|
|
70
|
+
*/
|
|
93
71
|
readonly serviceName: string;
|
|
94
72
|
/**
|
|
95
|
-
*
|
|
96
|
-
* be defined using reference as shown above to set up dependencies correctly.
|
|
73
|
+
* The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
|
|
97
74
|
*/
|
|
98
|
-
readonly username
|
|
75
|
+
readonly username: string;
|
|
99
76
|
}
|
|
100
77
|
export declare function getConnectionPoolOutput(args: GetConnectionPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionPoolResult>;
|
|
101
78
|
/**
|
|
@@ -103,40 +80,15 @@ export declare function getConnectionPoolOutput(args: GetConnectionPoolOutputArg
|
|
|
103
80
|
*/
|
|
104
81
|
export interface GetConnectionPoolOutputArgs {
|
|
105
82
|
/**
|
|
106
|
-
*
|
|
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.
|
|
83
|
+
* The name of the created pool. This property cannot be changed, doing so forces recreation of the resource.
|
|
121
84
|
*/
|
|
122
85
|
poolName: pulumi.Input<string>;
|
|
123
86
|
/**
|
|
124
|
-
*
|
|
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.
|
|
87
|
+
* 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.
|
|
134
88
|
*/
|
|
135
89
|
project: pulumi.Input<string>;
|
|
136
|
-
serviceName: pulumi.Input<string>;
|
|
137
90
|
/**
|
|
138
|
-
*
|
|
139
|
-
* be defined using reference as shown above to set up dependencies correctly.
|
|
91
|
+
* Specifies the name of the service that 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.
|
|
140
92
|
*/
|
|
141
|
-
|
|
93
|
+
serviceName: pulumi.Input<string>;
|
|
142
94
|
}
|