@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/kafkaMirrorMaker.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Kafka MirrorMaker Resource
|
|
5
|
-
*
|
|
6
4
|
* The Kafka MirrorMaker resource allows the creation and management of Aiven Kafka MirrorMaker 2 services.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -44,13 +42,7 @@ export declare class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
44
42
|
*/
|
|
45
43
|
static isInstance(obj: any): obj is KafkaMirrorMaker;
|
|
46
44
|
/**
|
|
47
|
-
*
|
|
48
|
-
* in. This can be changed freely after service is created. Changing the value will trigger
|
|
49
|
-
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
50
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
51
|
-
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
52
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
53
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
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).
|
|
54
46
|
*/
|
|
55
47
|
readonly cloudName: pulumi.Output<string | undefined>;
|
|
56
48
|
/**
|
|
@@ -58,51 +50,55 @@ export declare class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
58
50
|
*/
|
|
59
51
|
readonly components: pulumi.Output<outputs.KafkaMirrorMakerComponent[]>;
|
|
60
52
|
/**
|
|
61
|
-
*
|
|
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: pulumi.Output<string | undefined>;
|
|
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: pulumi.Output<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: pulumi.Output<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.
|
|
62
66
|
*/
|
|
63
|
-
readonly
|
|
67
|
+
readonly diskSpaceStep: pulumi.Output<string>;
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
66
|
-
|
|
69
|
+
* Disk space that service is currently using
|
|
70
|
+
*/
|
|
71
|
+
readonly diskSpaceUsed: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Kafka*mirrormaker user configurable settings
|
|
67
74
|
*/
|
|
68
75
|
readonly kafkaMirrormakerUserConfig: pulumi.Output<outputs.KafkaMirrorMakerKafkaMirrormakerUserConfig | undefined>;
|
|
69
76
|
/**
|
|
70
|
-
*
|
|
71
|
-
|
|
77
|
+
* Kafka MirrorMaker 2 server provided values
|
|
78
|
+
*/
|
|
79
|
+
readonly kafkaMirrormakers: pulumi.Output<outputs.KafkaMirrorMakerKafkaMirrormaker[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
72
82
|
*/
|
|
73
83
|
readonly maintenanceWindowDow: pulumi.Output<string | undefined>;
|
|
74
84
|
/**
|
|
75
|
-
*
|
|
76
|
-
* UTC time in HH:mm:ss format.
|
|
85
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
77
86
|
*/
|
|
78
87
|
readonly maintenanceWindowTime: pulumi.Output<string | undefined>;
|
|
79
88
|
/**
|
|
80
|
-
*
|
|
81
|
-
* be changed after creation, though there are some restrictions when going to a smaller
|
|
82
|
-
* plan such as the new plan must have sufficient amount of disk space to store all current
|
|
83
|
-
* data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
84
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
85
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs
|
|
86
|
-
* 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).
|
|
89
|
+
* Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
87
90
|
*/
|
|
88
91
|
readonly plan: pulumi.Output<string | undefined>;
|
|
89
92
|
/**
|
|
90
|
-
*
|
|
91
|
-
* between the project and the service, refer to the project as shown in the above example.
|
|
92
|
-
* Project cannot be changed later without destroying and re-creating the service.
|
|
93
|
+
* 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.
|
|
93
94
|
*/
|
|
94
95
|
readonly project: pulumi.Output<string>;
|
|
95
96
|
/**
|
|
96
|
-
*
|
|
97
|
-
* is not set the service is not run inside a VPC. When set, the value should be given as a
|
|
98
|
-
* reference as shown above to set up dependencies correctly and the VPC must be in the same
|
|
99
|
-
* cloud and region as the service itself. Project can be freely moved to and from VPC after
|
|
100
|
-
* creation but doing so triggers migration to new servers so the operation can take
|
|
101
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
97
|
+
* 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.
|
|
102
98
|
*/
|
|
103
99
|
readonly projectVpcId: pulumi.Output<string | undefined>;
|
|
104
100
|
/**
|
|
105
|
-
*
|
|
101
|
+
* The hostname of the service.
|
|
106
102
|
*/
|
|
107
103
|
readonly serviceHost: pulumi.Output<string>;
|
|
108
104
|
/**
|
|
@@ -110,17 +106,15 @@ export declare class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
110
106
|
*/
|
|
111
107
|
readonly serviceIntegrations: pulumi.Output<outputs.KafkaMirrorMakerServiceIntegration[] | undefined>;
|
|
112
108
|
/**
|
|
113
|
-
*
|
|
114
|
-
* later without destroying and re-creating the service so name should be picked based on
|
|
115
|
-
* intended service usage rather than current attributes.
|
|
109
|
+
* 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.
|
|
116
110
|
*/
|
|
117
111
|
readonly serviceName: pulumi.Output<string>;
|
|
118
112
|
/**
|
|
119
|
-
* Password used for connecting to the
|
|
113
|
+
* Password used for connecting to the service, if applicable
|
|
120
114
|
*/
|
|
121
115
|
readonly servicePassword: pulumi.Output<string>;
|
|
122
116
|
/**
|
|
123
|
-
*
|
|
117
|
+
* The port of the service
|
|
124
118
|
*/
|
|
125
119
|
readonly servicePort: pulumi.Output<number>;
|
|
126
120
|
/**
|
|
@@ -128,23 +122,23 @@ export declare class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
128
122
|
*/
|
|
129
123
|
readonly serviceType: pulumi.Output<string>;
|
|
130
124
|
/**
|
|
131
|
-
* URI for connecting to the
|
|
125
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
132
126
|
*/
|
|
133
127
|
readonly serviceUri: pulumi.Output<string>;
|
|
134
128
|
/**
|
|
135
|
-
* Username used for connecting to the
|
|
129
|
+
* Username used for connecting to the service, if applicable
|
|
136
130
|
*/
|
|
137
131
|
readonly serviceUsername: pulumi.Output<string>;
|
|
138
132
|
/**
|
|
139
|
-
* Service state.
|
|
133
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
140
134
|
*/
|
|
141
135
|
readonly state: pulumi.Output<string>;
|
|
142
136
|
/**
|
|
143
|
-
*
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
* deletion is done.
|
|
137
|
+
* 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
|
|
138
|
+
*/
|
|
139
|
+
readonly staticIps: pulumi.Output<string[] | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* 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.
|
|
148
142
|
*/
|
|
149
143
|
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
150
144
|
/**
|
|
@@ -161,13 +155,7 @@ export declare class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
161
155
|
*/
|
|
162
156
|
export interface KafkaMirrorMakerState {
|
|
163
157
|
/**
|
|
164
|
-
*
|
|
165
|
-
* in. This can be changed freely after service is created. Changing the value will trigger
|
|
166
|
-
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
167
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
168
|
-
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
169
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
170
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
158
|
+
* 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).
|
|
171
159
|
*/
|
|
172
160
|
cloudName?: pulumi.Input<string>;
|
|
173
161
|
/**
|
|
@@ -175,51 +163,55 @@ export interface KafkaMirrorMakerState {
|
|
|
175
163
|
*/
|
|
176
164
|
components?: pulumi.Input<pulumi.Input<inputs.KafkaMirrorMakerComponent>[]>;
|
|
177
165
|
/**
|
|
178
|
-
*
|
|
166
|
+
* 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.
|
|
179
167
|
*/
|
|
180
|
-
|
|
168
|
+
diskSpace?: pulumi.Input<string>;
|
|
181
169
|
/**
|
|
182
|
-
*
|
|
183
|
-
|
|
170
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
171
|
+
*/
|
|
172
|
+
diskSpaceCap?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* 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`
|
|
175
|
+
*/
|
|
176
|
+
diskSpaceDefault?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* 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.
|
|
179
|
+
*/
|
|
180
|
+
diskSpaceStep?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Disk space that service is currently using
|
|
183
|
+
*/
|
|
184
|
+
diskSpaceUsed?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Kafka*mirrormaker user configurable settings
|
|
184
187
|
*/
|
|
185
188
|
kafkaMirrormakerUserConfig?: pulumi.Input<inputs.KafkaMirrorMakerKafkaMirrormakerUserConfig>;
|
|
186
189
|
/**
|
|
187
|
-
*
|
|
188
|
-
|
|
190
|
+
* Kafka MirrorMaker 2 server provided values
|
|
191
|
+
*/
|
|
192
|
+
kafkaMirrormakers?: pulumi.Input<pulumi.Input<inputs.KafkaMirrorMakerKafkaMirrormaker>[]>;
|
|
193
|
+
/**
|
|
194
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
189
195
|
*/
|
|
190
196
|
maintenanceWindowDow?: pulumi.Input<string>;
|
|
191
197
|
/**
|
|
192
|
-
*
|
|
193
|
-
* UTC time in HH:mm:ss format.
|
|
198
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
194
199
|
*/
|
|
195
200
|
maintenanceWindowTime?: pulumi.Input<string>;
|
|
196
201
|
/**
|
|
197
|
-
*
|
|
198
|
-
* be changed after creation, though there are some restrictions when going to a smaller
|
|
199
|
-
* plan such as the new plan must have sufficient amount of disk space to store all current
|
|
200
|
-
* data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
201
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
202
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs
|
|
203
|
-
* 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).
|
|
202
|
+
* 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).
|
|
204
203
|
*/
|
|
205
204
|
plan?: pulumi.Input<string>;
|
|
206
205
|
/**
|
|
207
|
-
*
|
|
208
|
-
* between the project and the service, refer to the project as shown in the above example.
|
|
209
|
-
* Project cannot be changed later without destroying and re-creating the service.
|
|
206
|
+
* 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.
|
|
210
207
|
*/
|
|
211
208
|
project?: pulumi.Input<string>;
|
|
212
209
|
/**
|
|
213
|
-
*
|
|
214
|
-
* is not set the service is not run inside a VPC. When set, the value should be given as a
|
|
215
|
-
* reference as shown above to set up dependencies correctly and the VPC must be in the same
|
|
216
|
-
* cloud and region as the service itself. Project can be freely moved to and from VPC after
|
|
217
|
-
* creation but doing so triggers migration to new servers so the operation can take
|
|
218
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
210
|
+
* 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.
|
|
219
211
|
*/
|
|
220
212
|
projectVpcId?: pulumi.Input<string>;
|
|
221
213
|
/**
|
|
222
|
-
*
|
|
214
|
+
* The hostname of the service.
|
|
223
215
|
*/
|
|
224
216
|
serviceHost?: pulumi.Input<string>;
|
|
225
217
|
/**
|
|
@@ -227,17 +219,15 @@ export interface KafkaMirrorMakerState {
|
|
|
227
219
|
*/
|
|
228
220
|
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.KafkaMirrorMakerServiceIntegration>[]>;
|
|
229
221
|
/**
|
|
230
|
-
*
|
|
231
|
-
* later without destroying and re-creating the service so name should be picked based on
|
|
232
|
-
* intended service usage rather than current attributes.
|
|
222
|
+
* 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.
|
|
233
223
|
*/
|
|
234
224
|
serviceName?: pulumi.Input<string>;
|
|
235
225
|
/**
|
|
236
|
-
* Password used for connecting to the
|
|
226
|
+
* Password used for connecting to the service, if applicable
|
|
237
227
|
*/
|
|
238
228
|
servicePassword?: pulumi.Input<string>;
|
|
239
229
|
/**
|
|
240
|
-
*
|
|
230
|
+
* The port of the service
|
|
241
231
|
*/
|
|
242
232
|
servicePort?: pulumi.Input<number>;
|
|
243
233
|
/**
|
|
@@ -245,23 +235,23 @@ export interface KafkaMirrorMakerState {
|
|
|
245
235
|
*/
|
|
246
236
|
serviceType?: pulumi.Input<string>;
|
|
247
237
|
/**
|
|
248
|
-
* URI for connecting to the
|
|
238
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
249
239
|
*/
|
|
250
240
|
serviceUri?: pulumi.Input<string>;
|
|
251
241
|
/**
|
|
252
|
-
* Username used for connecting to the
|
|
242
|
+
* Username used for connecting to the service, if applicable
|
|
253
243
|
*/
|
|
254
244
|
serviceUsername?: pulumi.Input<string>;
|
|
255
245
|
/**
|
|
256
|
-
* Service state.
|
|
246
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
257
247
|
*/
|
|
258
248
|
state?: pulumi.Input<string>;
|
|
259
249
|
/**
|
|
260
|
-
*
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
* deletion is done.
|
|
250
|
+
* 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
|
|
251
|
+
*/
|
|
252
|
+
staticIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
253
|
+
/**
|
|
254
|
+
* 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.
|
|
265
255
|
*/
|
|
266
256
|
terminationProtection?: pulumi.Input<boolean>;
|
|
267
257
|
}
|
|
@@ -270,57 +260,35 @@ export interface KafkaMirrorMakerState {
|
|
|
270
260
|
*/
|
|
271
261
|
export interface KafkaMirrorMakerArgs {
|
|
272
262
|
/**
|
|
273
|
-
*
|
|
274
|
-
* in. This can be changed freely after service is created. Changing the value will trigger
|
|
275
|
-
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
276
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
277
|
-
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
278
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
279
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
263
|
+
* 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).
|
|
280
264
|
*/
|
|
281
265
|
cloudName?: pulumi.Input<string>;
|
|
282
266
|
/**
|
|
283
|
-
*
|
|
267
|
+
* 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.
|
|
284
268
|
*/
|
|
285
|
-
|
|
269
|
+
diskSpace?: pulumi.Input<string>;
|
|
286
270
|
/**
|
|
287
|
-
*
|
|
288
|
-
* The following configuration options available:
|
|
271
|
+
* Kafka*mirrormaker user configurable settings
|
|
289
272
|
*/
|
|
290
273
|
kafkaMirrormakerUserConfig?: pulumi.Input<inputs.KafkaMirrorMakerKafkaMirrormakerUserConfig>;
|
|
291
274
|
/**
|
|
292
|
-
*
|
|
293
|
-
* On monday, tuesday, wednesday, etc.
|
|
275
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
294
276
|
*/
|
|
295
277
|
maintenanceWindowDow?: pulumi.Input<string>;
|
|
296
278
|
/**
|
|
297
|
-
*
|
|
298
|
-
* UTC time in HH:mm:ss format.
|
|
279
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
299
280
|
*/
|
|
300
281
|
maintenanceWindowTime?: pulumi.Input<string>;
|
|
301
282
|
/**
|
|
302
|
-
*
|
|
303
|
-
* be changed after creation, though there are some restrictions when going to a smaller
|
|
304
|
-
* plan such as the new plan must have sufficient amount of disk space to store all current
|
|
305
|
-
* data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
306
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
307
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs
|
|
308
|
-
* 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).
|
|
283
|
+
* 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).
|
|
309
284
|
*/
|
|
310
285
|
plan?: pulumi.Input<string>;
|
|
311
286
|
/**
|
|
312
|
-
*
|
|
313
|
-
* between the project and the service, refer to the project as shown in the above example.
|
|
314
|
-
* Project cannot be changed later without destroying and re-creating the service.
|
|
287
|
+
* 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.
|
|
315
288
|
*/
|
|
316
289
|
project: pulumi.Input<string>;
|
|
317
290
|
/**
|
|
318
|
-
*
|
|
319
|
-
* is not set the service is not run inside a VPC. When set, the value should be given as a
|
|
320
|
-
* reference as shown above to set up dependencies correctly and the VPC must be in the same
|
|
321
|
-
* cloud and region as the service itself. Project can be freely moved to and from VPC after
|
|
322
|
-
* creation but doing so triggers migration to new servers so the operation can take
|
|
323
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
291
|
+
* 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.
|
|
324
292
|
*/
|
|
325
293
|
projectVpcId?: pulumi.Input<string>;
|
|
326
294
|
/**
|
|
@@ -328,17 +296,15 @@ export interface KafkaMirrorMakerArgs {
|
|
|
328
296
|
*/
|
|
329
297
|
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.KafkaMirrorMakerServiceIntegration>[]>;
|
|
330
298
|
/**
|
|
331
|
-
*
|
|
332
|
-
* later without destroying and re-creating the service so name should be picked based on
|
|
333
|
-
* intended service usage rather than current attributes.
|
|
299
|
+
* 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.
|
|
334
300
|
*/
|
|
335
301
|
serviceName: pulumi.Input<string>;
|
|
336
302
|
/**
|
|
337
|
-
*
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
* deletion is done.
|
|
303
|
+
* 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
|
|
304
|
+
*/
|
|
305
|
+
staticIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
306
|
+
/**
|
|
307
|
+
* 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.
|
|
342
308
|
*/
|
|
343
309
|
terminationProtection?: pulumi.Input<boolean>;
|
|
344
310
|
}
|
package/kafkaMirrorMaker.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.KafkaMirrorMaker = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Kafka MirrorMaker Resource
|
|
10
|
-
*
|
|
11
9
|
* The Kafka MirrorMaker resource allows the creation and management of Aiven Kafka MirrorMaker 2 services.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -40,8 +38,13 @@ class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
40
38
|
const state = argsOrState;
|
|
41
39
|
resourceInputs["cloudName"] = state ? state.cloudName : undefined;
|
|
42
40
|
resourceInputs["components"] = state ? state.components : undefined;
|
|
43
|
-
resourceInputs["
|
|
41
|
+
resourceInputs["diskSpace"] = state ? state.diskSpace : undefined;
|
|
42
|
+
resourceInputs["diskSpaceCap"] = state ? state.diskSpaceCap : undefined;
|
|
43
|
+
resourceInputs["diskSpaceDefault"] = state ? state.diskSpaceDefault : undefined;
|
|
44
|
+
resourceInputs["diskSpaceStep"] = state ? state.diskSpaceStep : undefined;
|
|
45
|
+
resourceInputs["diskSpaceUsed"] = state ? state.diskSpaceUsed : undefined;
|
|
44
46
|
resourceInputs["kafkaMirrormakerUserConfig"] = state ? state.kafkaMirrormakerUserConfig : undefined;
|
|
47
|
+
resourceInputs["kafkaMirrormakers"] = state ? state.kafkaMirrormakers : undefined;
|
|
45
48
|
resourceInputs["maintenanceWindowDow"] = state ? state.maintenanceWindowDow : undefined;
|
|
46
49
|
resourceInputs["maintenanceWindowTime"] = state ? state.maintenanceWindowTime : undefined;
|
|
47
50
|
resourceInputs["plan"] = state ? state.plan : undefined;
|
|
@@ -56,6 +59,7 @@ class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
56
59
|
resourceInputs["serviceUri"] = state ? state.serviceUri : undefined;
|
|
57
60
|
resourceInputs["serviceUsername"] = state ? state.serviceUsername : undefined;
|
|
58
61
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
62
|
+
resourceInputs["staticIps"] = state ? state.staticIps : undefined;
|
|
59
63
|
resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
|
|
60
64
|
}
|
|
61
65
|
else {
|
|
@@ -67,7 +71,7 @@ class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
67
71
|
throw new Error("Missing required property 'serviceName'");
|
|
68
72
|
}
|
|
69
73
|
resourceInputs["cloudName"] = args ? args.cloudName : undefined;
|
|
70
|
-
resourceInputs["
|
|
74
|
+
resourceInputs["diskSpace"] = args ? args.diskSpace : undefined;
|
|
71
75
|
resourceInputs["kafkaMirrormakerUserConfig"] = args ? args.kafkaMirrormakerUserConfig : undefined;
|
|
72
76
|
resourceInputs["maintenanceWindowDow"] = args ? args.maintenanceWindowDow : undefined;
|
|
73
77
|
resourceInputs["maintenanceWindowTime"] = args ? args.maintenanceWindowTime : undefined;
|
|
@@ -76,8 +80,14 @@ class KafkaMirrorMaker extends pulumi.CustomResource {
|
|
|
76
80
|
resourceInputs["projectVpcId"] = args ? args.projectVpcId : undefined;
|
|
77
81
|
resourceInputs["serviceIntegrations"] = args ? args.serviceIntegrations : undefined;
|
|
78
82
|
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
83
|
+
resourceInputs["staticIps"] = args ? args.staticIps : undefined;
|
|
79
84
|
resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
|
|
80
85
|
resourceInputs["components"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["diskSpaceCap"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["diskSpaceDefault"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["diskSpaceStep"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["diskSpaceUsed"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["kafkaMirrormakers"] = undefined /*out*/;
|
|
81
91
|
resourceInputs["serviceHost"] = undefined /*out*/;
|
|
82
92
|
resourceInputs["servicePassword"] = undefined /*out*/;
|
|
83
93
|
resourceInputs["servicePort"] = undefined /*out*/;
|
package/kafkaMirrorMaker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaMirrorMaker.js","sourceRoot":"","sources":["../kafkaMirrorMaker.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"kafkaMirrorMaker.js","sourceRoot":"","sources":["../kafkaMirrorMaker.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAyIvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,c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,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA4MC;AA9LG,gBAAgB;AACO,6BAAY,GAAG,+CAA+C,CAAC"}
|
package/kafkaSchema.d.ts
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Kafka Schema Resource
|
|
4
|
-
*
|
|
5
3
|
* The Kafka Schema resource allows the creation and management of Aiven Kafka Schemas.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const kafka_schema1 = new aiven.KafkaSchema("kafka-schema1", {
|
|
12
|
+
* project: aiven_project["kafka-schemas-project1"].project,
|
|
13
|
+
* serviceName: aiven_kafka["kafka-service1"].service_name,
|
|
14
|
+
* subjectName: "kafka-schema1",
|
|
15
|
+
* compatibilityLevel: "FORWARD",
|
|
16
|
+
* schema: ` {
|
|
17
|
+
* "doc": "example",
|
|
18
|
+
* "fields": [{
|
|
19
|
+
* "default": 5,
|
|
20
|
+
* "doc": "my test number",
|
|
21
|
+
* "name": "test",
|
|
22
|
+
* "namespace": "test",
|
|
23
|
+
* "type": "int"
|
|
24
|
+
* }],
|
|
25
|
+
* "name": "example",
|
|
26
|
+
* "namespace": "example",
|
|
27
|
+
* "type": "record"
|
|
28
|
+
* }
|
|
29
|
+
* `,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
6
32
|
*/
|
|
7
33
|
export declare class KafkaSchema extends pulumi.CustomResource {
|
|
8
34
|
/**
|
|
@@ -21,31 +47,27 @@ export declare class KafkaSchema extends pulumi.CustomResource {
|
|
|
21
47
|
*/
|
|
22
48
|
static isInstance(obj: any): obj is KafkaSchema;
|
|
23
49
|
/**
|
|
24
|
-
*
|
|
25
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
26
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
27
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
50
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
28
51
|
*/
|
|
29
52
|
readonly compatibilityLevel: pulumi.Output<string | undefined>;
|
|
30
53
|
/**
|
|
31
|
-
*
|
|
32
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
54
|
+
* 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.
|
|
33
55
|
*/
|
|
34
56
|
readonly project: pulumi.Output<string>;
|
|
35
57
|
/**
|
|
36
|
-
*
|
|
58
|
+
* Kafka Schema configuration should be a valid Avro Schema JSON format.
|
|
37
59
|
*/
|
|
38
60
|
readonly schema: pulumi.Output<string>;
|
|
39
61
|
/**
|
|
40
|
-
*
|
|
62
|
+
* 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.
|
|
41
63
|
*/
|
|
42
64
|
readonly serviceName: pulumi.Output<string>;
|
|
43
65
|
/**
|
|
44
|
-
*
|
|
66
|
+
* The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
|
|
45
67
|
*/
|
|
46
68
|
readonly subjectName: pulumi.Output<string>;
|
|
47
69
|
/**
|
|
48
|
-
* Kafka Schema configuration version
|
|
70
|
+
* Kafka Schema configuration version.
|
|
49
71
|
*/
|
|
50
72
|
readonly version: pulumi.Output<number>;
|
|
51
73
|
/**
|
|
@@ -62,31 +84,27 @@ export declare class KafkaSchema extends pulumi.CustomResource {
|
|
|
62
84
|
*/
|
|
63
85
|
export interface KafkaSchemaState {
|
|
64
86
|
/**
|
|
65
|
-
*
|
|
66
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
67
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
68
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
87
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
69
88
|
*/
|
|
70
89
|
compatibilityLevel?: pulumi.Input<string>;
|
|
71
90
|
/**
|
|
72
|
-
*
|
|
73
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
91
|
+
* 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.
|
|
74
92
|
*/
|
|
75
93
|
project?: pulumi.Input<string>;
|
|
76
94
|
/**
|
|
77
|
-
*
|
|
95
|
+
* Kafka Schema configuration should be a valid Avro Schema JSON format.
|
|
78
96
|
*/
|
|
79
97
|
schema?: pulumi.Input<string>;
|
|
80
98
|
/**
|
|
81
|
-
*
|
|
99
|
+
* 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.
|
|
82
100
|
*/
|
|
83
101
|
serviceName?: pulumi.Input<string>;
|
|
84
102
|
/**
|
|
85
|
-
*
|
|
103
|
+
* The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
|
|
86
104
|
*/
|
|
87
105
|
subjectName?: pulumi.Input<string>;
|
|
88
106
|
/**
|
|
89
|
-
* Kafka Schema configuration version
|
|
107
|
+
* Kafka Schema configuration version.
|
|
90
108
|
*/
|
|
91
109
|
version?: pulumi.Input<number>;
|
|
92
110
|
}
|
|
@@ -95,27 +113,23 @@ export interface KafkaSchemaState {
|
|
|
95
113
|
*/
|
|
96
114
|
export interface KafkaSchemaArgs {
|
|
97
115
|
/**
|
|
98
|
-
*
|
|
99
|
-
* resource. If the compatibility level not specified for the individual subject by default,
|
|
100
|
-
* it takes a global value. Allowed values: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`,
|
|
101
|
-
* `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, `NONE`.
|
|
116
|
+
* Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
102
117
|
*/
|
|
103
118
|
compatibilityLevel?: pulumi.Input<string>;
|
|
104
119
|
/**
|
|
105
|
-
*
|
|
106
|
-
* They should be defined using reference as shown above to set up dependencies correctly.
|
|
120
|
+
* 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.
|
|
107
121
|
*/
|
|
108
122
|
project: pulumi.Input<string>;
|
|
109
123
|
/**
|
|
110
|
-
*
|
|
124
|
+
* Kafka Schema configuration should be a valid Avro Schema JSON format.
|
|
111
125
|
*/
|
|
112
126
|
schema: pulumi.Input<string>;
|
|
113
127
|
/**
|
|
114
|
-
*
|
|
128
|
+
* 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.
|
|
115
129
|
*/
|
|
116
130
|
serviceName: pulumi.Input<string>;
|
|
117
131
|
/**
|
|
118
|
-
*
|
|
132
|
+
* The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
|
|
119
133
|
*/
|
|
120
134
|
subjectName: pulumi.Input<string>;
|
|
121
135
|
}
|