@pulumi/aiven 5.6.0 → 6.0.0

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.
Files changed (81) hide show
  1. package/README.md +2 -2
  2. package/accountTeamMember.d.ts +6 -6
  3. package/accountTeamProject.d.ts +3 -3
  4. package/azurePrivatelink.d.ts +3 -3
  5. package/cassandra.d.ts +2 -2
  6. package/cassandra.js +2 -2
  7. package/connectionPool.d.ts +3 -3
  8. package/flinkApplicationVersion.d.ts +40 -4
  9. package/flinkApplicationVersion.js +4 -6
  10. package/flinkApplicationVersion.js.map +1 -1
  11. package/getAccountTeamMember.d.ts +6 -6
  12. package/getAccountTeamProject.d.ts +1 -1
  13. package/getAzurePrivatelink.d.ts +1 -1
  14. package/getConnectionPool.d.ts +1 -1
  15. package/getFlinkApplicationVersion.d.ts +8 -0
  16. package/getFlinkApplicationVersion.js.map +1 -1
  17. package/getMirrorMakerReplicationFlow.d.ts +6 -6
  18. package/getOpenSearchAclRule.d.ts +9 -9
  19. package/getServiceIntegration.d.ts +3 -7
  20. package/getServiceIntegration.js.map +1 -1
  21. package/getTransitGatewayVpcAttachment.d.ts +6 -6
  22. package/grafana.d.ts +2 -2
  23. package/grafana.js +2 -2
  24. package/index.d.ts +0 -24
  25. package/index.js +4 -38
  26. package/index.js.map +1 -1
  27. package/influxDb.d.ts +1 -1
  28. package/influxDb.js +1 -1
  29. package/kafka.d.ts +7 -7
  30. package/kafka.js +7 -7
  31. package/kafkaConnect.d.ts +1 -1
  32. package/kafkaConnect.js +1 -1
  33. package/kafkaMirrorMaker.d.ts +3 -3
  34. package/kafkaMirrorMaker.js +3 -3
  35. package/kafkaUser.d.ts +14 -0
  36. package/kafkaUser.js +14 -0
  37. package/kafkaUser.js.map +1 -1
  38. package/mirrorMakerReplicationFlow.d.ts +6 -6
  39. package/mySql.d.ts +2 -2
  40. package/mySql.js +2 -2
  41. package/openSearch.d.ts +4 -4
  42. package/openSearch.js +4 -4
  43. package/openSearchAclConfig.d.ts +1 -1
  44. package/openSearchAclConfig.js +1 -1
  45. package/openSearchAclRule.d.ts +11 -11
  46. package/openSearchAclRule.js +2 -2
  47. package/package.json +2 -2
  48. package/package.json.dev +2 -2
  49. package/redis.d.ts +1 -1
  50. package/redis.js +1 -1
  51. package/serviceIntegration.d.ts +3 -15
  52. package/serviceIntegration.js +0 -2
  53. package/serviceIntegration.js.map +1 -1
  54. package/staticIp.d.ts +2 -2
  55. package/transitGatewayVpcAttachment.d.ts +6 -6
  56. package/types/input.d.ts +646 -626
  57. package/types/output.d.ts +1153 -1061
  58. package/database.d.ts +0 -133
  59. package/database.js +0 -90
  60. package/database.js.map +0 -1
  61. package/flinkJob.d.ts +0 -136
  62. package/flinkJob.js +0 -100
  63. package/flinkJob.js.map +0 -1
  64. package/flinkJobTable.d.ts +0 -268
  65. package/flinkJobTable.js +0 -126
  66. package/flinkJobTable.js.map +0 -1
  67. package/getDatabase.d.ts +0 -103
  68. package/getDatabase.js +0 -57
  69. package/getDatabase.js.map +0 -1
  70. package/getServiceUser.d.ts +0 -130
  71. package/getServiceUser.js +0 -53
  72. package/getServiceUser.js.map +0 -1
  73. package/getVpcPeeringConnection.d.ts +0 -120
  74. package/getVpcPeeringConnection.js +0 -53
  75. package/getVpcPeeringConnection.js.map +0 -1
  76. package/serviceUser.d.ts +0 -204
  77. package/serviceUser.js +0 -108
  78. package/serviceUser.js.map +0 -1
  79. package/vpcPeeringConnection.d.ts +0 -155
  80. package/vpcPeeringConnection.js +0 -83
  81. package/vpcPeeringConnection.js.map +0 -1
