@pulumi/aiven 6.34.0 → 6.35.0-alpha.1740108157
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/awsOrgVpcPeeringConnection.d.ts +152 -0
- package/awsOrgVpcPeeringConnection.js +110 -0
- package/awsOrgVpcPeeringConnection.js.map +1 -0
- package/azureOrgVpcPeeringConnection.d.ts +170 -0
- package/azureOrgVpcPeeringConnection.js +120 -0
- package/azureOrgVpcPeeringConnection.js.map +1 -0
- package/billingGroup.d.ts +3 -3
- package/gcpOrgVpcPeeringConnection.d.ts +131 -0
- package/gcpOrgVpcPeeringConnection.js +102 -0
- package/gcpOrgVpcPeeringConnection.js.map +1 -0
- package/getAwsOrgVpcPeeringConnection.d.ts +106 -0
- package/getAwsOrgVpcPeeringConnection.js +42 -0
- package/getAwsOrgVpcPeeringConnection.js.map +1 -0
- package/getAzureOrgVpcPeeringConnection.d.ts +110 -0
- package/getAzureOrgVpcPeeringConnection.js +42 -0
- package/getAzureOrgVpcPeeringConnection.js.map +1 -0
- package/getBillingGroup.d.ts +1 -1
- package/getGcpOrgVpcPeeringConnection.d.ts +90 -0
- package/getGcpOrgVpcPeeringConnection.js +40 -0
- package/getGcpOrgVpcPeeringConnection.js.map +1 -0
- package/getOrganizationProject.d.ts +1 -1
- package/getOrganizationVpc.d.ts +78 -0
- package/getOrganizationVpc.js +36 -0
- package/getOrganizationVpc.js.map +1 -0
- package/getProject.d.ts +1 -1
- package/index.d.ts +24 -0
- package/index.js +38 -5
- package/index.js.map +1 -1
- package/organizationProject.d.ts +3 -3
- package/organizationVpc.d.ts +129 -0
- package/organizationVpc.js +95 -0
- package/organizationVpc.js.map +1 -0
- package/package.json +2 -2
- package/project.d.ts +3 -3
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates and manages an AWS VPC peering connection with an Aiven Organization VPC.
|
|
4
|
+
*
|
|
5
|
+
* **This resource is in the beta stage and may change without notice.** Set
|
|
6
|
+
* the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aiven from "@pulumi/aiven";
|
|
13
|
+
*
|
|
14
|
+
* const exampleVpc = new aiven.OrganizationVpc("example_vpc", {
|
|
15
|
+
* organizationId: example.id,
|
|
16
|
+
* cloudName: "aws-eu-central-1",
|
|
17
|
+
* networkCidr: "10.0.0.0/24",
|
|
18
|
+
* });
|
|
19
|
+
* const examplePeering = new aiven.AwsOrgVpcPeeringConnection("example_peering", {
|
|
20
|
+
* organizationId: exampleVpc.organizationId,
|
|
21
|
+
* organizationVpcId: exampleVpc.organizationVpcId,
|
|
22
|
+
* awsAccountId: awsId,
|
|
23
|
+
* awsVpcId: "vpc-1a2b3c4d5e6f7g8h9",
|
|
24
|
+
* awsVpcRegion: "aws-us-east-2",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_REGION
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing AwsOrgVpcPeeringConnection resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsOrgVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): AwsOrgVpcPeeringConnection;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of AwsOrgVpcPeeringConnection. 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: any): obj is AwsOrgVpcPeeringConnection;
|
|
50
|
+
/**
|
|
51
|
+
* AWS account ID. Changing this property forces recreation of the resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly awsAccountId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* AWS VPC ID. Changing this property forces recreation of the resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly awsVpcId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the AWS VPC peering connection.
|
|
60
|
+
*/
|
|
61
|
+
readonly awsVpcPeeringConnectionId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The AWS region of the peered VPC. For example, `eu-central-1`.
|
|
64
|
+
*/
|
|
65
|
+
readonly awsVpcRegion: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the organization.
|
|
68
|
+
*/
|
|
69
|
+
readonly organizationId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Identifier of the organization VPC.
|
|
72
|
+
*/
|
|
73
|
+
readonly organizationVpcId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the peering connection.
|
|
76
|
+
*/
|
|
77
|
+
readonly peeringConnectionId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`.
|
|
80
|
+
*/
|
|
81
|
+
readonly state: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a AwsOrgVpcPeeringConnection resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name: string, args: AwsOrgVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Input properties used for looking up and filtering AwsOrgVpcPeeringConnection resources.
|
|
93
|
+
*/
|
|
94
|
+
export interface AwsOrgVpcPeeringConnectionState {
|
|
95
|
+
/**
|
|
96
|
+
* AWS account ID. Changing this property forces recreation of the resource.
|
|
97
|
+
*/
|
|
98
|
+
awsAccountId?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* AWS VPC ID. Changing this property forces recreation of the resource.
|
|
101
|
+
*/
|
|
102
|
+
awsVpcId?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the AWS VPC peering connection.
|
|
105
|
+
*/
|
|
106
|
+
awsVpcPeeringConnectionId?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The AWS region of the peered VPC. For example, `eu-central-1`.
|
|
109
|
+
*/
|
|
110
|
+
awsVpcRegion?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Identifier of the organization.
|
|
113
|
+
*/
|
|
114
|
+
organizationId?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Identifier of the organization VPC.
|
|
117
|
+
*/
|
|
118
|
+
organizationVpcId?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the peering connection.
|
|
121
|
+
*/
|
|
122
|
+
peeringConnectionId?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`.
|
|
125
|
+
*/
|
|
126
|
+
state?: pulumi.Input<string>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The set of arguments for constructing a AwsOrgVpcPeeringConnection resource.
|
|
130
|
+
*/
|
|
131
|
+
export interface AwsOrgVpcPeeringConnectionArgs {
|
|
132
|
+
/**
|
|
133
|
+
* AWS account ID. Changing this property forces recreation of the resource.
|
|
134
|
+
*/
|
|
135
|
+
awsAccountId: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* AWS VPC ID. Changing this property forces recreation of the resource.
|
|
138
|
+
*/
|
|
139
|
+
awsVpcId: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The AWS region of the peered VPC. For example, `eu-central-1`.
|
|
142
|
+
*/
|
|
143
|
+
awsVpcRegion: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Identifier of the organization.
|
|
146
|
+
*/
|
|
147
|
+
organizationId: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Identifier of the organization VPC.
|
|
150
|
+
*/
|
|
151
|
+
organizationVpcId: pulumi.Input<string>;
|
|
152
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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.AwsOrgVpcPeeringConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages an AWS VPC peering connection with an Aiven Organization VPC.
|
|
10
|
+
*
|
|
11
|
+
* **This resource is in the beta stage and may change without notice.** Set
|
|
12
|
+
* the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aiven from "@pulumi/aiven";
|
|
19
|
+
*
|
|
20
|
+
* const exampleVpc = new aiven.OrganizationVpc("example_vpc", {
|
|
21
|
+
* organizationId: example.id,
|
|
22
|
+
* cloudName: "aws-eu-central-1",
|
|
23
|
+
* networkCidr: "10.0.0.0/24",
|
|
24
|
+
* });
|
|
25
|
+
* const examplePeering = new aiven.AwsOrgVpcPeeringConnection("example_peering", {
|
|
26
|
+
* organizationId: exampleVpc.organizationId,
|
|
27
|
+
* organizationVpcId: exampleVpc.organizationVpcId,
|
|
28
|
+
* awsAccountId: awsId,
|
|
29
|
+
* awsVpcId: "vpc-1a2b3c4d5e6f7g8h9",
|
|
30
|
+
* awsVpcRegion: "aws-us-east-2",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_REGION
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing AwsOrgVpcPeeringConnection resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new AwsOrgVpcPeeringConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of AwsOrgVpcPeeringConnection. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === AwsOrgVpcPeeringConnection.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
|
|
69
|
+
resourceInputs["awsVpcId"] = state ? state.awsVpcId : undefined;
|
|
70
|
+
resourceInputs["awsVpcPeeringConnectionId"] = state ? state.awsVpcPeeringConnectionId : undefined;
|
|
71
|
+
resourceInputs["awsVpcRegion"] = state ? state.awsVpcRegion : undefined;
|
|
72
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
73
|
+
resourceInputs["organizationVpcId"] = state ? state.organizationVpcId : undefined;
|
|
74
|
+
resourceInputs["peeringConnectionId"] = state ? state.peeringConnectionId : undefined;
|
|
75
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.awsAccountId === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'awsAccountId'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.awsVpcId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'awsVpcId'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.awsVpcRegion === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'awsVpcRegion'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.organizationId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'organizationId'");
|
|
90
|
+
}
|
|
91
|
+
if ((!args || args.organizationVpcId === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'organizationVpcId'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
|
|
95
|
+
resourceInputs["awsVpcId"] = args ? args.awsVpcId : undefined;
|
|
96
|
+
resourceInputs["awsVpcRegion"] = args ? args.awsVpcRegion : undefined;
|
|
97
|
+
resourceInputs["organizationId"] = args ? args.organizationId : undefined;
|
|
98
|
+
resourceInputs["organizationVpcId"] = args ? args.organizationVpcId : undefined;
|
|
99
|
+
resourceInputs["awsVpcPeeringConnectionId"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["peeringConnectionId"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(AwsOrgVpcPeeringConnection.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.AwsOrgVpcPeeringConnection = AwsOrgVpcPeeringConnection;
|
|
108
|
+
/** @internal */
|
|
109
|
+
AwsOrgVpcPeeringConnection.__pulumiType = 'aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection';
|
|
110
|
+
//# sourceMappingURL=awsOrgVpcPeeringConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"awsOrgVpcPeeringConnection.js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3
|
+
* Creates and manages an Azure VPC peering connection with an Aiven VPC.
|
|
4
|
+
*
|
|
5
|
+
* **This resource is in the beta stage and may change without notice.** Set
|
|
6
|
+
* the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aiven from "@pulumi/aiven";
|
|
13
|
+
*
|
|
14
|
+
* const exampleVpc = new aiven.OrganizationVpc("example_vpc", {
|
|
15
|
+
* organizationId: example.id,
|
|
16
|
+
* cloudName: "azure-germany-westcentral",
|
|
17
|
+
* networkCidr: "10.0.0.0/24",
|
|
18
|
+
* });
|
|
19
|
+
* const examplePeering = new aiven.AzureOrgVpcPeeringConnection("example_peering", {
|
|
20
|
+
* organizationId: exampleVpc.organizationId,
|
|
21
|
+
* organizationVpcId: exampleVpc.organizationVpcId,
|
|
22
|
+
* azureSubscriptionId: "12345678-1234-1234-1234-123456789012",
|
|
23
|
+
* vnetName: "my-vnet",
|
|
24
|
+
* peerResourceGroup: "my-resource-group",
|
|
25
|
+
* peerAzureAppId: "87654321-4321-4321-4321-210987654321",
|
|
26
|
+
* peerAzureTenantId: "11111111-2222-3333-4444-555555555555",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME/RESOURCE_GROUP
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class AzureOrgVpcPeeringConnection extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing AzureOrgVpcPeeringConnection resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureOrgVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): AzureOrgVpcPeeringConnection;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of AzureOrgVpcPeeringConnection. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is AzureOrgVpcPeeringConnection;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly azureSubscriptionId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Identifier of the organization.
|
|
58
|
+
*/
|
|
59
|
+
readonly organizationId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the organization VPC.
|
|
62
|
+
*/
|
|
63
|
+
readonly organizationVpcId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly peerAzureAppId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly peerAzureTenantId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
|
|
74
|
+
*/
|
|
75
|
+
readonly peerResourceGroup: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the cloud provider for the peering connection.
|
|
78
|
+
*/
|
|
79
|
+
readonly peeringConnectionId: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* State of the peering connection
|
|
82
|
+
*/
|
|
83
|
+
readonly state: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
86
|
+
*/
|
|
87
|
+
readonly vnetName: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Create a AzureOrgVpcPeeringConnection resource with the given unique name, arguments, and options.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resource.
|
|
92
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
93
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
94
|
+
*/
|
|
95
|
+
constructor(name: string, args: AzureOrgVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Input properties used for looking up and filtering AzureOrgVpcPeeringConnection resources.
|
|
99
|
+
*/
|
|
100
|
+
export interface AzureOrgVpcPeeringConnectionState {
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
103
|
+
*/
|
|
104
|
+
azureSubscriptionId?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Identifier of the organization.
|
|
107
|
+
*/
|
|
108
|
+
organizationId?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Identifier of the organization VPC.
|
|
111
|
+
*/
|
|
112
|
+
organizationVpcId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
|
|
115
|
+
*/
|
|
116
|
+
peerAzureAppId?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
119
|
+
*/
|
|
120
|
+
peerAzureTenantId?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
|
|
123
|
+
*/
|
|
124
|
+
peerResourceGroup?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The ID of the cloud provider for the peering connection.
|
|
127
|
+
*/
|
|
128
|
+
peeringConnectionId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* State of the peering connection
|
|
131
|
+
*/
|
|
132
|
+
state?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
135
|
+
*/
|
|
136
|
+
vnetName?: pulumi.Input<string>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a AzureOrgVpcPeeringConnection resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface AzureOrgVpcPeeringConnectionArgs {
|
|
142
|
+
/**
|
|
143
|
+
* The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
144
|
+
*/
|
|
145
|
+
azureSubscriptionId: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Identifier of the organization.
|
|
148
|
+
*/
|
|
149
|
+
organizationId: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Identifier of the organization VPC.
|
|
152
|
+
*/
|
|
153
|
+
organizationVpcId: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
|
|
156
|
+
*/
|
|
157
|
+
peerAzureAppId: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
160
|
+
*/
|
|
161
|
+
peerAzureTenantId: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
|
|
164
|
+
*/
|
|
165
|
+
peerResourceGroup: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
168
|
+
*/
|
|
169
|
+
vnetName: pulumi.Input<string>;
|
|
170
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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.AzureOrgVpcPeeringConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages an Azure VPC peering connection with an Aiven VPC.
|
|
10
|
+
*
|
|
11
|
+
* **This resource is in the beta stage and may change without notice.** Set
|
|
12
|
+
* the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aiven from "@pulumi/aiven";
|
|
19
|
+
*
|
|
20
|
+
* const exampleVpc = new aiven.OrganizationVpc("example_vpc", {
|
|
21
|
+
* organizationId: example.id,
|
|
22
|
+
* cloudName: "azure-germany-westcentral",
|
|
23
|
+
* networkCidr: "10.0.0.0/24",
|
|
24
|
+
* });
|
|
25
|
+
* const examplePeering = new aiven.AzureOrgVpcPeeringConnection("example_peering", {
|
|
26
|
+
* organizationId: exampleVpc.organizationId,
|
|
27
|
+
* organizationVpcId: exampleVpc.organizationVpcId,
|
|
28
|
+
* azureSubscriptionId: "12345678-1234-1234-1234-123456789012",
|
|
29
|
+
* vnetName: "my-vnet",
|
|
30
|
+
* peerResourceGroup: "my-resource-group",
|
|
31
|
+
* peerAzureAppId: "87654321-4321-4321-4321-210987654321",
|
|
32
|
+
* peerAzureTenantId: "11111111-2222-3333-4444-555555555555",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME/RESOURCE_GROUP
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class AzureOrgVpcPeeringConnection extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing AzureOrgVpcPeeringConnection resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new AzureOrgVpcPeeringConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of AzureOrgVpcPeeringConnection. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === AzureOrgVpcPeeringConnection.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["azureSubscriptionId"] = state ? state.azureSubscriptionId : undefined;
|
|
71
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
72
|
+
resourceInputs["organizationVpcId"] = state ? state.organizationVpcId : undefined;
|
|
73
|
+
resourceInputs["peerAzureAppId"] = state ? state.peerAzureAppId : undefined;
|
|
74
|
+
resourceInputs["peerAzureTenantId"] = state ? state.peerAzureTenantId : undefined;
|
|
75
|
+
resourceInputs["peerResourceGroup"] = state ? state.peerResourceGroup : undefined;
|
|
76
|
+
resourceInputs["peeringConnectionId"] = state ? state.peeringConnectionId : undefined;
|
|
77
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
78
|
+
resourceInputs["vnetName"] = state ? state.vnetName : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
if ((!args || args.azureSubscriptionId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'azureSubscriptionId'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.organizationId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'organizationId'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.organizationVpcId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'organizationVpcId'");
|
|
90
|
+
}
|
|
91
|
+
if ((!args || args.peerAzureAppId === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'peerAzureAppId'");
|
|
93
|
+
}
|
|
94
|
+
if ((!args || args.peerAzureTenantId === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'peerAzureTenantId'");
|
|
96
|
+
}
|
|
97
|
+
if ((!args || args.peerResourceGroup === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'peerResourceGroup'");
|
|
99
|
+
}
|
|
100
|
+
if ((!args || args.vnetName === undefined) && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'vnetName'");
|
|
102
|
+
}
|
|
103
|
+
resourceInputs["azureSubscriptionId"] = args ? args.azureSubscriptionId : undefined;
|
|
104
|
+
resourceInputs["organizationId"] = args ? args.organizationId : undefined;
|
|
105
|
+
resourceInputs["organizationVpcId"] = args ? args.organizationVpcId : undefined;
|
|
106
|
+
resourceInputs["peerAzureAppId"] = args ? args.peerAzureAppId : undefined;
|
|
107
|
+
resourceInputs["peerAzureTenantId"] = args ? args.peerAzureTenantId : undefined;
|
|
108
|
+
resourceInputs["peerResourceGroup"] = args ? args.peerResourceGroup : undefined;
|
|
109
|
+
resourceInputs["vnetName"] = args ? args.vnetName : undefined;
|
|
110
|
+
resourceInputs["peeringConnectionId"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(AzureOrgVpcPeeringConnection.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.AzureOrgVpcPeeringConnection = AzureOrgVpcPeeringConnection;
|
|
118
|
+
/** @internal */
|
|
119
|
+
AzureOrgVpcPeeringConnection.__pulumiType = 'aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection';
|
|
120
|
+
//# sourceMappingURL=azureOrgVpcPeeringConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureOrgVpcPeeringConnection.js","sourceRoot":"","sources":["../azureOrgVpcPeeringConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;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YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AA1HL,oEA2HC;AA7GG,gBAAgB;AACO,yCAAY,GAAG,uEAAuE,CAAC"}
|
package/billingGroup.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export declare class BillingGroup extends pulumi.CustomResource {
|
|
|
89
89
|
*/
|
|
90
90
|
readonly name: pulumi.Output<string>;
|
|
91
91
|
/**
|
|
92
|
-
* Link a billing group to an existing organization
|
|
92
|
+
* Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
93
93
|
*/
|
|
94
94
|
readonly parentId: pulumi.Output<string | undefined>;
|
|
95
95
|
/**
|
|
@@ -164,7 +164,7 @@ export interface BillingGroupState {
|
|
|
164
164
|
*/
|
|
165
165
|
name?: pulumi.Input<string>;
|
|
166
166
|
/**
|
|
167
|
-
* Link a billing group to an existing organization
|
|
167
|
+
* Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
168
168
|
*/
|
|
169
169
|
parentId?: pulumi.Input<string>;
|
|
170
170
|
/**
|
|
@@ -231,7 +231,7 @@ export interface BillingGroupArgs {
|
|
|
231
231
|
*/
|
|
232
232
|
name?: pulumi.Input<string>;
|
|
233
233
|
/**
|
|
234
|
-
* Link a billing group to an existing organization
|
|
234
|
+
* Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
235
235
|
*/
|
|
236
236
|
parentId?: pulumi.Input<string>;
|
|
237
237
|
/**
|