@pulumi/openstack 4.1.0-alpha.1720853279 → 4.1.0-alpha.1721934504
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/bgpvpnNetworkAssociateV2.d.ts +135 -0
- package/bgpvpnNetworkAssociateV2.js +88 -0
- package/bgpvpnNetworkAssociateV2.js.map +1 -0
- package/bgpvpnPortAssociateV2.d.ts +174 -0
- package/bgpvpnPortAssociateV2.js +102 -0
- package/bgpvpnPortAssociateV2.js.map +1 -0
- package/bgpvpnRouterAssociateV2.d.ts +150 -0
- package/bgpvpnRouterAssociateV2.js +90 -0
- package/bgpvpnRouterAssociateV2.js.map +1 -0
- package/bgpvpnV2.d.ts +255 -0
- package/bgpvpnV2.js +103 -0
- package/bgpvpnV2.js.map +1 -0
- package/compute/interfaceAttach.d.ts +1 -1
- package/compute/interfaceAttach.js +1 -1
- package/images/getImage.d.ts +50 -37
- package/images/getImage.js +2 -0
- package/images/getImage.js.map +1 -1
- package/images/getImageIds.d.ts +51 -26
- package/images/getImageIds.js +3 -0
- package/images/getImageIds.js.map +1 -1
- package/images/image.d.ts +90 -81
- package/images/image.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -1
- package/index.js.map +1 -1
- package/lbLoadbalancerV2.d.ts +33 -15
- package/lbLoadbalancerV2.js +2 -0
- package/lbLoadbalancerV2.js.map +1 -1
- package/loadbalancer/getFlavorV2.d.ts +63 -0
- package/loadbalancer/getFlavorV2.js +28 -0
- package/loadbalancer/getFlavorV2.js.map +1 -1
- package/loadbalancer/l7policyV2.d.ts +36 -0
- package/loadbalancer/l7policyV2.js +4 -0
- package/loadbalancer/l7policyV2.js.map +1 -1
- package/loadbalancer/l7ruleV2.d.ts +3 -3
- package/loadbalancer/listener.d.ts +12 -0
- package/loadbalancer/listener.js.map +1 -1
- package/loadbalancer/loadBalancer.d.ts +3 -0
- package/loadbalancer/loadBalancer.js +2 -0
- package/loadbalancer/loadBalancer.js.map +1 -1
- package/loadbalancer/member.d.ts +15 -0
- package/loadbalancer/member.js +2 -0
- package/loadbalancer/member.js.map +1 -1
- package/loadbalancer/monitor.d.ts +33 -30
- package/loadbalancer/monitor.js.map +1 -1
- package/loadbalancer/pool.d.ts +3 -0
- package/loadbalancer/pool.js +2 -0
- package/loadbalancer/pool.js.map +1 -1
- package/networking/getSecGroup.d.ts +12 -0
- package/networking/getSecGroup.js +1 -0
- package/networking/getSecGroup.js.map +1 -1
- package/networking/getSubnet.d.ts +9 -0
- package/networking/getSubnet.js +1 -0
- package/networking/getSubnet.js.map +1 -1
- package/networking/getSubnetIdsV2.d.ts +9 -0
- package/networking/getSubnetIdsV2.js +1 -0
- package/networking/getSubnetIdsV2.js.map +1 -1
- package/networking/rbacPolicyV2.d.ts +3 -3
- package/networking/secGroup.d.ts +21 -0
- package/networking/secGroup.js +2 -0
- package/networking/secGroup.js.map +1 -1
- package/networking/subnet.d.ts +15 -0
- package/networking/subnet.js +2 -0
- package/networking/subnet.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +40 -1
- package/types/output.d.ts +40 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a V2 BGP VPN network association resource within OpenStack.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as openstack from "@pulumi/openstack";
|
|
10
|
+
*
|
|
11
|
+
* const association1 = new openstack.BgpvpnNetworkAssociateV2("association_1", {
|
|
12
|
+
* bgpvpnId: "e7189337-5684-46ee-bcb1-44f1a57066c9",
|
|
13
|
+
* networkId: "de83d56c-4d2f-44f7-ac24-af393252204f",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* BGP VPN network associations can be imported using the BGP VPN ID and BGP VPN
|
|
20
|
+
*
|
|
21
|
+
* network association ID separated by a slash, e.g.:
|
|
22
|
+
*
|
|
23
|
+
* hcl
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2 association_1 2145aaa9-edaa-44fb-9815-e47a96677a72/67bb952a-f9d1-4fc8-ae84-082253a879d4
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing BgpvpnNetworkAssociateV2 resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BgpvpnNetworkAssociateV2State, opts?: pulumi.CustomResourceOptions): BgpvpnNetworkAssociateV2;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of BgpvpnNetworkAssociateV2. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is BgpvpnNetworkAssociateV2;
|
|
45
|
+
/**
|
|
46
|
+
* The ID of the BGP VPN to which the network will be
|
|
47
|
+
* associated. Changing this creates a new BGP VPN network association
|
|
48
|
+
*/
|
|
49
|
+
readonly bgpvpnId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the network to be associated with the BGP
|
|
52
|
+
* VPN. Changing this creates a new BGP VPN network association.
|
|
53
|
+
*/
|
|
54
|
+
readonly networkId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the project that owns the BGP VPN network
|
|
57
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
58
|
+
* project ID other than their own. Changing this creates a new BGP VPN network
|
|
59
|
+
* association.
|
|
60
|
+
*/
|
|
61
|
+
readonly projectId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The region in which to obtain the V2 Networking client.
|
|
64
|
+
* A Networking client is needed to create a BGP VPN network association. If
|
|
65
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
66
|
+
* a new BGP VPN network association.
|
|
67
|
+
*/
|
|
68
|
+
readonly region: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a BgpvpnNetworkAssociateV2 resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: BgpvpnNetworkAssociateV2Args, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering BgpvpnNetworkAssociateV2 resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface BgpvpnNetworkAssociateV2State {
|
|
82
|
+
/**
|
|
83
|
+
* The ID of the BGP VPN to which the network will be
|
|
84
|
+
* associated. Changing this creates a new BGP VPN network association
|
|
85
|
+
*/
|
|
86
|
+
bgpvpnId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the network to be associated with the BGP
|
|
89
|
+
* VPN. Changing this creates a new BGP VPN network association.
|
|
90
|
+
*/
|
|
91
|
+
networkId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the project that owns the BGP VPN network
|
|
94
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
95
|
+
* project ID other than their own. Changing this creates a new BGP VPN network
|
|
96
|
+
* association.
|
|
97
|
+
*/
|
|
98
|
+
projectId?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The region in which to obtain the V2 Networking client.
|
|
101
|
+
* A Networking client is needed to create a BGP VPN network association. If
|
|
102
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
103
|
+
* a new BGP VPN network association.
|
|
104
|
+
*/
|
|
105
|
+
region?: pulumi.Input<string>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a BgpvpnNetworkAssociateV2 resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface BgpvpnNetworkAssociateV2Args {
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the BGP VPN to which the network will be
|
|
113
|
+
* associated. Changing this creates a new BGP VPN network association
|
|
114
|
+
*/
|
|
115
|
+
bgpvpnId: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the network to be associated with the BGP
|
|
118
|
+
* VPN. Changing this creates a new BGP VPN network association.
|
|
119
|
+
*/
|
|
120
|
+
networkId: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The ID of the project that owns the BGP VPN network
|
|
123
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
124
|
+
* project ID other than their own. Changing this creates a new BGP VPN network
|
|
125
|
+
* association.
|
|
126
|
+
*/
|
|
127
|
+
projectId?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The region in which to obtain the V2 Networking client.
|
|
130
|
+
* A Networking client is needed to create a BGP VPN network association. If
|
|
131
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
132
|
+
* a new BGP VPN network association.
|
|
133
|
+
*/
|
|
134
|
+
region?: pulumi.Input<string>;
|
|
135
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.BgpvpnNetworkAssociateV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a V2 BGP VPN network association resource within OpenStack.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const association1 = new openstack.BgpvpnNetworkAssociateV2("association_1", {
|
|
18
|
+
* bgpvpnId: "e7189337-5684-46ee-bcb1-44f1a57066c9",
|
|
19
|
+
* networkId: "de83d56c-4d2f-44f7-ac24-af393252204f",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* BGP VPN network associations can be imported using the BGP VPN ID and BGP VPN
|
|
26
|
+
*
|
|
27
|
+
* network association ID separated by a slash, e.g.:
|
|
28
|
+
*
|
|
29
|
+
* hcl
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2 association_1 2145aaa9-edaa-44fb-9815-e47a96677a72/67bb952a-f9d1-4fc8-ae84-082253a879d4
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing BgpvpnNetworkAssociateV2 resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new BgpvpnNetworkAssociateV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of BgpvpnNetworkAssociateV2. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === BgpvpnNetworkAssociateV2.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["bgpvpnId"] = state ? state.bgpvpnId : undefined;
|
|
64
|
+
resourceInputs["networkId"] = state ? state.networkId : undefined;
|
|
65
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
66
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.bgpvpnId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'bgpvpnId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.networkId === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'networkId'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["bgpvpnId"] = args ? args.bgpvpnId : undefined;
|
|
77
|
+
resourceInputs["networkId"] = args ? args.networkId : undefined;
|
|
78
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
79
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
80
|
+
}
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
|
+
super(BgpvpnNetworkAssociateV2.__pulumiType, name, resourceInputs, opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.BgpvpnNetworkAssociateV2 = BgpvpnNetworkAssociateV2;
|
|
86
|
+
/** @internal */
|
|
87
|
+
BgpvpnNetworkAssociateV2.__pulumiType = 'openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2';
|
|
88
|
+
//# sourceMappingURL=bgpvpnNetworkAssociateV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bgpvpnNetworkAssociateV2.js","sourceRoot":"","sources":["../bgpvpnNetworkAssociateV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AArFL,4DAsFC;AAxEG,gBAAgB;AACO,qCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a V2 BGP VPN port association resource within OpenStack.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as openstack from "@pulumi/openstack";
|
|
12
|
+
*
|
|
13
|
+
* const association1 = new openstack.BgpvpnPortAssociateV2("association_1", {
|
|
14
|
+
* bgpvpnId: "19382ec5-8098-47d9-a9c6-6270c91103f4",
|
|
15
|
+
* portId: "b83a95b8-c2c8-4eac-9a9e-ddc85bd1266f",
|
|
16
|
+
* routes: [
|
|
17
|
+
* {
|
|
18
|
+
* type: "prefix",
|
|
19
|
+
* prefix: "192.168.170.1/32",
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* type: "bgpvpn",
|
|
23
|
+
* bgpvpnId: "35af1cc6-3d0f-4c5d-86f8-8cdb508d3f0c",
|
|
24
|
+
* },
|
|
25
|
+
* ],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* BGP VPN port associations can be imported using the BGP VPN ID and BGP VPN port
|
|
32
|
+
*
|
|
33
|
+
* association ID separated by a slash, e.g.:
|
|
34
|
+
*
|
|
35
|
+
* hcl
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import openstack:index/bgpvpnPortAssociateV2:BgpvpnPortAssociateV2 association_1 5bb44ecf-f8fe-4d75-8fc5-313f96ee2696/8f8fc660-3f28-414e-896a-0c7c51162fcf
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class BgpvpnPortAssociateV2 extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing BgpvpnPortAssociateV2 resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BgpvpnPortAssociateV2State, opts?: pulumi.CustomResourceOptions): BgpvpnPortAssociateV2;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of BgpvpnPortAssociateV2. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is BgpvpnPortAssociateV2;
|
|
57
|
+
/**
|
|
58
|
+
* A boolean flag indicating whether fixed
|
|
59
|
+
* IPs should be advertised. Defaults to true.
|
|
60
|
+
*/
|
|
61
|
+
readonly advertiseFixedIps: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the BGP VPN to which the port will be
|
|
64
|
+
* associated. Changing this creates a new BGP VPN port association.
|
|
65
|
+
*/
|
|
66
|
+
readonly bgpvpnId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the port to be associated with the BGP VPN.
|
|
69
|
+
* Changing this creates a new BGP VPN port association.
|
|
70
|
+
*/
|
|
71
|
+
readonly portId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the project that owns the port
|
|
74
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
75
|
+
* project ID other than their own. Changing this creates a new BGP VPN port
|
|
76
|
+
* association.
|
|
77
|
+
*/
|
|
78
|
+
readonly projectId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The region in which to obtain the V2 Networking client.
|
|
81
|
+
* A Networking client is needed to create a BGP VPN port association. If
|
|
82
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
83
|
+
* a new BGP VPN port association.
|
|
84
|
+
*/
|
|
85
|
+
readonly region: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* A list of dictionaries containing the following keys:
|
|
88
|
+
*/
|
|
89
|
+
readonly routes: pulumi.Output<outputs.BgpvpnPortAssociateV2Route[] | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a BgpvpnPortAssociateV2 resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: BgpvpnPortAssociateV2Args, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Input properties used for looking up and filtering BgpvpnPortAssociateV2 resources.
|
|
101
|
+
*/
|
|
102
|
+
export interface BgpvpnPortAssociateV2State {
|
|
103
|
+
/**
|
|
104
|
+
* A boolean flag indicating whether fixed
|
|
105
|
+
* IPs should be advertised. Defaults to true.
|
|
106
|
+
*/
|
|
107
|
+
advertiseFixedIps?: pulumi.Input<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* The ID of the BGP VPN to which the port will be
|
|
110
|
+
* associated. Changing this creates a new BGP VPN port association.
|
|
111
|
+
*/
|
|
112
|
+
bgpvpnId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the port to be associated with the BGP VPN.
|
|
115
|
+
* Changing this creates a new BGP VPN port association.
|
|
116
|
+
*/
|
|
117
|
+
portId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The ID of the project that owns the port
|
|
120
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
121
|
+
* project ID other than their own. Changing this creates a new BGP VPN port
|
|
122
|
+
* association.
|
|
123
|
+
*/
|
|
124
|
+
projectId?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The region in which to obtain the V2 Networking client.
|
|
127
|
+
* A Networking client is needed to create a BGP VPN port association. If
|
|
128
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
129
|
+
* a new BGP VPN port association.
|
|
130
|
+
*/
|
|
131
|
+
region?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* A list of dictionaries containing the following keys:
|
|
134
|
+
*/
|
|
135
|
+
routes?: pulumi.Input<pulumi.Input<inputs.BgpvpnPortAssociateV2Route>[]>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The set of arguments for constructing a BgpvpnPortAssociateV2 resource.
|
|
139
|
+
*/
|
|
140
|
+
export interface BgpvpnPortAssociateV2Args {
|
|
141
|
+
/**
|
|
142
|
+
* A boolean flag indicating whether fixed
|
|
143
|
+
* IPs should be advertised. Defaults to true.
|
|
144
|
+
*/
|
|
145
|
+
advertiseFixedIps?: pulumi.Input<boolean>;
|
|
146
|
+
/**
|
|
147
|
+
* The ID of the BGP VPN to which the port will be
|
|
148
|
+
* associated. Changing this creates a new BGP VPN port association.
|
|
149
|
+
*/
|
|
150
|
+
bgpvpnId: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The ID of the port to be associated with the BGP VPN.
|
|
153
|
+
* Changing this creates a new BGP VPN port association.
|
|
154
|
+
*/
|
|
155
|
+
portId: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the project that owns the port
|
|
158
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
159
|
+
* project ID other than their own. Changing this creates a new BGP VPN port
|
|
160
|
+
* association.
|
|
161
|
+
*/
|
|
162
|
+
projectId?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The region in which to obtain the V2 Networking client.
|
|
165
|
+
* A Networking client is needed to create a BGP VPN port association. If
|
|
166
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
167
|
+
* a new BGP VPN port association.
|
|
168
|
+
*/
|
|
169
|
+
region?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* A list of dictionaries containing the following keys:
|
|
172
|
+
*/
|
|
173
|
+
routes?: pulumi.Input<pulumi.Input<inputs.BgpvpnPortAssociateV2Route>[]>;
|
|
174
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.BgpvpnPortAssociateV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a V2 BGP VPN port association resource within OpenStack.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const association1 = new openstack.BgpvpnPortAssociateV2("association_1", {
|
|
18
|
+
* bgpvpnId: "19382ec5-8098-47d9-a9c6-6270c91103f4",
|
|
19
|
+
* portId: "b83a95b8-c2c8-4eac-9a9e-ddc85bd1266f",
|
|
20
|
+
* routes: [
|
|
21
|
+
* {
|
|
22
|
+
* type: "prefix",
|
|
23
|
+
* prefix: "192.168.170.1/32",
|
|
24
|
+
* },
|
|
25
|
+
* {
|
|
26
|
+
* type: "bgpvpn",
|
|
27
|
+
* bgpvpnId: "35af1cc6-3d0f-4c5d-86f8-8cdb508d3f0c",
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* BGP VPN port associations can be imported using the BGP VPN ID and BGP VPN port
|
|
36
|
+
*
|
|
37
|
+
* association ID separated by a slash, e.g.:
|
|
38
|
+
*
|
|
39
|
+
* hcl
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import openstack:index/bgpvpnPortAssociateV2:BgpvpnPortAssociateV2 association_1 5bb44ecf-f8fe-4d75-8fc5-313f96ee2696/8f8fc660-3f28-414e-896a-0c7c51162fcf
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class BgpvpnPortAssociateV2 extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing BgpvpnPortAssociateV2 resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new BgpvpnPortAssociateV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of BgpvpnPortAssociateV2. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === BgpvpnPortAssociateV2.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["advertiseFixedIps"] = state ? state.advertiseFixedIps : undefined;
|
|
74
|
+
resourceInputs["bgpvpnId"] = state ? state.bgpvpnId : undefined;
|
|
75
|
+
resourceInputs["portId"] = state ? state.portId : undefined;
|
|
76
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
77
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
78
|
+
resourceInputs["routes"] = state ? state.routes : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
if ((!args || args.bgpvpnId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'bgpvpnId'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.portId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'portId'");
|
|
87
|
+
}
|
|
88
|
+
resourceInputs["advertiseFixedIps"] = args ? args.advertiseFixedIps : undefined;
|
|
89
|
+
resourceInputs["bgpvpnId"] = args ? args.bgpvpnId : undefined;
|
|
90
|
+
resourceInputs["portId"] = args ? args.portId : undefined;
|
|
91
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
92
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
93
|
+
resourceInputs["routes"] = args ? args.routes : undefined;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(BgpvpnPortAssociateV2.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.BgpvpnPortAssociateV2 = BgpvpnPortAssociateV2;
|
|
100
|
+
/** @internal */
|
|
101
|
+
BgpvpnPortAssociateV2.__pulumiType = 'openstack:index/bgpvpnPortAssociateV2:BgpvpnPortAssociateV2';
|
|
102
|
+
//# sourceMappingURL=bgpvpnPortAssociateV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bgpvpnPortAssociateV2.js","sourceRoot":"","sources":["../bgpvpnPortAssociateV2.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a V2 BGP VPN router association resource within OpenStack.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as openstack from "@pulumi/openstack";
|
|
10
|
+
*
|
|
11
|
+
* const association1 = new openstack.BgpvpnRouterAssociateV2("association_1", {
|
|
12
|
+
* bgpvpnId: "d57d39e1-dc63-44fd-8cbd-a4e1488100c5",
|
|
13
|
+
* routerId: "423fa80f-e0d7-4d02-a9a5-8b8c05812bf6",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* BGP VPN router associations can be imported using the BGP VPN ID and BGP VPN
|
|
20
|
+
*
|
|
21
|
+
* router association ID separated by a slash, e.g.:
|
|
22
|
+
*
|
|
23
|
+
* hcl
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import openstack:index/bgpvpnRouterAssociateV2:BgpvpnRouterAssociateV2 association_1 e26d509e-fc2d-4fb5-8562-619911a9a6bc/3cc9df2d-80db-4536-8ba6-295d1d0f723f
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class BgpvpnRouterAssociateV2 extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing BgpvpnRouterAssociateV2 resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BgpvpnRouterAssociateV2State, opts?: pulumi.CustomResourceOptions): BgpvpnRouterAssociateV2;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of BgpvpnRouterAssociateV2. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is BgpvpnRouterAssociateV2;
|
|
45
|
+
/**
|
|
46
|
+
* A boolean flag indicating whether extra
|
|
47
|
+
* routes should be advertised. Defaults to true.
|
|
48
|
+
*/
|
|
49
|
+
readonly advertiseExtraRoutes: pulumi.Output<boolean>;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the BGP VPN to which the router will be
|
|
52
|
+
* associated. Changing this creates a new BGP VPN router association.
|
|
53
|
+
*/
|
|
54
|
+
readonly bgpvpnId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the project that owns the BGP VPN router
|
|
57
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
58
|
+
* project ID other than their own. Changing this creates a new BGP VPN router
|
|
59
|
+
* association.
|
|
60
|
+
*/
|
|
61
|
+
readonly projectId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The region in which to obtain the V2 Networking client.
|
|
64
|
+
* A Networking client is needed to create a BGP VPN router association. If
|
|
65
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
66
|
+
* a new BGP VPN router association.
|
|
67
|
+
*/
|
|
68
|
+
readonly region: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the router to be associated with the BGP
|
|
71
|
+
* VPN. Changing this creates a new BGP VPN router association.
|
|
72
|
+
*/
|
|
73
|
+
readonly routerId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a BgpvpnRouterAssociateV2 resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: BgpvpnRouterAssociateV2Args, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering BgpvpnRouterAssociateV2 resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface BgpvpnRouterAssociateV2State {
|
|
87
|
+
/**
|
|
88
|
+
* A boolean flag indicating whether extra
|
|
89
|
+
* routes should be advertised. Defaults to true.
|
|
90
|
+
*/
|
|
91
|
+
advertiseExtraRoutes?: pulumi.Input<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the BGP VPN to which the router will be
|
|
94
|
+
* associated. Changing this creates a new BGP VPN router association.
|
|
95
|
+
*/
|
|
96
|
+
bgpvpnId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the project that owns the BGP VPN router
|
|
99
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
100
|
+
* project ID other than their own. Changing this creates a new BGP VPN router
|
|
101
|
+
* association.
|
|
102
|
+
*/
|
|
103
|
+
projectId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The region in which to obtain the V2 Networking client.
|
|
106
|
+
* A Networking client is needed to create a BGP VPN router association. If
|
|
107
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
108
|
+
* a new BGP VPN router association.
|
|
109
|
+
*/
|
|
110
|
+
region?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the router to be associated with the BGP
|
|
113
|
+
* VPN. Changing this creates a new BGP VPN router association.
|
|
114
|
+
*/
|
|
115
|
+
routerId?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a BgpvpnRouterAssociateV2 resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface BgpvpnRouterAssociateV2Args {
|
|
121
|
+
/**
|
|
122
|
+
* A boolean flag indicating whether extra
|
|
123
|
+
* routes should be advertised. Defaults to true.
|
|
124
|
+
*/
|
|
125
|
+
advertiseExtraRoutes?: pulumi.Input<boolean>;
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the BGP VPN to which the router will be
|
|
128
|
+
* associated. Changing this creates a new BGP VPN router association.
|
|
129
|
+
*/
|
|
130
|
+
bgpvpnId: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the project that owns the BGP VPN router
|
|
133
|
+
* association. Only administrative and users with `advsvc` role can specify a
|
|
134
|
+
* project ID other than their own. Changing this creates a new BGP VPN router
|
|
135
|
+
* association.
|
|
136
|
+
*/
|
|
137
|
+
projectId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The region in which to obtain the V2 Networking client.
|
|
140
|
+
* A Networking client is needed to create a BGP VPN router association. If
|
|
141
|
+
* omitted, the `region` argument of the provider is used. Changing this creates
|
|
142
|
+
* a new BGP VPN router association.
|
|
143
|
+
*/
|
|
144
|
+
region?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The ID of the router to be associated with the BGP
|
|
147
|
+
* VPN. Changing this creates a new BGP VPN router association.
|
|
148
|
+
*/
|
|
149
|
+
routerId: pulumi.Input<string>;
|
|
150
|
+
}
|