@pulumi/cloudflare 6.7.0 → 6.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessMutualTlsCertificate.d.ts +2 -0
- package/accessMutualTlsCertificate.js +2 -0
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.d.ts +1 -1
- package/accessPolicy.js +0 -3
- package/accessPolicy.js.map +1 -1
- package/account.d.ts +2 -5
- package/account.js +0 -3
- package/account.js.map +1 -1
- package/argoTieredCaching.d.ts +5 -5
- package/botManagement.d.ts +12 -0
- package/botManagement.js +2 -0
- package/botManagement.js.map +1 -1
- package/getAccount.d.ts +4 -0
- package/getAccount.js.map +1 -1
- package/getAccountMember.d.ts +4 -0
- package/getAccountMember.js.map +1 -1
- package/getArgoTieredCaching.d.ts +6 -6
- package/getBotManagement.d.ts +4 -0
- package/getBotManagement.js.map +1 -1
- package/getListItems.d.ts +14 -0
- package/getListItems.js +4 -0
- package/getListItems.js.map +1 -1
- package/getNotificationPolicyWebhooks.d.ts +1 -1
- package/getRegionalTieredCache.d.ts +6 -6
- package/getRuleset.d.ts +33 -13
- package/getRuleset.js +6 -6
- package/getRuleset.js.map +1 -1
- package/getRulesets.d.ts +18 -14
- package/getRulesets.js +2 -4
- package/getRulesets.js.map +1 -1
- package/getTieredCache.d.ts +6 -6
- package/getWorker.d.ts +105 -0
- package/getWorker.js +50 -0
- package/getWorker.js.map +1 -0
- package/getWorkerVersion.d.ts +151 -0
- package/getWorkerVersion.js +58 -0
- package/getWorkerVersion.js.map +1 -0
- package/getWorkerVersions.d.ts +89 -0
- package/getWorkerVersions.js +52 -0
- package/getWorkerVersions.js.map +1 -0
- package/getWorkers.d.ts +75 -0
- package/getWorkers.js +48 -0
- package/getWorkers.js.map +1 -0
- package/getWorkersKvNamespace.d.ts +0 -4
- package/getWorkersKvNamespace.js.map +1 -1
- package/getZeroTrustDlpCustomEntries.d.ts +66 -0
- package/getZeroTrustDlpCustomEntries.js +48 -0
- package/getZeroTrustDlpCustomEntries.js.map +1 -0
- package/getZeroTrustDlpCustomEntry.d.ts +75 -0
- package/getZeroTrustDlpCustomEntry.js +50 -0
- package/getZeroTrustDlpCustomEntry.js.map +1 -0
- package/getZeroTrustDlpEntry.d.ts +1 -0
- package/getZeroTrustDlpEntry.js.map +1 -1
- package/getZeroTrustDlpIntegrationEntries.d.ts +66 -0
- package/getZeroTrustDlpIntegrationEntries.js +48 -0
- package/getZeroTrustDlpIntegrationEntries.js.map +1 -0
- package/getZeroTrustDlpIntegrationEntry.d.ts +75 -0
- package/getZeroTrustDlpIntegrationEntry.js +50 -0
- package/getZeroTrustDlpIntegrationEntry.js.map +1 -0
- package/getZeroTrustDlpPredefinedEntries.d.ts +66 -0
- package/getZeroTrustDlpPredefinedEntries.js +48 -0
- package/getZeroTrustDlpPredefinedEntries.js.map +1 -0
- package/getZeroTrustDlpPredefinedEntry.d.ts +75 -0
- package/getZeroTrustDlpPredefinedEntry.js +50 -0
- package/getZeroTrustDlpPredefinedEntry.js.map +1 -0
- package/getZeroTrustGatewayAppTypesList.d.ts +3 -3
- package/getZeroTrustGatewayCategoriesList.d.ts +3 -3
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.d.ts +14 -0
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.js +4 -0
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.js.map +1 -1
- package/getZone.d.ts +5 -2
- package/getZone.js.map +1 -1
- package/getZoneCacheReserve.d.ts +6 -6
- package/getZoneCacheVariants.d.ts +8 -7
- package/getZoneCacheVariants.js.map +1 -1
- package/index.d.ts +36 -0
- package/index.js +48 -8
- package/index.js.map +1 -1
- package/magicWanGreTunnel.d.ts +0 -26
- package/magicWanGreTunnel.js +0 -26
- package/magicWanGreTunnel.js.map +1 -1
- package/magicWanIpsecTunnel.d.ts +0 -26
- package/magicWanIpsecTunnel.js +0 -26
- package/magicWanIpsecTunnel.js.map +1 -1
- package/notificationPolicyWebhooks.d.ts +2 -2
- package/package.json +2 -2
- package/regionalTieredCache.d.ts +5 -5
- package/ruleset.d.ts +19 -0
- package/ruleset.js +19 -0
- package/ruleset.js.map +1 -1
- package/teamsAccount.d.ts +3 -3
- package/teamsRule.d.ts +11 -11
- package/tieredCache.d.ts +8 -8
- package/types/input.d.ts +477 -52
- package/types/output.d.ts +2918 -1266
- package/worker.d.ts +147 -0
- package/worker.js +80 -0
- package/worker.js.map +1 -0
- package/workerScript.d.ts +75 -49
- package/workerScript.js +11 -1
- package/workerScript.js.map +1 -1
- package/workerVersion.d.ts +236 -0
- package/workerVersion.js +94 -0
- package/workerVersion.js.map +1 -0
- package/workersKvNamespace.d.ts +0 -8
- package/workersKvNamespace.js +0 -2
- package/workersKvNamespace.js.map +1 -1
- package/workersScript.d.ts +75 -49
- package/workersScript.js +11 -1
- package/workersScript.js.map +1 -1
- package/zeroTrustAccessMtlsCertificate.d.ts +2 -0
- package/zeroTrustAccessMtlsCertificate.js +2 -0
- package/zeroTrustAccessMtlsCertificate.js.map +1 -1
- package/zeroTrustAccessPolicy.d.ts +1 -1
- package/zeroTrustAccessPolicy.js +0 -3
- package/zeroTrustAccessPolicy.js.map +1 -1
- package/zeroTrustDeviceCustomProfile.d.ts +3 -3
- package/zeroTrustDlpCustomEntry.d.ts +11 -7
- package/zeroTrustDlpCustomEntry.js +9 -1
- package/zeroTrustDlpCustomEntry.js.map +1 -1
- package/zeroTrustDlpEntry.d.ts +2 -0
- package/zeroTrustDlpEntry.js +2 -0
- package/zeroTrustDlpEntry.js.map +1 -1
- package/zeroTrustDlpIntegrationEntry.d.ts +38 -0
- package/zeroTrustDlpIntegrationEntry.js +20 -0
- package/zeroTrustDlpIntegrationEntry.js.map +1 -1
- package/zeroTrustDlpPredefinedEntry.d.ts +38 -0
- package/zeroTrustDlpPredefinedEntry.js +22 -0
- package/zeroTrustDlpPredefinedEntry.js.map +1 -1
- package/zeroTrustGatewayPolicy.d.ts +11 -11
- package/zeroTrustGatewaySettings.d.ts +3 -3
- package/zone.d.ts +10 -4
- package/zone.js.map +1 -1
- package/zoneCacheReserve.d.ts +5 -5
- package/zoneCacheVariants.d.ts +5 -5
package/getRuleset.js
CHANGED
|
@@ -13,9 +13,8 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
14
|
*
|
|
15
15
|
* const exampleRuleset = cloudflare.getRuleset({
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* zoneId: "zone_id",
|
|
16
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
17
|
+
* id: "2f2feab2026849078ba485f918791bdc",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
@@ -24,6 +23,7 @@ function getRuleset(args, opts) {
|
|
|
24
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
24
|
return pulumi.runtime.invoke("cloudflare:index/getRuleset:getRuleset", {
|
|
26
25
|
"accountId": args.accountId,
|
|
26
|
+
"id": args.id,
|
|
27
27
|
"rulesetId": args.rulesetId,
|
|
28
28
|
"zoneId": args.zoneId,
|
|
29
29
|
}, opts);
|
|
@@ -37,9 +37,8 @@ exports.getRuleset = getRuleset;
|
|
|
37
37
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
38
38
|
*
|
|
39
39
|
* const exampleRuleset = cloudflare.getRuleset({
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* zoneId: "zone_id",
|
|
40
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
41
|
+
* id: "2f2feab2026849078ba485f918791bdc",
|
|
43
42
|
* });
|
|
44
43
|
* ```
|
|
45
44
|
*/
|
|
@@ -48,6 +47,7 @@ function getRulesetOutput(args, opts) {
|
|
|
48
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
48
|
return pulumi.runtime.invokeOutput("cloudflare:index/getRuleset:getRuleset", {
|
|
50
49
|
"accountId": args.accountId,
|
|
50
|
+
"id": args.id,
|
|
51
51
|
"rulesetId": args.rulesetId,
|
|
52
52
|
"zoneId": args.zoneId,
|
|
53
53
|
}, opts);
|
package/getRuleset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRuleset.js","sourceRoot":"","sources":["../getRuleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRuleset.js","sourceRoot":"","sources":["../getRuleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AA+ED;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC"}
|
package/getRulesets.d.ts
CHANGED
|
@@ -8,8 +8,7 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
9
9
|
*
|
|
10
10
|
* const exampleRulesets = cloudflare.getRulesets({
|
|
11
|
-
*
|
|
12
|
-
* zoneId: "zone_id",
|
|
11
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
13
12
|
* });
|
|
14
13
|
* ```
|
|
15
14
|
*/
|
|
@@ -19,15 +18,15 @@ export declare function getRulesets(args?: GetRulesetsArgs, opts?: pulumi.Invoke
|
|
|
19
18
|
*/
|
|
20
19
|
export interface GetRulesetsArgs {
|
|
21
20
|
/**
|
|
22
|
-
* The
|
|
21
|
+
* The unique ID of the account.
|
|
23
22
|
*/
|
|
24
23
|
accountId?: string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
25
|
+
* Maximum number of rulesets to fetch (defaults to 1000).
|
|
27
26
|
*/
|
|
28
27
|
maxItems?: number;
|
|
29
28
|
/**
|
|
30
|
-
* The
|
|
29
|
+
* The unique ID of the zone.
|
|
31
30
|
*/
|
|
32
31
|
zoneId?: string;
|
|
33
32
|
}
|
|
@@ -36,7 +35,7 @@ export interface GetRulesetsArgs {
|
|
|
36
35
|
*/
|
|
37
36
|
export interface GetRulesetsResult {
|
|
38
37
|
/**
|
|
39
|
-
* The
|
|
38
|
+
* The unique ID of the account.
|
|
40
39
|
*/
|
|
41
40
|
readonly accountId?: string;
|
|
42
41
|
/**
|
|
@@ -44,15 +43,21 @@ export interface GetRulesetsResult {
|
|
|
44
43
|
*/
|
|
45
44
|
readonly id: string;
|
|
46
45
|
/**
|
|
47
|
-
*
|
|
46
|
+
* Maximum number of rulesets to fetch (defaults to 1000).
|
|
48
47
|
*/
|
|
49
48
|
readonly maxItems?: number;
|
|
50
49
|
/**
|
|
51
|
-
* The
|
|
50
|
+
* A list of rulesets. The returned information will not include the rules in each ruleset.
|
|
51
|
+
*
|
|
52
|
+
* @deprecated Use rulesets instead. This attribute will be removed in the next major version of the provider.
|
|
52
53
|
*/
|
|
53
54
|
readonly results: outputs.GetRulesetsResult[];
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* A list of rulesets. The returned information will not include the rules in each ruleset.
|
|
57
|
+
*/
|
|
58
|
+
readonly rulesets: outputs.GetRulesetsRuleset[];
|
|
59
|
+
/**
|
|
60
|
+
* The unique ID of the zone.
|
|
56
61
|
*/
|
|
57
62
|
readonly zoneId?: string;
|
|
58
63
|
}
|
|
@@ -64,8 +69,7 @@ export interface GetRulesetsResult {
|
|
|
64
69
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
65
70
|
*
|
|
66
71
|
* const exampleRulesets = cloudflare.getRulesets({
|
|
67
|
-
*
|
|
68
|
-
* zoneId: "zone_id",
|
|
72
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
69
73
|
* });
|
|
70
74
|
* ```
|
|
71
75
|
*/
|
|
@@ -75,15 +79,15 @@ export declare function getRulesetsOutput(args?: GetRulesetsOutputArgs, opts?: p
|
|
|
75
79
|
*/
|
|
76
80
|
export interface GetRulesetsOutputArgs {
|
|
77
81
|
/**
|
|
78
|
-
* The
|
|
82
|
+
* The unique ID of the account.
|
|
79
83
|
*/
|
|
80
84
|
accountId?: pulumi.Input<string>;
|
|
81
85
|
/**
|
|
82
|
-
*
|
|
86
|
+
* Maximum number of rulesets to fetch (defaults to 1000).
|
|
83
87
|
*/
|
|
84
88
|
maxItems?: pulumi.Input<number>;
|
|
85
89
|
/**
|
|
86
|
-
* The
|
|
90
|
+
* The unique ID of the zone.
|
|
87
91
|
*/
|
|
88
92
|
zoneId?: pulumi.Input<string>;
|
|
89
93
|
}
|
package/getRulesets.js
CHANGED
|
@@ -13,8 +13,7 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
14
|
*
|
|
15
15
|
* const exampleRulesets = cloudflare.getRulesets({
|
|
16
|
-
*
|
|
17
|
-
* zoneId: "zone_id",
|
|
16
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
18
17
|
* });
|
|
19
18
|
* ```
|
|
20
19
|
*/
|
|
@@ -36,8 +35,7 @@ exports.getRulesets = getRulesets;
|
|
|
36
35
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
37
36
|
*
|
|
38
37
|
* const exampleRulesets = cloudflare.getRulesets({
|
|
39
|
-
*
|
|
40
|
-
* zoneId: "zone_id",
|
|
38
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
41
39
|
* });
|
|
42
40
|
* ```
|
|
43
41
|
*/
|
package/getRulesets.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRulesets.js","sourceRoot":"","sources":["../getRulesets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRulesets.js","sourceRoot":"","sources":["../getRulesets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AAmDD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC"}
|
package/getTieredCache.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function getTieredCache(args: GetTieredCacheArgs, opts?: pulumi.I
|
|
|
17
17
|
*/
|
|
18
18
|
export interface GetTieredCacheArgs {
|
|
19
19
|
/**
|
|
20
|
-
* Identifier
|
|
20
|
+
* Identifier.
|
|
21
21
|
*/
|
|
22
22
|
zoneId: string;
|
|
23
23
|
}
|
|
@@ -26,11 +26,11 @@ export interface GetTieredCacheArgs {
|
|
|
26
26
|
*/
|
|
27
27
|
export interface GetTieredCacheResult {
|
|
28
28
|
/**
|
|
29
|
-
* Whether the setting is editable
|
|
29
|
+
* Whether the setting is editable.
|
|
30
30
|
*/
|
|
31
31
|
readonly editable: boolean;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* The identifier of the caching setting.
|
|
34
34
|
* Available values: "tiered*cache*smart*topology*enable".
|
|
35
35
|
*/
|
|
36
36
|
readonly id: string;
|
|
@@ -39,12 +39,12 @@ export interface GetTieredCacheResult {
|
|
|
39
39
|
*/
|
|
40
40
|
readonly modifiedOn: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Value of the Smart Tiered Cache zone setting.
|
|
43
43
|
* Available values: "on", "off".
|
|
44
44
|
*/
|
|
45
45
|
readonly value: string;
|
|
46
46
|
/**
|
|
47
|
-
* Identifier
|
|
47
|
+
* Identifier.
|
|
48
48
|
*/
|
|
49
49
|
readonly zoneId: string;
|
|
50
50
|
}
|
|
@@ -66,7 +66,7 @@ export declare function getTieredCacheOutput(args: GetTieredCacheOutputArgs, opt
|
|
|
66
66
|
*/
|
|
67
67
|
export interface GetTieredCacheOutputArgs {
|
|
68
68
|
/**
|
|
69
|
-
* Identifier
|
|
69
|
+
* Identifier.
|
|
70
70
|
*/
|
|
71
71
|
zoneId: pulumi.Input<string>;
|
|
72
72
|
}
|
package/getWorker.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
9
|
+
*
|
|
10
|
+
* const exampleWorker = cloudflare.getWorker({
|
|
11
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
12
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getWorker(args: GetWorkerArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkerResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getWorker.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetWorkerArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Identifier.
|
|
23
|
+
*/
|
|
24
|
+
accountId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Identifier.
|
|
27
|
+
*/
|
|
28
|
+
workerId?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getWorker.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetWorkerResult {
|
|
34
|
+
/**
|
|
35
|
+
* Identifier.
|
|
36
|
+
*/
|
|
37
|
+
readonly accountId: string;
|
|
38
|
+
/**
|
|
39
|
+
* When the Worker was created.
|
|
40
|
+
*/
|
|
41
|
+
readonly createdOn: string;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether logpush is enabled for the Worker.
|
|
48
|
+
*/
|
|
49
|
+
readonly logpush: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Name of the Worker.
|
|
52
|
+
*/
|
|
53
|
+
readonly name: string;
|
|
54
|
+
/**
|
|
55
|
+
* Observability settings for the Worker.
|
|
56
|
+
*/
|
|
57
|
+
readonly observability: outputs.GetWorkerObservability;
|
|
58
|
+
/**
|
|
59
|
+
* Subdomain settings for the Worker.
|
|
60
|
+
*/
|
|
61
|
+
readonly subdomain: outputs.GetWorkerSubdomain;
|
|
62
|
+
/**
|
|
63
|
+
* Tags associated with the Worker.
|
|
64
|
+
*/
|
|
65
|
+
readonly tags: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Other Workers that should consume logs from the Worker.
|
|
68
|
+
*/
|
|
69
|
+
readonly tailConsumers: outputs.GetWorkerTailConsumer[];
|
|
70
|
+
/**
|
|
71
|
+
* When the Worker was most recently updated.
|
|
72
|
+
*/
|
|
73
|
+
readonly updatedOn: string;
|
|
74
|
+
/**
|
|
75
|
+
* Identifier.
|
|
76
|
+
*/
|
|
77
|
+
readonly workerId?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
85
|
+
*
|
|
86
|
+
* const exampleWorker = cloudflare.getWorker({
|
|
87
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
88
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export declare function getWorkerOutput(args: GetWorkerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkerResult>;
|
|
93
|
+
/**
|
|
94
|
+
* A collection of arguments for invoking getWorker.
|
|
95
|
+
*/
|
|
96
|
+
export interface GetWorkerOutputArgs {
|
|
97
|
+
/**
|
|
98
|
+
* Identifier.
|
|
99
|
+
*/
|
|
100
|
+
accountId: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier.
|
|
103
|
+
*/
|
|
104
|
+
workerId?: pulumi.Input<string>;
|
|
105
|
+
}
|
package/getWorker.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getWorkerOutput = exports.getWorker = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleWorker = cloudflare.getWorker({
|
|
16
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getWorker(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("cloudflare:index/getWorker:getWorker", {
|
|
24
|
+
"accountId": args.accountId,
|
|
25
|
+
"workerId": args.workerId,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getWorker = getWorker;
|
|
29
|
+
/**
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
35
|
+
*
|
|
36
|
+
* const exampleWorker = cloudflare.getWorker({
|
|
37
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
38
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function getWorkerOutput(args, opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("cloudflare:index/getWorker:getWorker", {
|
|
45
|
+
"accountId": args.accountId,
|
|
46
|
+
"workerId": args.workerId,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getWorkerOutput = getWorkerOutput;
|
|
50
|
+
//# sourceMappingURL=getWorker.js.map
|
package/getWorker.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorker.js","sourceRoot":"","sources":["../getWorker.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAiED;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
9
|
+
*
|
|
10
|
+
* const exampleWorkerVersion = cloudflare.getWorkerVersion({
|
|
11
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
12
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* versionId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
14
|
+
* include: "modules",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getWorkerVersion(args: GetWorkerVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkerVersionResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getWorkerVersion.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkerVersionArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Identifier.
|
|
25
|
+
*/
|
|
26
|
+
accountId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Available values: "modules".
|
|
29
|
+
*/
|
|
30
|
+
include?: string;
|
|
31
|
+
versionId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Identifier.
|
|
34
|
+
*/
|
|
35
|
+
workerId: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getWorkerVersion.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetWorkerVersionResult {
|
|
41
|
+
/**
|
|
42
|
+
* Identifier.
|
|
43
|
+
*/
|
|
44
|
+
readonly accountId: string;
|
|
45
|
+
/**
|
|
46
|
+
* Metadata about the version.
|
|
47
|
+
*/
|
|
48
|
+
readonly annotations: outputs.GetWorkerVersionAnnotations;
|
|
49
|
+
/**
|
|
50
|
+
* Configuration for assets within a Worker.
|
|
51
|
+
*/
|
|
52
|
+
readonly assets: outputs.GetWorkerVersionAssets;
|
|
53
|
+
/**
|
|
54
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
55
|
+
*/
|
|
56
|
+
readonly bindings: outputs.GetWorkerVersionBinding[];
|
|
57
|
+
/**
|
|
58
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
59
|
+
*/
|
|
60
|
+
readonly compatibilityDate: string;
|
|
61
|
+
/**
|
|
62
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
63
|
+
*/
|
|
64
|
+
readonly compatibilityFlags: string[];
|
|
65
|
+
/**
|
|
66
|
+
* When the version was created.
|
|
67
|
+
*/
|
|
68
|
+
readonly createdOn: string;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of this resource.
|
|
71
|
+
*/
|
|
72
|
+
readonly id: string;
|
|
73
|
+
/**
|
|
74
|
+
* Available values: "modules".
|
|
75
|
+
*/
|
|
76
|
+
readonly include?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Resource limits enforced at runtime.
|
|
79
|
+
*/
|
|
80
|
+
readonly limits: outputs.GetWorkerVersionLimits;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the main module in the `modules` array (e.g. the name of the module that exports a `fetch` handler).
|
|
83
|
+
*/
|
|
84
|
+
readonly mainModule: string;
|
|
85
|
+
/**
|
|
86
|
+
* Migrations for Durable Objects associated with the version. Migrations are applied when the version is deployed.
|
|
87
|
+
*/
|
|
88
|
+
readonly migrations: outputs.GetWorkerVersionMigrations;
|
|
89
|
+
/**
|
|
90
|
+
* Code, sourcemaps, and other content used at runtime.
|
|
91
|
+
*/
|
|
92
|
+
readonly modules: outputs.GetWorkerVersionModule[];
|
|
93
|
+
/**
|
|
94
|
+
* The integer version number, starting from one.
|
|
95
|
+
*/
|
|
96
|
+
readonly number: number;
|
|
97
|
+
/**
|
|
98
|
+
* Placement settings for the version.
|
|
99
|
+
*/
|
|
100
|
+
readonly placement: outputs.GetWorkerVersionPlacement;
|
|
101
|
+
/**
|
|
102
|
+
* The client used to create the version.
|
|
103
|
+
*/
|
|
104
|
+
readonly source: string;
|
|
105
|
+
/**
|
|
106
|
+
* Usage model for the version.
|
|
107
|
+
* Available values: "standard", "bundled", "unbound".
|
|
108
|
+
*
|
|
109
|
+
* @deprecated This attribute is deprecated.
|
|
110
|
+
*/
|
|
111
|
+
readonly usageModel: string;
|
|
112
|
+
readonly versionId?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Identifier.
|
|
115
|
+
*/
|
|
116
|
+
readonly workerId: string;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* ## Example Usage
|
|
120
|
+
*
|
|
121
|
+
* ```typescript
|
|
122
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
123
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
124
|
+
*
|
|
125
|
+
* const exampleWorkerVersion = cloudflare.getWorkerVersion({
|
|
126
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
127
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
128
|
+
* versionId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
129
|
+
* include: "modules",
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
export declare function getWorkerVersionOutput(args: GetWorkerVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkerVersionResult>;
|
|
134
|
+
/**
|
|
135
|
+
* A collection of arguments for invoking getWorkerVersion.
|
|
136
|
+
*/
|
|
137
|
+
export interface GetWorkerVersionOutputArgs {
|
|
138
|
+
/**
|
|
139
|
+
* Identifier.
|
|
140
|
+
*/
|
|
141
|
+
accountId: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Available values: "modules".
|
|
144
|
+
*/
|
|
145
|
+
include?: pulumi.Input<string>;
|
|
146
|
+
versionId?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Identifier.
|
|
149
|
+
*/
|
|
150
|
+
workerId: pulumi.Input<string>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getWorkerVersionOutput = exports.getWorkerVersion = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleWorkerVersion = cloudflare.getWorkerVersion({
|
|
16
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
18
|
+
* versionId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
19
|
+
* include: "modules",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getWorkerVersion(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("cloudflare:index/getWorkerVersion:getWorkerVersion", {
|
|
26
|
+
"accountId": args.accountId,
|
|
27
|
+
"include": args.include,
|
|
28
|
+
"versionId": args.versionId,
|
|
29
|
+
"workerId": args.workerId,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getWorkerVersion = getWorkerVersion;
|
|
33
|
+
/**
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
39
|
+
*
|
|
40
|
+
* const exampleWorkerVersion = cloudflare.getWorkerVersion({
|
|
41
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
42
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
43
|
+
* versionId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
44
|
+
* include: "modules",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function getWorkerVersionOutput(args, opts) {
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invokeOutput("cloudflare:index/getWorkerVersion:getWorkerVersion", {
|
|
51
|
+
"accountId": args.accountId,
|
|
52
|
+
"include": args.include,
|
|
53
|
+
"versionId": args.versionId,
|
|
54
|
+
"workerId": args.workerId,
|
|
55
|
+
}, opts);
|
|
56
|
+
}
|
|
57
|
+
exports.getWorkerVersionOutput = getWorkerVersionOutput;
|
|
58
|
+
//# sourceMappingURL=getWorkerVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkerVersion.js","sourceRoot":"","sources":["../getWorkerVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAsGD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
9
|
+
*
|
|
10
|
+
* const exampleWorkerVersions = cloudflare.getWorkerVersions({
|
|
11
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
12
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getWorkerVersions(args: GetWorkerVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkerVersionsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getWorkerVersions.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetWorkerVersionsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Identifier.
|
|
23
|
+
*/
|
|
24
|
+
accountId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Max items to fetch, default: 1000
|
|
27
|
+
*/
|
|
28
|
+
maxItems?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Identifier.
|
|
31
|
+
*/
|
|
32
|
+
workerId: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getWorkerVersions.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetWorkerVersionsResult {
|
|
38
|
+
/**
|
|
39
|
+
* Identifier.
|
|
40
|
+
*/
|
|
41
|
+
readonly accountId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The provider-assigned unique ID for this managed resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Max items to fetch, default: 1000
|
|
48
|
+
*/
|
|
49
|
+
readonly maxItems?: number;
|
|
50
|
+
/**
|
|
51
|
+
* The items returned by the data source
|
|
52
|
+
*/
|
|
53
|
+
readonly results: outputs.GetWorkerVersionsResult[];
|
|
54
|
+
/**
|
|
55
|
+
* Identifier.
|
|
56
|
+
*/
|
|
57
|
+
readonly workerId: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
65
|
+
*
|
|
66
|
+
* const exampleWorkerVersions = cloudflare.getWorkerVersions({
|
|
67
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
68
|
+
* workerId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export declare function getWorkerVersionsOutput(args: GetWorkerVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkerVersionsResult>;
|
|
73
|
+
/**
|
|
74
|
+
* A collection of arguments for invoking getWorkerVersions.
|
|
75
|
+
*/
|
|
76
|
+
export interface GetWorkerVersionsOutputArgs {
|
|
77
|
+
/**
|
|
78
|
+
* Identifier.
|
|
79
|
+
*/
|
|
80
|
+
accountId: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Max items to fetch, default: 1000
|
|
83
|
+
*/
|
|
84
|
+
maxItems?: pulumi.Input<number>;
|
|
85
|
+
/**
|
|
86
|
+
* Identifier.
|
|
87
|
+
*/
|
|
88
|
+
workerId: pulumi.Input<string>;
|
|
89
|
+
}
|