@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/flink.js
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Flink = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Flink resource allows the creation and management of Aiven Flink services.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const flink = new aiven.Flink("flink", {
|
|
18
|
+
* project: data.aiven_project.pr1.project,
|
|
19
|
+
* cloudName: "google-europe-west1",
|
|
20
|
+
* plan: "business-4",
|
|
21
|
+
* serviceName: "my-flink",
|
|
22
|
+
* maintenanceWindowDow: "monday",
|
|
23
|
+
* maintenanceWindowTime: "10:00:00",
|
|
24
|
+
* flinkUserConfig: {
|
|
25
|
+
* flinkVersion: 1.13,
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class Flink extends pulumi.CustomResource {
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["cloudName"] = state ? state.cloudName : undefined;
|
|
37
|
+
resourceInputs["components"] = state ? state.components : undefined;
|
|
38
|
+
resourceInputs["diskSpace"] = state ? state.diskSpace : undefined;
|
|
39
|
+
resourceInputs["diskSpaceCap"] = state ? state.diskSpaceCap : undefined;
|
|
40
|
+
resourceInputs["diskSpaceDefault"] = state ? state.diskSpaceDefault : undefined;
|
|
41
|
+
resourceInputs["diskSpaceStep"] = state ? state.diskSpaceStep : undefined;
|
|
42
|
+
resourceInputs["diskSpaceUsed"] = state ? state.diskSpaceUsed : undefined;
|
|
43
|
+
resourceInputs["flink"] = state ? state.flink : undefined;
|
|
44
|
+
resourceInputs["flinkUserConfig"] = state ? state.flinkUserConfig : undefined;
|
|
45
|
+
resourceInputs["maintenanceWindowDow"] = state ? state.maintenanceWindowDow : undefined;
|
|
46
|
+
resourceInputs["maintenanceWindowTime"] = state ? state.maintenanceWindowTime : undefined;
|
|
47
|
+
resourceInputs["plan"] = state ? state.plan : undefined;
|
|
48
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
49
|
+
resourceInputs["projectVpcId"] = state ? state.projectVpcId : undefined;
|
|
50
|
+
resourceInputs["serviceHost"] = state ? state.serviceHost : undefined;
|
|
51
|
+
resourceInputs["serviceIntegrations"] = state ? state.serviceIntegrations : undefined;
|
|
52
|
+
resourceInputs["serviceName"] = state ? state.serviceName : undefined;
|
|
53
|
+
resourceInputs["servicePassword"] = state ? state.servicePassword : undefined;
|
|
54
|
+
resourceInputs["servicePort"] = state ? state.servicePort : undefined;
|
|
55
|
+
resourceInputs["serviceType"] = state ? state.serviceType : undefined;
|
|
56
|
+
resourceInputs["serviceUri"] = state ? state.serviceUri : undefined;
|
|
57
|
+
resourceInputs["serviceUsername"] = state ? state.serviceUsername : undefined;
|
|
58
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
59
|
+
resourceInputs["staticIps"] = state ? state.staticIps : undefined;
|
|
60
|
+
resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.project === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'project'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.serviceName === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'serviceName'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["cloudName"] = args ? args.cloudName : undefined;
|
|
71
|
+
resourceInputs["diskSpace"] = args ? args.diskSpace : undefined;
|
|
72
|
+
resourceInputs["flink"] = args ? args.flink : undefined;
|
|
73
|
+
resourceInputs["flinkUserConfig"] = args ? args.flinkUserConfig : undefined;
|
|
74
|
+
resourceInputs["maintenanceWindowDow"] = args ? args.maintenanceWindowDow : undefined;
|
|
75
|
+
resourceInputs["maintenanceWindowTime"] = args ? args.maintenanceWindowTime : undefined;
|
|
76
|
+
resourceInputs["plan"] = args ? args.plan : undefined;
|
|
77
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
78
|
+
resourceInputs["projectVpcId"] = args ? args.projectVpcId : undefined;
|
|
79
|
+
resourceInputs["serviceIntegrations"] = args ? args.serviceIntegrations : undefined;
|
|
80
|
+
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
81
|
+
resourceInputs["staticIps"] = args ? args.staticIps : undefined;
|
|
82
|
+
resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
|
|
83
|
+
resourceInputs["components"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["diskSpaceCap"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["diskSpaceDefault"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["diskSpaceStep"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["diskSpaceUsed"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["serviceHost"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["servicePassword"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["servicePort"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["serviceType"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["serviceUri"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["serviceUsername"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
95
|
+
}
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
+
super(Flink.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Get an existing Flink resource's state with the given name, ID, and optional extra
|
|
101
|
+
* properties used to qualify the lookup.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resulting resource.
|
|
104
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
105
|
+
* @param state Any extra arguments used during the lookup.
|
|
106
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
107
|
+
*/
|
|
108
|
+
static get(name, id, state, opts) {
|
|
109
|
+
return new Flink(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Returns true if the given object is an instance of Flink. This is designed to work even
|
|
113
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
114
|
+
*/
|
|
115
|
+
static isInstance(obj) {
|
|
116
|
+
if (obj === undefined || obj === null) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
return obj['__pulumiType'] === Flink.__pulumiType;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.Flink = Flink;
|
|
123
|
+
/** @internal */
|
|
124
|
+
Flink.__pulumiType = 'aiven:index/flink:Flink';
|
|
125
|
+
//# sourceMappingURL=flink.js.map
|
package/flink.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flink.js","sourceRoot":"","sources":["../flink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,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BA4MC;AA9LG,gBAAgB;AACO,kBAAY,GAAG,yBAAyB,CAAC"}
|
package/flinkJob.d.ts
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Flink Job resource allows the creation and management of Aiven Jobs.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const job = new aiven.FlinkJob("job", {
|
|
12
|
+
* project: aiven_flink.flink.project,
|
|
13
|
+
* serviceName: aiven_flink.flink.service_name,
|
|
14
|
+
* jobName: "<JOB_NAME>",
|
|
15
|
+
* tableIds: [
|
|
16
|
+
* aiven_flink_table.source.table_id,
|
|
17
|
+
* aiven_flink_table.sink.table_id,
|
|
18
|
+
* ],
|
|
19
|
+
* statement: ` INSERT INTO ${aiven_flink_table.sink.table_name}
|
|
20
|
+
* SELECT * FROM ${aiven_flink_table.source.table_name}
|
|
21
|
+
* WHERE `cpu` > 50
|
|
22
|
+
* `,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class FlinkJob extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing FlinkJob resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlinkJobState, opts?: pulumi.CustomResourceOptions): FlinkJob;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of FlinkJob. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is FlinkJob;
|
|
42
|
+
/**
|
|
43
|
+
* The Job ID of the flink job in the flink service.
|
|
44
|
+
*/
|
|
45
|
+
readonly jobId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the name of the service that this job is submitted 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.
|
|
48
|
+
*/
|
|
49
|
+
readonly jobName: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 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.
|
|
52
|
+
*/
|
|
53
|
+
readonly project: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* 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.
|
|
56
|
+
*/
|
|
57
|
+
readonly serviceName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The current state of the flink job in the flink service
|
|
60
|
+
*/
|
|
61
|
+
readonly state: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The SQL statement to define the job. This property cannot be changed, doing so forces recreation of the resource.
|
|
64
|
+
*/
|
|
65
|
+
readonly statement: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* A list of table ids that are required in the job runtime. 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.
|
|
68
|
+
*/
|
|
69
|
+
readonly tableIds: pulumi.Output<string[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a FlinkJob resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: FlinkJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Input properties used for looking up and filtering FlinkJob resources.
|
|
81
|
+
*/
|
|
82
|
+
export interface FlinkJobState {
|
|
83
|
+
/**
|
|
84
|
+
* The Job ID of the flink job in the flink service.
|
|
85
|
+
*/
|
|
86
|
+
jobId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the name of the service that this job is submitted 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.
|
|
89
|
+
*/
|
|
90
|
+
jobName?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* 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
|
+
project?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* 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.
|
|
97
|
+
*/
|
|
98
|
+
serviceName?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The current state of the flink job in the flink service
|
|
101
|
+
*/
|
|
102
|
+
state?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The SQL statement to define the job. This property cannot be changed, doing so forces recreation of the resource.
|
|
105
|
+
*/
|
|
106
|
+
statement?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* A list of table ids that are required in the job runtime. 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.
|
|
109
|
+
*/
|
|
110
|
+
tableIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The set of arguments for constructing a FlinkJob resource.
|
|
114
|
+
*/
|
|
115
|
+
export interface FlinkJobArgs {
|
|
116
|
+
/**
|
|
117
|
+
* Specifies the name of the service that this job is submitted 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.
|
|
118
|
+
*/
|
|
119
|
+
jobName: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* 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.
|
|
122
|
+
*/
|
|
123
|
+
project: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* 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.
|
|
126
|
+
*/
|
|
127
|
+
serviceName: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The SQL statement to define the job. This property cannot be changed, doing so forces recreation of the resource.
|
|
130
|
+
*/
|
|
131
|
+
statement: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* A list of table ids that are required in the job runtime. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
134
|
+
*/
|
|
135
|
+
tableIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
|
+
}
|
package/flinkJob.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.FlinkJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Flink Job resource allows the creation and management of Aiven Jobs.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const job = new aiven.FlinkJob("job", {
|
|
18
|
+
* project: aiven_flink.flink.project,
|
|
19
|
+
* serviceName: aiven_flink.flink.service_name,
|
|
20
|
+
* jobName: "<JOB_NAME>",
|
|
21
|
+
* tableIds: [
|
|
22
|
+
* aiven_flink_table.source.table_id,
|
|
23
|
+
* aiven_flink_table.sink.table_id,
|
|
24
|
+
* ],
|
|
25
|
+
* statement: ` INSERT INTO ${aiven_flink_table.sink.table_name}
|
|
26
|
+
* SELECT * FROM ${aiven_flink_table.source.table_name}
|
|
27
|
+
* WHERE `cpu` > 50
|
|
28
|
+
* `,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class FlinkJob extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let resourceInputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
resourceInputs["jobId"] = state ? state.jobId : undefined;
|
|
39
|
+
resourceInputs["jobName"] = state ? state.jobName : undefined;
|
|
40
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
41
|
+
resourceInputs["serviceName"] = state ? state.serviceName : undefined;
|
|
42
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
43
|
+
resourceInputs["statement"] = state ? state.statement : undefined;
|
|
44
|
+
resourceInputs["tableIds"] = state ? state.tableIds : undefined;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const args = argsOrState;
|
|
48
|
+
if ((!args || args.jobName === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'jobName'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.project === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'project'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.serviceName === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'serviceName'");
|
|
56
|
+
}
|
|
57
|
+
if ((!args || args.statement === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'statement'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.tableIds === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'tableIds'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["jobName"] = args ? args.jobName : undefined;
|
|
64
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
65
|
+
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
66
|
+
resourceInputs["statement"] = args ? args.statement : undefined;
|
|
67
|
+
resourceInputs["tableIds"] = args ? args.tableIds : undefined;
|
|
68
|
+
resourceInputs["jobId"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(FlinkJob.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing FlinkJob resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new FlinkJob(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of FlinkJob. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === FlinkJob.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.FlinkJob = FlinkJob;
|
|
98
|
+
/** @internal */
|
|
99
|
+
FlinkJob.__pulumiType = 'aiven:index/flinkJob:FlinkJob';
|
|
100
|
+
//# sourceMappingURL=flinkJob.js.map
|
package/flinkJob.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flinkJob.js","sourceRoot":"","sources":["../flinkJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAiE/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cA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+1,224 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Flink Table resource allows the creation and management of Aiven Tables.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const table = new aiven.FlinkJobTable("table", {
|
|
12
|
+
* project: data.aiven_project.pr1.project,
|
|
13
|
+
* serviceName: aiven_flink.flink.service_name,
|
|
14
|
+
* tableName: "<TABLE_NAME>",
|
|
15
|
+
* integrationId: aiven_service_integration.flink_kafka.service_id,
|
|
16
|
+
* jdbcTable: "<JDBC_TABLE_NAME>",
|
|
17
|
+
* kafkaTopic: aiven_kafka_topic.table_topic.topic_name,
|
|
18
|
+
* schemaSql: ` `+"`cpu`"+` INT,
|
|
19
|
+
* `+"`node`"+` INT,
|
|
20
|
+
* `+"`occurred_at`"+` TIMESTAMP(3) METADATA FROM 'timestamp',
|
|
21
|
+
* WATERMARK FOR `+"`occurred_at`"+` AS `+"`occurred_at`"+` - INTERVAL '5' SECOND
|
|
22
|
+
* `,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class FlinkJobTable extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing FlinkJobTable resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlinkJobTableState, opts?: pulumi.CustomResourceOptions): FlinkJobTable;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of FlinkJobTable. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is FlinkJobTable;
|
|
42
|
+
/**
|
|
43
|
+
* The id of the service integration that is used with this table. It must have the service integration type `flink`. 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.
|
|
44
|
+
*/
|
|
45
|
+
readonly integrationId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Name of the jdbc table that is to be connected to this table. Valid if the service integration id refers to a mysql or postgres service. This property cannot be changed, doing so forces recreation of the resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly jdbcTable: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* When used as a source, upsert Kafka connectors update values that use an existing key and delete values that are null. For sinks, the connector correspondingly writes update or delete messages in a compacted topic. If no matching key is found, the values are added as new entries. For more information, see the Apache Flink documentation The possible values are `kafka` and `upsert-kafka`. This property cannot be changed, doing so forces recreation of the resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly kafkaConnectorType: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Defines an explicit list of physical columns from the table schema that configure the data type for the key format. This property cannot be changed, doing so forces recreation of the resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly kafkaKeyFields: pulumi.Output<string[] | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Kafka Key Format The possible values are `avro`, `avro-confluent`, `debezium-avro-confluent`, `debezium-json` and `json`. This property cannot be changed, doing so forces recreation of the resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly kafkaKeyFormat: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Startup mode The possible values are `earliest-offset`, `latest-offset`, `group-offsets` and `timestamp`. This property cannot be changed, doing so forces recreation of the resource.
|
|
64
|
+
*/
|
|
65
|
+
readonly kafkaStartupMode: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Name of the kafka topic that is to be connected to this table. Valid if the service integration id refers to a kafka service. This property cannot be changed, doing so forces recreation of the resource.
|
|
68
|
+
*/
|
|
69
|
+
readonly kafkaTopic: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Kafka Value Format The possible values are `avro`, `avro-confluent`, `debezium-avro-confluent`, `debezium-json` and `json`. This property cannot be changed, doing so forces recreation of the resource.
|
|
72
|
+
*/
|
|
73
|
+
readonly kafkaValueFormat: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* [LIKE](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/create/#like) statement for table creation. This property cannot be changed, doing so forces recreation of the resource.
|
|
76
|
+
*/
|
|
77
|
+
readonly likeOptions: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
*/
|
|
81
|
+
readonly project: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The SQL statement to create the table. This property cannot be changed, doing so forces recreation of the resource.
|
|
84
|
+
*/
|
|
85
|
+
readonly schemaSql: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* 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.
|
|
88
|
+
*/
|
|
89
|
+
readonly serviceName: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The Table ID of the flink table in the flink service.
|
|
92
|
+
*/
|
|
93
|
+
readonly tableId: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the name of the table. This property cannot be changed, doing so forces recreation of the resource.
|
|
96
|
+
*/
|
|
97
|
+
readonly tableName: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a FlinkJobTable resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: FlinkJobTableArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering FlinkJobTable resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface FlinkJobTableState {
|
|
111
|
+
/**
|
|
112
|
+
* The id of the service integration that is used with this table. It must have the service integration type `flink`. 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
|
+
*/
|
|
114
|
+
integrationId?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Name of the jdbc table that is to be connected to this table. Valid if the service integration id refers to a mysql or postgres service. This property cannot be changed, doing so forces recreation of the resource.
|
|
117
|
+
*/
|
|
118
|
+
jdbcTable?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* When used as a source, upsert Kafka connectors update values that use an existing key and delete values that are null. For sinks, the connector correspondingly writes update or delete messages in a compacted topic. If no matching key is found, the values are added as new entries. For more information, see the Apache Flink documentation The possible values are `kafka` and `upsert-kafka`. This property cannot be changed, doing so forces recreation of the resource.
|
|
121
|
+
*/
|
|
122
|
+
kafkaConnectorType?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Defines an explicit list of physical columns from the table schema that configure the data type for the key format. This property cannot be changed, doing so forces recreation of the resource.
|
|
125
|
+
*/
|
|
126
|
+
kafkaKeyFields?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
|
+
/**
|
|
128
|
+
* Kafka Key Format The possible values are `avro`, `avro-confluent`, `debezium-avro-confluent`, `debezium-json` and `json`. This property cannot be changed, doing so forces recreation of the resource.
|
|
129
|
+
*/
|
|
130
|
+
kafkaKeyFormat?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Startup mode The possible values are `earliest-offset`, `latest-offset`, `group-offsets` and `timestamp`. This property cannot be changed, doing so forces recreation of the resource.
|
|
133
|
+
*/
|
|
134
|
+
kafkaStartupMode?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Name of the kafka topic that is to be connected to this table. Valid if the service integration id refers to a kafka service. This property cannot be changed, doing so forces recreation of the resource.
|
|
137
|
+
*/
|
|
138
|
+
kafkaTopic?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Kafka Value Format The possible values are `avro`, `avro-confluent`, `debezium-avro-confluent`, `debezium-json` and `json`. This property cannot be changed, doing so forces recreation of the resource.
|
|
141
|
+
*/
|
|
142
|
+
kafkaValueFormat?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* [LIKE](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/create/#like) statement for table creation. This property cannot be changed, doing so forces recreation of the resource.
|
|
145
|
+
*/
|
|
146
|
+
likeOptions?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* 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.
|
|
149
|
+
*/
|
|
150
|
+
project?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The SQL statement to create the table. This property cannot be changed, doing so forces recreation of the resource.
|
|
153
|
+
*/
|
|
154
|
+
schemaSql?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* 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.
|
|
157
|
+
*/
|
|
158
|
+
serviceName?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The Table ID of the flink table in the flink service.
|
|
161
|
+
*/
|
|
162
|
+
tableId?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Specifies the name of the table. This property cannot be changed, doing so forces recreation of the resource.
|
|
165
|
+
*/
|
|
166
|
+
tableName?: pulumi.Input<string>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The set of arguments for constructing a FlinkJobTable resource.
|
|
170
|
+
*/
|
|
171
|
+
export interface FlinkJobTableArgs {
|
|
172
|
+
/**
|
|
173
|
+
* The id of the service integration that is used with this table. It must have the service integration type `flink`. 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.
|
|
174
|
+
*/
|
|
175
|
+
integrationId: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Name of the jdbc table that is to be connected to this table. Valid if the service integration id refers to a mysql or postgres service. This property cannot be changed, doing so forces recreation of the resource.
|
|
178
|
+
*/
|
|
179
|
+
jdbcTable?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* When used as a source, upsert Kafka connectors update values that use an existing key and delete values that are null. For sinks, the connector correspondingly writes update or delete messages in a compacted topic. If no matching key is found, the values are added as new entries. For more information, see the Apache Flink documentation The possible values are `kafka` and `upsert-kafka`. This property cannot be changed, doing so forces recreation of the resource.
|
|
182
|
+
*/
|
|
183
|
+
kafkaConnectorType?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Defines an explicit list of physical columns from the table schema that configure the data type for the key format. This property cannot be changed, doing so forces recreation of the resource.
|
|
186
|
+
*/
|
|
187
|
+
kafkaKeyFields?: pulumi.Input<pulumi.Input<string>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* Kafka Key Format The possible values are `avro`, `avro-confluent`, `debezium-avro-confluent`, `debezium-json` and `json`. This property cannot be changed, doing so forces recreation of the resource.
|
|
190
|
+
*/
|
|
191
|
+
kafkaKeyFormat?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Startup mode The possible values are `earliest-offset`, `latest-offset`, `group-offsets` and `timestamp`. This property cannot be changed, doing so forces recreation of the resource.
|
|
194
|
+
*/
|
|
195
|
+
kafkaStartupMode?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Name of the kafka topic that is to be connected to this table. Valid if the service integration id refers to a kafka service. This property cannot be changed, doing so forces recreation of the resource.
|
|
198
|
+
*/
|
|
199
|
+
kafkaTopic?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Kafka Value Format The possible values are `avro`, `avro-confluent`, `debezium-avro-confluent`, `debezium-json` and `json`. This property cannot be changed, doing so forces recreation of the resource.
|
|
202
|
+
*/
|
|
203
|
+
kafkaValueFormat?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* [LIKE](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/create/#like) statement for table creation. This property cannot be changed, doing so forces recreation of the resource.
|
|
206
|
+
*/
|
|
207
|
+
likeOptions?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* 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
|
+
*/
|
|
211
|
+
project: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* The SQL statement to create the table. This property cannot be changed, doing so forces recreation of the resource.
|
|
214
|
+
*/
|
|
215
|
+
schemaSql: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* 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.
|
|
218
|
+
*/
|
|
219
|
+
serviceName: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Specifies the name of the table. This property cannot be changed, doing so forces recreation of the resource.
|
|
222
|
+
*/
|
|
223
|
+
tableName: pulumi.Input<string>;
|
|
224
|
+
}
|