@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,90 @@
|
|
|
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.BgpvpnRouterAssociateV2 = 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.BgpvpnRouterAssociateV2("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:index/bgpvpnRouterAssociateV2:BgpvpnRouterAssociateV2 association_1 e26d509e-fc2d-4fb5-8562-619911a9a6bc/3cc9df2d-80db-4536-8ba6-295d1d0f723f
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class BgpvpnRouterAssociateV2 extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing BgpvpnRouterAssociateV2 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 BgpvpnRouterAssociateV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of BgpvpnRouterAssociateV2. 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'] === BgpvpnRouterAssociateV2.__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
|
+
super(BgpvpnRouterAssociateV2.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.BgpvpnRouterAssociateV2 = BgpvpnRouterAssociateV2;
|
|
88
|
+
/** @internal */
|
|
89
|
+
BgpvpnRouterAssociateV2.__pulumiType = 'openstack:index/bgpvpnRouterAssociateV2:BgpvpnRouterAssociateV2';
|
|
90
|
+
//# sourceMappingURL=bgpvpnRouterAssociateV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bgpvpnRouterAssociateV2.js","sourceRoot":"","sources":["../bgpvpnRouterAssociateV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAwCD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC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C;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA5FL,0DA6FC;AA/EG,gBAAgB;AACO,oCAAY,GAAG,iEAAiE,CAAC"}
|
package/bgpvpnV2.d.ts
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a V2 BGP VPN 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.BgpvpnV2("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:index/bgpvpnV2:BgpvpnV2 bgpvpn_1 1eec2c66-6be2-4305-af3f-354c9b81f18c
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class BgpvpnV2 extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing BgpvpnV2 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?: BgpvpnV2State, opts?: pulumi.CustomResourceOptions): BgpvpnV2;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of BgpvpnV2. 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 BgpvpnV2;
|
|
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 BgpvpnV2 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?: BgpvpnV2Args, opts?: pulumi.CustomResourceOptions);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Input properties used for looking up and filtering BgpvpnV2 resources.
|
|
126
|
+
*/
|
|
127
|
+
export interface BgpvpnV2State {
|
|
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 BgpvpnV2 resource.
|
|
200
|
+
*/
|
|
201
|
+
export interface BgpvpnV2Args {
|
|
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/bgpvpnV2.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
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.BgpvpnV2 = 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.BgpvpnV2("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:index/bgpvpnV2:BgpvpnV2 bgpvpn_1 1eec2c66-6be2-4305-af3f-354c9b81f18c
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class BgpvpnV2 extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing BgpvpnV2 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 BgpvpnV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of BgpvpnV2. 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'] === BgpvpnV2.__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
|
+
super(BgpvpnV2.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.BgpvpnV2 = BgpvpnV2;
|
|
101
|
+
/** @internal */
|
|
102
|
+
BgpvpnV2.__pulumiType = 'openstack:index/bgpvpnV2:BgpvpnV2';
|
|
103
|
+
//# sourceMappingURL=bgpvpnV2.js.map
|
package/bgpvpnV2.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bgpvpnV2.js","sourceRoot":"","sources":["../bgpvpnV2.ts"],"names":[],"mapp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ChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAhJL,4BAiJC;AAnIG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
package/images/getImage.d.ts
CHANGED
|
@@ -22,6 +22,14 @@ export declare function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOption
|
|
|
22
22
|
* A collection of arguments for invoking getImage.
|
|
23
23
|
*/
|
|
24
24
|
export interface GetImageArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The container format of the image.
|
|
27
|
+
*/
|
|
28
|
+
containerFormat?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The disk format of the image.
|
|
31
|
+
*/
|
|
32
|
+
diskFormat?: string;
|
|
25
33
|
/**
|
|
26
34
|
* Whether or not the image is hidden from public list.
|
|
27
35
|
*/
|
|
@@ -37,8 +45,8 @@ export interface GetImageArgs {
|
|
|
37
45
|
*/
|
|
38
46
|
mostRecent?: boolean;
|
|
39
47
|
/**
|
|
40
|
-
* The name of the image. Cannot be used simultaneously
|
|
41
|
-
*
|
|
48
|
+
* The name of the image. Cannot be used simultaneously with
|
|
49
|
+
* `nameRegex`.
|
|
42
50
|
*/
|
|
43
51
|
name?: string;
|
|
44
52
|
/**
|
|
@@ -54,19 +62,18 @@ export interface GetImageArgs {
|
|
|
54
62
|
owner?: string;
|
|
55
63
|
/**
|
|
56
64
|
* a map of key/value pairs to match an image with.
|
|
57
|
-
* All specified properties must be matched. Unlike other options filtering
|
|
58
|
-
*
|
|
59
|
-
* Filtering is applied if server responce contains at least 2 images. In
|
|
60
|
-
*
|
|
65
|
+
* All specified properties must be matched. Unlike other options filtering by
|
|
66
|
+
* `properties` does by client on the result of OpenStack search query.
|
|
67
|
+
* Filtering is applied if server responce contains at least 2 images. In case
|
|
68
|
+
* there is only one image the `properties` ignores.
|
|
61
69
|
*/
|
|
62
70
|
properties?: {
|
|
63
71
|
[key: string]: any;
|
|
64
72
|
};
|
|
65
73
|
/**
|
|
66
|
-
* The region in which to obtain the V2 Glance client.
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* is used.
|
|
74
|
+
* The region in which to obtain the V2 Glance client. A
|
|
75
|
+
* Glance client is needed to create an Image that can be used with a compute
|
|
76
|
+
* instance. If omitted, the `region` argument of the provider is used.
|
|
70
77
|
*/
|
|
71
78
|
region?: string;
|
|
72
79
|
/**
|
|
@@ -80,9 +87,9 @@ export interface GetImageArgs {
|
|
|
80
87
|
/**
|
|
81
88
|
* Sorts the response by one or more attribute and sort
|
|
82
89
|
* direction combinations. You can also set multiple sort keys and directions.
|
|
83
|
-
* Default direction is `desc`. Use the comma (,) character to separate
|
|
84
|
-
*
|
|
85
|
-
*
|
|
90
|
+
* Default direction is `desc`. Use the comma (,) character to separate multiple
|
|
91
|
+
* values. For example expression `sort = "name:asc,status"` sorts ascending by
|
|
92
|
+
* name and descending by status.
|
|
86
93
|
*/
|
|
87
94
|
sort?: string;
|
|
88
95
|
/**
|
|
@@ -90,8 +97,8 @@ export interface GetImageArgs {
|
|
|
90
97
|
*/
|
|
91
98
|
tag?: string;
|
|
92
99
|
/**
|
|
93
|
-
* A list of tags required to be set on the image
|
|
94
|
-
*
|
|
100
|
+
* A list of tags required to be set on the image (all
|
|
101
|
+
* specified tags must be in the images tag list for it to be matched).
|
|
95
102
|
*/
|
|
96
103
|
tags?: string[];
|
|
97
104
|
/**
|
|
@@ -111,7 +118,7 @@ export interface GetImageResult {
|
|
|
111
118
|
/**
|
|
112
119
|
* The format of the image's container.
|
|
113
120
|
*/
|
|
114
|
-
readonly containerFormat
|
|
121
|
+
readonly containerFormat?: string;
|
|
115
122
|
/**
|
|
116
123
|
* The date the image was created.
|
|
117
124
|
*/
|
|
@@ -119,7 +126,7 @@ export interface GetImageResult {
|
|
|
119
126
|
/**
|
|
120
127
|
* The format of the image's disk.
|
|
121
128
|
*/
|
|
122
|
-
readonly diskFormat
|
|
129
|
+
readonly diskFormat?: string;
|
|
123
130
|
/**
|
|
124
131
|
* the trailing path after the glance endpoint that represent the
|
|
125
132
|
* location of the image or the path to retrieve it.
|
|
@@ -132,9 +139,9 @@ export interface GetImageResult {
|
|
|
132
139
|
readonly id: string;
|
|
133
140
|
readonly memberStatus?: string;
|
|
134
141
|
/**
|
|
135
|
-
* The metadata associated with the image.
|
|
136
|
-
*
|
|
137
|
-
*
|
|
142
|
+
* The metadata associated with the image. Image metadata allow for
|
|
143
|
+
* meaningfully define the image properties and tags. See
|
|
144
|
+
* https://docs.openstack.org/glance/latest/user/metadefs-concepts.html.
|
|
138
145
|
*/
|
|
139
146
|
readonly metadata: {
|
|
140
147
|
[key: string]: any;
|
|
@@ -163,8 +170,7 @@ export interface GetImageResult {
|
|
|
163
170
|
readonly protected: boolean;
|
|
164
171
|
readonly region: string;
|
|
165
172
|
/**
|
|
166
|
-
* The path to the JSON-schema that represent
|
|
167
|
-
* the image or image
|
|
173
|
+
* The path to the JSON-schema that represent the image
|
|
168
174
|
*/
|
|
169
175
|
readonly schema: string;
|
|
170
176
|
/**
|
|
@@ -208,6 +214,14 @@ export declare function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.
|
|
|
208
214
|
* A collection of arguments for invoking getImage.
|
|
209
215
|
*/
|
|
210
216
|
export interface GetImageOutputArgs {
|
|
217
|
+
/**
|
|
218
|
+
* The container format of the image.
|
|
219
|
+
*/
|
|
220
|
+
containerFormat?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The disk format of the image.
|
|
223
|
+
*/
|
|
224
|
+
diskFormat?: pulumi.Input<string>;
|
|
211
225
|
/**
|
|
212
226
|
* Whether or not the image is hidden from public list.
|
|
213
227
|
*/
|
|
@@ -223,8 +237,8 @@ export interface GetImageOutputArgs {
|
|
|
223
237
|
*/
|
|
224
238
|
mostRecent?: pulumi.Input<boolean>;
|
|
225
239
|
/**
|
|
226
|
-
* The name of the image. Cannot be used simultaneously
|
|
227
|
-
*
|
|
240
|
+
* The name of the image. Cannot be used simultaneously with
|
|
241
|
+
* `nameRegex`.
|
|
228
242
|
*/
|
|
229
243
|
name?: pulumi.Input<string>;
|
|
230
244
|
/**
|
|
@@ -240,19 +254,18 @@ export interface GetImageOutputArgs {
|
|
|
240
254
|
owner?: pulumi.Input<string>;
|
|
241
255
|
/**
|
|
242
256
|
* a map of key/value pairs to match an image with.
|
|
243
|
-
* All specified properties must be matched. Unlike other options filtering
|
|
244
|
-
*
|
|
245
|
-
* Filtering is applied if server responce contains at least 2 images. In
|
|
246
|
-
*
|
|
257
|
+
* All specified properties must be matched. Unlike other options filtering by
|
|
258
|
+
* `properties` does by client on the result of OpenStack search query.
|
|
259
|
+
* Filtering is applied if server responce contains at least 2 images. In case
|
|
260
|
+
* there is only one image the `properties` ignores.
|
|
247
261
|
*/
|
|
248
262
|
properties?: pulumi.Input<{
|
|
249
263
|
[key: string]: any;
|
|
250
264
|
}>;
|
|
251
265
|
/**
|
|
252
|
-
* The region in which to obtain the V2 Glance client.
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
* is used.
|
|
266
|
+
* The region in which to obtain the V2 Glance client. A
|
|
267
|
+
* Glance client is needed to create an Image that can be used with a compute
|
|
268
|
+
* instance. If omitted, the `region` argument of the provider is used.
|
|
256
269
|
*/
|
|
257
270
|
region?: pulumi.Input<string>;
|
|
258
271
|
/**
|
|
@@ -266,9 +279,9 @@ export interface GetImageOutputArgs {
|
|
|
266
279
|
/**
|
|
267
280
|
* Sorts the response by one or more attribute and sort
|
|
268
281
|
* direction combinations. You can also set multiple sort keys and directions.
|
|
269
|
-
* Default direction is `desc`. Use the comma (,) character to separate
|
|
270
|
-
*
|
|
271
|
-
*
|
|
282
|
+
* Default direction is `desc`. Use the comma (,) character to separate multiple
|
|
283
|
+
* values. For example expression `sort = "name:asc,status"` sorts ascending by
|
|
284
|
+
* name and descending by status.
|
|
272
285
|
*/
|
|
273
286
|
sort?: pulumi.Input<string>;
|
|
274
287
|
/**
|
|
@@ -276,8 +289,8 @@ export interface GetImageOutputArgs {
|
|
|
276
289
|
*/
|
|
277
290
|
tag?: pulumi.Input<string>;
|
|
278
291
|
/**
|
|
279
|
-
* A list of tags required to be set on the image
|
|
280
|
-
*
|
|
292
|
+
* A list of tags required to be set on the image (all
|
|
293
|
+
* specified tags must be in the images tag list for it to be matched).
|
|
281
294
|
*/
|
|
282
295
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
283
296
|
/**
|