@pulumi/openstack 5.4.0-alpha.1762843455 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compute/interfaceAttach.d.ts +76 -0
- package/compute/interfaceAttach.js +76 -0
- package/compute/interfaceAttach.js.map +1 -1
- package/compute/volumeAttach.d.ts +70 -0
- package/compute/volumeAttach.js +70 -0
- package/compute/volumeAttach.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/keymanager/secretV1.d.ts +24 -0
- package/keymanager/secretV1.js +24 -0
- package/keymanager/secretV1.js.map +1 -1
- package/loadbalancer/getListenerV2.d.ts +258 -0
- package/loadbalancer/getListenerV2.js +64 -0
- package/loadbalancer/getListenerV2.js.map +1 -0
- package/loadbalancer/getLoadbalancerV2.d.ts +216 -0
- package/loadbalancer/getLoadbalancerV2.js +68 -0
- package/loadbalancer/getLoadbalancerV2.js.map +1 -0
- package/loadbalancer/getPoolV2.d.ts +214 -0
- package/loadbalancer/getPoolV2.js +64 -0
- package/loadbalancer/getPoolV2.js.map +1 -0
- package/loadbalancer/index.d.ts +9 -0
- package/loadbalancer/index.js +10 -1
- package/loadbalancer/index.js.map +1 -1
- package/networking/port.d.ts +8 -8
- package/networking/port.js +8 -8
- package/package.json +2 -2
- package/taasTapMirrorV2.d.ts +209 -0
- package/taasTapMirrorV2.js +105 -0
- package/taasTapMirrorV2.js.map +1 -0
- package/types/input.d.ts +14 -0
- package/types/output.d.ts +81 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.TaasTapMirrorV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a V2 Neutron Tap Mirror resource within OpenStack tap-as-a-service extension.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const tapMirror1 = new openstack.TaasTapMirrorV2("tap_mirror_1", {
|
|
18
|
+
* mirrorType: "erspanv1",
|
|
19
|
+
* portId: "a25290e9-1a54-4c26-a5b3-34458d122acc",
|
|
20
|
+
* remoteIp: "172.18.1.15",
|
|
21
|
+
* directions: {
|
|
22
|
+
* "in": 1000,
|
|
23
|
+
* out: 1001,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Tap Mirrors can be imported using the `id`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import openstack:index/taasTapMirrorV2:TaasTapMirrorV2 tap_mirror_1 0837b488-f0e2-4689-99b3-e3ed531f9b10
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class TaasTapMirrorV2 extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing TaasTapMirrorV2 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 TaasTapMirrorV2(name, state, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of TaasTapMirrorV2. 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'] === TaasTapMirrorV2.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["description"] = state?.description;
|
|
65
|
+
resourceInputs["directions"] = state?.directions;
|
|
66
|
+
resourceInputs["mirrorType"] = state?.mirrorType;
|
|
67
|
+
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["portId"] = state?.portId;
|
|
69
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
70
|
+
resourceInputs["region"] = state?.region;
|
|
71
|
+
resourceInputs["remoteIp"] = state?.remoteIp;
|
|
72
|
+
resourceInputs["tenantId"] = state?.tenantId;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if (args?.directions === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'directions'");
|
|
78
|
+
}
|
|
79
|
+
if (args?.mirrorType === undefined && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'mirrorType'");
|
|
81
|
+
}
|
|
82
|
+
if (args?.portId === undefined && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'portId'");
|
|
84
|
+
}
|
|
85
|
+
if (args?.remoteIp === undefined && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'remoteIp'");
|
|
87
|
+
}
|
|
88
|
+
resourceInputs["description"] = args?.description;
|
|
89
|
+
resourceInputs["directions"] = args?.directions;
|
|
90
|
+
resourceInputs["mirrorType"] = args?.mirrorType;
|
|
91
|
+
resourceInputs["name"] = args?.name;
|
|
92
|
+
resourceInputs["portId"] = args?.portId;
|
|
93
|
+
resourceInputs["region"] = args?.region;
|
|
94
|
+
resourceInputs["remoteIp"] = args?.remoteIp;
|
|
95
|
+
resourceInputs["tenantId"] = args?.tenantId;
|
|
96
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(TaasTapMirrorV2.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.TaasTapMirrorV2 = TaasTapMirrorV2;
|
|
103
|
+
/** @internal */
|
|
104
|
+
TaasTapMirrorV2.__pulumiType = 'openstack:index/taasTapMirrorV2:TaasTapMirrorV2';
|
|
105
|
+
//# sourceMappingURL=taasTapMirrorV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taasTapMirrorV2.js","sourceRoot":"","sources":["../taasTapMirrorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,C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I,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA9HL,0CA+HC;AAjHG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -23,6 +23,20 @@ export interface BgpvpnPortAssociateV2Route {
|
|
|
23
23
|
*/
|
|
24
24
|
type: pulumi.Input<string>;
|
|
25
25
|
}
|
|
26
|
+
export interface TaasTapMirrorV2Directions {
|
|
27
|
+
/**
|
|
28
|
+
* Declares ingress traffic to the port will be mirrored. The value
|
|
29
|
+
* is the identifier of the ERSPAN or GRE session between the source and destination,
|
|
30
|
+
* this must be unique within the project.
|
|
31
|
+
*/
|
|
32
|
+
in?: pulumi.Input<number>;
|
|
33
|
+
/**
|
|
34
|
+
* Declares egress traffic will be mirrored. The value is the
|
|
35
|
+
* identifier of the ERSPAN or GRE session between the source and destination,
|
|
36
|
+
* this must be unique within the project.
|
|
37
|
+
*/
|
|
38
|
+
out?: pulumi.Input<number>;
|
|
39
|
+
}
|
|
26
40
|
export declare namespace bgpvpn {
|
|
27
41
|
interface PortAssociateV2Route {
|
|
28
42
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -22,6 +22,20 @@ export interface BgpvpnPortAssociateV2Route {
|
|
|
22
22
|
*/
|
|
23
23
|
type: string;
|
|
24
24
|
}
|
|
25
|
+
export interface TaasTapMirrorV2Directions {
|
|
26
|
+
/**
|
|
27
|
+
* Declares ingress traffic to the port will be mirrored. The value
|
|
28
|
+
* is the identifier of the ERSPAN or GRE session between the source and destination,
|
|
29
|
+
* this must be unique within the project.
|
|
30
|
+
*/
|
|
31
|
+
in?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Declares egress traffic will be mirrored. The value is the
|
|
34
|
+
* identifier of the ERSPAN or GRE session between the source and destination,
|
|
35
|
+
* this must be unique within the project.
|
|
36
|
+
*/
|
|
37
|
+
out?: number;
|
|
38
|
+
}
|
|
25
39
|
export declare namespace bgpvpn {
|
|
26
40
|
interface PortAssociateV2Route {
|
|
27
41
|
/**
|
|
@@ -658,6 +672,73 @@ export declare namespace keymanager {
|
|
|
658
672
|
}
|
|
659
673
|
}
|
|
660
674
|
export declare namespace loadbalancer {
|
|
675
|
+
interface GetListenerV2L7policy {
|
|
676
|
+
id: string;
|
|
677
|
+
}
|
|
678
|
+
interface GetListenerV2Loadbalancer {
|
|
679
|
+
id: string;
|
|
680
|
+
}
|
|
681
|
+
interface GetListenerV2Pool {
|
|
682
|
+
id: string;
|
|
683
|
+
}
|
|
684
|
+
interface GetLoadbalancerV2Listener {
|
|
685
|
+
id: string;
|
|
686
|
+
}
|
|
687
|
+
interface GetLoadbalancerV2Pool {
|
|
688
|
+
id: string;
|
|
689
|
+
}
|
|
690
|
+
interface GetPoolV2Listener {
|
|
691
|
+
id: string;
|
|
692
|
+
}
|
|
693
|
+
interface GetPoolV2Loadbalancer {
|
|
694
|
+
id: string;
|
|
695
|
+
}
|
|
696
|
+
interface GetPoolV2Member {
|
|
697
|
+
address: string;
|
|
698
|
+
/**
|
|
699
|
+
* The administrative state of the Pool, which is up (true)
|
|
700
|
+
* or down (false).
|
|
701
|
+
*/
|
|
702
|
+
adminStateUp: boolean;
|
|
703
|
+
backup: boolean;
|
|
704
|
+
id: string;
|
|
705
|
+
monitorAddress: string;
|
|
706
|
+
monitorPort: number;
|
|
707
|
+
/**
|
|
708
|
+
* The name of the pool. Exactly one of `name`, `poolId`
|
|
709
|
+
* is required to be set.
|
|
710
|
+
*/
|
|
711
|
+
name: string;
|
|
712
|
+
/**
|
|
713
|
+
* The operating status of the pool.
|
|
714
|
+
*/
|
|
715
|
+
operatingStatus: string;
|
|
716
|
+
/**
|
|
717
|
+
* The ID of the pool. Exactly one of `name`, `poolId`
|
|
718
|
+
* is required to be set.
|
|
719
|
+
*/
|
|
720
|
+
poolId: string;
|
|
721
|
+
/**
|
|
722
|
+
* The owner (project/tenant) ID of the pool.
|
|
723
|
+
*/
|
|
724
|
+
projectId: string;
|
|
725
|
+
protocolPort: number;
|
|
726
|
+
/**
|
|
727
|
+
* The provisioning status of the pool.
|
|
728
|
+
*/
|
|
729
|
+
provisioningStatus: string;
|
|
730
|
+
subnetId: string;
|
|
731
|
+
/**
|
|
732
|
+
* A set of tags applied to the loadbalancer's pool. The
|
|
733
|
+
* loadbalancer' pool will be returned if it has all of the specified tags.
|
|
734
|
+
*/
|
|
735
|
+
tags: string[];
|
|
736
|
+
weight: number;
|
|
737
|
+
}
|
|
738
|
+
interface GetPoolV2SessionPersistence {
|
|
739
|
+
cookieName: string;
|
|
740
|
+
type: string;
|
|
741
|
+
}
|
|
661
742
|
interface MembersMember {
|
|
662
743
|
/**
|
|
663
744
|
* The IP address of the members to receive traffic from
|