@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
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* The Kafka Schema Configuration data source provides information about the existing Aiven
|
|
6
|
-
* Kafka Schema Configuration.
|
|
3
|
+
* The Kafka Schema Configuration data source provides information about the existing Aiven Kafka Schema Configuration.
|
|
7
4
|
*
|
|
8
5
|
* ## Example Usage
|
|
9
6
|
*
|
|
@@ -11,9 +8,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
9
|
* import * as aiven from "@pulumi/aiven";
|
|
13
10
|
*
|
|
14
|
-
* const config = aiven.
|
|
11
|
+
* const config = new aiven.KafkaSchemaConfiguration("config", {
|
|
15
12
|
* project: aiven_project["kafka-schemas-project1"].project,
|
|
16
|
-
* serviceName:
|
|
13
|
+
* serviceName: aiven_kafka["kafka-service1"].service_name,
|
|
14
|
+
* compatibilityLevel: "BACKWARD",
|
|
17
15
|
* });
|
|
18
16
|
* ```
|
|
19
17
|
*/
|
|
@@ -23,45 +21,45 @@ export declare function getKafkaSchemaConfiguration(args: GetKafkaSchemaConfigur
|
|
|
23
21
|
*/
|
|
24
22
|
export interface GetKafkaSchemaConfigurationArgs {
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
27
|
-
* for `aiven.KafkaSchemaConfiguration` resource. Also, Kafka Schema configuration
|
|
28
|
-
* compatibility level can be overridden for a specific subject when used in `aiven.KafkaSchema`
|
|
29
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
30
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
31
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
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.
|
|
32
25
|
*/
|
|
33
|
-
|
|
26
|
+
project: string;
|
|
34
27
|
/**
|
|
35
|
-
*
|
|
36
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
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.
|
|
37
29
|
*/
|
|
38
|
-
project: string;
|
|
39
|
-
schema?: string;
|
|
40
30
|
serviceName: string;
|
|
41
|
-
subjectName?: string;
|
|
42
|
-
version?: number;
|
|
43
31
|
}
|
|
44
32
|
/**
|
|
45
33
|
* A collection of values returned by getKafkaSchemaConfiguration.
|
|
46
34
|
*/
|
|
47
35
|
export interface GetKafkaSchemaConfigurationResult {
|
|
48
36
|
/**
|
|
49
|
-
*
|
|
50
|
-
* for `aiven.KafkaSchemaConfiguration` resource. Also, Kafka Schema configuration
|
|
51
|
-
* compatibility level can be overridden for a specific subject when used in `aiven.KafkaSchema`
|
|
52
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
53
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
54
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
37
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
55
38
|
*/
|
|
56
|
-
readonly compatibilityLevel
|
|
39
|
+
readonly compatibilityLevel: string;
|
|
57
40
|
/**
|
|
58
41
|
* The provider-assigned unique ID for this managed resource.
|
|
59
42
|
*/
|
|
60
43
|
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* 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.
|
|
46
|
+
*/
|
|
61
47
|
readonly project: string;
|
|
62
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Kafka Schema configuration should be a valid Avro Schema JSON format.
|
|
50
|
+
*/
|
|
51
|
+
readonly schema: 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
|
+
*/
|
|
63
55
|
readonly serviceName: string;
|
|
64
|
-
|
|
56
|
+
/**
|
|
57
|
+
* The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
|
|
58
|
+
*/
|
|
59
|
+
readonly subjectName: string;
|
|
60
|
+
/**
|
|
61
|
+
* Kafka Schema configuration version.
|
|
62
|
+
*/
|
|
65
63
|
readonly version: number;
|
|
66
64
|
}
|
|
67
65
|
export declare function getKafkaSchemaConfigurationOutput(args: GetKafkaSchemaConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKafkaSchemaConfigurationResult>;
|
|
@@ -70,21 +68,11 @@ export declare function getKafkaSchemaConfigurationOutput(args: GetKafkaSchemaCo
|
|
|
70
68
|
*/
|
|
71
69
|
export interface GetKafkaSchemaConfigurationOutputArgs {
|
|
72
70
|
/**
|
|
73
|
-
*
|
|
74
|
-
* for `aiven.KafkaSchemaConfiguration` resource. Also, Kafka Schema configuration
|
|
75
|
-
* compatibility level can be overridden for a specific subject when used in `aiven.KafkaSchema`
|
|
76
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
77
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
78
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
71
|
+
* 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.
|
|
79
72
|
*/
|
|
80
|
-
|
|
73
|
+
project: pulumi.Input<string>;
|
|
81
74
|
/**
|
|
82
|
-
*
|
|
83
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
75
|
+
* 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.
|
|
84
76
|
*/
|
|
85
|
-
project: pulumi.Input<string>;
|
|
86
|
-
schema?: pulumi.Input<string>;
|
|
87
77
|
serviceName: pulumi.Input<string>;
|
|
88
|
-
subjectName?: pulumi.Input<string>;
|
|
89
|
-
version?: pulumi.Input<number>;
|
|
90
78
|
}
|
|
@@ -6,10 +6,7 @@ exports.getKafkaSchemaConfigurationOutput = exports.getKafkaSchemaConfiguration
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* The Kafka Schema Configuration data source provides information about the existing Aiven
|
|
12
|
-
* Kafka Schema Configuration.
|
|
9
|
+
* The Kafka Schema Configuration data source provides information about the existing Aiven Kafka Schema Configuration.
|
|
13
10
|
*
|
|
14
11
|
* ## Example Usage
|
|
15
12
|
*
|
|
@@ -17,9 +14,10 @@ const utilities = require("./utilities");
|
|
|
17
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
15
|
* import * as aiven from "@pulumi/aiven";
|
|
19
16
|
*
|
|
20
|
-
* const config = aiven.
|
|
17
|
+
* const config = new aiven.KafkaSchemaConfiguration("config", {
|
|
21
18
|
* project: aiven_project["kafka-schemas-project1"].project,
|
|
22
|
-
* serviceName:
|
|
19
|
+
* serviceName: aiven_kafka["kafka-service1"].service_name,
|
|
20
|
+
* compatibilityLevel: "BACKWARD",
|
|
23
21
|
* });
|
|
24
22
|
* ```
|
|
25
23
|
*/
|
|
@@ -29,12 +27,8 @@ function getKafkaSchemaConfiguration(args, opts) {
|
|
|
29
27
|
}
|
|
30
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
29
|
return pulumi.runtime.invoke("aiven:index/getKafkaSchemaConfiguration:getKafkaSchemaConfiguration", {
|
|
32
|
-
"compatibilityLevel": args.compatibilityLevel,
|
|
33
30
|
"project": args.project,
|
|
34
|
-
"schema": args.schema,
|
|
35
31
|
"serviceName": args.serviceName,
|
|
36
|
-
"subjectName": args.subjectName,
|
|
37
|
-
"version": args.version,
|
|
38
32
|
}, opts);
|
|
39
33
|
}
|
|
40
34
|
exports.getKafkaSchemaConfiguration = getKafkaSchemaConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKafkaSchemaConfiguration.js","sourceRoot":"","sources":["../getKafkaSchemaConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getKafkaSchemaConfiguration.js","sourceRoot":"","sources":["../getKafkaSchemaConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,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,qEAAqE,EAAE;QAChG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kEAUC;AAkDD,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,8EAEC"}
|
package/getKafkaTopic.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import {
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Kafka Topic Data Source
|
|
5
|
-
*
|
|
6
4
|
* The Kafka Topic data source provides information about the existing Aiven Kafka Topic.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -15,13 +13,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
15
13
|
* project: aiven_project.myproject.project,
|
|
16
14
|
* serviceName: aiven_service.myservice.service_name,
|
|
17
15
|
* topicName: "<TOPIC_NAME>",
|
|
18
|
-
* partitions: 3,
|
|
19
|
-
* replication: 1,
|
|
20
|
-
* config: {
|
|
21
|
-
* flushMs: 10,
|
|
22
|
-
* uncleanLeaderElectionEnable: true,
|
|
23
|
-
* cleanupPolicy: "compact",
|
|
24
|
-
* },
|
|
25
16
|
* });
|
|
26
17
|
* ```
|
|
27
18
|
*/
|
|
@@ -31,47 +22,15 @@ export declare function getKafkaTopic(args: GetKafkaTopicArgs, opts?: pulumi.Inv
|
|
|
31
22
|
*/
|
|
32
23
|
export interface GetKafkaTopicArgs {
|
|
33
24
|
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
cleanupPolicy?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Kafka topic configuration
|
|
39
|
-
*/
|
|
40
|
-
config?: inputs.GetKafkaTopicConfig;
|
|
41
|
-
/**
|
|
42
|
-
* Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
43
|
-
*/
|
|
44
|
-
minimumInSyncReplicas?: number;
|
|
45
|
-
/**
|
|
46
|
-
* Number of partitions to create in the topic.
|
|
47
|
-
*/
|
|
48
|
-
partitions?: number;
|
|
49
|
-
/**
|
|
50
|
-
* and `serviceName` - (Required) define the project and service the topic belongs to.
|
|
51
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
52
|
-
* These properties cannot be changed once the service is created. Doing so will result in
|
|
53
|
-
* the topic being deleted and new one created instead.
|
|
25
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
54
26
|
*/
|
|
55
27
|
project: string;
|
|
56
28
|
/**
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
replication?: number;
|
|
60
|
-
/**
|
|
61
|
-
* retention.bytes value
|
|
62
|
-
*/
|
|
63
|
-
retentionBytes?: number;
|
|
64
|
-
/**
|
|
65
|
-
* Retention period in hours, if -1 it is infinite.
|
|
29
|
+
* 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.
|
|
66
30
|
*/
|
|
67
|
-
retentionHours?: number;
|
|
68
31
|
serviceName: string;
|
|
69
|
-
tags?: inputs.GetKafkaTopicTag[];
|
|
70
|
-
terminationProtection?: boolean;
|
|
71
32
|
/**
|
|
72
|
-
*
|
|
73
|
-
* once the service is created. Doing so will result in the topic being deleted and new one
|
|
74
|
-
* created instead.
|
|
33
|
+
* The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
|
|
75
34
|
*/
|
|
76
35
|
topicName: string;
|
|
77
36
|
}
|
|
@@ -80,41 +39,53 @@ export interface GetKafkaTopicArgs {
|
|
|
80
39
|
*/
|
|
81
40
|
export interface GetKafkaTopicResult {
|
|
82
41
|
/**
|
|
83
|
-
* cleanup.
|
|
42
|
+
* **DEPRECATED use config.cleanup_policy instead** Topic cleanup policy. The possible values are `delete` and `compact`.
|
|
84
43
|
*/
|
|
85
|
-
readonly cleanupPolicy
|
|
44
|
+
readonly cleanupPolicy: string;
|
|
86
45
|
/**
|
|
87
46
|
* Kafka topic configuration
|
|
88
47
|
*/
|
|
89
|
-
readonly
|
|
48
|
+
readonly configs: outputs.GetKafkaTopicConfig[];
|
|
90
49
|
/**
|
|
91
50
|
* The provider-assigned unique ID for this managed resource.
|
|
92
51
|
*/
|
|
93
52
|
readonly id: string;
|
|
94
53
|
/**
|
|
95
|
-
* Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
54
|
+
* **DEPRECATED use config.min*insync*replicas instead** Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
96
55
|
*/
|
|
97
|
-
readonly minimumInSyncReplicas
|
|
56
|
+
readonly minimumInSyncReplicas: number;
|
|
98
57
|
/**
|
|
99
|
-
*
|
|
58
|
+
* The number of partitions to create in the topic.
|
|
59
|
+
*/
|
|
60
|
+
readonly partitions: number;
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
100
63
|
*/
|
|
101
|
-
readonly partitions?: number;
|
|
102
64
|
readonly project: string;
|
|
103
65
|
/**
|
|
104
|
-
*
|
|
66
|
+
* The replication factor for the topic.
|
|
67
|
+
*/
|
|
68
|
+
readonly replication: number;
|
|
69
|
+
/**
|
|
70
|
+
* **DEPRECATED use config.retention_bytes instead** Retention bytes.
|
|
105
71
|
*/
|
|
106
|
-
readonly
|
|
72
|
+
readonly retentionBytes: number;
|
|
107
73
|
/**
|
|
108
|
-
*
|
|
74
|
+
* **DEPRECATED use config.retention_ms instead** Retention period (hours).
|
|
109
75
|
*/
|
|
110
|
-
readonly
|
|
76
|
+
readonly retentionHours: number;
|
|
111
77
|
/**
|
|
112
|
-
*
|
|
78
|
+
* 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.
|
|
113
79
|
*/
|
|
114
|
-
readonly retentionHours?: number;
|
|
115
80
|
readonly serviceName: string;
|
|
116
|
-
|
|
117
|
-
|
|
81
|
+
/**
|
|
82
|
+
* Kafka Topic tag.
|
|
83
|
+
*/
|
|
84
|
+
readonly tags: outputs.GetKafkaTopicTag[];
|
|
85
|
+
readonly terminationProtection: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
|
|
88
|
+
*/
|
|
118
89
|
readonly topicName: string;
|
|
119
90
|
}
|
|
120
91
|
export declare function getKafkaTopicOutput(args: GetKafkaTopicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKafkaTopicResult>;
|
|
@@ -123,47 +94,15 @@ export declare function getKafkaTopicOutput(args: GetKafkaTopicOutputArgs, opts?
|
|
|
123
94
|
*/
|
|
124
95
|
export interface GetKafkaTopicOutputArgs {
|
|
125
96
|
/**
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
cleanupPolicy?: pulumi.Input<string>;
|
|
129
|
-
/**
|
|
130
|
-
* Kafka topic configuration
|
|
131
|
-
*/
|
|
132
|
-
config?: pulumi.Input<inputs.GetKafkaTopicConfigArgs>;
|
|
133
|
-
/**
|
|
134
|
-
* Minimum required nodes in-sync replicas (ISR) to produce to a partition.
|
|
135
|
-
*/
|
|
136
|
-
minimumInSyncReplicas?: pulumi.Input<number>;
|
|
137
|
-
/**
|
|
138
|
-
* Number of partitions to create in the topic.
|
|
139
|
-
*/
|
|
140
|
-
partitions?: pulumi.Input<number>;
|
|
141
|
-
/**
|
|
142
|
-
* and `serviceName` - (Required) define the project and service the topic belongs to.
|
|
143
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
144
|
-
* These properties cannot be changed once the service is created. Doing so will result in
|
|
145
|
-
* the topic being deleted and new one created instead.
|
|
97
|
+
* 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.
|
|
146
98
|
*/
|
|
147
99
|
project: pulumi.Input<string>;
|
|
148
100
|
/**
|
|
149
|
-
*
|
|
150
|
-
*/
|
|
151
|
-
replication?: pulumi.Input<number>;
|
|
152
|
-
/**
|
|
153
|
-
* retention.bytes value
|
|
154
|
-
*/
|
|
155
|
-
retentionBytes?: pulumi.Input<number>;
|
|
156
|
-
/**
|
|
157
|
-
* Retention period in hours, if -1 it is infinite.
|
|
101
|
+
* 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.
|
|
158
102
|
*/
|
|
159
|
-
retentionHours?: pulumi.Input<number>;
|
|
160
103
|
serviceName: pulumi.Input<string>;
|
|
161
|
-
tags?: pulumi.Input<pulumi.Input<inputs.GetKafkaTopicTagArgs>[]>;
|
|
162
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
163
104
|
/**
|
|
164
|
-
*
|
|
165
|
-
* once the service is created. Doing so will result in the topic being deleted and new one
|
|
166
|
-
* created instead.
|
|
105
|
+
* The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
|
|
167
106
|
*/
|
|
168
107
|
topicName: pulumi.Input<string>;
|
|
169
108
|
}
|
package/getKafkaTopic.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.getKafkaTopicOutput = exports.getKafkaTopic = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Kafka Topic Data Source
|
|
10
|
-
*
|
|
11
9
|
* The Kafka Topic data source provides information about the existing Aiven Kafka Topic.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -20,13 +18,6 @@ const utilities = require("./utilities");
|
|
|
20
18
|
* project: aiven_project.myproject.project,
|
|
21
19
|
* serviceName: aiven_service.myservice.service_name,
|
|
22
20
|
* topicName: "<TOPIC_NAME>",
|
|
23
|
-
* partitions: 3,
|
|
24
|
-
* replication: 1,
|
|
25
|
-
* config: {
|
|
26
|
-
* flushMs: 10,
|
|
27
|
-
* uncleanLeaderElectionEnable: true,
|
|
28
|
-
* cleanupPolicy: "compact",
|
|
29
|
-
* },
|
|
30
21
|
* });
|
|
31
22
|
* ```
|
|
32
23
|
*/
|
|
@@ -36,17 +27,8 @@ function getKafkaTopic(args, opts) {
|
|
|
36
27
|
}
|
|
37
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
29
|
return pulumi.runtime.invoke("aiven:index/getKafkaTopic:getKafkaTopic", {
|
|
39
|
-
"cleanupPolicy": args.cleanupPolicy,
|
|
40
|
-
"config": args.config,
|
|
41
|
-
"minimumInSyncReplicas": args.minimumInSyncReplicas,
|
|
42
|
-
"partitions": args.partitions,
|
|
43
30
|
"project": args.project,
|
|
44
|
-
"replication": args.replication,
|
|
45
|
-
"retentionBytes": args.retentionBytes,
|
|
46
|
-
"retentionHours": args.retentionHours,
|
|
47
31
|
"serviceName": args.serviceName,
|
|
48
|
-
"tags": args.tags,
|
|
49
|
-
"terminationProtection": args.terminationProtection,
|
|
50
32
|
"topicName": args.topicName,
|
|
51
33
|
}, opts);
|
|
52
34
|
}
|
package/getKafkaTopic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKafkaTopic.js","sourceRoot":"","sources":["../getKafkaTopic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getKafkaTopic.js","sourceRoot":"","sources":["../getKafkaTopic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;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;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AA2ED,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"}
|