@pulumi/cloudflare 4.3.0 → 4.4.0-alpha.1645049843
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/accessApplication.js +39 -41
- package/accessApplication.js.map +1 -1
- package/accessCaCertificate.js +13 -15
- package/accessCaCertificate.js.map +1 -1
- package/accessGroup.js +15 -17
- package/accessGroup.js.map +1 -1
- package/accessIdentityProvider.js +13 -15
- package/accessIdentityProvider.js.map +1 -1
- package/accessKeysConfiguration.js +7 -9
- package/accessKeysConfiguration.js.map +1 -1
- package/accessMutualTlsCertificate.js +15 -17
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.js +29 -31
- package/accessPolicy.js.map +1 -1
- package/accessRule.js +11 -13
- package/accessRule.js.map +1 -1
- package/accessServiceToken.js +17 -19
- package/accessServiceToken.js.map +1 -1
- package/accountMember.js +7 -9
- package/accountMember.js.map +1 -1
- package/apiToken.js +17 -19
- package/apiToken.js.map +1 -1
- package/argo.js +9 -11
- package/argo.js.map +1 -1
- package/argoTunnel.js +11 -13
- package/argoTunnel.js.map +1 -1
- package/authenticatedOriginPulls.js +11 -13
- package/authenticatedOriginPulls.js.map +1 -1
- package/authenticatedOriginPullsCertificate.js +23 -25
- package/authenticatedOriginPullsCertificate.js.map +1 -1
- package/byoIpPrefix.js +9 -11
- package/byoIpPrefix.js.map +1 -1
- package/certificatePack.d.ts +8 -1
- package/certificatePack.js +21 -19
- package/certificatePack.js.map +1 -1
- package/config/vars.js.map +1 -1
- package/customHostname.js +17 -19
- package/customHostname.js.map +1 -1
- package/customHostnameFallbackOrigin.js +9 -11
- package/customHostnameFallbackOrigin.js.map +1 -1
- package/customPages.js +13 -15
- package/customPages.js.map +1 -1
- package/customSsl.js +25 -27
- package/customSsl.js.map +1 -1
- package/devicePostureIntegration.d.ts +142 -0
- package/devicePostureIntegration.js +101 -0
- package/devicePostureIntegration.js.map +1 -0
- package/devicePostureRule.js +17 -19
- package/devicePostureRule.js.map +1 -1
- package/fallbackDomain.d.ts +72 -0
- package/fallbackDomain.js +68 -0
- package/fallbackDomain.js.map +1 -0
- package/filter.js +13 -15
- package/filter.js.map +1 -1
- package/firewallRule.js +17 -19
- package/firewallRule.js.map +1 -1
- package/getAccessIdentityProvider.js +1 -3
- package/getAccessIdentityProvider.js.map +1 -1
- package/getAccountRoles.js +1 -3
- package/getAccountRoles.js.map +1 -1
- package/getApiTokenPermissionGroups.js +1 -3
- package/getApiTokenPermissionGroups.js.map +1 -1
- package/getDevices.d.ts +50 -0
- package/getDevices.js +36 -0
- package/getDevices.js.map +1 -0
- package/getIpRanges.js +1 -3
- package/getIpRanges.js.map +1 -1
- package/getOriginCaRootCertificate.js +1 -3
- package/getOriginCaRootCertificate.js.map +1 -1
- package/getWafGroups.js +1 -3
- package/getWafGroups.js.map +1 -1
- package/getWafPackages.js +1 -3
- package/getWafPackages.js.map +1 -1
- package/getWafRules.js +1 -3
- package/getWafRules.js.map +1 -1
- package/getZone.js +1 -3
- package/getZone.js.map +1 -1
- package/getZoneDnssec.js +1 -3
- package/getZoneDnssec.js.map +1 -1
- package/getZones.d.ts +13 -0
- package/getZones.js +14 -3
- package/getZones.js.map +1 -1
- package/greTunnel.d.ts +200 -0
- package/greTunnel.js +113 -0
- package/greTunnel.js.map +1 -0
- package/healthcheck.js +51 -53
- package/healthcheck.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +26 -0
- package/index.js.map +1 -1
- package/ipList.js +13 -15
- package/ipList.js.map +1 -1
- package/ipsecTunnel.d.ts +135 -0
- package/ipsecTunnel.js +98 -0
- package/ipsecTunnel.js.map +1 -0
- package/loadBalancer.js +37 -39
- package/loadBalancer.js.map +1 -1
- package/loadBalancerMonitor.js +35 -37
- package/loadBalancerMonitor.js.map +1 -1
- package/loadBalancerPool.js +31 -33
- package/loadBalancerPool.js.map +1 -1
- package/logPushOwnershipChallenge.js +11 -13
- package/logPushOwnershipChallenge.js.map +1 -1
- package/logpullRetention.js +7 -9
- package/logpullRetention.js.map +1 -1
- package/logpushJob.d.ts +3 -3
- package/logpushJob.js +19 -21
- package/logpushJob.js.map +1 -1
- package/magicFirewallRuleset.js +11 -13
- package/magicFirewallRuleset.js.map +1 -1
- package/notificationPolicy.js +27 -29
- package/notificationPolicy.js.map +1 -1
- package/notificationPolicyWebhooks.js +19 -21
- package/notificationPolicyWebhooks.js.map +1 -1
- package/originCaCertificate.js +15 -17
- package/originCaCertificate.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +2 -1
- package/package.json.dev +3 -2
- package/pageRule.js +13 -15
- package/pageRule.js.map +1 -1
- package/provider.js +15 -17
- package/provider.js.map +1 -1
- package/rateLimit.js +21 -23
- package/rateLimit.js.map +1 -1
- package/record.js +31 -33
- package/record.js.map +1 -1
- package/ruleset.d.ts +2 -2
- package/ruleset.js +19 -24
- package/ruleset.js.map +1 -1
- package/spectrumApplication.js +31 -33
- package/spectrumApplication.js.map +1 -1
- package/splitTunnel.js +9 -11
- package/splitTunnel.js.map +1 -1
- package/staticRoute.js +19 -21
- package/staticRoute.js.map +1 -1
- package/teamsAccount.d.ts +72 -3
- package/teamsAccount.js +51 -15
- package/teamsAccount.js.map +1 -1
- package/teamsList.js +13 -15
- package/teamsList.js.map +1 -1
- package/teamsLocation.js +21 -23
- package/teamsLocation.js.map +1 -1
- package/teamsRule.d.ts +8 -12
- package/teamsRule.js +32 -38
- package/teamsRule.js.map +1 -1
- package/types/input.d.ts +185 -25
- package/types/output.d.ts +223 -9
- package/utilities.js +6 -1
- package/utilities.js.map +1 -1
- package/wafGroup.js +11 -13
- package/wafGroup.js.map +1 -1
- package/wafOverride.js +21 -23
- package/wafOverride.js.map +1 -1
- package/wafPackage.js +11 -13
- package/wafPackage.js.map +1 -1
- package/wafRule.js +13 -15
- package/wafRule.js.map +1 -1
- package/waitingRoom.js +29 -31
- package/waitingRoom.js.map +1 -1
- package/workerCronTrigger.js +7 -9
- package/workerCronTrigger.js.map +1 -1
- package/workerRoute.js +9 -11
- package/workerRoute.js.map +1 -1
- package/workerScript.js +15 -17
- package/workerScript.js.map +1 -1
- package/workersKv.js +9 -11
- package/workersKv.js.map +1 -1
- package/workersKvNamespace.js +5 -7
- package/workersKvNamespace.js.map +1 -1
- package/zone.js +23 -25
- package/zone.js.map +1 -1
- package/zoneCacheVariants.d.ts +72 -0
- package/zoneCacheVariants.js +74 -0
- package/zoneCacheVariants.js.map +1 -0
- package/zoneDnssec.js +27 -29
- package/zoneDnssec.js.map +1 -1
- package/zoneLockdown.js +15 -17
- package/zoneLockdown.js.map +1 -1
- package/zoneSettingsOverride.js +17 -19
- package/zoneSettingsOverride.js.map +1 -1
package/certificatePack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificatePack.js","sourceRoot":"","sources":["../certificatePack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"certificatePack.js","sourceRoot":"","sources":["../certificatePack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA6EtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,OAAO,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AMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,SAAS,CAAS,KAAK,CAAC,mCAAI,CAAC,SAAS,CAAC,YAAY,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;IAChG,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/customHostname.js
CHANGED
|
@@ -33,17 +33,17 @@ const utilities = require("./utilities");
|
|
|
33
33
|
*/
|
|
34
34
|
class CustomHostname extends pulumi.CustomResource {
|
|
35
35
|
constructor(name, argsOrState, opts) {
|
|
36
|
-
let
|
|
36
|
+
let resourceInputs = {};
|
|
37
37
|
opts = opts || {};
|
|
38
38
|
if (opts.id) {
|
|
39
39
|
const state = argsOrState;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
resourceInputs["customOriginServer"] = state ? state.customOriginServer : undefined;
|
|
41
|
+
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
42
|
+
resourceInputs["ownershipVerification"] = state ? state.ownershipVerification : undefined;
|
|
43
|
+
resourceInputs["ownershipVerificationHttp"] = state ? state.ownershipVerificationHttp : undefined;
|
|
44
|
+
resourceInputs["ssls"] = state ? state.ssls : undefined;
|
|
45
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
46
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const args = argsOrState;
|
|
@@ -53,18 +53,16 @@ class CustomHostname extends pulumi.CustomResource {
|
|
|
53
53
|
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
54
54
|
throw new Error("Missing required property 'zoneId'");
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
resourceInputs["customOriginServer"] = args ? args.customOriginServer : undefined;
|
|
57
|
+
resourceInputs["hostname"] = args ? args.hostname : undefined;
|
|
58
|
+
resourceInputs["ssls"] = args ? args.ssls : undefined;
|
|
59
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
60
|
+
resourceInputs["ownershipVerification"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["ownershipVerificationHttp"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
super(CustomHostname.__pulumiType, name, inputs, opts);
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(CustomHostname.__pulumiType, name, resourceInputs, opts);
|
|
68
66
|
}
|
|
69
67
|
/**
|
|
70
68
|
* Get an existing CustomHostname resource's state with the given name, ID, and optional extra
|
package/customHostname.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customHostname.js","sourceRoot":"","sources":["../customHostname.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAwDrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,
|
|
1
|
+
{"version":3,"file":"customHostname.js","sourceRoot":"","sources":["../customHostname.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAwDrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,I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AAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAuFC;AAzEG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -30,13 +30,13 @@ const utilities = require("./utilities");
|
|
|
30
30
|
*/
|
|
31
31
|
class CustomHostnameFallbackOrigin extends pulumi.CustomResource {
|
|
32
32
|
constructor(name, argsOrState, opts) {
|
|
33
|
-
let
|
|
33
|
+
let resourceInputs = {};
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
if (opts.id) {
|
|
36
36
|
const state = argsOrState;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
resourceInputs["origin"] = state ? state.origin : undefined;
|
|
38
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
39
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
42
|
const args = argsOrState;
|
|
@@ -46,14 +46,12 @@ class CustomHostnameFallbackOrigin extends pulumi.CustomResource {
|
|
|
46
46
|
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
47
47
|
throw new Error("Missing required property 'zoneId'");
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
resourceInputs["origin"] = args ? args.origin : undefined;
|
|
50
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
51
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
super(CustomHostnameFallbackOrigin.__pulumiType, name, inputs, opts);
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
+
super(CustomHostnameFallbackOrigin.__pulumiType, name, resourceInputs, opts);
|
|
57
55
|
}
|
|
58
56
|
/**
|
|
59
57
|
* Get an existing CustomHostnameFallbackOrigin resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customHostnameFallbackOrigin.js","sourceRoot":"","sources":["../customHostnameFallbackOrigin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IAiDnE,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,
|
|
1
|
+
{"version":3,"file":"customHostnameFallbackOrigin.js","sourceRoot":"","sources":["../customHostnameFallbackOrigin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IAiDnE,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4D,CAAC;YAC3E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2D,CAAC;YACzE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD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const utilities = require("./utilities");
|
|
|
38
38
|
*/
|
|
39
39
|
class CustomPages extends pulumi.CustomResource {
|
|
40
40
|
constructor(name, argsOrState, opts) {
|
|
41
|
-
let
|
|
41
|
+
let resourceInputs = {};
|
|
42
42
|
opts = opts || {};
|
|
43
43
|
if (opts.id) {
|
|
44
44
|
const state = argsOrState;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
46
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
47
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
48
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
49
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
52
|
const args = argsOrState;
|
|
@@ -56,16 +56,14 @@ class CustomPages extends pulumi.CustomResource {
|
|
|
56
56
|
if ((!args || args.url === undefined) && !opts.urn) {
|
|
57
57
|
throw new Error("Missing required property 'url'");
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
60
|
+
resourceInputs["state"] = args ? args.state : undefined;
|
|
61
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
62
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
63
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
super(CustomPages.__pulumiType, name, inputs, opts);
|
|
65
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
|
+
super(CustomPages.__pulumiType, name, resourceInputs, opts);
|
|
69
67
|
}
|
|
70
68
|
/**
|
|
71
69
|
* Get an existing CustomPages resource's state with the given name, ID, and optional extra
|
package/customPages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customPages.js","sourceRoot":"","sources":["../customPages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA4DlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,
|
|
1
|
+
{"version":3,"file":"customPages.js","sourceRoot":"","sources":["../customPages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA4DlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAuFC;AAzEG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/customSsl.js
CHANGED
|
@@ -40,43 +40,41 @@ const utilities = require("./utilities");
|
|
|
40
40
|
*/
|
|
41
41
|
class CustomSsl extends pulumi.CustomResource {
|
|
42
42
|
constructor(name, argsOrState, opts) {
|
|
43
|
-
let
|
|
43
|
+
let resourceInputs = {};
|
|
44
44
|
opts = opts || {};
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
resourceInputs["customSslOptions"] = state ? state.customSslOptions : undefined;
|
|
48
|
+
resourceInputs["customSslPriorities"] = state ? state.customSslPriorities : undefined;
|
|
49
|
+
resourceInputs["expiresOn"] = state ? state.expiresOn : undefined;
|
|
50
|
+
resourceInputs["hosts"] = state ? state.hosts : undefined;
|
|
51
|
+
resourceInputs["issuer"] = state ? state.issuer : undefined;
|
|
52
|
+
resourceInputs["modifiedOn"] = state ? state.modifiedOn : undefined;
|
|
53
|
+
resourceInputs["priority"] = state ? state.priority : undefined;
|
|
54
|
+
resourceInputs["signature"] = state ? state.signature : undefined;
|
|
55
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
56
|
+
resourceInputs["uploadedOn"] = state ? state.uploadedOn : undefined;
|
|
57
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
60
|
const args = argsOrState;
|
|
61
61
|
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
62
62
|
throw new Error("Missing required property 'zoneId'");
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
resourceInputs["customSslOptions"] = args ? args.customSslOptions : undefined;
|
|
65
|
+
resourceInputs["customSslPriorities"] = args ? args.customSslPriorities : undefined;
|
|
66
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
67
|
+
resourceInputs["expiresOn"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["hosts"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["issuer"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["modifiedOn"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["priority"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["signature"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["uploadedOn"] = undefined /*out*/;
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
super(CustomSsl.__pulumiType, name, inputs, opts);
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(CustomSsl.__pulumiType, name, resourceInputs, opts);
|
|
80
78
|
}
|
|
81
79
|
/**
|
|
82
80
|
* Get an existing CustomSsl resource's state with the given name, ID, and optional extra
|
package/customSsl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customSsl.js","sourceRoot":"","sources":["../customSsl.ts"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
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Cloudflare Device Posture Integration resource. Device posture integrations configure third-party data providers for device posture rules.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
11
|
+
*
|
|
12
|
+
* const thirdPartyDevicesPostureIntegration = new cloudflare.DevicePostureIntegration("third_party_devices_posture_integration", {
|
|
13
|
+
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
14
|
+
* configs: [{
|
|
15
|
+
* apiUrl: "https://example.com/api",
|
|
16
|
+
* authUrl: "https://example.com/connect/token",
|
|
17
|
+
* clientId: "client-id",
|
|
18
|
+
* clientSecret: "client-secret",
|
|
19
|
+
* }],
|
|
20
|
+
* interval: "24h",
|
|
21
|
+
* name: "Device posture integration",
|
|
22
|
+
* type: "workspace_one",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Device posture integrations can be imported using a composite ID formed of account ID and device posture integration ID.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import cloudflare:index/devicePostureIntegration:DevicePostureIntegration corporate_devices cb029e245cfdd66dc8d2e570d5dd3322/0ade592a-62d6-46ab-bac8-01f47c7fa792
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class DevicePostureIntegration extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing DevicePostureIntegration resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DevicePostureIntegrationState, opts?: pulumi.CustomResourceOptions): DevicePostureIntegration;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of DevicePostureIntegration. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is DevicePostureIntegration;
|
|
50
|
+
/**
|
|
51
|
+
* The account to which the device posture integration should be added.
|
|
52
|
+
*/
|
|
53
|
+
readonly accountId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The device posture integration's connection authorization parameters.
|
|
56
|
+
*/
|
|
57
|
+
readonly configs: pulumi.Output<outputs.DevicePostureIntegrationConfig[] | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* ID of the device posture integration.
|
|
60
|
+
*/
|
|
61
|
+
readonly id: pulumi.Output<string>;
|
|
62
|
+
readonly identifier: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Indicates the frequency with which to poll the third-party API.
|
|
65
|
+
* Must be in the format `"1h"` or `"30m"`. Valid units are `h` and `m`.
|
|
66
|
+
*/
|
|
67
|
+
readonly interval: pulumi.Output<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Name of the device posture integration.
|
|
70
|
+
*/
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The device posture integration type. Valid values are `workspaceOne`.
|
|
74
|
+
*/
|
|
75
|
+
readonly type: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Create a DevicePostureIntegration resource with the given unique name, arguments, and options.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resource.
|
|
80
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
81
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
82
|
+
*/
|
|
83
|
+
constructor(name: string, args: DevicePostureIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Input properties used for looking up and filtering DevicePostureIntegration resources.
|
|
87
|
+
*/
|
|
88
|
+
export interface DevicePostureIntegrationState {
|
|
89
|
+
/**
|
|
90
|
+
* The account to which the device posture integration should be added.
|
|
91
|
+
*/
|
|
92
|
+
accountId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The device posture integration's connection authorization parameters.
|
|
95
|
+
*/
|
|
96
|
+
configs?: pulumi.Input<pulumi.Input<inputs.DevicePostureIntegrationConfig>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* ID of the device posture integration.
|
|
99
|
+
*/
|
|
100
|
+
id?: pulumi.Input<string>;
|
|
101
|
+
identifier?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Indicates the frequency with which to poll the third-party API.
|
|
104
|
+
* Must be in the format `"1h"` or `"30m"`. Valid units are `h` and `m`.
|
|
105
|
+
*/
|
|
106
|
+
interval?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Name of the device posture integration.
|
|
109
|
+
*/
|
|
110
|
+
name?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The device posture integration type. Valid values are `workspaceOne`.
|
|
113
|
+
*/
|
|
114
|
+
type?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a DevicePostureIntegration resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface DevicePostureIntegrationArgs {
|
|
120
|
+
/**
|
|
121
|
+
* The account to which the device posture integration should be added.
|
|
122
|
+
*/
|
|
123
|
+
accountId: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The device posture integration's connection authorization parameters.
|
|
126
|
+
*/
|
|
127
|
+
configs?: pulumi.Input<pulumi.Input<inputs.DevicePostureIntegrationConfig>[]>;
|
|
128
|
+
identifier?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Indicates the frequency with which to poll the third-party API.
|
|
131
|
+
* Must be in the format `"1h"` or `"30m"`. Valid units are `h` and `m`.
|
|
132
|
+
*/
|
|
133
|
+
interval?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Name of the device posture integration.
|
|
136
|
+
*/
|
|
137
|
+
name: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The device posture integration type. Valid values are `workspaceOne`.
|
|
140
|
+
*/
|
|
141
|
+
type: pulumi.Input<string>;
|
|
142
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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.DevicePostureIntegration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Cloudflare Device Posture Integration resource. Device posture integrations configure third-party data providers for device posture rules.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
16
|
+
*
|
|
17
|
+
* const thirdPartyDevicesPostureIntegration = new cloudflare.DevicePostureIntegration("third_party_devices_posture_integration", {
|
|
18
|
+
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
19
|
+
* configs: [{
|
|
20
|
+
* apiUrl: "https://example.com/api",
|
|
21
|
+
* authUrl: "https://example.com/connect/token",
|
|
22
|
+
* clientId: "client-id",
|
|
23
|
+
* clientSecret: "client-secret",
|
|
24
|
+
* }],
|
|
25
|
+
* interval: "24h",
|
|
26
|
+
* name: "Device posture integration",
|
|
27
|
+
* type: "workspace_one",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Device posture integrations can be imported using a composite ID formed of account ID and device posture integration ID.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import cloudflare:index/devicePostureIntegration:DevicePostureIntegration corporate_devices cb029e245cfdd66dc8d2e570d5dd3322/0ade592a-62d6-46ab-bac8-01f47c7fa792
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class DevicePostureIntegration extends pulumi.CustomResource {
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
46
|
+
resourceInputs["configs"] = state ? state.configs : undefined;
|
|
47
|
+
resourceInputs["id"] = state ? state.id : undefined;
|
|
48
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
49
|
+
resourceInputs["interval"] = state ? state.interval : undefined;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'accountId'");
|
|
57
|
+
}
|
|
58
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'name'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'type'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
65
|
+
resourceInputs["configs"] = args ? args.configs : undefined;
|
|
66
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
67
|
+
resourceInputs["interval"] = args ? args.interval : undefined;
|
|
68
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
69
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
70
|
+
resourceInputs["id"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(DevicePostureIntegration.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get an existing DevicePostureIntegration resource's state with the given name, ID, and optional extra
|
|
77
|
+
* properties used to qualify the lookup.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resulting resource.
|
|
80
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
81
|
+
* @param state Any extra arguments used during the lookup.
|
|
82
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
83
|
+
*/
|
|
84
|
+
static get(name, id, state, opts) {
|
|
85
|
+
return new DevicePostureIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of DevicePostureIntegration. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj) {
|
|
92
|
+
if (obj === undefined || obj === null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return obj['__pulumiType'] === DevicePostureIntegration.__pulumiType;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.DevicePostureIntegration = DevicePostureIntegration;
|
|
99
|
+
/** @internal */
|
|
100
|
+
DevicePostureIntegration.__pulumiType = 'cloudflare:index/devicePostureIntegration:DevicePostureIntegration';
|
|
101
|
+
//# sourceMappingURL=devicePostureIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IA/FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAiGC;AAnFG,gBAAgB;AACO,qCAAY,GAAG,oEAAoE,CAAC"}
|
package/devicePostureRule.js
CHANGED
|
@@ -39,17 +39,17 @@ const utilities = require("./utilities");
|
|
|
39
39
|
*/
|
|
40
40
|
class DevicePostureRule extends pulumi.CustomResource {
|
|
41
41
|
constructor(name, argsOrState, opts) {
|
|
42
|
-
let
|
|
42
|
+
let resourceInputs = {};
|
|
43
43
|
opts = opts || {};
|
|
44
44
|
if (opts.id) {
|
|
45
45
|
const state = argsOrState;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
47
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
48
|
+
resourceInputs["inputs"] = state ? state.inputs : undefined;
|
|
49
|
+
resourceInputs["matches"] = state ? state.matches : undefined;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
resourceInputs["schedule"] = state ? state.schedule : undefined;
|
|
52
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
55
55
|
const args = argsOrState;
|
|
@@ -59,18 +59,16 @@ class DevicePostureRule extends pulumi.CustomResource {
|
|
|
59
59
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'type'");
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
63
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
64
|
+
resourceInputs["inputs"] = args ? args.inputs : undefined;
|
|
65
|
+
resourceInputs["matches"] = args ? args.matches : undefined;
|
|
66
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
67
|
+
resourceInputs["schedule"] = args ? args.schedule : undefined;
|
|
68
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
super(DevicePostureRule.__pulumiType, name, inputs, opts);
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(DevicePostureRule.__pulumiType, name, resourceInputs, opts);
|
|
74
72
|
}
|
|
75
73
|
/**
|
|
76
74
|
* Get an existing DevicePostureRule resource's state with the given name, ID, and optional extra
|