@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/getService.d.ts
CHANGED
|
@@ -1,140 +1,238 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import {
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Service datasource provides information about specific Aiven Services.
|
|
5
|
+
*/
|
|
3
6
|
export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>;
|
|
4
7
|
/**
|
|
5
8
|
* A collection of arguments for invoking getService.
|
|
6
9
|
*/
|
|
7
10
|
export interface GetServiceArgs {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
components?: inputs.GetServiceComponent[];
|
|
12
|
-
elasticsearch?: inputs.GetServiceElasticsearch;
|
|
13
|
-
elasticsearchUserConfig?: inputs.GetServiceElasticsearchUserConfig;
|
|
14
|
-
grafana?: inputs.GetServiceGrafana;
|
|
15
|
-
grafanaUserConfig?: inputs.GetServiceGrafanaUserConfig;
|
|
16
|
-
influxdb?: inputs.GetServiceInfluxdb;
|
|
17
|
-
influxdbUserConfig?: inputs.GetServiceInfluxdbUserConfig;
|
|
18
|
-
kafka?: inputs.GetServiceKafka;
|
|
19
|
-
kafkaConnect?: inputs.GetServiceKafkaConnect;
|
|
20
|
-
kafkaConnectUserConfig?: inputs.GetServiceKafkaConnectUserConfig;
|
|
21
|
-
kafkaMirrormaker?: inputs.GetServiceKafkaMirrormaker;
|
|
22
|
-
kafkaMirrormakerUserConfig?: inputs.GetServiceKafkaMirrormakerUserConfig;
|
|
23
|
-
kafkaUserConfig?: inputs.GetServiceKafkaUserConfig;
|
|
24
|
-
maintenanceWindowDow?: string;
|
|
25
|
-
maintenanceWindowTime?: string;
|
|
26
|
-
mysql?: inputs.GetServiceMysql;
|
|
27
|
-
mysqlUserConfig?: inputs.GetServiceMysqlUserConfig;
|
|
28
|
-
opensearch?: inputs.GetServiceOpensearch;
|
|
29
|
-
opensearchUserConfig?: inputs.GetServiceOpensearchUserConfig;
|
|
30
|
-
pg?: inputs.GetServicePg;
|
|
31
|
-
pgUserConfig?: inputs.GetServicePgUserConfig;
|
|
32
|
-
plan?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Target project
|
|
13
|
+
*/
|
|
33
14
|
project: string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
serviceHost?: string;
|
|
38
|
-
serviceIntegrations?: inputs.GetServiceServiceIntegration[];
|
|
15
|
+
/**
|
|
16
|
+
* Service name
|
|
17
|
+
*/
|
|
39
18
|
serviceName: string;
|
|
40
|
-
servicePassword?: string;
|
|
41
|
-
servicePort?: number;
|
|
42
|
-
serviceType?: string;
|
|
43
|
-
serviceUri?: string;
|
|
44
|
-
serviceUsername?: string;
|
|
45
|
-
state?: string;
|
|
46
|
-
terminationProtection?: boolean;
|
|
47
19
|
}
|
|
48
20
|
/**
|
|
49
21
|
* A collection of values returned by getService.
|
|
50
22
|
*/
|
|
51
23
|
export interface GetServiceResult {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Cassandra user configurable settings
|
|
26
|
+
*/
|
|
27
|
+
readonly cassandraUserConfigs: outputs.GetServiceCassandraUserConfig[];
|
|
28
|
+
/**
|
|
29
|
+
* Cassandra specific server provided values
|
|
30
|
+
*/
|
|
31
|
+
readonly cassandras: outputs.GetServiceCassandra[];
|
|
32
|
+
/**
|
|
33
|
+
* Clickhouse user configurable settings
|
|
34
|
+
*/
|
|
35
|
+
readonly clickhouseUserConfigs: outputs.GetServiceClickhouseUserConfig[];
|
|
36
|
+
/**
|
|
37
|
+
* Clickhouse specific server provided values
|
|
38
|
+
*/
|
|
39
|
+
readonly clickhouses: outputs.GetServiceClickhouse[];
|
|
40
|
+
/**
|
|
41
|
+
* Cloud the service runs in
|
|
42
|
+
*/
|
|
43
|
+
readonly cloudName: string;
|
|
44
|
+
/**
|
|
45
|
+
* Service component information objects
|
|
46
|
+
*/
|
|
55
47
|
readonly components: outputs.GetServiceComponent[];
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
readonly
|
|
48
|
+
/**
|
|
49
|
+
* 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.
|
|
50
|
+
*/
|
|
51
|
+
readonly diskSpace: string;
|
|
52
|
+
/**
|
|
53
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
54
|
+
*/
|
|
55
|
+
readonly diskSpaceCap: string;
|
|
56
|
+
/**
|
|
57
|
+
* 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`
|
|
58
|
+
*/
|
|
59
|
+
readonly diskSpaceDefault: string;
|
|
60
|
+
/**
|
|
61
|
+
* 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.
|
|
62
|
+
*/
|
|
63
|
+
readonly diskSpaceStep: string;
|
|
64
|
+
/**
|
|
65
|
+
* Disk space that service is currently using
|
|
66
|
+
*/
|
|
67
|
+
readonly diskSpaceUsed: string;
|
|
68
|
+
/**
|
|
69
|
+
* Elasticsearch user configurable settings
|
|
70
|
+
*/
|
|
71
|
+
readonly elasticsearchUserConfigs: outputs.GetServiceElasticsearchUserConfig[];
|
|
72
|
+
/**
|
|
73
|
+
* Elasticsearch specific server provided values
|
|
74
|
+
*/
|
|
75
|
+
readonly elasticsearches: outputs.GetServiceElasticsearch[];
|
|
76
|
+
/**
|
|
77
|
+
* Flink user configurable settings
|
|
78
|
+
*/
|
|
79
|
+
readonly flinkUserConfigs: outputs.GetServiceFlinkUserConfig[];
|
|
80
|
+
/**
|
|
81
|
+
* Flink specific server provided values
|
|
82
|
+
*/
|
|
83
|
+
readonly flinks: outputs.GetServiceFlink[];
|
|
84
|
+
/**
|
|
85
|
+
* Grafana user configurable settings
|
|
86
|
+
*/
|
|
87
|
+
readonly grafanaUserConfigs: outputs.GetServiceGrafanaUserConfig[];
|
|
88
|
+
/**
|
|
89
|
+
* Grafana specific server provided values
|
|
90
|
+
*/
|
|
91
|
+
readonly grafanas: outputs.GetServiceGrafana[];
|
|
60
92
|
/**
|
|
61
93
|
* The provider-assigned unique ID for this managed resource.
|
|
62
94
|
*/
|
|
63
95
|
readonly id: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
readonly
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
readonly
|
|
80
|
-
|
|
96
|
+
/**
|
|
97
|
+
* Influxdb user configurable settings
|
|
98
|
+
*/
|
|
99
|
+
readonly influxdbUserConfigs: outputs.GetServiceInfluxdbUserConfig[];
|
|
100
|
+
/**
|
|
101
|
+
* InfluxDB specific server provided values
|
|
102
|
+
*/
|
|
103
|
+
readonly influxdbs: outputs.GetServiceInfluxdb[];
|
|
104
|
+
/**
|
|
105
|
+
* Kafka*connect user configurable settings
|
|
106
|
+
*/
|
|
107
|
+
readonly kafkaConnectUserConfigs: outputs.GetServiceKafkaConnectUserConfig[];
|
|
108
|
+
/**
|
|
109
|
+
* Kafka Connect specific server provided values
|
|
110
|
+
*/
|
|
111
|
+
readonly kafkaConnects: outputs.GetServiceKafkaConnect[];
|
|
112
|
+
/**
|
|
113
|
+
* Kafka*mirrormaker user configurable settings
|
|
114
|
+
*/
|
|
115
|
+
readonly kafkaMirrormakerUserConfigs: outputs.GetServiceKafkaMirrormakerUserConfig[];
|
|
116
|
+
/**
|
|
117
|
+
* Kafka MirrorMaker 2 specific server provided values
|
|
118
|
+
*/
|
|
119
|
+
readonly kafkaMirrormakers: outputs.GetServiceKafkaMirrormaker[];
|
|
120
|
+
/**
|
|
121
|
+
* Kafka user configurable settings
|
|
122
|
+
*/
|
|
123
|
+
readonly kafkaUserConfigs: outputs.GetServiceKafkaUserConfig[];
|
|
124
|
+
/**
|
|
125
|
+
* Kafka specific server provided values
|
|
126
|
+
*/
|
|
127
|
+
readonly kafkas: outputs.GetServiceKafka[];
|
|
128
|
+
/**
|
|
129
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
130
|
+
*/
|
|
131
|
+
readonly maintenanceWindowDow: string;
|
|
132
|
+
/**
|
|
133
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
134
|
+
*/
|
|
135
|
+
readonly maintenanceWindowTime: string;
|
|
136
|
+
/**
|
|
137
|
+
* Mysql user configurable settings
|
|
138
|
+
*/
|
|
139
|
+
readonly mysqlUserConfigs: outputs.GetServiceMysqlUserConfig[];
|
|
140
|
+
/**
|
|
141
|
+
* MySQL specific server provided values
|
|
142
|
+
*/
|
|
143
|
+
readonly mysqls: outputs.GetServiceMysql[];
|
|
144
|
+
/**
|
|
145
|
+
* Opensearch user configurable settings
|
|
146
|
+
*/
|
|
147
|
+
readonly opensearchUserConfigs: outputs.GetServiceOpensearchUserConfig[];
|
|
148
|
+
/**
|
|
149
|
+
* Opensearch specific server provided values
|
|
150
|
+
*/
|
|
151
|
+
readonly opensearches: outputs.GetServiceOpensearch[];
|
|
152
|
+
/**
|
|
153
|
+
* Pg user configurable settings
|
|
154
|
+
*/
|
|
155
|
+
readonly pgUserConfigs: outputs.GetServicePgUserConfig[];
|
|
156
|
+
/**
|
|
157
|
+
* PostgreSQL specific server provided values
|
|
158
|
+
*/
|
|
159
|
+
readonly pgs: outputs.GetServicePg[];
|
|
160
|
+
/**
|
|
161
|
+
* Subscription plan
|
|
162
|
+
*/
|
|
163
|
+
readonly plan: string;
|
|
164
|
+
/**
|
|
165
|
+
* Target project
|
|
166
|
+
*/
|
|
81
167
|
readonly project: string;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
168
|
+
/**
|
|
169
|
+
* Identifier of the VPC the service should be in, if any
|
|
170
|
+
*/
|
|
171
|
+
readonly projectVpcId: string;
|
|
172
|
+
/**
|
|
173
|
+
* Redis specific server provided values
|
|
174
|
+
*/
|
|
175
|
+
readonly redis: outputs.GetServiceRedi[];
|
|
176
|
+
/**
|
|
177
|
+
* Redis user configurable settings
|
|
178
|
+
*/
|
|
179
|
+
readonly redisUserConfigs: outputs.GetServiceRedisUserConfig[];
|
|
180
|
+
/**
|
|
181
|
+
* Service hostname
|
|
182
|
+
*/
|
|
85
183
|
readonly serviceHost: string;
|
|
86
|
-
|
|
184
|
+
/**
|
|
185
|
+
* Service integrations to specify when creating a service. Not applied after initial service creation
|
|
186
|
+
*/
|
|
187
|
+
readonly serviceIntegrations: outputs.GetServiceServiceIntegration[];
|
|
188
|
+
/**
|
|
189
|
+
* Service name
|
|
190
|
+
*/
|
|
87
191
|
readonly serviceName: string;
|
|
192
|
+
/**
|
|
193
|
+
* Password used for connecting to the service, if applicable
|
|
194
|
+
*/
|
|
88
195
|
readonly servicePassword: string;
|
|
196
|
+
/**
|
|
197
|
+
* Service port
|
|
198
|
+
*/
|
|
89
199
|
readonly servicePort: number;
|
|
90
|
-
|
|
200
|
+
/**
|
|
201
|
+
* Service type code
|
|
202
|
+
*/
|
|
203
|
+
readonly serviceType: string;
|
|
204
|
+
/**
|
|
205
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
206
|
+
*/
|
|
91
207
|
readonly serviceUri: string;
|
|
208
|
+
/**
|
|
209
|
+
* Username used for connecting to the service, if applicable
|
|
210
|
+
*/
|
|
92
211
|
readonly serviceUsername: string;
|
|
212
|
+
/**
|
|
213
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` and `RUNNING`.
|
|
214
|
+
*/
|
|
93
215
|
readonly state: string;
|
|
94
|
-
|
|
216
|
+
/**
|
|
217
|
+
* 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
|
|
218
|
+
*/
|
|
219
|
+
readonly staticIps: string[];
|
|
220
|
+
/**
|
|
221
|
+
* Prevent service from being deleted. It is recommended to have this enabled for all services.
|
|
222
|
+
*/
|
|
223
|
+
readonly terminationProtection: boolean;
|
|
95
224
|
}
|
|
96
225
|
export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
|
|
97
226
|
/**
|
|
98
227
|
* A collection of arguments for invoking getService.
|
|
99
228
|
*/
|
|
100
229
|
export interface GetServiceOutputArgs {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
components?: pulumi.Input<pulumi.Input<inputs.GetServiceComponentArgs>[]>;
|
|
105
|
-
elasticsearch?: pulumi.Input<inputs.GetServiceElasticsearchArgs>;
|
|
106
|
-
elasticsearchUserConfig?: pulumi.Input<inputs.GetServiceElasticsearchUserConfigArgs>;
|
|
107
|
-
grafana?: pulumi.Input<inputs.GetServiceGrafanaArgs>;
|
|
108
|
-
grafanaUserConfig?: pulumi.Input<inputs.GetServiceGrafanaUserConfigArgs>;
|
|
109
|
-
influxdb?: pulumi.Input<inputs.GetServiceInfluxdbArgs>;
|
|
110
|
-
influxdbUserConfig?: pulumi.Input<inputs.GetServiceInfluxdbUserConfigArgs>;
|
|
111
|
-
kafka?: pulumi.Input<inputs.GetServiceKafkaArgs>;
|
|
112
|
-
kafkaConnect?: pulumi.Input<inputs.GetServiceKafkaConnectArgs>;
|
|
113
|
-
kafkaConnectUserConfig?: pulumi.Input<inputs.GetServiceKafkaConnectUserConfigArgs>;
|
|
114
|
-
kafkaMirrormaker?: pulumi.Input<inputs.GetServiceKafkaMirrormakerArgs>;
|
|
115
|
-
kafkaMirrormakerUserConfig?: pulumi.Input<inputs.GetServiceKafkaMirrormakerUserConfigArgs>;
|
|
116
|
-
kafkaUserConfig?: pulumi.Input<inputs.GetServiceKafkaUserConfigArgs>;
|
|
117
|
-
maintenanceWindowDow?: pulumi.Input<string>;
|
|
118
|
-
maintenanceWindowTime?: pulumi.Input<string>;
|
|
119
|
-
mysql?: pulumi.Input<inputs.GetServiceMysqlArgs>;
|
|
120
|
-
mysqlUserConfig?: pulumi.Input<inputs.GetServiceMysqlUserConfigArgs>;
|
|
121
|
-
opensearch?: pulumi.Input<inputs.GetServiceOpensearchArgs>;
|
|
122
|
-
opensearchUserConfig?: pulumi.Input<inputs.GetServiceOpensearchUserConfigArgs>;
|
|
123
|
-
pg?: pulumi.Input<inputs.GetServicePgArgs>;
|
|
124
|
-
pgUserConfig?: pulumi.Input<inputs.GetServicePgUserConfigArgs>;
|
|
125
|
-
plan?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Target project
|
|
232
|
+
*/
|
|
126
233
|
project: pulumi.Input<string>;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
serviceHost?: pulumi.Input<string>;
|
|
131
|
-
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetServiceServiceIntegrationArgs>[]>;
|
|
234
|
+
/**
|
|
235
|
+
* Service name
|
|
236
|
+
*/
|
|
132
237
|
serviceName: pulumi.Input<string>;
|
|
133
|
-
servicePassword?: pulumi.Input<string>;
|
|
134
|
-
servicePort?: pulumi.Input<number>;
|
|
135
|
-
serviceType?: pulumi.Input<string>;
|
|
136
|
-
serviceUri?: pulumi.Input<string>;
|
|
137
|
-
serviceUsername?: pulumi.Input<string>;
|
|
138
|
-
state?: pulumi.Input<string>;
|
|
139
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
140
238
|
}
|
package/getService.js
CHANGED
|
@@ -5,51 +5,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getServiceOutput = exports.getService = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Service datasource provides information about specific Aiven Services.
|
|
10
|
+
*/
|
|
8
11
|
function getService(args, opts) {
|
|
9
12
|
if (!opts) {
|
|
10
13
|
opts = {};
|
|
11
14
|
}
|
|
12
15
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
13
16
|
return pulumi.runtime.invoke("aiven:index/getService:getService", {
|
|
14
|
-
"cassandra": args.cassandra,
|
|
15
|
-
"cassandraUserConfig": args.cassandraUserConfig,
|
|
16
|
-
"cloudName": args.cloudName,
|
|
17
|
-
"components": args.components,
|
|
18
|
-
"elasticsearch": args.elasticsearch,
|
|
19
|
-
"elasticsearchUserConfig": args.elasticsearchUserConfig,
|
|
20
|
-
"grafana": args.grafana,
|
|
21
|
-
"grafanaUserConfig": args.grafanaUserConfig,
|
|
22
|
-
"influxdb": args.influxdb,
|
|
23
|
-
"influxdbUserConfig": args.influxdbUserConfig,
|
|
24
|
-
"kafka": args.kafka,
|
|
25
|
-
"kafkaConnect": args.kafkaConnect,
|
|
26
|
-
"kafkaConnectUserConfig": args.kafkaConnectUserConfig,
|
|
27
|
-
"kafkaMirrormaker": args.kafkaMirrormaker,
|
|
28
|
-
"kafkaMirrormakerUserConfig": args.kafkaMirrormakerUserConfig,
|
|
29
|
-
"kafkaUserConfig": args.kafkaUserConfig,
|
|
30
|
-
"maintenanceWindowDow": args.maintenanceWindowDow,
|
|
31
|
-
"maintenanceWindowTime": args.maintenanceWindowTime,
|
|
32
|
-
"mysql": args.mysql,
|
|
33
|
-
"mysqlUserConfig": args.mysqlUserConfig,
|
|
34
|
-
"opensearch": args.opensearch,
|
|
35
|
-
"opensearchUserConfig": args.opensearchUserConfig,
|
|
36
|
-
"pg": args.pg,
|
|
37
|
-
"pgUserConfig": args.pgUserConfig,
|
|
38
|
-
"plan": args.plan,
|
|
39
17
|
"project": args.project,
|
|
40
|
-
"projectVpcId": args.projectVpcId,
|
|
41
|
-
"redis": args.redis,
|
|
42
|
-
"redisUserConfig": args.redisUserConfig,
|
|
43
|
-
"serviceHost": args.serviceHost,
|
|
44
|
-
"serviceIntegrations": args.serviceIntegrations,
|
|
45
18
|
"serviceName": args.serviceName,
|
|
46
|
-
"servicePassword": args.servicePassword,
|
|
47
|
-
"servicePort": args.servicePort,
|
|
48
|
-
"serviceType": args.serviceType,
|
|
49
|
-
"serviceUri": args.serviceUri,
|
|
50
|
-
"serviceUsername": args.serviceUsername,
|
|
51
|
-
"state": args.state,
|
|
52
|
-
"terminationProtection": args.terminationProtection,
|
|
53
19
|
}, opts);
|
|
54
20
|
}
|
|
55
21
|
exports.getService = getService;
|
package/getService.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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,mCAAmC,EAAE;QAC9D,
|
|
1
|
+
{"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA8ND,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/getServiceComponent.d.ts
CHANGED
|
@@ -1,29 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Service Component Data Source
|
|
4
|
-
*
|
|
5
3
|
* The Service Component data source provides information about the existing Aiven service Component.
|
|
6
4
|
*
|
|
7
|
-
* Service components can be defined to get the connection info for specific service.
|
|
8
|
-
* Services may support multiple different access routes (VPC peering and public access),
|
|
9
|
-
* have additional components or support various authentication methods. Each of these
|
|
10
|
-
* may be represented by different DNS name or TCP port and the specific component to
|
|
11
|
-
* match can be selected by specifying appropriate filters as shown below.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as aiven from "@pulumi/aiven";
|
|
18
|
-
*
|
|
19
|
-
* const sc1 = aiven.getServiceComponent({
|
|
20
|
-
* project: aiven_kafka.project1.project,
|
|
21
|
-
* serviceName: aiven_kafka.service1.service_name,
|
|
22
|
-
* component: "kafka",
|
|
23
|
-
* route: "dynamic",
|
|
24
|
-
* kafkaAuthenticationMethod: "certificate",
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
5
|
+
* Service components can be defined to get the connection info for specific service. Services may support multiple different access routes (VPC peering and public access), have additional components or support various authentication methods. Each of these may be represented by different DNS name or TCP port and the specific component to match can be selected by specifying appropriate filters as shown below.
|
|
27
6
|
*/
|
|
28
7
|
export declare function getServiceComponent(args: GetServiceComponentArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceComponentResult>;
|
|
29
8
|
/**
|
|
@@ -31,50 +10,31 @@ export declare function getServiceComponent(args: GetServiceComponentArgs, opts?
|
|
|
31
10
|
*/
|
|
32
11
|
export interface GetServiceComponentArgs {
|
|
33
12
|
/**
|
|
34
|
-
*
|
|
35
|
-
* (`cassandra`, `elasticsearch`, `grafana`, `influxdb`, `kafka`, `kafkaConnect`, `mysql`,
|
|
36
|
-
* `pg` and `redis`), in which case the connection info of the service itself is returned.
|
|
37
|
-
* Some service types support additional service specific components like `kibana` for
|
|
38
|
-
* Elasticsearch, `kafkaConnect`, `kafkaRest` and `schemaRegistry` for Kafka, and
|
|
39
|
-
* `pgbouncer` for PostgreSQL. Most service types also support `prometheus`.
|
|
13
|
+
* Service component name
|
|
40
14
|
*/
|
|
41
15
|
component: string;
|
|
42
16
|
/**
|
|
43
|
-
*
|
|
44
|
-
* to the 'kafka' service components. And has the following available options: `certificate`
|
|
45
|
-
* and `sasl`. If not set by the user only entries with empty `kafkaAuthenticationMethod`
|
|
46
|
-
* will be selected.
|
|
17
|
+
* Kafka authentication method. This is a value specific to the 'kafka' service component
|
|
47
18
|
*/
|
|
48
19
|
kafkaAuthenticationMethod?: string;
|
|
49
20
|
/**
|
|
50
|
-
*
|
|
51
|
-
* belongs to.
|
|
21
|
+
* Project name
|
|
52
22
|
*/
|
|
53
23
|
project: string;
|
|
54
24
|
/**
|
|
55
|
-
*
|
|
56
|
-
* Usually, you'll want to use `dynamic`, which for services that are not in a private network
|
|
57
|
-
* identifies the regular public DNS name of the service and for services in a private network
|
|
58
|
-
* the private DNS name. If the service is in a private network but has also public access
|
|
59
|
-
* enabled the `public` route type can be used to get the public DNS name of the service. The
|
|
60
|
-
* `private` option should typically not be used.
|
|
25
|
+
* Network access route
|
|
61
26
|
*/
|
|
62
27
|
route?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Service name
|
|
30
|
+
*/
|
|
63
31
|
serviceName?: string;
|
|
64
32
|
/**
|
|
65
|
-
*
|
|
66
|
-
* always encrypted and this property is only included for service components they may
|
|
67
|
-
* disable encryption. If not set by the user only entries with empty `ssl` or `ssl` set
|
|
68
|
-
* to true will be selected.
|
|
33
|
+
* Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
69
34
|
*/
|
|
70
35
|
ssl?: boolean;
|
|
71
36
|
/**
|
|
72
|
-
*
|
|
73
|
-
* is used by services that have separate master and standby roles for which it identifies
|
|
74
|
-
* the `replica` DNS name. `syncing` is used by limited set of services to expose nodes
|
|
75
|
-
* before they have finished restoring state but may already be partially available, for
|
|
76
|
-
* example a PostgreSQL node that is streaming WAL segments from backup or current master
|
|
77
|
-
* but hasn't yet fully caught up.
|
|
37
|
+
* DNS usage name
|
|
78
38
|
*/
|
|
79
39
|
usage?: string;
|
|
80
40
|
}
|
|
@@ -82,37 +42,44 @@ export interface GetServiceComponentArgs {
|
|
|
82
42
|
* A collection of values returned by getServiceComponent.
|
|
83
43
|
*/
|
|
84
44
|
export interface GetServiceComponentResult {
|
|
45
|
+
/**
|
|
46
|
+
* Service component name
|
|
47
|
+
*/
|
|
85
48
|
readonly component: string;
|
|
86
49
|
/**
|
|
87
|
-
*
|
|
50
|
+
* DNS name for connecting to the service component
|
|
88
51
|
*/
|
|
89
52
|
readonly host: string;
|
|
90
53
|
/**
|
|
91
54
|
* The provider-assigned unique ID for this managed resource.
|
|
92
55
|
*/
|
|
93
56
|
readonly id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Kafka authentication method. This is a value specific to the 'kafka' service component
|
|
59
|
+
*/
|
|
94
60
|
readonly kafkaAuthenticationMethod?: string;
|
|
95
61
|
/**
|
|
96
|
-
*
|
|
62
|
+
* Port number for connecting to the service component
|
|
97
63
|
*/
|
|
98
64
|
readonly port: number;
|
|
65
|
+
/**
|
|
66
|
+
* Project name
|
|
67
|
+
*/
|
|
99
68
|
readonly project: string;
|
|
69
|
+
/**
|
|
70
|
+
* Network access route
|
|
71
|
+
*/
|
|
100
72
|
readonly route?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Service name
|
|
75
|
+
*/
|
|
101
76
|
readonly serviceName?: string;
|
|
102
77
|
/**
|
|
103
|
-
*
|
|
104
|
-
* always encrypted and this property is only included for service components they may
|
|
105
|
-
* disable encryption. If not set by the user only entries with empty `ssl` or `ssl` set
|
|
106
|
-
* to true will be selected.
|
|
78
|
+
* Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
107
79
|
*/
|
|
108
80
|
readonly ssl?: boolean;
|
|
109
81
|
/**
|
|
110
|
-
*
|
|
111
|
-
* is used by services that have separate master and standby roles for which it identifies
|
|
112
|
-
* the `replica` DNS name. `syncing` is used by limited set of services to expose nodes
|
|
113
|
-
* before they have finished restoring state but may already be partially available, for
|
|
114
|
-
* example a PostgreSQL node that is streaming WAL segments from backup or current master
|
|
115
|
-
* but hasn't yet fully caught up.
|
|
82
|
+
* DNS usage name
|
|
116
83
|
*/
|
|
117
84
|
readonly usage?: string;
|
|
118
85
|
}
|
|
@@ -122,50 +89,31 @@ export declare function getServiceComponentOutput(args: GetServiceComponentOutpu
|
|
|
122
89
|
*/
|
|
123
90
|
export interface GetServiceComponentOutputArgs {
|
|
124
91
|
/**
|
|
125
|
-
*
|
|
126
|
-
* (`cassandra`, `elasticsearch`, `grafana`, `influxdb`, `kafka`, `kafkaConnect`, `mysql`,
|
|
127
|
-
* `pg` and `redis`), in which case the connection info of the service itself is returned.
|
|
128
|
-
* Some service types support additional service specific components like `kibana` for
|
|
129
|
-
* Elasticsearch, `kafkaConnect`, `kafkaRest` and `schemaRegistry` for Kafka, and
|
|
130
|
-
* `pgbouncer` for PostgreSQL. Most service types also support `prometheus`.
|
|
92
|
+
* Service component name
|
|
131
93
|
*/
|
|
132
94
|
component: pulumi.Input<string>;
|
|
133
95
|
/**
|
|
134
|
-
*
|
|
135
|
-
* to the 'kafka' service components. And has the following available options: `certificate`
|
|
136
|
-
* and `sasl`. If not set by the user only entries with empty `kafkaAuthenticationMethod`
|
|
137
|
-
* will be selected.
|
|
96
|
+
* Kafka authentication method. This is a value specific to the 'kafka' service component
|
|
138
97
|
*/
|
|
139
98
|
kafkaAuthenticationMethod?: pulumi.Input<string>;
|
|
140
99
|
/**
|
|
141
|
-
*
|
|
142
|
-
* belongs to.
|
|
100
|
+
* Project name
|
|
143
101
|
*/
|
|
144
102
|
project: pulumi.Input<string>;
|
|
145
103
|
/**
|
|
146
|
-
*
|
|
147
|
-
* Usually, you'll want to use `dynamic`, which for services that are not in a private network
|
|
148
|
-
* identifies the regular public DNS name of the service and for services in a private network
|
|
149
|
-
* the private DNS name. If the service is in a private network but has also public access
|
|
150
|
-
* enabled the `public` route type can be used to get the public DNS name of the service. The
|
|
151
|
-
* `private` option should typically not be used.
|
|
104
|
+
* Network access route
|
|
152
105
|
*/
|
|
153
106
|
route?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Service name
|
|
109
|
+
*/
|
|
154
110
|
serviceName?: pulumi.Input<string>;
|
|
155
111
|
/**
|
|
156
|
-
*
|
|
157
|
-
* always encrypted and this property is only included for service components they may
|
|
158
|
-
* disable encryption. If not set by the user only entries with empty `ssl` or `ssl` set
|
|
159
|
-
* to true will be selected.
|
|
112
|
+
* Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
160
113
|
*/
|
|
161
114
|
ssl?: pulumi.Input<boolean>;
|
|
162
115
|
/**
|
|
163
|
-
*
|
|
164
|
-
* is used by services that have separate master and standby roles for which it identifies
|
|
165
|
-
* the `replica` DNS name. `syncing` is used by limited set of services to expose nodes
|
|
166
|
-
* before they have finished restoring state but may already be partially available, for
|
|
167
|
-
* example a PostgreSQL node that is streaming WAL segments from backup or current master
|
|
168
|
-
* but hasn't yet fully caught up.
|
|
116
|
+
* DNS usage name
|
|
169
117
|
*/
|
|
170
118
|
usage?: pulumi.Input<string>;
|
|
171
119
|
}
|
package/getServiceComponent.js
CHANGED
|
@@ -6,30 +6,9 @@ exports.getServiceComponentOutput = exports.getServiceComponent = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Service Component Data Source
|
|
10
|
-
*
|
|
11
9
|
* The Service Component data source provides information about the existing Aiven service Component.
|
|
12
10
|
*
|
|
13
|
-
* Service components can be defined to get the connection info for specific service.
|
|
14
|
-
* Services may support multiple different access routes (VPC peering and public access),
|
|
15
|
-
* have additional components or support various authentication methods. Each of these
|
|
16
|
-
* may be represented by different DNS name or TCP port and the specific component to
|
|
17
|
-
* match can be selected by specifying appropriate filters as shown below.
|
|
18
|
-
*
|
|
19
|
-
* ## Example Usage
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as aiven from "@pulumi/aiven";
|
|
24
|
-
*
|
|
25
|
-
* const sc1 = aiven.getServiceComponent({
|
|
26
|
-
* project: aiven_kafka.project1.project,
|
|
27
|
-
* serviceName: aiven_kafka.service1.service_name,
|
|
28
|
-
* component: "kafka",
|
|
29
|
-
* route: "dynamic",
|
|
30
|
-
* kafkaAuthenticationMethod: "certificate",
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
11
|
+
* Service components can be defined to get the connection info for specific service. Services may support multiple different access routes (VPC peering and public access), have additional components or support various authentication methods. Each of these may be represented by different DNS name or TCP port and the specific component to match can be selected by specifying appropriate filters as shown below.
|
|
33
12
|
*/
|
|
34
13
|
function getServiceComponent(args, opts) {
|
|
35
14
|
if (!opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServiceComponent.js","sourceRoot":"","sources":["../getServiceComponent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getServiceComponent.js","sourceRoot":"","sources":["../getServiceComponent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,kDAeC;AAkFD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|