@pulumi/openstack 5.1.0-alpha.1744784124 → 5.1.0-alpha.1745043379

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 (75) hide show
  1. package/bgpvpn/index.d.ts +12 -0
  2. package/bgpvpn/index.js +37 -0
  3. package/bgpvpn/index.js.map +1 -0
  4. package/bgpvpn/networkAssociateV2.d.ts +135 -0
  5. package/bgpvpn/networkAssociateV2.js +90 -0
  6. package/bgpvpn/networkAssociateV2.js.map +1 -0
  7. package/bgpvpn/portAssociateV2.d.ts +174 -0
  8. package/bgpvpn/portAssociateV2.js +104 -0
  9. package/bgpvpn/portAssociateV2.js.map +1 -0
  10. package/bgpvpn/routerAssociateV2.d.ts +150 -0
  11. package/bgpvpn/routerAssociateV2.js +92 -0
  12. package/bgpvpn/routerAssociateV2.js.map +1 -0
  13. package/bgpvpn/v2.d.ts +255 -0
  14. package/bgpvpn/v2.js +105 -0
  15. package/bgpvpn/v2.js.map +1 -0
  16. package/bgpvpnNetworkAssociateV2.d.ts +4 -1
  17. package/bgpvpnNetworkAssociateV2.js +6 -1
  18. package/bgpvpnNetworkAssociateV2.js.map +1 -1
  19. package/bgpvpnPortAssociateV2.d.ts +4 -1
  20. package/bgpvpnPortAssociateV2.js +6 -1
  21. package/bgpvpnPortAssociateV2.js.map +1 -1
  22. package/bgpvpnRouterAssociateV2.d.ts +4 -1
  23. package/bgpvpnRouterAssociateV2.js +6 -1
  24. package/bgpvpnRouterAssociateV2.js.map +1 -1
  25. package/bgpvpnV2.d.ts +4 -1
  26. package/bgpvpnV2.js +6 -1
  27. package/bgpvpnV2.js.map +1 -1
  28. package/firewall/getGroupV2.d.ts +194 -0
  29. package/firewall/getGroupV2.js +72 -0
  30. package/firewall/getGroupV2.js.map +1 -0
  31. package/firewall/getPolicyV2.d.ts +155 -0
  32. package/firewall/getPolicyV2.js +66 -0
  33. package/firewall/getPolicyV2.js.map +1 -0
  34. package/firewall/getRuleV2.d.ts +258 -0
  35. package/firewall/getRuleV2.js +82 -0
  36. package/firewall/getRuleV2.js.map +1 -0
  37. package/firewall/index.d.ts +9 -0
  38. package/firewall/index.js +10 -1
  39. package/firewall/index.js.map +1 -1
  40. package/getFwGroupV2.d.ts +4 -2
  41. package/getFwGroupV2.js +6 -2
  42. package/getFwGroupV2.js.map +1 -1
  43. package/getFwPolicyV2.d.ts +4 -2
  44. package/getFwPolicyV2.js +6 -2
  45. package/getFwPolicyV2.js.map +1 -1
  46. package/getFwRuleV2.d.ts +4 -2
  47. package/getFwRuleV2.js +6 -2
  48. package/getFwRuleV2.js.map +1 -1
  49. package/index.d.ts +2 -1
  50. package/index.js +3 -1
  51. package/index.js.map +1 -1
  52. package/lbFlavorprofileV2.d.ts +5 -2
  53. package/lbFlavorprofileV2.js +7 -2
  54. package/lbFlavorprofileV2.js.map +1 -1
  55. package/lbLoadbalancerV2.d.ts +4 -1
  56. package/lbLoadbalancerV2.js +6 -3
  57. package/lbLoadbalancerV2.js.map +1 -1
  58. package/loadbalancer/flavorprofileV2.d.ts +133 -0
  59. package/loadbalancer/flavorprofileV2.js +106 -0
  60. package/loadbalancer/flavorprofileV2.js.map +1 -0
  61. package/loadbalancer/index.d.ts +6 -0
  62. package/loadbalancer/index.js +11 -1
  63. package/loadbalancer/index.js.map +1 -1
  64. package/loadbalancer/l7policyV2.d.ts +1 -1
  65. package/loadbalancer/l7policyV2.js +1 -1
  66. package/loadbalancer/l7ruleV2.d.ts +1 -1
  67. package/loadbalancer/l7ruleV2.js +1 -1
  68. package/loadbalancer/listener.d.ts +1 -1
  69. package/loadbalancer/listener.js +1 -1
  70. package/loadbalancer/loadBalancer.d.ts +317 -0
  71. package/loadbalancer/loadBalancer.js +102 -0
  72. package/loadbalancer/loadBalancer.js.map +1 -0
  73. package/package.json +2 -2
  74. package/types/input.d.ts +25 -0
  75. package/types/output.d.ts +25 -0
