@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/sso.d.ts
CHANGED
|
@@ -51,19 +51,17 @@ export declare class Sso extends pulumi.CustomResource {
|
|
|
51
51
|
*/
|
|
52
52
|
static isInstance(obj: any): obj is Sso;
|
|
53
53
|
/**
|
|
54
|
-
* a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is
|
|
55
|
-
* different from SP-initiated SLO process)
|
|
54
|
+
* a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is different from SP-initiated SLO process)
|
|
56
55
|
*/
|
|
57
56
|
readonly customLogoutUrl: pulumi.Output<string | undefined>;
|
|
58
57
|
/**
|
|
59
|
-
* default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role
|
|
60
|
-
* matched
|
|
58
|
+
* default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched
|
|
61
59
|
*/
|
|
62
60
|
readonly defaultRole: pulumi.Output<string | undefined>;
|
|
63
61
|
/**
|
|
64
|
-
* Random string generated during the SSO creation and used to generate the SAML URLs:
|
|
65
|
-
* `/api/v1/saml/{domain}/login` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/login`)
|
|
66
|
-
* `/api/v1/saml/{domain}/logout` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/logout`)
|
|
62
|
+
* Random string generated during the SSO creation and used to generate the SAML URLs:
|
|
63
|
+
* * ACS URL = `/api/v1/saml/{domain}/login` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/login`)
|
|
64
|
+
* * Single Logout URL = `/api/v1/saml/{domain}/logout` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/logout`)
|
|
67
65
|
*/
|
|
68
66
|
readonly domain: pulumi.Output<string>;
|
|
69
67
|
/**
|
|
@@ -96,11 +94,7 @@ export declare class Sso extends pulumi.CustomResource {
|
|
|
96
94
|
readonly nameidFormat: pulumi.Output<string>;
|
|
97
95
|
readonly orgId: pulumi.Output<string>;
|
|
98
96
|
/**
|
|
99
|
-
* custom role attribute parsing scheme. Supported Role Parsing Schemes
|
|
100
|
-
* <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML
|
|
101
|
-
* Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the
|
|
102
|
-
* entire entry will be ignored)</li></ul>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is
|
|
103
|
-
* “cn”</td></tr></table>
|
|
97
|
+
* custom role attribute parsing scheme. Supported Role Parsing Schemes <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the entire entry will be ignored)</li></ul>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is “cn”</td></tr></table>
|
|
104
98
|
*/
|
|
105
99
|
readonly roleAttrExtraction: pulumi.Output<string | undefined>;
|
|
106
100
|
/**
|
|
@@ -121,19 +115,17 @@ export declare class Sso extends pulumi.CustomResource {
|
|
|
121
115
|
*/
|
|
122
116
|
export interface SsoState {
|
|
123
117
|
/**
|
|
124
|
-
* a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is
|
|
125
|
-
* different from SP-initiated SLO process)
|
|
118
|
+
* a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is different from SP-initiated SLO process)
|
|
126
119
|
*/
|
|
127
120
|
customLogoutUrl?: pulumi.Input<string>;
|
|
128
121
|
/**
|
|
129
|
-
* default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role
|
|
130
|
-
* matched
|
|
122
|
+
* default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched
|
|
131
123
|
*/
|
|
132
124
|
defaultRole?: pulumi.Input<string>;
|
|
133
125
|
/**
|
|
134
|
-
* Random string generated during the SSO creation and used to generate the SAML URLs:
|
|
135
|
-
* `/api/v1/saml/{domain}/login` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/login`)
|
|
136
|
-
* `/api/v1/saml/{domain}/logout` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/logout`)
|
|
126
|
+
* Random string generated during the SSO creation and used to generate the SAML URLs:
|
|
127
|
+
* * ACS URL = `/api/v1/saml/{domain}/login` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/login`)
|
|
128
|
+
* * Single Logout URL = `/api/v1/saml/{domain}/logout` (e.g. `https://api.mist.com/api/v1/saml/s4t5vwv8/logout`)
|
|
137
129
|
*/
|
|
138
130
|
domain?: pulumi.Input<string>;
|
|
139
131
|
/**
|
|
@@ -166,11 +158,7 @@ export interface SsoState {
|
|
|
166
158
|
nameidFormat?: pulumi.Input<string>;
|
|
167
159
|
orgId?: pulumi.Input<string>;
|
|
168
160
|
/**
|
|
169
|
-
* custom role attribute parsing scheme. Supported Role Parsing Schemes
|
|
170
|
-
* <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML
|
|
171
|
-
* Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the
|
|
172
|
-
* entire entry will be ignored)</li></ul>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is
|
|
173
|
-
* “cn”</td></tr></table>
|
|
161
|
+
* custom role attribute parsing scheme. Supported Role Parsing Schemes <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the entire entry will be ignored)</li></ul>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is “cn”</td></tr></table>
|
|
174
162
|
*/
|
|
175
163
|
roleAttrExtraction?: pulumi.Input<string>;
|
|
176
164
|
/**
|
|
@@ -183,13 +171,11 @@ export interface SsoState {
|
|
|
183
171
|
*/
|
|
184
172
|
export interface SsoArgs {
|
|
185
173
|
/**
|
|
186
|
-
* a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is
|
|
187
|
-
* different from SP-initiated SLO process)
|
|
174
|
+
* a URL we will redirect the user after user logout from Mist (for some IdP which supports a custom logout URL that is different from SP-initiated SLO process)
|
|
188
175
|
*/
|
|
189
176
|
customLogoutUrl?: pulumi.Input<string>;
|
|
190
177
|
/**
|
|
191
|
-
* default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role
|
|
192
|
-
* matched
|
|
178
|
+
* default role to assign if there’s no match. By default, an assertion is treated as invalid when there’s no role matched
|
|
193
179
|
*/
|
|
194
180
|
defaultRole?: pulumi.Input<string>;
|
|
195
181
|
/**
|
|
@@ -222,11 +208,7 @@ export interface SsoArgs {
|
|
|
222
208
|
nameidFormat?: pulumi.Input<string>;
|
|
223
209
|
orgId: pulumi.Input<string>;
|
|
224
210
|
/**
|
|
225
|
-
* custom role attribute parsing scheme. Supported Role Parsing Schemes
|
|
226
|
-
* <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML
|
|
227
|
-
* Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the
|
|
228
|
-
* entire entry will be ignored)</li></ul>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is
|
|
229
|
-
* “cn”</td></tr></table>
|
|
211
|
+
* custom role attribute parsing scheme. Supported Role Parsing Schemes <table><tr><th>Name</th><th>Scheme</th></tr><tr><td>`cn`</td><td><ul><li>The expected role attribute format in SAML Assertion is “CN=cn,OU=ou1,OU=ou2,…”</li><li>CN (the key) is case insensitive and exactly 1 CN is expected (or the entire entry will be ignored)</li></ul>E.g. if role attribute is “CN=cn,OU=ou1,OU=ou2” then parsed role value is “cn”</td></tr></table>
|
|
230
212
|
*/
|
|
231
213
|
roleAttrExtraction?: pulumi.Input<string>;
|
|
232
214
|
/**
|
package/org/sso.js
CHANGED
|
@@ -51,7 +51,7 @@ class Sso extends pulumi.CustomResource {
|
|
|
51
51
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
52
|
*/
|
|
53
53
|
static get(name, id, state, opts) {
|
|
54
|
-
return new Sso(name, state,
|
|
54
|
+
return new Sso(name, state, { ...opts, id: id });
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Returns true if the given object is an instance of Sso. This is designed to work even
|
|
@@ -68,49 +68,49 @@ class Sso extends pulumi.CustomResource {
|
|
|
68
68
|
opts = opts || {};
|
|
69
69
|
if (opts.id) {
|
|
70
70
|
const state = argsOrState;
|
|
71
|
-
resourceInputs["customLogoutUrl"] = state
|
|
72
|
-
resourceInputs["defaultRole"] = state
|
|
73
|
-
resourceInputs["domain"] = state
|
|
74
|
-
resourceInputs["idpCert"] = state
|
|
75
|
-
resourceInputs["idpSignAlgo"] = state
|
|
76
|
-
resourceInputs["idpSsoUrl"] = state
|
|
77
|
-
resourceInputs["ignoreUnmatchedRoles"] = state
|
|
78
|
-
resourceInputs["issuer"] = state
|
|
79
|
-
resourceInputs["name"] = state
|
|
80
|
-
resourceInputs["nameidFormat"] = state
|
|
81
|
-
resourceInputs["orgId"] = state
|
|
82
|
-
resourceInputs["roleAttrExtraction"] = state
|
|
83
|
-
resourceInputs["roleAttrFrom"] = state
|
|
71
|
+
resourceInputs["customLogoutUrl"] = state?.customLogoutUrl;
|
|
72
|
+
resourceInputs["defaultRole"] = state?.defaultRole;
|
|
73
|
+
resourceInputs["domain"] = state?.domain;
|
|
74
|
+
resourceInputs["idpCert"] = state?.idpCert;
|
|
75
|
+
resourceInputs["idpSignAlgo"] = state?.idpSignAlgo;
|
|
76
|
+
resourceInputs["idpSsoUrl"] = state?.idpSsoUrl;
|
|
77
|
+
resourceInputs["ignoreUnmatchedRoles"] = state?.ignoreUnmatchedRoles;
|
|
78
|
+
resourceInputs["issuer"] = state?.issuer;
|
|
79
|
+
resourceInputs["name"] = state?.name;
|
|
80
|
+
resourceInputs["nameidFormat"] = state?.nameidFormat;
|
|
81
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
82
|
+
resourceInputs["roleAttrExtraction"] = state?.roleAttrExtraction;
|
|
83
|
+
resourceInputs["roleAttrFrom"] = state?.roleAttrFrom;
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
86
86
|
const args = argsOrState;
|
|
87
|
-
if (
|
|
87
|
+
if (args?.idpCert === undefined && !opts.urn) {
|
|
88
88
|
throw new Error("Missing required property 'idpCert'");
|
|
89
89
|
}
|
|
90
|
-
if (
|
|
90
|
+
if (args?.idpSignAlgo === undefined && !opts.urn) {
|
|
91
91
|
throw new Error("Missing required property 'idpSignAlgo'");
|
|
92
92
|
}
|
|
93
|
-
if (
|
|
93
|
+
if (args?.idpSsoUrl === undefined && !opts.urn) {
|
|
94
94
|
throw new Error("Missing required property 'idpSsoUrl'");
|
|
95
95
|
}
|
|
96
|
-
if (
|
|
96
|
+
if (args?.issuer === undefined && !opts.urn) {
|
|
97
97
|
throw new Error("Missing required property 'issuer'");
|
|
98
98
|
}
|
|
99
|
-
if (
|
|
99
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
100
100
|
throw new Error("Missing required property 'orgId'");
|
|
101
101
|
}
|
|
102
|
-
resourceInputs["customLogoutUrl"] = args
|
|
103
|
-
resourceInputs["defaultRole"] = args
|
|
104
|
-
resourceInputs["idpCert"] = args
|
|
105
|
-
resourceInputs["idpSignAlgo"] = args
|
|
106
|
-
resourceInputs["idpSsoUrl"] = args
|
|
107
|
-
resourceInputs["ignoreUnmatchedRoles"] = args
|
|
108
|
-
resourceInputs["issuer"] = args
|
|
109
|
-
resourceInputs["name"] = args
|
|
110
|
-
resourceInputs["nameidFormat"] = args
|
|
111
|
-
resourceInputs["orgId"] = args
|
|
112
|
-
resourceInputs["roleAttrExtraction"] = args
|
|
113
|
-
resourceInputs["roleAttrFrom"] = args
|
|
102
|
+
resourceInputs["customLogoutUrl"] = args?.customLogoutUrl;
|
|
103
|
+
resourceInputs["defaultRole"] = args?.defaultRole;
|
|
104
|
+
resourceInputs["idpCert"] = args?.idpCert;
|
|
105
|
+
resourceInputs["idpSignAlgo"] = args?.idpSignAlgo;
|
|
106
|
+
resourceInputs["idpSsoUrl"] = args?.idpSsoUrl;
|
|
107
|
+
resourceInputs["ignoreUnmatchedRoles"] = args?.ignoreUnmatchedRoles;
|
|
108
|
+
resourceInputs["issuer"] = args?.issuer;
|
|
109
|
+
resourceInputs["name"] = args?.name;
|
|
110
|
+
resourceInputs["nameidFormat"] = args?.nameidFormat;
|
|
111
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
112
|
+
resourceInputs["roleAttrExtraction"] = args?.roleAttrExtraction;
|
|
113
|
+
resourceInputs["roleAttrFrom"] = args?.roleAttrFrom;
|
|
114
114
|
resourceInputs["domain"] = undefined /*out*/;
|
|
115
115
|
}
|
|
116
116
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/org/sso.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sso.js","sourceRoot":"","sources":["../../org/sso.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sso.js","sourceRoot":"","sources":["../../org/sso.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IA8DD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,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CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA3IL,kBA4IC;AA9HG,gBAAgB;AACO,gBAAY,GAAG,yBAAyB,CAAC"}
|
package/org/ssoRole.js
CHANGED
|
@@ -33,7 +33,7 @@ class SsoRole 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 SsoRole(name, state,
|
|
36
|
+
return new SsoRole(name, state, { ...opts, id: id });
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Returns true if the given object is an instance of SsoRole. This is designed to work even
|
|
@@ -50,21 +50,21 @@ class SsoRole extends pulumi.CustomResource {
|
|
|
50
50
|
opts = opts || {};
|
|
51
51
|
if (opts.id) {
|
|
52
52
|
const state = argsOrState;
|
|
53
|
-
resourceInputs["name"] = state
|
|
54
|
-
resourceInputs["orgId"] = state
|
|
55
|
-
resourceInputs["privileges"] = state
|
|
53
|
+
resourceInputs["name"] = state?.name;
|
|
54
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
55
|
+
resourceInputs["privileges"] = state?.privileges;
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
58
|
const args = argsOrState;
|
|
59
|
-
if (
|
|
59
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'orgId'");
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (args?.privileges === undefined && !opts.urn) {
|
|
63
63
|
throw new Error("Missing required property 'privileges'");
|
|
64
64
|
}
|
|
65
|
-
resourceInputs["name"] = args
|
|
66
|
-
resourceInputs["orgId"] = args
|
|
67
|
-
resourceInputs["privileges"] = args
|
|
65
|
+
resourceInputs["name"] = args?.name;
|
|
66
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
67
|
+
resourceInputs["privileges"] = args?.privileges;
|
|
68
68
|
}
|
|
69
69
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
70
|
super(SsoRole.__pulumiType, name, resourceInputs, opts);
|
package/org/ssoRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssoRole.js","sourceRoot":"","sources":["../../org/ssoRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ssoRole.js","sourceRoot":"","sources":["../../org/ssoRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAcD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,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,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9DL,0BA+DC;AAjDG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
package/org/vpn.js
CHANGED
|
@@ -29,7 +29,7 @@ class Vpn extends pulumi.CustomResource {
|
|
|
29
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
30
|
*/
|
|
31
31
|
static get(name, id, state, opts) {
|
|
32
|
-
return new Vpn(name, state,
|
|
32
|
+
return new Vpn(name, state, { ...opts, id: id });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns true if the given object is an instance of Vpn. This is designed to work even
|
|
@@ -46,22 +46,22 @@ class Vpn extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
-
resourceInputs["name"] = state
|
|
50
|
-
resourceInputs["orgId"] = state
|
|
51
|
-
resourceInputs["pathSelection"] = state
|
|
52
|
-
resourceInputs["paths"] = state
|
|
53
|
-
resourceInputs["type"] = state
|
|
49
|
+
resourceInputs["name"] = state?.name;
|
|
50
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
51
|
+
resourceInputs["pathSelection"] = state?.pathSelection;
|
|
52
|
+
resourceInputs["paths"] = state?.paths;
|
|
53
|
+
resourceInputs["type"] = state?.type;
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
56
56
|
const args = argsOrState;
|
|
57
|
-
if (
|
|
57
|
+
if (args?.paths === undefined && !opts.urn) {
|
|
58
58
|
throw new Error("Missing required property 'paths'");
|
|
59
59
|
}
|
|
60
|
-
resourceInputs["name"] = args
|
|
61
|
-
resourceInputs["orgId"] = args
|
|
62
|
-
resourceInputs["pathSelection"] = args
|
|
63
|
-
resourceInputs["paths"] = args
|
|
64
|
-
resourceInputs["type"] = args
|
|
60
|
+
resourceInputs["name"] = args?.name;
|
|
61
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
62
|
+
resourceInputs["pathSelection"] = args?.pathSelection;
|
|
63
|
+
resourceInputs["paths"] = args?.paths;
|
|
64
|
+
resourceInputs["type"] = args?.type;
|
|
65
65
|
}
|
|
66
66
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
67
|
super(Vpn.__pulumiType, name, resourceInputs, opts);
|
package/org/vpn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpn.js","sourceRoot":"","sources":["../../org/vpn.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"vpn.js","sourceRoot":"","sources":["../../org/vpn.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAyBD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAkC,CAAC;YAChD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA1EL,kBA2EC;AA7DG,gBAAgB;AACO,gBAAY,GAAG,yBAAyB,CAAC"}
|
package/org/webhook.d.ts
CHANGED
|
@@ -80,14 +80,11 @@ export declare class Webhook extends pulumi.CustomResource {
|
|
|
80
80
|
*/
|
|
81
81
|
readonly secret: pulumi.Output<string | undefined>;
|
|
82
82
|
/**
|
|
83
|
-
* Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to
|
|
84
|
-
* `true`, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook
|
|
85
|
-
* Topics)
|
|
83
|
+
* Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to `true`, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
|
|
86
84
|
*/
|
|
87
85
|
readonly singleEventPerMessage: pulumi.Output<boolean | undefined>;
|
|
88
86
|
/**
|
|
89
|
-
* Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if
|
|
90
|
-
* the webhook receiver is configured to accept it.
|
|
87
|
+
* Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
|
|
91
88
|
*/
|
|
92
89
|
readonly splunkToken: pulumi.Output<string | undefined>;
|
|
93
90
|
/**
|
|
@@ -164,14 +161,11 @@ export interface WebhookState {
|
|
|
164
161
|
*/
|
|
165
162
|
secret?: pulumi.Input<string>;
|
|
166
163
|
/**
|
|
167
|
-
* Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to
|
|
168
|
-
* `true`, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook
|
|
169
|
-
* Topics)
|
|
164
|
+
* Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to `true`, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
|
|
170
165
|
*/
|
|
171
166
|
singleEventPerMessage?: pulumi.Input<boolean>;
|
|
172
167
|
/**
|
|
173
|
-
* Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if
|
|
174
|
-
* the webhook receiver is configured to accept it.
|
|
168
|
+
* Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
|
|
175
169
|
*/
|
|
176
170
|
splunkToken?: pulumi.Input<string>;
|
|
177
171
|
/**
|
|
@@ -240,14 +234,11 @@ export interface WebhookArgs {
|
|
|
240
234
|
*/
|
|
241
235
|
secret?: pulumi.Input<string>;
|
|
242
236
|
/**
|
|
243
|
-
* Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to
|
|
244
|
-
* `true`, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook
|
|
245
|
-
* Topics)
|
|
237
|
+
* Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to `true`, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
|
|
246
238
|
*/
|
|
247
239
|
singleEventPerMessage?: pulumi.Input<boolean>;
|
|
248
240
|
/**
|
|
249
|
-
* Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if
|
|
250
|
-
* the webhook receiver is configured to accept it.
|
|
241
|
+
* Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
|
|
251
242
|
*/
|
|
252
243
|
splunkToken?: pulumi.Input<string>;
|
|
253
244
|
/**
|
package/org/webhook.js
CHANGED
|
@@ -33,7 +33,7 @@ class Webhook 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 Webhook(name, state,
|
|
36
|
+
return new Webhook(name, state, { ...opts, id: id });
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Returns true if the given object is an instance of Webhook. This is designed to work even
|
|
@@ -50,54 +50,54 @@ class Webhook extends pulumi.CustomResource {
|
|
|
50
50
|
opts = opts || {};
|
|
51
51
|
if (opts.id) {
|
|
52
52
|
const state = argsOrState;
|
|
53
|
-
resourceInputs["enabled"] = state
|
|
54
|
-
resourceInputs["headers"] = state
|
|
55
|
-
resourceInputs["name"] = state
|
|
56
|
-
resourceInputs["oauth2ClientId"] = state
|
|
57
|
-
resourceInputs["oauth2ClientSecret"] = state
|
|
58
|
-
resourceInputs["oauth2GrantType"] = state
|
|
59
|
-
resourceInputs["oauth2Password"] = state
|
|
60
|
-
resourceInputs["oauth2Scopes"] = state
|
|
61
|
-
resourceInputs["oauth2TokenUrl"] = state
|
|
62
|
-
resourceInputs["oauth2Username"] = state
|
|
63
|
-
resourceInputs["orgId"] = state
|
|
64
|
-
resourceInputs["secret"] = state
|
|
65
|
-
resourceInputs["singleEventPerMessage"] = state
|
|
66
|
-
resourceInputs["splunkToken"] = state
|
|
67
|
-
resourceInputs["topics"] = state
|
|
68
|
-
resourceInputs["type"] = state
|
|
69
|
-
resourceInputs["url"] = state
|
|
70
|
-
resourceInputs["verifyCert"] = state
|
|
53
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
54
|
+
resourceInputs["headers"] = state?.headers;
|
|
55
|
+
resourceInputs["name"] = state?.name;
|
|
56
|
+
resourceInputs["oauth2ClientId"] = state?.oauth2ClientId;
|
|
57
|
+
resourceInputs["oauth2ClientSecret"] = state?.oauth2ClientSecret;
|
|
58
|
+
resourceInputs["oauth2GrantType"] = state?.oauth2GrantType;
|
|
59
|
+
resourceInputs["oauth2Password"] = state?.oauth2Password;
|
|
60
|
+
resourceInputs["oauth2Scopes"] = state?.oauth2Scopes;
|
|
61
|
+
resourceInputs["oauth2TokenUrl"] = state?.oauth2TokenUrl;
|
|
62
|
+
resourceInputs["oauth2Username"] = state?.oauth2Username;
|
|
63
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
64
|
+
resourceInputs["secret"] = state?.secret;
|
|
65
|
+
resourceInputs["singleEventPerMessage"] = state?.singleEventPerMessage;
|
|
66
|
+
resourceInputs["splunkToken"] = state?.splunkToken;
|
|
67
|
+
resourceInputs["topics"] = state?.topics;
|
|
68
|
+
resourceInputs["type"] = state?.type;
|
|
69
|
+
resourceInputs["url"] = state?.url;
|
|
70
|
+
resourceInputs["verifyCert"] = state?.verifyCert;
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
73
73
|
const args = argsOrState;
|
|
74
|
-
if (
|
|
74
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
75
75
|
throw new Error("Missing required property 'orgId'");
|
|
76
76
|
}
|
|
77
|
-
if (
|
|
77
|
+
if (args?.topics === undefined && !opts.urn) {
|
|
78
78
|
throw new Error("Missing required property 'topics'");
|
|
79
79
|
}
|
|
80
|
-
if (
|
|
80
|
+
if (args?.url === undefined && !opts.urn) {
|
|
81
81
|
throw new Error("Missing required property 'url'");
|
|
82
82
|
}
|
|
83
|
-
resourceInputs["enabled"] = args
|
|
84
|
-
resourceInputs["headers"] = args
|
|
85
|
-
resourceInputs["name"] = args
|
|
86
|
-
resourceInputs["oauth2ClientId"] = args
|
|
87
|
-
resourceInputs["oauth2ClientSecret"] =
|
|
88
|
-
resourceInputs["oauth2GrantType"] = args
|
|
89
|
-
resourceInputs["oauth2Password"] =
|
|
90
|
-
resourceInputs["oauth2Scopes"] = args
|
|
91
|
-
resourceInputs["oauth2TokenUrl"] = args
|
|
92
|
-
resourceInputs["oauth2Username"] = args
|
|
93
|
-
resourceInputs["orgId"] = args
|
|
94
|
-
resourceInputs["secret"] =
|
|
95
|
-
resourceInputs["singleEventPerMessage"] = args
|
|
96
|
-
resourceInputs["splunkToken"] =
|
|
97
|
-
resourceInputs["topics"] = args
|
|
98
|
-
resourceInputs["type"] = args
|
|
99
|
-
resourceInputs["url"] = args
|
|
100
|
-
resourceInputs["verifyCert"] = args
|
|
83
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
84
|
+
resourceInputs["headers"] = args?.headers;
|
|
85
|
+
resourceInputs["name"] = args?.name;
|
|
86
|
+
resourceInputs["oauth2ClientId"] = args?.oauth2ClientId;
|
|
87
|
+
resourceInputs["oauth2ClientSecret"] = args?.oauth2ClientSecret ? pulumi.secret(args.oauth2ClientSecret) : undefined;
|
|
88
|
+
resourceInputs["oauth2GrantType"] = args?.oauth2GrantType;
|
|
89
|
+
resourceInputs["oauth2Password"] = args?.oauth2Password ? pulumi.secret(args.oauth2Password) : undefined;
|
|
90
|
+
resourceInputs["oauth2Scopes"] = args?.oauth2Scopes;
|
|
91
|
+
resourceInputs["oauth2TokenUrl"] = args?.oauth2TokenUrl;
|
|
92
|
+
resourceInputs["oauth2Username"] = args?.oauth2Username;
|
|
93
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
94
|
+
resourceInputs["secret"] = args?.secret ? pulumi.secret(args.secret) : undefined;
|
|
95
|
+
resourceInputs["singleEventPerMessage"] = args?.singleEventPerMessage;
|
|
96
|
+
resourceInputs["splunkToken"] = args?.splunkToken ? pulumi.secret(args.splunkToken) : undefined;
|
|
97
|
+
resourceInputs["topics"] = args?.topics;
|
|
98
|
+
resourceInputs["type"] = args?.type;
|
|
99
|
+
resourceInputs["url"] = args?.url;
|
|
100
|
+
resourceInputs["verifyCert"] = args?.verifyCert;
|
|
101
101
|
}
|
|
102
102
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
103
|
const secretOpts = { additionalSecretOutputs: ["oauth2ClientSecret", "oauth2Password", "secret", "splunkToken"] };
|
package/org/webhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../org/webhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../org/webhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;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