@pulumi/juniper-mist 0.6.2 → 0.6.3
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/config/vars.d.ts +3 -5
- package/config/vars.js.map +1 -1
- package/device/ap.d.ts +12 -15
- package/device/ap.js +77 -77
- package/device/ap.js.map +1 -1
- package/device/base.js +34 -34
- package/device/base.js.map +1 -1
- package/device/gateway.d.ts +15 -6
- package/device/gateway.js +77 -75
- package/device/gateway.js.map +1 -1
- package/device/gatewayCluster.js +7 -7
- package/device/gatewayCluster.js.map +1 -1
- package/device/image.js +13 -13
- package/device/image.js.map +1 -1
- package/device/switch.d.ts +24 -39
- package/device/switch.js +99 -99
- package/device/switch.js.map +1 -1
- package/org/alarmtemplate.js +12 -12
- package/org/alarmtemplate.js.map +1 -1
- package/org/apitoken.js +13 -13
- package/org/apitoken.js.map +1 -1
- package/org/avprofile.js +17 -17
- package/org/avprofile.js.map +1 -1
- package/org/base.js +13 -13
- package/org/base.js.map +1 -1
- package/org/deviceprofileAp.d.ts +12 -12
- package/org/deviceprofileAp.js +49 -49
- package/org/deviceprofileAp.js.map +1 -1
- package/org/deviceprofileAssign.js +10 -10
- package/org/deviceprofileAssign.js.map +1 -1
- package/org/deviceprofileGateway.d.ts +15 -6
- package/org/deviceprofileGateway.js +55 -53
- package/org/deviceprofileGateway.js.map +1 -1
- package/org/evpnTopology.js +13 -13
- package/org/evpnTopology.js.map +1 -1
- package/org/gatewaytemplate.d.ts +18 -12
- package/org/gatewaytemplate.js +56 -54
- package/org/gatewaytemplate.js.map +1 -1
- package/org/idpprofile.js +11 -11
- package/org/idpprofile.js.map +1 -1
- package/org/inventory.d.ts +15 -9
- package/org/inventory.js +6 -6
- package/org/inventory.js.map +1 -1
- package/org/nacEndpoint.js +17 -17
- package/org/nacEndpoint.js.map +1 -1
- package/org/nacidp.js +57 -57
- package/org/nacidp.js.map +1 -1
- package/org/nacrule.js +22 -22
- package/org/nacrule.js.map +1 -1
- package/org/nactag.d.ts +42 -39
- package/org/nactag.js +35 -35
- package/org/nactag.js.map +1 -1
- package/org/network.js +33 -33
- package/org/network.js.map +1 -1
- package/org/networktemplate.d.ts +6 -15
- package/org/networktemplate.js +50 -50
- package/org/networktemplate.js.map +1 -1
- package/org/psk.js +38 -38
- package/org/psk.js.map +1 -1
- package/org/rftemplate.js +28 -28
- package/org/rftemplate.js.map +1 -1
- package/org/service.d.ts +12 -6
- package/org/service.js +50 -50
- package/org/service.js.map +1 -1
- package/org/servicepolicy.js +28 -28
- package/org/servicepolicy.js.map +1 -1
- package/org/setting.d.ts +27 -42
- package/org/setting.js +70 -70
- package/org/setting.js.map +1 -1
- package/org/sitegroup.js +6 -6
- package/org/sitegroup.js.map +1 -1
- package/org/sso.d.ts +15 -33
- package/org/sso.js +31 -31
- package/org/sso.js.map +1 -1
- package/org/ssoRole.js +9 -9
- package/org/ssoRole.js.map +1 -1
- package/org/vpn.js +12 -12
- package/org/vpn.js.map +1 -1
- package/org/webhook.d.ts +6 -15
- package/org/webhook.js +40 -40
- package/org/webhook.js.map +1 -1
- package/org/wlan.d.ts +69 -93
- package/org/wlan.js +190 -190
- package/org/wlan.js.map +1 -1
- package/org/wlanPortalImage.js +10 -10
- package/org/wlanPortalImage.js.map +1 -1
- package/org/wlanPortalTemplate.js +10 -10
- package/org/wlanPortalTemplate.js.map +1 -1
- package/org/wlantemplate.js +14 -14
- package/org/wlantemplate.js.map +1 -1
- package/org/wxrule.js +27 -27
- package/org/wxrule.js.map +1 -1
- package/org/wxtag.d.ts +60 -36
- package/org/wxtag.js +21 -21
- package/org/wxtag.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +5 -8
- package/provider.js +7 -7
- package/provider.js.map +1 -1
- package/site/base.js +34 -34
- package/site/base.js.map +1 -1
- package/site/evpnTopology.js +14 -14
- package/site/evpnTopology.js.map +1 -1
- package/site/networktemplate.d.ts +3 -9
- package/site/networktemplate.js +52 -52
- package/site/networktemplate.js.map +1 -1
- package/site/psk.js +35 -35
- package/site/psk.js.map +1 -1
- package/site/setting.d.ts +33 -63
- package/site/setting.js +97 -97
- package/site/setting.js.map +1 -1
- package/site/webhook.d.ts +6 -15
- package/site/webhook.js +43 -43
- package/site/webhook.js.map +1 -1
- package/site/wlan.d.ts +69 -93
- package/site/wlan.js +188 -188
- package/site/wlan.js.map +1 -1
- package/site/wlanPortalImage.js +10 -10
- package/site/wlanPortalImage.js.map +1 -1
- package/site/wlanPortalTemplate.js +10 -10
- package/site/wlanPortalTemplate.js.map +1 -1
- package/site/wxrule.js +24 -24
- package/site/wxrule.js.map +1 -1
- package/site/wxtag.d.ts +60 -36
- package/site/wxtag.js +21 -21
- package/site/wxtag.js.map +1 -1
- package/types/output.d.ts +55 -55
- package/upgradeDevice.js +30 -30
- package/upgradeDevice.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
package/org/deviceprofileAp.js
CHANGED
|
@@ -49,7 +49,7 @@ class DeviceprofileAp extends pulumi.CustomResource {
|
|
|
49
49
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
50
|
*/
|
|
51
51
|
static get(name, id, state, opts) {
|
|
52
|
-
return new DeviceprofileAp(name, state,
|
|
52
|
+
return new DeviceprofileAp(name, state, { ...opts, id: id });
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Returns true if the given object is an instance of DeviceprofileAp. This is designed to work even
|
|
@@ -66,59 +66,59 @@ class DeviceprofileAp extends pulumi.CustomResource {
|
|
|
66
66
|
opts = opts || {};
|
|
67
67
|
if (opts.id) {
|
|
68
68
|
const state = argsOrState;
|
|
69
|
-
resourceInputs["aeroscout"] = state
|
|
70
|
-
resourceInputs["airista"] = state
|
|
71
|
-
resourceInputs["bleConfig"] = state
|
|
72
|
-
resourceInputs["disableEth1"] = state
|
|
73
|
-
resourceInputs["disableEth2"] = state
|
|
74
|
-
resourceInputs["disableEth3"] = state
|
|
75
|
-
resourceInputs["disableModule"] = state
|
|
76
|
-
resourceInputs["eslConfig"] = state
|
|
77
|
-
resourceInputs["ipConfig"] = state
|
|
78
|
-
resourceInputs["lacpConfig"] = state
|
|
79
|
-
resourceInputs["led"] = state
|
|
80
|
-
resourceInputs["mesh"] = state
|
|
81
|
-
resourceInputs["name"] = state
|
|
82
|
-
resourceInputs["ntpServers"] = state
|
|
83
|
-
resourceInputs["orgId"] = state
|
|
84
|
-
resourceInputs["poePassthrough"] = state
|
|
85
|
-
resourceInputs["portConfig"] = state
|
|
86
|
-
resourceInputs["pwrConfig"] = state
|
|
87
|
-
resourceInputs["radioConfig"] = state
|
|
88
|
-
resourceInputs["siteId"] = state
|
|
89
|
-
resourceInputs["type"] = state
|
|
90
|
-
resourceInputs["uplinkPortConfig"] = state
|
|
91
|
-
resourceInputs["usbConfig"] = state
|
|
92
|
-
resourceInputs["vars"] = state
|
|
69
|
+
resourceInputs["aeroscout"] = state?.aeroscout;
|
|
70
|
+
resourceInputs["airista"] = state?.airista;
|
|
71
|
+
resourceInputs["bleConfig"] = state?.bleConfig;
|
|
72
|
+
resourceInputs["disableEth1"] = state?.disableEth1;
|
|
73
|
+
resourceInputs["disableEth2"] = state?.disableEth2;
|
|
74
|
+
resourceInputs["disableEth3"] = state?.disableEth3;
|
|
75
|
+
resourceInputs["disableModule"] = state?.disableModule;
|
|
76
|
+
resourceInputs["eslConfig"] = state?.eslConfig;
|
|
77
|
+
resourceInputs["ipConfig"] = state?.ipConfig;
|
|
78
|
+
resourceInputs["lacpConfig"] = state?.lacpConfig;
|
|
79
|
+
resourceInputs["led"] = state?.led;
|
|
80
|
+
resourceInputs["mesh"] = state?.mesh;
|
|
81
|
+
resourceInputs["name"] = state?.name;
|
|
82
|
+
resourceInputs["ntpServers"] = state?.ntpServers;
|
|
83
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
84
|
+
resourceInputs["poePassthrough"] = state?.poePassthrough;
|
|
85
|
+
resourceInputs["portConfig"] = state?.portConfig;
|
|
86
|
+
resourceInputs["pwrConfig"] = state?.pwrConfig;
|
|
87
|
+
resourceInputs["radioConfig"] = state?.radioConfig;
|
|
88
|
+
resourceInputs["siteId"] = state?.siteId;
|
|
89
|
+
resourceInputs["type"] = state?.type;
|
|
90
|
+
resourceInputs["uplinkPortConfig"] = state?.uplinkPortConfig;
|
|
91
|
+
resourceInputs["usbConfig"] = state?.usbConfig;
|
|
92
|
+
resourceInputs["vars"] = state?.vars;
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
95
95
|
const args = argsOrState;
|
|
96
|
-
if (
|
|
96
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
97
97
|
throw new Error("Missing required property 'orgId'");
|
|
98
98
|
}
|
|
99
|
-
resourceInputs["aeroscout"] = args
|
|
100
|
-
resourceInputs["airista"] = args
|
|
101
|
-
resourceInputs["bleConfig"] = args
|
|
102
|
-
resourceInputs["disableEth1"] = args
|
|
103
|
-
resourceInputs["disableEth2"] = args
|
|
104
|
-
resourceInputs["disableEth3"] = args
|
|
105
|
-
resourceInputs["disableModule"] = args
|
|
106
|
-
resourceInputs["eslConfig"] = args
|
|
107
|
-
resourceInputs["ipConfig"] = args
|
|
108
|
-
resourceInputs["lacpConfig"] = args
|
|
109
|
-
resourceInputs["led"] = args
|
|
110
|
-
resourceInputs["mesh"] = args
|
|
111
|
-
resourceInputs["name"] = args
|
|
112
|
-
resourceInputs["ntpServers"] = args
|
|
113
|
-
resourceInputs["orgId"] = args
|
|
114
|
-
resourceInputs["poePassthrough"] = args
|
|
115
|
-
resourceInputs["portConfig"] = args
|
|
116
|
-
resourceInputs["pwrConfig"] = args
|
|
117
|
-
resourceInputs["radioConfig"] = args
|
|
118
|
-
resourceInputs["siteId"] = args
|
|
119
|
-
resourceInputs["uplinkPortConfig"] = args
|
|
120
|
-
resourceInputs["usbConfig"] = args
|
|
121
|
-
resourceInputs["vars"] = args
|
|
99
|
+
resourceInputs["aeroscout"] = args?.aeroscout;
|
|
100
|
+
resourceInputs["airista"] = args?.airista;
|
|
101
|
+
resourceInputs["bleConfig"] = args?.bleConfig;
|
|
102
|
+
resourceInputs["disableEth1"] = args?.disableEth1;
|
|
103
|
+
resourceInputs["disableEth2"] = args?.disableEth2;
|
|
104
|
+
resourceInputs["disableEth3"] = args?.disableEth3;
|
|
105
|
+
resourceInputs["disableModule"] = args?.disableModule;
|
|
106
|
+
resourceInputs["eslConfig"] = args?.eslConfig;
|
|
107
|
+
resourceInputs["ipConfig"] = args?.ipConfig;
|
|
108
|
+
resourceInputs["lacpConfig"] = args?.lacpConfig;
|
|
109
|
+
resourceInputs["led"] = args?.led;
|
|
110
|
+
resourceInputs["mesh"] = args?.mesh;
|
|
111
|
+
resourceInputs["name"] = args?.name;
|
|
112
|
+
resourceInputs["ntpServers"] = args?.ntpServers;
|
|
113
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
114
|
+
resourceInputs["poePassthrough"] = args?.poePassthrough;
|
|
115
|
+
resourceInputs["portConfig"] = args?.portConfig;
|
|
116
|
+
resourceInputs["pwrConfig"] = args?.pwrConfig;
|
|
117
|
+
resourceInputs["radioConfig"] = args?.radioConfig;
|
|
118
|
+
resourceInputs["siteId"] = args?.siteId;
|
|
119
|
+
resourceInputs["uplinkPortConfig"] = args?.uplinkPortConfig;
|
|
120
|
+
resourceInputs["usbConfig"] = args?.usbConfig;
|
|
121
|
+
resourceInputs["vars"] = args?.vars;
|
|
122
122
|
resourceInputs["type"] = undefined /*out*/;
|
|
123
123
|
}
|
|
124
124
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceprofileAp.js","sourceRoot":"","sources":["../../org/deviceprofileAp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;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YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;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;;AA/KL,0CAgLC;AAlKG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -37,7 +37,7 @@ class DeviceprofileAssign extends pulumi.CustomResource {
|
|
|
37
37
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
38
|
*/
|
|
39
39
|
static get(name, id, state, opts) {
|
|
40
|
-
return new DeviceprofileAssign(name, state,
|
|
40
|
+
return new DeviceprofileAssign(name, state, { ...opts, id: id });
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Returns true if the given object is an instance of DeviceprofileAssign. This is designed to work even
|
|
@@ -54,24 +54,24 @@ class DeviceprofileAssign extends pulumi.CustomResource {
|
|
|
54
54
|
opts = opts || {};
|
|
55
55
|
if (opts.id) {
|
|
56
56
|
const state = argsOrState;
|
|
57
|
-
resourceInputs["deviceprofileId"] = state
|
|
58
|
-
resourceInputs["macs"] = state
|
|
59
|
-
resourceInputs["orgId"] = state
|
|
57
|
+
resourceInputs["deviceprofileId"] = state?.deviceprofileId;
|
|
58
|
+
resourceInputs["macs"] = state?.macs;
|
|
59
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
62
|
const args = argsOrState;
|
|
63
|
-
if (
|
|
63
|
+
if (args?.deviceprofileId === undefined && !opts.urn) {
|
|
64
64
|
throw new Error("Missing required property 'deviceprofileId'");
|
|
65
65
|
}
|
|
66
|
-
if (
|
|
66
|
+
if (args?.macs === undefined && !opts.urn) {
|
|
67
67
|
throw new Error("Missing required property 'macs'");
|
|
68
68
|
}
|
|
69
|
-
if (
|
|
69
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
70
70
|
throw new Error("Missing required property 'orgId'");
|
|
71
71
|
}
|
|
72
|
-
resourceInputs["deviceprofileId"] = args
|
|
73
|
-
resourceInputs["macs"] = args
|
|
74
|
-
resourceInputs["orgId"] = args
|
|
72
|
+
resourceInputs["deviceprofileId"] = args?.deviceprofileId;
|
|
73
|
+
resourceInputs["macs"] = args?.macs;
|
|
74
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
75
75
|
}
|
|
76
76
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
77
|
super(DeviceprofileAssign.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceprofileAssign.js","sourceRoot":"","sources":["../../org/deviceprofileAssign.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,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,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
|
|
@@ -58,8 +58,7 @@ export declare class DeviceprofileGateway extends pulumi.CustomResource {
|
|
|
58
58
|
[key: string]: outputs.org.DeviceprofileGatewayExtraRoutes;
|
|
59
59
|
} | undefined>;
|
|
60
60
|
/**
|
|
61
|
-
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g.
|
|
62
|
-
* "{{myvar}}")
|
|
61
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
|
|
63
62
|
*/
|
|
64
63
|
readonly extraRoutes6: pulumi.Output<{
|
|
65
64
|
[key: string]: outputs.org.DeviceprofileGatewayExtraRoutes6;
|
|
@@ -111,6 +110,10 @@ export declare class DeviceprofileGateway extends pulumi.CustomResource {
|
|
|
111
110
|
[key: string]: outputs.org.DeviceprofileGatewayRoutingPolicies;
|
|
112
111
|
} | undefined>;
|
|
113
112
|
readonly servicePolicies: pulumi.Output<outputs.org.DeviceprofileGatewayServicePolicy[] | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* additional CLI commands to append to the generated SSR config. **Note**: no check is done
|
|
115
|
+
*/
|
|
116
|
+
readonly ssrAdditionalConfigCmds: pulumi.Output<string[] | undefined>;
|
|
114
117
|
/**
|
|
115
118
|
* Property key is the tunnel name
|
|
116
119
|
*/
|
|
@@ -166,8 +169,7 @@ export interface DeviceprofileGatewayState {
|
|
|
166
169
|
[key: string]: pulumi.Input<inputs.org.DeviceprofileGatewayExtraRoutes>;
|
|
167
170
|
}>;
|
|
168
171
|
/**
|
|
169
|
-
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g.
|
|
170
|
-
* "{{myvar}}")
|
|
172
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
|
|
171
173
|
*/
|
|
172
174
|
extraRoutes6?: pulumi.Input<{
|
|
173
175
|
[key: string]: pulumi.Input<inputs.org.DeviceprofileGatewayExtraRoutes6>;
|
|
@@ -219,6 +221,10 @@ export interface DeviceprofileGatewayState {
|
|
|
219
221
|
[key: string]: pulumi.Input<inputs.org.DeviceprofileGatewayRoutingPolicies>;
|
|
220
222
|
}>;
|
|
221
223
|
servicePolicies?: pulumi.Input<pulumi.Input<inputs.org.DeviceprofileGatewayServicePolicy>[]>;
|
|
224
|
+
/**
|
|
225
|
+
* additional CLI commands to append to the generated SSR config. **Note**: no check is done
|
|
226
|
+
*/
|
|
227
|
+
ssrAdditionalConfigCmds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
222
228
|
/**
|
|
223
229
|
* Property key is the tunnel name
|
|
224
230
|
*/
|
|
@@ -266,8 +272,7 @@ export interface DeviceprofileGatewayArgs {
|
|
|
266
272
|
[key: string]: pulumi.Input<inputs.org.DeviceprofileGatewayExtraRoutes>;
|
|
267
273
|
}>;
|
|
268
274
|
/**
|
|
269
|
-
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g.
|
|
270
|
-
* "{{myvar}}")
|
|
275
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
|
|
271
276
|
*/
|
|
272
277
|
extraRoutes6?: pulumi.Input<{
|
|
273
278
|
[key: string]: pulumi.Input<inputs.org.DeviceprofileGatewayExtraRoutes6>;
|
|
@@ -319,6 +324,10 @@ export interface DeviceprofileGatewayArgs {
|
|
|
319
324
|
[key: string]: pulumi.Input<inputs.org.DeviceprofileGatewayRoutingPolicies>;
|
|
320
325
|
}>;
|
|
321
326
|
servicePolicies?: pulumi.Input<pulumi.Input<inputs.org.DeviceprofileGatewayServicePolicy>[]>;
|
|
327
|
+
/**
|
|
328
|
+
* additional CLI commands to append to the generated SSR config. **Note**: no check is done
|
|
329
|
+
*/
|
|
330
|
+
ssrAdditionalConfigCmds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
322
331
|
/**
|
|
323
332
|
* Property key is the tunnel name
|
|
324
333
|
*/
|
|
@@ -33,7 +33,7 @@ class DeviceprofileGateway extends pulumi.CustomResource {
|
|
|
33
33
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
34
|
*/
|
|
35
35
|
static get(name, id, state, opts) {
|
|
36
|
-
return new DeviceprofileGateway(name, state,
|
|
36
|
+
return new DeviceprofileGateway(name, state, { ...opts, id: id });
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Returns true if the given object is an instance of DeviceprofileGateway. This is designed to work even
|
|
@@ -50,63 +50,65 @@ class DeviceprofileGateway extends pulumi.CustomResource {
|
|
|
50
50
|
opts = opts || {};
|
|
51
51
|
if (opts.id) {
|
|
52
52
|
const state = argsOrState;
|
|
53
|
-
resourceInputs["additionalConfigCmds"] = state
|
|
54
|
-
resourceInputs["bgpConfig"] = state
|
|
55
|
-
resourceInputs["dhcpdConfig"] = state
|
|
56
|
-
resourceInputs["dnsOverride"] = state
|
|
57
|
-
resourceInputs["dnsServers"] = state
|
|
58
|
-
resourceInputs["dnsSuffixes"] = state
|
|
59
|
-
resourceInputs["extraRoutes"] = state
|
|
60
|
-
resourceInputs["extraRoutes6"] = state
|
|
61
|
-
resourceInputs["idpProfiles"] = state
|
|
62
|
-
resourceInputs["ipConfigs"] = state
|
|
63
|
-
resourceInputs["name"] = state
|
|
64
|
-
resourceInputs["networks"] = state
|
|
65
|
-
resourceInputs["ntpOverride"] = state
|
|
66
|
-
resourceInputs["ntpServers"] = state
|
|
67
|
-
resourceInputs["oobIpConfig"] = state
|
|
68
|
-
resourceInputs["orgId"] = state
|
|
69
|
-
resourceInputs["pathPreferences"] = state
|
|
70
|
-
resourceInputs["portConfig"] = state
|
|
71
|
-
resourceInputs["routerId"] = state
|
|
72
|
-
resourceInputs["routingPolicies"] = state
|
|
73
|
-
resourceInputs["servicePolicies"] = state
|
|
74
|
-
resourceInputs["
|
|
75
|
-
resourceInputs["
|
|
76
|
-
resourceInputs["
|
|
77
|
-
resourceInputs["
|
|
78
|
-
resourceInputs["
|
|
53
|
+
resourceInputs["additionalConfigCmds"] = state?.additionalConfigCmds;
|
|
54
|
+
resourceInputs["bgpConfig"] = state?.bgpConfig;
|
|
55
|
+
resourceInputs["dhcpdConfig"] = state?.dhcpdConfig;
|
|
56
|
+
resourceInputs["dnsOverride"] = state?.dnsOverride;
|
|
57
|
+
resourceInputs["dnsServers"] = state?.dnsServers;
|
|
58
|
+
resourceInputs["dnsSuffixes"] = state?.dnsSuffixes;
|
|
59
|
+
resourceInputs["extraRoutes"] = state?.extraRoutes;
|
|
60
|
+
resourceInputs["extraRoutes6"] = state?.extraRoutes6;
|
|
61
|
+
resourceInputs["idpProfiles"] = state?.idpProfiles;
|
|
62
|
+
resourceInputs["ipConfigs"] = state?.ipConfigs;
|
|
63
|
+
resourceInputs["name"] = state?.name;
|
|
64
|
+
resourceInputs["networks"] = state?.networks;
|
|
65
|
+
resourceInputs["ntpOverride"] = state?.ntpOverride;
|
|
66
|
+
resourceInputs["ntpServers"] = state?.ntpServers;
|
|
67
|
+
resourceInputs["oobIpConfig"] = state?.oobIpConfig;
|
|
68
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
69
|
+
resourceInputs["pathPreferences"] = state?.pathPreferences;
|
|
70
|
+
resourceInputs["portConfig"] = state?.portConfig;
|
|
71
|
+
resourceInputs["routerId"] = state?.routerId;
|
|
72
|
+
resourceInputs["routingPolicies"] = state?.routingPolicies;
|
|
73
|
+
resourceInputs["servicePolicies"] = state?.servicePolicies;
|
|
74
|
+
resourceInputs["ssrAdditionalConfigCmds"] = state?.ssrAdditionalConfigCmds;
|
|
75
|
+
resourceInputs["tunnelConfigs"] = state?.tunnelConfigs;
|
|
76
|
+
resourceInputs["tunnelProviderOptions"] = state?.tunnelProviderOptions;
|
|
77
|
+
resourceInputs["type"] = state?.type;
|
|
78
|
+
resourceInputs["vrfConfig"] = state?.vrfConfig;
|
|
79
|
+
resourceInputs["vrfInstances"] = state?.vrfInstances;
|
|
79
80
|
}
|
|
80
81
|
else {
|
|
81
82
|
const args = argsOrState;
|
|
82
|
-
if (
|
|
83
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
83
84
|
throw new Error("Missing required property 'orgId'");
|
|
84
85
|
}
|
|
85
|
-
resourceInputs["additionalConfigCmds"] = args
|
|
86
|
-
resourceInputs["bgpConfig"] = args
|
|
87
|
-
resourceInputs["dhcpdConfig"] = args
|
|
88
|
-
resourceInputs["dnsOverride"] = args
|
|
89
|
-
resourceInputs["dnsServers"] = args
|
|
90
|
-
resourceInputs["dnsSuffixes"] = args
|
|
91
|
-
resourceInputs["extraRoutes"] = args
|
|
92
|
-
resourceInputs["extraRoutes6"] = args
|
|
93
|
-
resourceInputs["idpProfiles"] = args
|
|
94
|
-
resourceInputs["ipConfigs"] = args
|
|
95
|
-
resourceInputs["name"] = args
|
|
96
|
-
resourceInputs["networks"] = args
|
|
97
|
-
resourceInputs["ntpOverride"] = args
|
|
98
|
-
resourceInputs["ntpServers"] = args
|
|
99
|
-
resourceInputs["oobIpConfig"] = args
|
|
100
|
-
resourceInputs["orgId"] = args
|
|
101
|
-
resourceInputs["pathPreferences"] = args
|
|
102
|
-
resourceInputs["portConfig"] = args
|
|
103
|
-
resourceInputs["routerId"] = args
|
|
104
|
-
resourceInputs["routingPolicies"] = args
|
|
105
|
-
resourceInputs["servicePolicies"] = args
|
|
106
|
-
resourceInputs["
|
|
107
|
-
resourceInputs["
|
|
108
|
-
resourceInputs["
|
|
109
|
-
resourceInputs["
|
|
86
|
+
resourceInputs["additionalConfigCmds"] = args?.additionalConfigCmds;
|
|
87
|
+
resourceInputs["bgpConfig"] = args?.bgpConfig;
|
|
88
|
+
resourceInputs["dhcpdConfig"] = args?.dhcpdConfig;
|
|
89
|
+
resourceInputs["dnsOverride"] = args?.dnsOverride;
|
|
90
|
+
resourceInputs["dnsServers"] = args?.dnsServers;
|
|
91
|
+
resourceInputs["dnsSuffixes"] = args?.dnsSuffixes;
|
|
92
|
+
resourceInputs["extraRoutes"] = args?.extraRoutes;
|
|
93
|
+
resourceInputs["extraRoutes6"] = args?.extraRoutes6;
|
|
94
|
+
resourceInputs["idpProfiles"] = args?.idpProfiles;
|
|
95
|
+
resourceInputs["ipConfigs"] = args?.ipConfigs;
|
|
96
|
+
resourceInputs["name"] = args?.name;
|
|
97
|
+
resourceInputs["networks"] = args?.networks;
|
|
98
|
+
resourceInputs["ntpOverride"] = args?.ntpOverride;
|
|
99
|
+
resourceInputs["ntpServers"] = args?.ntpServers;
|
|
100
|
+
resourceInputs["oobIpConfig"] = args?.oobIpConfig;
|
|
101
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
102
|
+
resourceInputs["pathPreferences"] = args?.pathPreferences;
|
|
103
|
+
resourceInputs["portConfig"] = args?.portConfig;
|
|
104
|
+
resourceInputs["routerId"] = args?.routerId;
|
|
105
|
+
resourceInputs["routingPolicies"] = args?.routingPolicies;
|
|
106
|
+
resourceInputs["servicePolicies"] = args?.servicePolicies;
|
|
107
|
+
resourceInputs["ssrAdditionalConfigCmds"] = args?.ssrAdditionalConfigCmds;
|
|
108
|
+
resourceInputs["tunnelConfigs"] = args?.tunnelConfigs;
|
|
109
|
+
resourceInputs["tunnelProviderOptions"] = args?.tunnelProviderOptions;
|
|
110
|
+
resourceInputs["vrfConfig"] = args?.vrfConfig;
|
|
111
|
+
resourceInputs["vrfInstances"] = args?.vrfInstances;
|
|
110
112
|
resourceInputs["type"] = undefined /*out*/;
|
|
111
113
|
}
|
|
112
114
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceprofileGateway.js","sourceRoot":"","sources":["../../org/deviceprofileGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"deviceprofileGateway.js","sourceRoot":"","sources":["../../org/deviceprofileGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CA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AE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAtLL,oDAuLC;AAzKG,gBAAgB;AACO,iCAAY,GAAG,2DAA2D,CAAC"}
|
package/org/evpnTopology.js
CHANGED
|
@@ -33,7 +33,7 @@ class EvpnTopology extends pulumi.CustomResource {
|
|
|
33
33
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
34
|
*/
|
|
35
35
|
static get(name, id, state, opts) {
|
|
36
|
-
return new EvpnTopology(name, state,
|
|
36
|
+
return new EvpnTopology(name, state, { ...opts, id: id });
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Returns true if the given object is an instance of EvpnTopology. This is designed to work even
|
|
@@ -50,25 +50,25 @@ class EvpnTopology extends pulumi.CustomResource {
|
|
|
50
50
|
opts = opts || {};
|
|
51
51
|
if (opts.id) {
|
|
52
52
|
const state = argsOrState;
|
|
53
|
-
resourceInputs["evpnOptions"] = state
|
|
54
|
-
resourceInputs["name"] = state
|
|
55
|
-
resourceInputs["orgId"] = state
|
|
56
|
-
resourceInputs["podNames"] = state
|
|
57
|
-
resourceInputs["switches"] = state
|
|
53
|
+
resourceInputs["evpnOptions"] = state?.evpnOptions;
|
|
54
|
+
resourceInputs["name"] = state?.name;
|
|
55
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
56
|
+
resourceInputs["podNames"] = state?.podNames;
|
|
57
|
+
resourceInputs["switches"] = state?.switches;
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
60
|
const args = argsOrState;
|
|
61
|
-
if (
|
|
61
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
62
62
|
throw new Error("Missing required property 'orgId'");
|
|
63
63
|
}
|
|
64
|
-
if (
|
|
64
|
+
if (args?.switches === undefined && !opts.urn) {
|
|
65
65
|
throw new Error("Missing required property 'switches'");
|
|
66
66
|
}
|
|
67
|
-
resourceInputs["evpnOptions"] = args
|
|
68
|
-
resourceInputs["name"] = args
|
|
69
|
-
resourceInputs["orgId"] = args
|
|
70
|
-
resourceInputs["podNames"] = args
|
|
71
|
-
resourceInputs["switches"] = args
|
|
67
|
+
resourceInputs["evpnOptions"] = args?.evpnOptions;
|
|
68
|
+
resourceInputs["name"] = args?.name;
|
|
69
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
70
|
+
resourceInputs["podNames"] = args?.podNames;
|
|
71
|
+
resourceInputs["switches"] = args?.switches;
|
|
72
72
|
}
|
|
73
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
74
|
super(EvpnTopology.__pulumiType, name, resourceInputs, opts);
|
package/org/evpnTopology.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evpnTopology.js","sourceRoot":"","sources":["../../org/evpnTopology.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAA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C;YACzD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,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,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7EL,oCA8EC;AAhEG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/org/gatewaytemplate.d.ts
CHANGED
|
@@ -56,8 +56,7 @@ export declare class Gatewaytemplate extends pulumi.CustomResource {
|
|
|
56
56
|
[key: string]: outputs.org.GatewaytemplateExtraRoutes;
|
|
57
57
|
} | undefined>;
|
|
58
58
|
/**
|
|
59
|
-
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g.
|
|
60
|
-
* "{{myvar}}")
|
|
59
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
|
|
61
60
|
*/
|
|
62
61
|
readonly extraRoutes6: pulumi.Output<{
|
|
63
62
|
[key: string]: outputs.org.GatewaytemplateExtraRoutes6;
|
|
@@ -93,8 +92,7 @@ export declare class Gatewaytemplate extends pulumi.CustomResource {
|
|
|
93
92
|
[key: string]: outputs.org.GatewaytemplatePathPreferences;
|
|
94
93
|
} | undefined>;
|
|
95
94
|
/**
|
|
96
|
-
* Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e.
|
|
97
|
-
* "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
|
|
95
|
+
* Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e. "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
|
|
98
96
|
*/
|
|
99
97
|
readonly portConfig: pulumi.Output<{
|
|
100
98
|
[key: string]: outputs.org.GatewaytemplatePortConfig;
|
|
@@ -110,6 +108,10 @@ export declare class Gatewaytemplate extends pulumi.CustomResource {
|
|
|
110
108
|
[key: string]: outputs.org.GatewaytemplateRoutingPolicies;
|
|
111
109
|
} | undefined>;
|
|
112
110
|
readonly servicePolicies: pulumi.Output<outputs.org.GatewaytemplateServicePolicy[] | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* additional CLI commands to append to the generated SSR config. **Note**: no check is done
|
|
113
|
+
*/
|
|
114
|
+
readonly ssrAdditionalConfigCmds: pulumi.Output<string[] | undefined>;
|
|
113
115
|
/**
|
|
114
116
|
* Property key is the tunnel name
|
|
115
117
|
*/
|
|
@@ -165,8 +167,7 @@ export interface GatewaytemplateState {
|
|
|
165
167
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplateExtraRoutes>;
|
|
166
168
|
}>;
|
|
167
169
|
/**
|
|
168
|
-
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g.
|
|
169
|
-
* "{{myvar}}")
|
|
170
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
|
|
170
171
|
*/
|
|
171
172
|
extraRoutes6?: pulumi.Input<{
|
|
172
173
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplateExtraRoutes6>;
|
|
@@ -202,8 +203,7 @@ export interface GatewaytemplateState {
|
|
|
202
203
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplatePathPreferences>;
|
|
203
204
|
}>;
|
|
204
205
|
/**
|
|
205
|
-
* Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e.
|
|
206
|
-
* "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
|
|
206
|
+
* Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e. "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
|
|
207
207
|
*/
|
|
208
208
|
portConfig?: pulumi.Input<{
|
|
209
209
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplatePortConfig>;
|
|
@@ -219,6 +219,10 @@ export interface GatewaytemplateState {
|
|
|
219
219
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplateRoutingPolicies>;
|
|
220
220
|
}>;
|
|
221
221
|
servicePolicies?: pulumi.Input<pulumi.Input<inputs.org.GatewaytemplateServicePolicy>[]>;
|
|
222
|
+
/**
|
|
223
|
+
* additional CLI commands to append to the generated SSR config. **Note**: no check is done
|
|
224
|
+
*/
|
|
225
|
+
ssrAdditionalConfigCmds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
222
226
|
/**
|
|
223
227
|
* Property key is the tunnel name
|
|
224
228
|
*/
|
|
@@ -266,8 +270,7 @@ export interface GatewaytemplateArgs {
|
|
|
266
270
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplateExtraRoutes>;
|
|
267
271
|
}>;
|
|
268
272
|
/**
|
|
269
|
-
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g.
|
|
270
|
-
* "{{myvar}}")
|
|
273
|
+
* Property key is the destination CIDR (e.g. "2a02:1234:420a:10c9::/64"), the destination Network name or a variable (e.g. "{{myvar}}")
|
|
271
274
|
*/
|
|
272
275
|
extraRoutes6?: pulumi.Input<{
|
|
273
276
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplateExtraRoutes6>;
|
|
@@ -303,8 +306,7 @@ export interface GatewaytemplateArgs {
|
|
|
303
306
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplatePathPreferences>;
|
|
304
307
|
}>;
|
|
305
308
|
/**
|
|
306
|
-
* Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e.
|
|
307
|
-
* "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
|
|
309
|
+
* Property key is the Port Name (i.e. "ge-0/0/0"), the Ports Range (i.e. "ge-0/0/0-10"), the List of Ports (i.e. "ge-0/0/0,ge-1/0/0", only allowed for Aggregated or Redundant interfaces) or a Variable (i.e. "{{myvar}}").
|
|
308
310
|
*/
|
|
309
311
|
portConfig?: pulumi.Input<{
|
|
310
312
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplatePortConfig>;
|
|
@@ -320,6 +322,10 @@ export interface GatewaytemplateArgs {
|
|
|
320
322
|
[key: string]: pulumi.Input<inputs.org.GatewaytemplateRoutingPolicies>;
|
|
321
323
|
}>;
|
|
322
324
|
servicePolicies?: pulumi.Input<pulumi.Input<inputs.org.GatewaytemplateServicePolicy>[]>;
|
|
325
|
+
/**
|
|
326
|
+
* additional CLI commands to append to the generated SSR config. **Note**: no check is done
|
|
327
|
+
*/
|
|
328
|
+
ssrAdditionalConfigCmds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
323
329
|
/**
|
|
324
330
|
* Property key is the tunnel name
|
|
325
331
|
*/
|