package/serviceUser.js DELETED
@@ -1,108 +0,0 @@
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.ServiceUser = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * The Service User resource allows the creation and management of Aiven Service Users.
10
- *
11
- * > **Note:** This resource is deprecated. Please use service-specific resources instead of this one, for example: aiven_kafka_user, aiven.PgUser etc.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as aiven from "@pulumi/aiven";
18
- *
19
- * const myserviceuser = new aiven.ServiceUser("myserviceuser", {
20
- * project: aiven_project.myproject.project,
21
- * serviceName: aiven_pg.mypg.service_name,
22
- * username: "<USERNAME>",
23
- * });
24
- * ```
25
- *
26
- * ## Import
27
- *
28
- * ```sh
29
- * $ pulumi import aiven:index/serviceUser:ServiceUser myserviceuser project/service_name/username
30
- * ```
31
- */
32
- class ServiceUser extends pulumi.CustomResource {
33
- /**
34
- * Get an existing ServiceUser resource's state with the given name, ID, and optional extra
35
- * properties used to qualify the lookup.
36
- *
37
- * @param name The _unique_ name of the resulting resource.
38
- * @param id The _unique_ provider ID of the resource to lookup.
39
- * @param state Any extra arguments used during the lookup.
40
- * @param opts Optional settings to control the behavior of the CustomResource.
41
- */
42
- static get(name, id, state, opts) {
43
- return new ServiceUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
- }
45
- /**
46
- * Returns true if the given object is an instance of ServiceUser. This is designed to work even
47
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
- */
49
- static isInstance(obj) {
50
- if (obj === undefined || obj === null) {
51
- return false;
52
- }
53
- return obj['__pulumiType'] === ServiceUser.__pulumiType;
54
- }
55
- constructor(name, argsOrState, opts) {
56
- let resourceInputs = {};
57
- opts = opts || {};
58
- if (opts.id) {
59
- const state = argsOrState;
60
- resourceInputs["accessCert"] = state ? state.accessCert : undefined;
61
- resourceInputs["accessKey"] = state ? state.accessKey : undefined;
62
- resourceInputs["authentication"] = state ? state.authentication : undefined;
63
- resourceInputs["password"] = state ? state.password : undefined;
64
- resourceInputs["pgAllowReplication"] = state ? state.pgAllowReplication : undefined;
65
- resourceInputs["project"] = state ? state.project : undefined;
66
- resourceInputs["redisAclCategories"] = state ? state.redisAclCategories : undefined;
67
- resourceInputs["redisAclChannels"] = state ? state.redisAclChannels : undefined;
68
- resourceInputs["redisAclCommands"] = state ? state.redisAclCommands : undefined;
69
- resourceInputs["redisAclKeys"] = state ? state.redisAclKeys : undefined;
70
- resourceInputs["serviceName"] = state ? state.serviceName : undefined;
71
- resourceInputs["type"] = state ? state.type : undefined;
72
- resourceInputs["username"] = state ? state.username : undefined;
73
- }
74
- else {
75
- const args = argsOrState;
76
- if ((!args || args.project === undefined) && !opts.urn) {
77
- throw new Error("Missing required property 'project'");
78
- }
79
- if ((!args || args.serviceName === undefined) && !opts.urn) {
80
- throw new Error("Missing required property 'serviceName'");
81
- }
82
- if ((!args || args.username === undefined) && !opts.urn) {
83
- throw new Error("Missing required property 'username'");
84
- }
85
- resourceInputs["authentication"] = args ? args.authentication : undefined;
86
- resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
87
- resourceInputs["pgAllowReplication"] = args ? args.pgAllowReplication : undefined;
88
- resourceInputs["project"] = args ? args.project : undefined;
89
- resourceInputs["redisAclCategories"] = args ? args.redisAclCategories : undefined;
90
- resourceInputs["redisAclChannels"] = args ? args.redisAclChannels : undefined;
91
- resourceInputs["redisAclCommands"] = args ? args.redisAclCommands : undefined;
92
- resourceInputs["redisAclKeys"] = args ? args.redisAclKeys : undefined;
93
- resourceInputs["serviceName"] = args ? args.serviceName : undefined;
94
- resourceInputs["username"] = args ? args.username : undefined;
95
- resourceInputs["accessCert"] = undefined /*out*/;
96
- resourceInputs["accessKey"] = undefined /*out*/;
97
- resourceInputs["type"] = undefined /*out*/;
98
- }
99
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- const secretOpts = { additionalSecretOutputs: ["accessCert", "accessKey", "password"] };
101
- opts = pulumi.mergeOptions(opts, secretOpts);
102
- super(ServiceUser.__pulumiType, name, resourceInputs, opts);
103
- }
104
- }
105
- exports.ServiceUser = ServiceUser;
106
- /** @internal */
107
- ServiceUser.__pulumiType = 'aiven:index/serviceUser:ServiceUser';
108
- //# sourceMappingURL=serviceUser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serviceUser.js","sourceRoot":"","sources":["../serviceUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+DD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,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,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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AC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC;QACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxIL,kCAyIC;AA3HG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,CAAC"}
@@ -1,155 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * ## Import
4
- *
5
- * ```sh
6
- * $ pulumi import aiven:index/vpcPeeringConnection:VpcPeeringConnection mypeeringconnection project/vpc_id/peer_cloud_account/peer_vpc/peer_region
7
- * ```
8
- */
9
- export declare class VpcPeeringConnection extends pulumi.CustomResource {
10
- /**
11
- * Get an existing VpcPeeringConnection resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): VpcPeeringConnection;
20
- /**
21
- * Returns true if the given object is an instance of VpcPeeringConnection. This is designed to work even
22
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
- */
24
- static isInstance(obj: any): obj is VpcPeeringConnection;
25
- /**
26
- * Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet This property cannot be changed, doing so forces recreation of the resource.
27
- */
28
- readonly peerAzureAppId: pulumi.Output<string | undefined>;
29
- /**
30
- * Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
31
- */
32
- readonly peerAzureTenantId: pulumi.Output<string | undefined>;
33
- /**
34
- * AWS account ID or GCP project ID of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
35
- */
36
- readonly peerCloudAccount: pulumi.Output<string>;
37
- /**
38
- * AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
39
- */
40
- readonly peerRegion: pulumi.Output<string | undefined>;
41
- /**
42
- * Azure resource group name of the peered VPC This property cannot be changed, doing so forces recreation of the resource.
43
- */
44
- readonly peerResourceGroup: pulumi.Output<string | undefined>;
45
- /**
46
- * AWS VPC ID or GCP VPC network name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
47
- */
48
- readonly peerVpc: pulumi.Output<string>;
49
- /**
50
- * Cloud provider identifier for the peering connection if available
51
- */
52
- readonly peeringConnectionId: pulumi.Output<string>;
53
- /**
54
- * State of the peering connection
55
- */
56
- readonly state: pulumi.Output<string>;
57
- /**
58
- * State-specific help or error information
59
- */
60
- readonly stateInfo: pulumi.Output<{
61
- [key: string]: any;
62
- }>;
63
- /**
64
- * The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
65
- */
66
- readonly vpcId: pulumi.Output<string>;
67
- /**
68
- * Create a VpcPeeringConnection resource with the given unique name, arguments, and options.
69
- *
70
- * @param name The _unique_ name of the resource.
71
- * @param args The arguments to use to populate this resource's properties.
72
- * @param opts A bag of options that control this resource's behavior.
73
- */
74
- constructor(name: string, args: VpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions);
75
- }
76
- /**
77
- * Input properties used for looking up and filtering VpcPeeringConnection resources.
78
- */
79
- export interface VpcPeeringConnectionState {
80
- /**
81
- * Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet This property cannot be changed, doing so forces recreation of the resource.
82
- */
83
- peerAzureAppId?: pulumi.Input<string>;
84
- /**
85
- * Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
86
- */
87
- peerAzureTenantId?: pulumi.Input<string>;
88
- /**
89
- * AWS account ID or GCP project ID of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
90
- */
91
- peerCloudAccount?: pulumi.Input<string>;
92
- /**
93
- * AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
94
- */
95
- peerRegion?: pulumi.Input<string>;
96
- /**
97
- * Azure resource group name of the peered VPC This property cannot be changed, doing so forces recreation of the resource.
98
- */
99
- peerResourceGroup?: pulumi.Input<string>;
100
- /**
101
- * AWS VPC ID or GCP VPC network name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
102
- */
103
- peerVpc?: pulumi.Input<string>;
104
- /**
105
- * Cloud provider identifier for the peering connection if available
106
- */
107
- peeringConnectionId?: pulumi.Input<string>;
108
- /**
109
- * State of the peering connection
110
- */
111
- state?: pulumi.Input<string>;
112
- /**
113
- * State-specific help or error information
114
- */
115
- stateInfo?: pulumi.Input<{
116
- [key: string]: any;
117
- }>;
118
- /**
119
- * The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
120
- */
121
- vpcId?: pulumi.Input<string>;
122
- }
123
- /**
124
- * The set of arguments for constructing a VpcPeeringConnection resource.
125
- */
126
- export interface VpcPeeringConnectionArgs {
127
- /**
128
- * Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet This property cannot be changed, doing so forces recreation of the resource.
129
- */
130
- peerAzureAppId?: pulumi.Input<string>;
131
- /**
132
- * Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
133
- */
134
- peerAzureTenantId?: pulumi.Input<string>;
135
- /**
136
- * AWS account ID or GCP project ID of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
137
- */
138
- peerCloudAccount: pulumi.Input<string>;
139
- /**
140
- * AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
141
- */
142
- peerRegion?: pulumi.Input<string>;
143
- /**
144
- * Azure resource group name of the peered VPC This property cannot be changed, doing so forces recreation of the resource.
145
- */
146
- peerResourceGroup?: pulumi.Input<string>;
147
- /**
148
- * AWS VPC ID or GCP VPC network name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
149
- */
150
- peerVpc: pulumi.Input<string>;
151
- /**
152
- * The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
153
- */
154
- vpcId: pulumi.Input<string>;
155
- }
@@ -1,83 +0,0 @@
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.VpcPeeringConnection = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Import
10
- *
11
- * ```sh
12
- * $ pulumi import aiven:index/vpcPeeringConnection:VpcPeeringConnection mypeeringconnection project/vpc_id/peer_cloud_account/peer_vpc/peer_region
13
- * ```
14
- */
15
- class VpcPeeringConnection extends pulumi.CustomResource {
16
- /**
17
- * Get an existing VpcPeeringConnection resource's state with the given name, ID, and optional extra
18
- * properties used to qualify the lookup.
19
- *
20
- * @param name The _unique_ name of the resulting resource.
21
- * @param id The _unique_ provider ID of the resource to lookup.
22
- * @param state Any extra arguments used during the lookup.
23
- * @param opts Optional settings to control the behavior of the CustomResource.
24
- */
25
- static get(name, id, state, opts) {
26
- return new VpcPeeringConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
27
- }
28
- /**
29
- * Returns true if the given object is an instance of VpcPeeringConnection. This is designed to work even
30
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
- */
32
- static isInstance(obj) {
33
- if (obj === undefined || obj === null) {
34
- return false;
35
- }
36
- return obj['__pulumiType'] === VpcPeeringConnection.__pulumiType;
37
- }
38
- constructor(name, argsOrState, opts) {
39
- let resourceInputs = {};
40
- opts = opts || {};
41
- if (opts.id) {
42
- const state = argsOrState;
43
- resourceInputs["peerAzureAppId"] = state ? state.peerAzureAppId : undefined;
44
- resourceInputs["peerAzureTenantId"] = state ? state.peerAzureTenantId : undefined;
45
- resourceInputs["peerCloudAccount"] = state ? state.peerCloudAccount : undefined;
46
- resourceInputs["peerRegion"] = state ? state.peerRegion : undefined;
47
- resourceInputs["peerResourceGroup"] = state ? state.peerResourceGroup : undefined;
48
- resourceInputs["peerVpc"] = state ? state.peerVpc : undefined;
49
- resourceInputs["peeringConnectionId"] = state ? state.peeringConnectionId : undefined;
50
- resourceInputs["state"] = state ? state.state : undefined;
51
- resourceInputs["stateInfo"] = state ? state.stateInfo : undefined;
52
- resourceInputs["vpcId"] = state ? state.vpcId : undefined;
53
- }
54
- else {
55
- const args = argsOrState;
56
- if ((!args || args.peerCloudAccount === undefined) && !opts.urn) {
57
- throw new Error("Missing required property 'peerCloudAccount'");
58
- }
59
- if ((!args || args.peerVpc === undefined) && !opts.urn) {
60
- throw new Error("Missing required property 'peerVpc'");
61
- }
62
- if ((!args || args.vpcId === undefined) && !opts.urn) {
63
- throw new Error("Missing required property 'vpcId'");
64
- }
65
- resourceInputs["peerAzureAppId"] = args ? args.peerAzureAppId : undefined;
66
- resourceInputs["peerAzureTenantId"] = args ? args.peerAzureTenantId : undefined;
67
- resourceInputs["peerCloudAccount"] = args ? args.peerCloudAccount : undefined;
68
- resourceInputs["peerRegion"] = args ? args.peerRegion : undefined;
69
- resourceInputs["peerResourceGroup"] = args ? args.peerResourceGroup : undefined;
70
- resourceInputs["peerVpc"] = args ? args.peerVpc : undefined;
71
- resourceInputs["vpcId"] = args ? args.vpcId : undefined;
72
- resourceInputs["peeringConnectionId"] = undefined /*out*/;
73
- resourceInputs["state"] = undefined /*out*/;
74
- resourceInputs["stateInfo"] = undefined /*out*/;
75
- }
76
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
77
- super(VpcPeeringConnection.__pulumiType, name, resourceInputs, opts);
78
- }
79
- }
80
- exports.VpcPeeringConnection = VpcPeeringConnection;
81
- /** @internal */
82
- VpcPeeringConnection.__pulumiType = 'aiven:index/vpcPeeringConnection:VpcPeeringConnection';
83
- //# sourceMappingURL=vpcPeeringConnection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vpcPeeringConnection.js","sourceRoot":"","sources":["../vpcPeeringConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,G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