@@ -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.bgpvpn.RouterAssociateV2("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:bgpvpn/routerAssociateV2:RouterAssociateV2 association_1 e26d509e-fc2d-4fb5-8562-619911a9a6bc/3cc9df2d-80db-4536-8ba6-295d1d0f723f
27
+ * ```
28
+ */
29
+ export declare class RouterAssociateV2 extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing RouterAssociateV2 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?: RouterAssociateV2State, opts?: pulumi.CustomResourceOptions): RouterAssociateV2;
40
+ /**
41
+ * Returns true if the given object is an instance of RouterAssociateV2. 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 RouterAssociateV2;
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 RouterAssociateV2 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: RouterAssociateV2Args, opts?: pulumi.CustomResourceOptions);
82
+ }
83
+ /**
84
+ * Input properties used for looking up and filtering RouterAssociateV2 resources.
85
+ */
86
+ export interface RouterAssociateV2State {
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 RouterAssociateV2 resource.
119
+ */
120
+ export interface RouterAssociateV2Args {
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
+ }
@@ -0,0 +1,92 @@
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.RouterAssociateV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a V2 BGP VPN router 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.bgpvpn.RouterAssociateV2("association_1", {
18
+ * bgpvpnId: "d57d39e1-dc63-44fd-8cbd-a4e1488100c5",
19
+ * routerId: "423fa80f-e0d7-4d02-a9a5-8b8c05812bf6",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * BGP VPN router associations can be imported using the BGP VPN ID and BGP VPN
26
+ *
27
+ * router association ID separated by a slash, e.g.:
28
+ *
29
+ * hcl
30
+ *
31
+ * ```sh
32
+ * $ pulumi import openstack:bgpvpn/routerAssociateV2:RouterAssociateV2 association_1 e26d509e-fc2d-4fb5-8562-619911a9a6bc/3cc9df2d-80db-4536-8ba6-295d1d0f723f
33
+ * ```
34
+ */
35
+ class RouterAssociateV2 extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing RouterAssociateV2 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 RouterAssociateV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of RouterAssociateV2. 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'] === RouterAssociateV2.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["advertiseExtraRoutes"] = state ? state.advertiseExtraRoutes : undefined;
64
+ resourceInputs["bgpvpnId"] = state ? state.bgpvpnId : undefined;
65
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
66
+ resourceInputs["region"] = state ? state.region : undefined;
67
+ resourceInputs["routerId"] = state ? state.routerId : undefined;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if ((!args || args.bgpvpnId === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'bgpvpnId'");
73
+ }
74
+ if ((!args || args.routerId === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'routerId'");
76
+ }
77
+ resourceInputs["advertiseExtraRoutes"] = args ? args.advertiseExtraRoutes : undefined;
78
+ resourceInputs["bgpvpnId"] = args ? args.bgpvpnId : undefined;
79
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
80
+ resourceInputs["region"] = args ? args.region : undefined;
81
+ resourceInputs["routerId"] = args ? args.routerId : undefined;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ const aliasOpts = { aliases: [{ type: "openstack:index/bgpvpnRouterAssociateV2:BgpvpnRouterAssociateV2" }] };
85
+ opts = pulumi.mergeOptions(opts, aliasOpts);
86
+ super(RouterAssociateV2.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.RouterAssociateV2 = RouterAssociateV2;
90
+ /** @internal */
91
+ RouterAssociateV2.__pulumiType = 'openstack:bgpvpn/routerAssociateV2:RouterAssociateV2';
92
+ //# sourceMappingURL=routerAssociateV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routerAssociateV2.js","sourceRoot":"","sources":["../../bgpvpn/routerAssociateV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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N service 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 bgpvpn1 = new openstack.bgpvpn.V2("bgpvpn_1", {
12
+ * name: "bgpvpn1",
13
+ * routeDistinguishers: ["64512:1"],
14
+ * routeTargets: ["64512:1"],
15
+ * importTargets: ["64512:2"],
16
+ * exportTargets: ["64512:3"],
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * BGP VPNs can be imported using the `id`, e.g.
23
+ *
24
+ * hcl
25
+ *
26
+ * ```sh
27
+ * $ pulumi import openstack:bgpvpn/v2:V2 bgpvpn_1 1eec2c66-6be2-4305-af3f-354c9b81f18c
28
+ * ```
29
+ */
30
+ export declare class V2 extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing V2 resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: V2State, opts?: pulumi.CustomResourceOptions): V2;
41
+ /**
42
+ * Returns true if the given object is an instance of V2. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is V2;
46
+ /**
47
+ * A list of additional Route Targets that will be
48
+ * used for export.
49
+ */
50
+ readonly exportTargets: pulumi.Output<string[]>;
51
+ /**
52
+ * A list of additional Route Targets that will be
53
+ * imported.
54
+ */
55
+ readonly importTargets: pulumi.Output<string[]>;
56
+ /**
57
+ * The default BGP LOCAL\_PREF of routes that will be
58
+ * advertised to the BGP VPN, unless overridden per-route.
59
+ */
60
+ readonly localPref: pulumi.Output<number | undefined>;
61
+ /**
62
+ * The name of the BGP VPN. Changing this updates the name of
63
+ * the existing BGP VPN.
64
+ */
65
+ readonly name: pulumi.Output<string>;
66
+ /**
67
+ * A list of network IDs that are associated with the BGP VPN.
68
+ */
69
+ readonly networks: pulumi.Output<string[]>;
70
+ /**
71
+ * A list of port IDs that are associated with the BGP VPN.
72
+ */
73
+ readonly ports: pulumi.Output<string[]>;
74
+ /**
75
+ * The ID of the project that owns the BGPVPN. Only
76
+ * administrative and users with `advsvc` role can specify a project ID other
77
+ * than their own. Changing this creates a new BGP VPN.
78
+ */
79
+ readonly projectId: pulumi.Output<string>;
80
+ /**
81
+ * The region in which to obtain the V2 Networking client.
82
+ * A Networking client is needed to create a BGP VPN service. If omitted, the
83
+ * `region` argument of the provider is used. Changing this creates a new
84
+ * BGP VPN.
85
+ */
86
+ readonly region: pulumi.Output<string>;
87
+ /**
88
+ * A list of route distinguisher strings. If
89
+ * specified, one of these RDs will be used to advertise VPN routes.
90
+ */
91
+ readonly routeDistinguishers: pulumi.Output<string[]>;
92
+ /**
93
+ * A list of Route Targets that will be both
94
+ * imported and used for export.
95
+ */
96
+ readonly routeTargets: pulumi.Output<string[]>;
97
+ /**
98
+ * A list of router IDs that are associated with the BGP VPN.
99
+ */
100
+ readonly routers: pulumi.Output<string[]>;
101
+ /**
102
+ * Indicates whether the BGP VPN is shared across projects.
103
+ */
104
+ readonly shared: pulumi.Output<boolean>;
105
+ /**
106
+ * The type of the BGP VPN (either `l2` or `l3`). Changing this
107
+ * creates a new BGP VPN. Defaults to `l3`.
108
+ */
109
+ readonly type: pulumi.Output<string>;
110
+ /**
111
+ * The globally-assigned VXLAN VNI for the BGP VPN. Changing
112
+ * this creates a new BGP VPN.
113
+ */
114
+ readonly vni: pulumi.Output<number | undefined>;
115
+ /**
116
+ * Create a V2 resource with the given unique name, arguments, and options.
117
+ *
118
+ * @param name The _unique_ name of the resource.
119
+ * @param args The arguments to use to populate this resource's properties.
120
+ * @param opts A bag of options that control this resource's behavior.
121
+ */
122
+ constructor(name: string, args?: V2Args, opts?: pulumi.CustomResourceOptions);
123
+ }
124
+ /**
125
+ * Input properties used for looking up and filtering V2 resources.
126
+ */
127
+ export interface V2State {
128
+ /**
129
+ * A list of additional Route Targets that will be
130
+ * used for export.
131
+ */
132
+ exportTargets?: pulumi.Input<pulumi.Input<string>[]>;
133
+ /**
134
+ * A list of additional Route Targets that will be
135
+ * imported.
136
+ */
137
+ importTargets?: pulumi.Input<pulumi.Input<string>[]>;
138
+ /**
139
+ * The default BGP LOCAL\_PREF of routes that will be
140
+ * advertised to the BGP VPN, unless overridden per-route.
141
+ */
142
+ localPref?: pulumi.Input<number>;
143
+ /**
144
+ * The name of the BGP VPN. Changing this updates the name of
145
+ * the existing BGP VPN.
146
+ */
147
+ name?: pulumi.Input<string>;
148
+ /**
149
+ * A list of network IDs that are associated with the BGP VPN.
150
+ */
151
+ networks?: pulumi.Input<pulumi.Input<string>[]>;
152
+ /**
153
+ * A list of port IDs that are associated with the BGP VPN.
154
+ */
155
+ ports?: pulumi.Input<pulumi.Input<string>[]>;
156
+ /**
157
+ * The ID of the project that owns the BGPVPN. Only
158
+ * administrative and users with `advsvc` role can specify a project ID other
159
+ * than their own. Changing this creates a new BGP VPN.
160
+ */
161
+ projectId?: pulumi.Input<string>;
162
+ /**
163
+ * The region in which to obtain the V2 Networking client.
164
+ * A Networking client is needed to create a BGP VPN service. If omitted, the
165
+ * `region` argument of the provider is used. Changing this creates a new
166
+ * BGP VPN.
167
+ */
168
+ region?: pulumi.Input<string>;
169
+ /**
170
+ * A list of route distinguisher strings. If
171
+ * specified, one of these RDs will be used to advertise VPN routes.
172
+ */
173
+ routeDistinguishers?: pulumi.Input<pulumi.Input<string>[]>;
174
+ /**
175
+ * A list of Route Targets that will be both
176
+ * imported and used for export.
177
+ */
178
+ routeTargets?: pulumi.Input<pulumi.Input<string>[]>;
179
+ /**
180
+ * A list of router IDs that are associated with the BGP VPN.
181
+ */
182
+ routers?: pulumi.Input<pulumi.Input<string>[]>;
183
+ /**
184
+ * Indicates whether the BGP VPN is shared across projects.
185
+ */
186
+ shared?: pulumi.Input<boolean>;
187
+ /**
188
+ * The type of the BGP VPN (either `l2` or `l3`). Changing this
189
+ * creates a new BGP VPN. Defaults to `l3`.
190
+ */
191
+ type?: pulumi.Input<string>;
192
+ /**
193
+ * The globally-assigned VXLAN VNI for the BGP VPN. Changing
194
+ * this creates a new BGP VPN.
195
+ */
196
+ vni?: pulumi.Input<number>;
197
+ }
198
+ /**
199
+ * The set of arguments for constructing a V2 resource.
200
+ */
201
+ export interface V2Args {
202
+ /**
203
+ * A list of additional Route Targets that will be
204
+ * used for export.
205
+ */
206
+ exportTargets?: pulumi.Input<pulumi.Input<string>[]>;
207
+ /**
208
+ * A list of additional Route Targets that will be
209
+ * imported.
210
+ */
211
+ importTargets?: pulumi.Input<pulumi.Input<string>[]>;
212
+ /**
213
+ * The default BGP LOCAL\_PREF of routes that will be
214
+ * advertised to the BGP VPN, unless overridden per-route.
215
+ */
216
+ localPref?: pulumi.Input<number>;
217
+ /**
218
+ * The name of the BGP VPN. Changing this updates the name of
219
+ * the existing BGP VPN.
220
+ */
221
+ name?: pulumi.Input<string>;
222
+ /**
223
+ * The ID of the project that owns the BGPVPN. Only
224
+ * administrative and users with `advsvc` role can specify a project ID other
225
+ * than their own. Changing this creates a new BGP VPN.
226
+ */
227
+ projectId?: pulumi.Input<string>;
228
+ /**
229
+ * The region in which to obtain the V2 Networking client.
230
+ * A Networking client is needed to create a BGP VPN service. If omitted, the
231
+ * `region` argument of the provider is used. Changing this creates a new
232
+ * BGP VPN.
233
+ */
234
+ region?: pulumi.Input<string>;
235
+ /**
236
+ * A list of route distinguisher strings. If
237
+ * specified, one of these RDs will be used to advertise VPN routes.
238
+ */
239
+ routeDistinguishers?: pulumi.Input<pulumi.Input<string>[]>;
240
+ /**
241
+ * A list of Route Targets that will be both
242
+ * imported and used for export.
243
+ */
244
+ routeTargets?: pulumi.Input<pulumi.Input<string>[]>;
245
+ /**
246
+ * The type of the BGP VPN (either `l2` or `l3`). Changing this
247
+ * creates a new BGP VPN. Defaults to `l3`.
248
+ */
249
+ type?: pulumi.Input<string>;
250
+ /**
251
+ * The globally-assigned VXLAN VNI for the BGP VPN. Changing
252
+ * this creates a new BGP VPN.
253
+ */
254
+ vni?: pulumi.Input<number>;
255
+ }
package/bgpvpn/v2.js ADDED
@@ -0,0 +1,105 @@
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.V2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a V2 BGP VPN service 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 bgpvpn1 = new openstack.bgpvpn.V2("bgpvpn_1", {
18
+ * name: "bgpvpn1",
19
+ * routeDistinguishers: ["64512:1"],
20
+ * routeTargets: ["64512:1"],
21
+ * importTargets: ["64512:2"],
22
+ * exportTargets: ["64512:3"],
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * BGP VPNs can be imported using the `id`, e.g.
29
+ *
30
+ * hcl
31
+ *
32
+ * ```sh
33
+ * $ pulumi import openstack:bgpvpn/v2:V2 bgpvpn_1 1eec2c66-6be2-4305-af3f-354c9b81f18c
34
+ * ```
35
+ */
36
+ class V2 extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing V2 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, id, state, opts) {
47
+ return new V2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of V2. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === V2.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["exportTargets"] = state ? state.exportTargets : undefined;
65
+ resourceInputs["importTargets"] = state ? state.importTargets : undefined;
66
+ resourceInputs["localPref"] = state ? state.localPref : undefined;
67
+ resourceInputs["name"] = state ? state.name : undefined;
68
+ resourceInputs["networks"] = state ? state.networks : undefined;
69
+ resourceInputs["ports"] = state ? state.ports : undefined;
70
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
71
+ resourceInputs["region"] = state ? state.region : undefined;
72
+ resourceInputs["routeDistinguishers"] = state ? state.routeDistinguishers : undefined;
73
+ resourceInputs["routeTargets"] = state ? state.routeTargets : undefined;
74
+ resourceInputs["routers"] = state ? state.routers : undefined;
75
+ resourceInputs["shared"] = state ? state.shared : undefined;
76
+ resourceInputs["type"] = state ? state.type : undefined;
77
+ resourceInputs["vni"] = state ? state.vni : undefined;
78
+ }
79
+ else {
80
+ const args = argsOrState;
81
+ resourceInputs["exportTargets"] = args ? args.exportTargets : undefined;
82
+ resourceInputs["importTargets"] = args ? args.importTargets : undefined;
83
+ resourceInputs["localPref"] = args ? args.localPref : undefined;
84
+ resourceInputs["name"] = args ? args.name : undefined;
85
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
86
+ resourceInputs["region"] = args ? args.region : undefined;
87
+ resourceInputs["routeDistinguishers"] = args ? args.routeDistinguishers : undefined;
88
+ resourceInputs["routeTargets"] = args ? args.routeTargets : undefined;
89
+ resourceInputs["type"] = args ? args.type : undefined;
90
+ resourceInputs["vni"] = args ? args.vni : undefined;
91
+ resourceInputs["networks"] = undefined /*out*/;
92
+ resourceInputs["ports"] = undefined /*out*/;
93
+ resourceInputs["routers"] = undefined /*out*/;
94
+ resourceInputs["shared"] = undefined /*out*/;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ const aliasOpts = { aliases: [{ type: "openstack:index/bgpvpnV2:BgpvpnV2" }] };
98
+ opts = pulumi.mergeOptions(opts, aliasOpts);
99
+ super(V2.__pulumiType, name, resourceInputs, opts);
100
+ }
101
+ }
102
+ exports.V2 = V2;
103
+ /** @internal */
104
+ V2.__pulumiType = 'openstack:bgpvpn/v2:V2';
105
+ //# sourceMappingURL=v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2.js","sourceRoot":"","sources":["../../bgpvpn/v2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,EAAG,SAAQ,MAAM,CAAC,cAAc;IACzC;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAe,EAAE,IAAmC;QAC7G,OAAO,IAAI,EAAE,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzD,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,EAAE,CAAC,YAAY,CAAC;IACnD,CAAC;IAgFD,YAAY,IAAY,EAAE,WAA8B,EAAE,IAAmC;QACzF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,C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,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,mCAAmC,EAAE,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;;AAlJL,gBAmJC;AArIG,gBAAgB;AACO,eAAY,GAAG,wBAAwB,CAAC"}
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as openstack from "@pulumi/openstack";
10
10
  *
11
- * const association1 = new openstack.BgpvpnNetworkAssociateV2("association_1", {
11
+ * const association1 = new openstack.bgpvpn.NetworkAssociateV2("association_1", {
12
12
  * bgpvpnId: "e7189337-5684-46ee-bcb1-44f1a57066c9",
13
13
  * networkId: "de83d56c-4d2f-44f7-ac24-af393252204f",
14
14
  * });
@@ -25,6 +25,8 @@ import * as pulumi from "@pulumi/pulumi";
25
25
  * ```sh
26
26
  * $ pulumi import openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2 association_1 2145aaa9-edaa-44fb-9815-e47a96677a72/67bb952a-f9d1-4fc8-ae84-082253a879d4
27
27
  * ```
28
+ *
29
+ * @deprecated openstack.index/bgpvpnnetworkassociatev2.BgpvpnNetworkAssociateV2 has been deprecated in favor of openstack.bgpvpn/networkassociatev2.NetworkAssociateV2
28
30
  */
29
31
  export declare class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
30
32
  /**
@@ -73,6 +75,7 @@ export declare class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
73
75
  * @param args The arguments to use to populate this resource's properties.
74
76
  * @param opts A bag of options that control this resource's behavior.
75
77
  */
78
+ /** @deprecated openstack.index/bgpvpnnetworkassociatev2.BgpvpnNetworkAssociateV2 has been deprecated in favor of openstack.bgpvpn/networkassociatev2.NetworkAssociateV2 */
76
79
  constructor(name: string, args: BgpvpnNetworkAssociateV2Args, opts?: pulumi.CustomResourceOptions);
77
80
  }
78
81
  /**
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as openstack from "@pulumi/openstack";
16
16
  *
17
- * const association1 = new openstack.BgpvpnNetworkAssociateV2("association_1", {
17
+ * const association1 = new openstack.bgpvpn.NetworkAssociateV2("association_1", {
18
18
  * bgpvpnId: "e7189337-5684-46ee-bcb1-44f1a57066c9",
19
19
  * networkId: "de83d56c-4d2f-44f7-ac24-af393252204f",
20
20
  * });
@@ -31,6 +31,8 @@ const utilities = require("./utilities");
31
31
  * ```sh
32
32
  * $ pulumi import openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2 association_1 2145aaa9-edaa-44fb-9815-e47a96677a72/67bb952a-f9d1-4fc8-ae84-082253a879d4
33
33
  * ```
34
+ *
35
+ * @deprecated openstack.index/bgpvpnnetworkassociatev2.BgpvpnNetworkAssociateV2 has been deprecated in favor of openstack.bgpvpn/networkassociatev2.NetworkAssociateV2
34
36
  */
35
37
  class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
36
38
  /**
@@ -43,6 +45,7 @@ class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
43
45
  * @param opts Optional settings to control the behavior of the CustomResource.
44
46
  */
45
47
  static get(name, id, state, opts) {
48
+ pulumi.log.warn("BgpvpnNetworkAssociateV2 is deprecated: openstack.index/bgpvpnnetworkassociatev2.BgpvpnNetworkAssociateV2 has been deprecated in favor of openstack.bgpvpn/networkassociatev2.NetworkAssociateV2");
46
49
  return new BgpvpnNetworkAssociateV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
50
  }
48
51
  /**
@@ -55,7 +58,9 @@ class BgpvpnNetworkAssociateV2 extends pulumi.CustomResource {
55
58
  }
56
59
  return obj['__pulumiType'] === BgpvpnNetworkAssociateV2.__pulumiType;
57
60
  }
61
+ /** @deprecated openstack.index/bgpvpnnetworkassociatev2.BgpvpnNetworkAssociateV2 has been deprecated in favor of openstack.bgpvpn/networkassociatev2.NetworkAssociateV2 */
58
62
  constructor(name, argsOrState, opts) {
63
+ pulumi.log.warn("BgpvpnNetworkAssociateV2 is deprecated: openstack.index/bgpvpnnetworkassociatev2.BgpvpnNetworkAssociateV2 has been deprecated in favor of openstack.bgpvpn/networkassociatev2.NetworkAssociateV2");
59
64
  let resourceInputs = {};
60
65
  opts = opts || {};
61
66
  if (opts.id) {