@pulumi/cloudflare 6.2.0-alpha.1746747207 → 6.2.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/README.md +1 -8
- package/accessApplication.d.ts +18 -6
- package/accessApplication.js +2 -0
- package/accessApplication.js.map +1 -1
- package/accessGroup.d.ts +2 -2
- package/accessOrganization.d.ts +2 -2
- package/accessPolicy.d.ts +3 -3
- package/account.d.ts +1 -1
- package/accountDnsSettings.d.ts +4 -4
- package/accountDnsSettingsInternalView.d.ts +3 -3
- package/accountSubscription.d.ts +1 -1
- package/accountToken.d.ts +1 -1
- package/apiShield.d.ts +5 -5
- package/apiShieldDiscoveryOperation.d.ts +6 -6
- package/apiShieldOperation.d.ts +5 -5
- package/apiShieldOperationSchemaValidationSettings.d.ts +6 -6
- package/apiShieldSchema.d.ts +4 -4
- package/apiShieldSchema.js +1 -1
- package/apiShieldSchemaValidationSettings.d.ts +3 -3
- package/apiToken.d.ts +1 -1
- package/authenticatedOriginPulls.d.ts +5 -5
- package/authenticatedOriginPullsCertificate.d.ts +5 -5
- package/authenticatedOriginPullsSettings.d.ts +3 -3
- package/botManagement.d.ts +3 -3
- package/certificatePack.d.ts +3 -3
- package/cloudConnectorRules.d.ts +23 -37
- package/cloudConnectorRules.js +19 -10
- package/cloudConnectorRules.js.map +1 -1
- package/contentScanningExpression.d.ts +5 -5
- package/customHostname.d.ts +3 -3
- package/customHostnameFallbackOrigin.d.ts +3 -3
- package/customSsl.d.ts +4 -4
- package/d1database.d.ts +14 -0
- package/d1database.js +2 -0
- package/d1database.js.map +1 -1
- package/devicePostureRule.d.ts +2 -2
- package/dlpCustomProfile.d.ts +12 -12
- package/dlpPredefinedProfile.d.ts +11 -11
- package/dnsRecord.d.ts +1 -1
- package/emailRoutingAddress.d.ts +3 -3
- package/emailRoutingCatchAll.d.ts +3 -3
- package/emailRoutingDns.d.ts +5 -5
- package/emailRoutingRule.d.ts +3 -3
- package/emailRoutingSettings.d.ts +3 -3
- package/emailSecurityTrustedDomains.d.ts +1 -1
- package/filter.d.ts +3 -3
- package/firewallRule.d.ts +3 -3
- package/getAccessRule.d.ts +4 -4
- package/getAccessRules.d.ts +12 -12
- package/getAccountDnsSettings.d.ts +3 -3
- package/getAccountDnsSettingsInternalView.d.ts +7 -7
- package/getAccountDnsSettingsInternalViews.d.ts +3 -3
- package/getApiShield.d.ts +3 -3
- package/getApiShieldOperation.d.ts +7 -7
- package/getApiShieldOperations.d.ts +3 -3
- package/getApiShieldSchema.d.ts +3 -3
- package/getApiShieldSchemaValidationSettings.d.ts +3 -3
- package/getApiShieldSchemas.d.ts +3 -3
- package/getAuthenticatedOriginPulls.d.ts +4 -4
- package/getAuthenticatedOriginPullsCertificate.d.ts +7 -7
- package/getAuthenticatedOriginPullsCertificates.d.ts +3 -3
- package/getAuthenticatedOriginPullsSettings.d.ts +3 -3
- package/getBotManagement.d.ts +3 -3
- package/getBotnetFeedConfigAsn.d.ts +3 -3
- package/getCertificatePack.d.ts +6 -6
- package/getCertificatePacks.d.ts +3 -3
- package/getCloudConnectorRulesList.d.ts +3 -3
- package/getContentScanningExpressions.d.ts +3 -3
- package/getCustomHostname.d.ts +7 -7
- package/getCustomHostnameFallbackOrigin.d.ts +3 -3
- package/getCustomHostnames.d.ts +3 -3
- package/getCustomSsl.d.ts +7 -7
- package/getCustomSsls.d.ts +3 -3
- package/getD1Database.d.ts +4 -0
- package/getD1Database.js.map +1 -1
- package/getDcvDelegation.d.ts +3 -3
- package/getEmailRoutingAddress.d.ts +3 -3
- package/getEmailRoutingAddresses.d.ts +3 -3
- package/getEmailRoutingCatchAll.d.ts +3 -3
- package/getEmailRoutingDns.d.ts +4 -4
- package/getEmailRoutingRule.d.ts +3 -3
- package/getEmailRoutingRules.d.ts +3 -3
- package/getEmailRoutingSettings.d.ts +3 -3
- package/getFilter.d.ts +3 -3
- package/getFilters.d.ts +3 -3
- package/getFirewallRule.d.ts +3 -3
- package/getFirewallRules.d.ts +3 -3
- package/getHostnameTlsSetting.d.ts +3 -3
- package/getHyperdriveConfig.d.ts +1 -0
- package/getHyperdriveConfig.js.map +1 -1
- package/getKeylessCertificate.d.ts +7 -7
- package/getKeylessCertificates.d.ts +3 -3
- package/getLeakedCredentialCheck.d.ts +4 -4
- package/getLeakedCredentialCheckRules.d.ts +3 -3
- package/getList.d.ts +6 -6
- package/getListItem.d.ts +13 -13
- package/getListItem.js +4 -4
- package/getListItem.js.map +1 -1
- package/getLoadBalancer.d.ts +0 -37
- package/getLoadBalancer.js +0 -8
- package/getLoadBalancer.js.map +1 -1
- package/getLogpushDatasetField.d.ts +7 -4
- package/getLogpushDatasetField.js +2 -0
- package/getLogpushDatasetField.js.map +1 -1
- package/getLogpushDatasetJob.d.ts +8 -4
- package/getLogpushDatasetJob.js +2 -0
- package/getLogpushDatasetJob.js.map +1 -1
- package/getLogpushJob.d.ts +1 -0
- package/getLogpushJob.js.map +1 -1
- package/getMtlsCertificate.d.ts +7 -7
- package/getMtlsCertificates.d.ts +3 -3
- package/getNotificationPolicy.d.ts +1 -1
- package/getOriginCaCertificate.d.ts +4 -4
- package/getOriginCaCertificates.d.ts +31 -3
- package/getOriginCaCertificates.js +8 -0
- package/getOriginCaCertificates.js.map +1 -1
- package/getPageRule.d.ts +7 -7
- package/getR2Bucket.d.ts +9 -9
- package/getR2BucketCors.d.ts +6 -6
- package/getR2BucketEventNotification.d.ts +6 -6
- package/getR2BucketLifecycle.d.ts +6 -6
- package/getR2BucketLock.d.ts +6 -6
- package/getR2BucketSippy.d.ts +9 -9
- package/getR2CustomDomain.d.ts +12 -12
- package/getRateLimit.d.ts +7 -7
- package/getRateLimits.d.ts +3 -3
- package/getRegionalHostname.d.ts +7 -3
- package/getRegionalHostname.js.map +1 -1
- package/getRegionalHostnames.d.ts +3 -3
- package/getTotalTls.d.ts +3 -3
- package/getUserAgentBlockingRule.d.ts +3 -3
- package/getUserAgentBlockingRules.d.ts +3 -3
- package/getWeb3Hostname.d.ts +12 -12
- package/getWeb3Hostnames.d.ts +3 -3
- package/getWebAnalyticsSite.d.ts +7 -7
- package/getWebAnalyticsSites.d.ts +3 -3
- package/getWorkersRoute.d.ts +7 -4
- package/getWorkersRoute.js.map +1 -1
- package/getZeroTrustAccessApplication.d.ts +4 -0
- package/getZeroTrustAccessApplication.js.map +1 -1
- package/getZeroTrustDeviceCustomProfile.d.ts +1 -1
- package/getZeroTrustDeviceDefaultProfileCertificates.d.ts +1 -0
- package/getZeroTrustDeviceDefaultProfileCertificates.js.map +1 -1
- package/getZeroTrustDlpCustomProfile.d.ts +6 -6
- package/getZeroTrustDlpDataset.d.ts +2 -1
- package/getZeroTrustDlpDataset.js.map +1 -1
- package/getZeroTrustDlpEntry.d.ts +6 -0
- package/getZeroTrustDlpEntry.js.map +1 -1
- package/getZeroTrustDlpPredefinedProfile.d.ts +6 -6
- package/getZeroTrustRiskScoringIntegration.d.ts +2 -2
- package/getZoneDnsSettings.d.ts +3 -3
- package/getZoneHold.d.ts +3 -3
- package/getZoneLockdown.d.ts +3 -3
- package/getZoneLockdowns.d.ts +3 -3
- package/hostnameTlsSetting.d.ts +3 -3
- package/hyperdriveConfig.d.ts +4 -22
- package/hyperdriveConfig.js +2 -21
- package/hyperdriveConfig.js.map +1 -1
- package/index.d.ts +0 -36
- package/index.js +17 -61
- package/index.js.map +1 -1
- package/keylessCertificate.d.ts +4 -4
- package/leakedCredentialCheck.d.ts +6 -6
- package/leakedCredentialCheckRule.d.ts +9 -9
- package/list.d.ts +3 -3
- package/listItem.d.ts +5 -5
- package/listItem.js +3 -0
- package/listItem.js.map +1 -1
- package/loadBalancer.d.ts +2 -2
- package/loadBalancerPool.d.ts +2 -2
- package/logpushJob.d.ts +4 -1
- package/logpushJob.js.map +1 -1
- package/magicNetworkMonitoringConfiguration.d.ts +1 -1
- package/magicTransitSite.d.ts +1 -1
- package/magicTransitSiteLan.d.ts +3 -3
- package/magicTransitSiteWan.d.ts +1 -1
- package/magicWanGreTunnel.d.ts +49 -23
- package/magicWanGreTunnel.js +41 -5
- package/magicWanGreTunnel.js.map +1 -1
- package/magicWanIpsecTunnel.d.ts +38 -14
- package/magicWanIpsecTunnel.js +14 -4
- package/magicWanIpsecTunnel.js.map +1 -1
- package/magicWanStaticRoute.d.ts +26 -26
- package/magicWanStaticRoute.js +16 -8
- package/magicWanStaticRoute.js.map +1 -1
- package/mtlsCertificate.d.ts +3 -3
- package/notificationPolicy.d.ts +4 -4
- package/package.json +2 -2
- package/pageRule.d.ts +3 -3
- package/pagesProject.d.ts +4 -3
- package/pagesProject.js +1 -1
- package/pagesProject.js.map +1 -1
- package/queueConsumer.d.ts +1 -1
- package/r2bucket.d.ts +11 -11
- package/r2bucketCors.d.ts +7 -7
- package/r2bucketEventNotification.d.ts +13 -13
- package/r2bucketLifecycle.d.ts +7 -7
- package/r2bucketLock.d.ts +7 -7
- package/r2bucketSippy.d.ts +16 -16
- package/r2customDomain.d.ts +14 -14
- package/r2managedDomain.d.ts +13 -13
- package/rateLimit.d.ts +3 -3
- package/record.d.ts +1 -1
- package/regionalHostname.d.ts +16 -3
- package/regionalHostname.js +3 -0
- package/regionalHostname.js.map +1 -1
- package/snippetRules.d.ts +1 -1
- package/snippets.d.ts +1 -1
- package/spectrumApplication.d.ts +1 -1
- package/staticRoute.d.ts +26 -26
- package/staticRoute.js +16 -8
- package/staticRoute.js.map +1 -1
- package/teamsLocation.d.ts +4 -4
- package/teamsRule.d.ts +6 -6
- package/totalTls.d.ts +3 -3
- package/types/input.d.ts +300 -174
- package/types/output.d.ts +1023 -959
- package/userAgentBlockingRule.d.ts +3 -3
- package/web3Hostname.d.ts +17 -17
- package/webAnalyticsRule.d.ts +3 -3
- package/webAnalyticsSite.d.ts +3 -3
- package/workerScript.d.ts +5 -5
- package/workersDeployment.d.ts +1 -1
- package/workersRoute.d.ts +19 -30
- package/workersRoute.js +11 -10
- package/workersRoute.js.map +1 -1
- package/workersScript.d.ts +5 -5
- package/zeroTrustAccessApplication.d.ts +18 -6
- package/zeroTrustAccessApplication.js +2 -0
- package/zeroTrustAccessApplication.js.map +1 -1
- package/zeroTrustAccessGroup.d.ts +2 -2
- package/zeroTrustAccessPolicy.d.ts +3 -3
- package/zeroTrustDeviceCustomProfile.d.ts +6 -6
- package/zeroTrustDeviceDefaultProfile.d.ts +29 -3
- package/zeroTrustDeviceDefaultProfile.js +6 -0
- package/zeroTrustDeviceDefaultProfile.js.map +1 -1
- package/zeroTrustDevicePostureRule.d.ts +2 -2
- package/zeroTrustDlpCustomProfile.d.ts +12 -12
- package/zeroTrustDlpDataset.d.ts +22 -3
- package/zeroTrustDlpDataset.js +3 -0
- package/zeroTrustDlpDataset.js.map +1 -1
- package/zeroTrustDlpEntry.d.ts +12 -0
- package/zeroTrustDlpEntry.js +2 -0
- package/zeroTrustDlpEntry.js.map +1 -1
- package/zeroTrustDlpPredefinedProfile.d.ts +11 -11
- package/zeroTrustDnsLocation.d.ts +4 -4
- package/zeroTrustGatewayCertificate.d.ts +0 -9
- package/zeroTrustGatewayCertificate.js.map +1 -1
- package/zeroTrustGatewayLogging.d.ts +1 -1
- package/zeroTrustGatewayPolicy.d.ts +6 -6
- package/zeroTrustOrganization.d.ts +2 -2
- package/zeroTrustRiskScoringIntegration.d.ts +5 -5
- package/zoneDnsSettings.d.ts +6 -6
- package/zoneHold.d.ts +3 -3
- package/zoneLockdown.d.ts +3 -3
- package/zoneSubscription.d.ts +1 -1
- package/deviceDexTest.d.ts +0 -160
- package/deviceDexTest.js +0 -120
- package/deviceDexTest.js.map +0 -1
- package/getListItems.d.ts +0 -103
- package/getListItems.js +0 -56
- package/getListItems.js.map +0 -1
- package/getLists.d.ts +0 -75
- package/getLists.js +0 -48
- package/getLists.js.map +0 -1
- package/getWorkersForPlatformsScriptSecret.d.ts +0 -109
- package/getWorkersForPlatformsScriptSecret.js +0 -58
- package/getWorkersForPlatformsScriptSecret.js.map +0 -1
- package/getWorkersForPlatformsScriptSecrets.d.ts +0 -103
- package/getWorkersForPlatformsScriptSecrets.js +0 -56
- package/getWorkersForPlatformsScriptSecrets.js.map +0 -1
- package/getWorkersSecret.d.ts +0 -111
- package/getWorkersSecret.js +0 -62
- package/getWorkersSecret.js.map +0 -1
- package/getWorkersSecrets.d.ts +0 -105
- package/getWorkersSecrets.js +0 -60
- package/getWorkersSecrets.js.map +0 -1
- package/getZeroTrustDexTest.d.ts +0 -93
- package/getZeroTrustDexTest.js +0 -50
- package/getZeroTrustDexTest.js.map +0 -1
- package/getZeroTrustDexTests.d.ts +0 -66
- package/getZeroTrustDexTests.js +0 -48
- package/getZeroTrustDexTests.js.map +0 -1
- package/workersForPlatformsScriptSecret.d.ts +0 -134
- package/workersForPlatformsScriptSecret.js +0 -98
- package/workersForPlatformsScriptSecret.js.map +0 -1
- package/workersSecret.d.ts +0 -137
- package/workersSecret.js +0 -103
- package/workersSecret.js.map +0 -1
- package/zeroTrustDexTest.d.ts +0 -157
- package/zeroTrustDexTest.js +0 -115
- package/zeroTrustDexTest.js.map +0 -1
package/getLists.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
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 exampleLists = cloudflare.getLists({
|
|
11
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
12
|
-
* });
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
export declare function getLists(args: GetListsArgs, opts?: pulumi.InvokeOptions): Promise<GetListsResult>;
|
|
16
|
-
/**
|
|
17
|
-
* A collection of arguments for invoking getLists.
|
|
18
|
-
*/
|
|
19
|
-
export interface GetListsArgs {
|
|
20
|
-
/**
|
|
21
|
-
* Identifier
|
|
22
|
-
*/
|
|
23
|
-
accountId: string;
|
|
24
|
-
/**
|
|
25
|
-
* Max items to fetch, default: 1000
|
|
26
|
-
*/
|
|
27
|
-
maxItems?: number;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* A collection of values returned by getLists.
|
|
31
|
-
*/
|
|
32
|
-
export interface GetListsResult {
|
|
33
|
-
/**
|
|
34
|
-
* Identifier
|
|
35
|
-
*/
|
|
36
|
-
readonly accountId: string;
|
|
37
|
-
/**
|
|
38
|
-
* The provider-assigned unique ID for this managed resource.
|
|
39
|
-
*/
|
|
40
|
-
readonly id: string;
|
|
41
|
-
/**
|
|
42
|
-
* Max items to fetch, default: 1000
|
|
43
|
-
*/
|
|
44
|
-
readonly maxItems?: number;
|
|
45
|
-
/**
|
|
46
|
-
* The items returned by the data source
|
|
47
|
-
*/
|
|
48
|
-
readonly results: outputs.GetListsResult[];
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* ## Example Usage
|
|
52
|
-
*
|
|
53
|
-
* ```typescript
|
|
54
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
56
|
-
*
|
|
57
|
-
* const exampleLists = cloudflare.getLists({
|
|
58
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
59
|
-
* });
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
|
-
export declare function getListsOutput(args: GetListsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetListsResult>;
|
|
63
|
-
/**
|
|
64
|
-
* A collection of arguments for invoking getLists.
|
|
65
|
-
*/
|
|
66
|
-
export interface GetListsOutputArgs {
|
|
67
|
-
/**
|
|
68
|
-
* Identifier
|
|
69
|
-
*/
|
|
70
|
-
accountId: pulumi.Input<string>;
|
|
71
|
-
/**
|
|
72
|
-
* Max items to fetch, default: 1000
|
|
73
|
-
*/
|
|
74
|
-
maxItems?: pulumi.Input<number>;
|
|
75
|
-
}
|
package/getLists.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
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.getListsOutput = exports.getLists = 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 exampleLists = cloudflare.getLists({
|
|
16
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
function getLists(args, opts) {
|
|
21
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
-
return pulumi.runtime.invoke("cloudflare:index/getLists:getLists", {
|
|
23
|
-
"accountId": args.accountId,
|
|
24
|
-
"maxItems": args.maxItems,
|
|
25
|
-
}, opts);
|
|
26
|
-
}
|
|
27
|
-
exports.getLists = getLists;
|
|
28
|
-
/**
|
|
29
|
-
* ## Example Usage
|
|
30
|
-
*
|
|
31
|
-
* ```typescript
|
|
32
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
34
|
-
*
|
|
35
|
-
* const exampleLists = cloudflare.getLists({
|
|
36
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
function getListsOutput(args, opts) {
|
|
41
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
|
-
return pulumi.runtime.invokeOutput("cloudflare:index/getLists:getLists", {
|
|
43
|
-
"accountId": args.accountId,
|
|
44
|
-
"maxItems": args.maxItems,
|
|
45
|
-
}, opts);
|
|
46
|
-
}
|
|
47
|
-
exports.getListsOutput = getListsOutput;
|
|
48
|
-
//# sourceMappingURL=getLists.js.map
|
package/getLists.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getLists.js","sourceRoot":"","sources":["../getLists.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAqCD;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
8
|
-
*
|
|
9
|
-
* const exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
10
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
11
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
12
|
-
* scriptName: "this-is_my_script-01",
|
|
13
|
-
* secretName: "mySecret",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare function getWorkersForPlatformsScriptSecret(args: GetWorkersForPlatformsScriptSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkersForPlatformsScriptSecretResult>;
|
|
18
|
-
/**
|
|
19
|
-
* A collection of arguments for invoking getWorkersForPlatformsScriptSecret.
|
|
20
|
-
*/
|
|
21
|
-
export interface GetWorkersForPlatformsScriptSecretArgs {
|
|
22
|
-
/**
|
|
23
|
-
* Identifier.
|
|
24
|
-
*/
|
|
25
|
-
accountId: string;
|
|
26
|
-
/**
|
|
27
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
28
|
-
*/
|
|
29
|
-
dispatchNamespace: string;
|
|
30
|
-
/**
|
|
31
|
-
* Name of the script, used in URLs and route configuration.
|
|
32
|
-
*/
|
|
33
|
-
scriptName: string;
|
|
34
|
-
/**
|
|
35
|
-
* A JavaScript variable name for the secret binding.
|
|
36
|
-
*/
|
|
37
|
-
secretName?: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* A collection of values returned by getWorkersForPlatformsScriptSecret.
|
|
41
|
-
*/
|
|
42
|
-
export interface GetWorkersForPlatformsScriptSecretResult {
|
|
43
|
-
/**
|
|
44
|
-
* Identifier.
|
|
45
|
-
*/
|
|
46
|
-
readonly accountId: string;
|
|
47
|
-
/**
|
|
48
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
49
|
-
*/
|
|
50
|
-
readonly dispatchNamespace: string;
|
|
51
|
-
/**
|
|
52
|
-
* A JavaScript variable name for the secret binding.
|
|
53
|
-
*/
|
|
54
|
-
readonly id: string;
|
|
55
|
-
/**
|
|
56
|
-
* The name of this secret, this is what will be used to access it inside the Worker.
|
|
57
|
-
*/
|
|
58
|
-
readonly name: string;
|
|
59
|
-
/**
|
|
60
|
-
* Name of the script, used in URLs and route configuration.
|
|
61
|
-
*/
|
|
62
|
-
readonly scriptName: string;
|
|
63
|
-
/**
|
|
64
|
-
* A JavaScript variable name for the secret binding.
|
|
65
|
-
*/
|
|
66
|
-
readonly secretName?: string;
|
|
67
|
-
/**
|
|
68
|
-
* The type of secret.
|
|
69
|
-
* Available values: "secretText".
|
|
70
|
-
*/
|
|
71
|
-
readonly type: string;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* ## Example Usage
|
|
75
|
-
*
|
|
76
|
-
* ```typescript
|
|
77
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
79
|
-
*
|
|
80
|
-
* const exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
81
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
82
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
83
|
-
* scriptName: "this-is_my_script-01",
|
|
84
|
-
* secretName: "mySecret",
|
|
85
|
-
* });
|
|
86
|
-
* ```
|
|
87
|
-
*/
|
|
88
|
-
export declare function getWorkersForPlatformsScriptSecretOutput(args: GetWorkersForPlatformsScriptSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkersForPlatformsScriptSecretResult>;
|
|
89
|
-
/**
|
|
90
|
-
* A collection of arguments for invoking getWorkersForPlatformsScriptSecret.
|
|
91
|
-
*/
|
|
92
|
-
export interface GetWorkersForPlatformsScriptSecretOutputArgs {
|
|
93
|
-
/**
|
|
94
|
-
* Identifier.
|
|
95
|
-
*/
|
|
96
|
-
accountId: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
99
|
-
*/
|
|
100
|
-
dispatchNamespace: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* Name of the script, used in URLs and route configuration.
|
|
103
|
-
*/
|
|
104
|
-
scriptName: pulumi.Input<string>;
|
|
105
|
-
/**
|
|
106
|
-
* A JavaScript variable name for the secret binding.
|
|
107
|
-
*/
|
|
108
|
-
secretName?: pulumi.Input<string>;
|
|
109
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
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.getWorkersForPlatformsScriptSecretOutput = exports.getWorkersForPlatformsScriptSecret = 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 exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
16
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
18
|
-
* scriptName: "this-is_my_script-01",
|
|
19
|
-
* secretName: "mySecret",
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
function getWorkersForPlatformsScriptSecret(args, opts) {
|
|
24
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
-
return pulumi.runtime.invoke("cloudflare:index/getWorkersForPlatformsScriptSecret:getWorkersForPlatformsScriptSecret", {
|
|
26
|
-
"accountId": args.accountId,
|
|
27
|
-
"dispatchNamespace": args.dispatchNamespace,
|
|
28
|
-
"scriptName": args.scriptName,
|
|
29
|
-
"secretName": args.secretName,
|
|
30
|
-
}, opts);
|
|
31
|
-
}
|
|
32
|
-
exports.getWorkersForPlatformsScriptSecret = getWorkersForPlatformsScriptSecret;
|
|
33
|
-
/**
|
|
34
|
-
* ## Example Usage
|
|
35
|
-
*
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
39
|
-
*
|
|
40
|
-
* const exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
41
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
42
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
43
|
-
* scriptName: "this-is_my_script-01",
|
|
44
|
-
* secretName: "mySecret",
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
function getWorkersForPlatformsScriptSecretOutput(args, opts) {
|
|
49
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
-
return pulumi.runtime.invokeOutput("cloudflare:index/getWorkersForPlatformsScriptSecret:getWorkersForPlatformsScriptSecret", {
|
|
51
|
-
"accountId": args.accountId,
|
|
52
|
-
"dispatchNamespace": args.dispatchNamespace,
|
|
53
|
-
"scriptName": args.scriptName,
|
|
54
|
-
"secretName": args.secretName,
|
|
55
|
-
}, opts);
|
|
56
|
-
}
|
|
57
|
-
exports.getWorkersForPlatformsScriptSecretOutput = getWorkersForPlatformsScriptSecretOutput;
|
|
58
|
-
//# sourceMappingURL=getWorkersForPlatformsScriptSecret.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkersForPlatformsScriptSecret.js","sourceRoot":"","sources":["../getWorkersForPlatformsScriptSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wFAAwF,EAAE;QACnH,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gFAQC;AA0DD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wFAAwF,EAAE;QACzH,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4FAQC"}
|
|
@@ -1,103 +0,0 @@
|
|
|
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 exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
|
|
11
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
12
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
13
|
-
* scriptName: "this-is_my_script-01",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare function getWorkersForPlatformsScriptSecrets(args: GetWorkersForPlatformsScriptSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkersForPlatformsScriptSecretsResult>;
|
|
18
|
-
/**
|
|
19
|
-
* A collection of arguments for invoking getWorkersForPlatformsScriptSecrets.
|
|
20
|
-
*/
|
|
21
|
-
export interface GetWorkersForPlatformsScriptSecretsArgs {
|
|
22
|
-
/**
|
|
23
|
-
* Identifier.
|
|
24
|
-
*/
|
|
25
|
-
accountId: string;
|
|
26
|
-
/**
|
|
27
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
28
|
-
*/
|
|
29
|
-
dispatchNamespace: string;
|
|
30
|
-
/**
|
|
31
|
-
* Max items to fetch, default: 1000
|
|
32
|
-
*/
|
|
33
|
-
maxItems?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the script, used in URLs and route configuration.
|
|
36
|
-
*/
|
|
37
|
-
scriptName: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* A collection of values returned by getWorkersForPlatformsScriptSecrets.
|
|
41
|
-
*/
|
|
42
|
-
export interface GetWorkersForPlatformsScriptSecretsResult {
|
|
43
|
-
/**
|
|
44
|
-
* Identifier.
|
|
45
|
-
*/
|
|
46
|
-
readonly accountId: string;
|
|
47
|
-
/**
|
|
48
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
49
|
-
*/
|
|
50
|
-
readonly dispatchNamespace: string;
|
|
51
|
-
/**
|
|
52
|
-
* The provider-assigned unique ID for this managed resource.
|
|
53
|
-
*/
|
|
54
|
-
readonly id: string;
|
|
55
|
-
/**
|
|
56
|
-
* Max items to fetch, default: 1000
|
|
57
|
-
*/
|
|
58
|
-
readonly maxItems?: number;
|
|
59
|
-
/**
|
|
60
|
-
* The items returned by the data source
|
|
61
|
-
*/
|
|
62
|
-
readonly results: outputs.GetWorkersForPlatformsScriptSecretsResult[];
|
|
63
|
-
/**
|
|
64
|
-
* Name of the script, used in URLs and route configuration.
|
|
65
|
-
*/
|
|
66
|
-
readonly scriptName: string;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* ## Example Usage
|
|
70
|
-
*
|
|
71
|
-
* ```typescript
|
|
72
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
74
|
-
*
|
|
75
|
-
* const exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
|
|
76
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
77
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
78
|
-
* scriptName: "this-is_my_script-01",
|
|
79
|
-
* });
|
|
80
|
-
* ```
|
|
81
|
-
*/
|
|
82
|
-
export declare function getWorkersForPlatformsScriptSecretsOutput(args: GetWorkersForPlatformsScriptSecretsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkersForPlatformsScriptSecretsResult>;
|
|
83
|
-
/**
|
|
84
|
-
* A collection of arguments for invoking getWorkersForPlatformsScriptSecrets.
|
|
85
|
-
*/
|
|
86
|
-
export interface GetWorkersForPlatformsScriptSecretsOutputArgs {
|
|
87
|
-
/**
|
|
88
|
-
* Identifier.
|
|
89
|
-
*/
|
|
90
|
-
accountId: pulumi.Input<string>;
|
|
91
|
-
/**
|
|
92
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
93
|
-
*/
|
|
94
|
-
dispatchNamespace: pulumi.Input<string>;
|
|
95
|
-
/**
|
|
96
|
-
* Max items to fetch, default: 1000
|
|
97
|
-
*/
|
|
98
|
-
maxItems?: pulumi.Input<number>;
|
|
99
|
-
/**
|
|
100
|
-
* Name of the script, used in URLs and route configuration.
|
|
101
|
-
*/
|
|
102
|
-
scriptName: pulumi.Input<string>;
|
|
103
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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.getWorkersForPlatformsScriptSecretsOutput = exports.getWorkersForPlatformsScriptSecrets = 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 exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
|
|
16
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
18
|
-
* scriptName: "this-is_my_script-01",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
function getWorkersForPlatformsScriptSecrets(args, opts) {
|
|
23
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
-
return pulumi.runtime.invoke("cloudflare:index/getWorkersForPlatformsScriptSecrets:getWorkersForPlatformsScriptSecrets", {
|
|
25
|
-
"accountId": args.accountId,
|
|
26
|
-
"dispatchNamespace": args.dispatchNamespace,
|
|
27
|
-
"maxItems": args.maxItems,
|
|
28
|
-
"scriptName": args.scriptName,
|
|
29
|
-
}, opts);
|
|
30
|
-
}
|
|
31
|
-
exports.getWorkersForPlatformsScriptSecrets = getWorkersForPlatformsScriptSecrets;
|
|
32
|
-
/**
|
|
33
|
-
* ## Example Usage
|
|
34
|
-
*
|
|
35
|
-
* ```typescript
|
|
36
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
38
|
-
*
|
|
39
|
-
* const exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
|
|
40
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
41
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
42
|
-
* scriptName: "this-is_my_script-01",
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
function getWorkersForPlatformsScriptSecretsOutput(args, opts) {
|
|
47
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
-
return pulumi.runtime.invokeOutput("cloudflare:index/getWorkersForPlatformsScriptSecrets:getWorkersForPlatformsScriptSecrets", {
|
|
49
|
-
"accountId": args.accountId,
|
|
50
|
-
"dispatchNamespace": args.dispatchNamespace,
|
|
51
|
-
"maxItems": args.maxItems,
|
|
52
|
-
"scriptName": args.scriptName,
|
|
53
|
-
}, opts);
|
|
54
|
-
}
|
|
55
|
-
exports.getWorkersForPlatformsScriptSecretsOutput = getWorkersForPlatformsScriptSecretsOutput;
|
|
56
|
-
//# sourceMappingURL=getWorkersForPlatformsScriptSecrets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkersForPlatformsScriptSecrets.js","sourceRoot":"","sources":["../getWorkersForPlatformsScriptSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kFAQC;AAqDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAAiC;IAC5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0FAA0F,EAAE;QAC3H,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8FAQC"}
|
package/getWorkersSecret.d.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
8
|
-
*
|
|
9
|
-
* const exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
10
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
11
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
12
|
-
* scriptName: "this-is_my_script-01",
|
|
13
|
-
* secretName: "mySecret",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
/** @deprecated cloudflare.getWorkersSecret has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecret */
|
|
18
|
-
export declare function getWorkersSecret(args: GetWorkersSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkersSecretResult>;
|
|
19
|
-
/**
|
|
20
|
-
* A collection of arguments for invoking getWorkersSecret.
|
|
21
|
-
*/
|
|
22
|
-
export interface GetWorkersSecretArgs {
|
|
23
|
-
/**
|
|
24
|
-
* Identifier.
|
|
25
|
-
*/
|
|
26
|
-
accountId: string;
|
|
27
|
-
/**
|
|
28
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
29
|
-
*/
|
|
30
|
-
dispatchNamespace: string;
|
|
31
|
-
/**
|
|
32
|
-
* Name of the script, used in URLs and route configuration.
|
|
33
|
-
*/
|
|
34
|
-
scriptName: string;
|
|
35
|
-
/**
|
|
36
|
-
* A JavaScript variable name for the secret binding.
|
|
37
|
-
*/
|
|
38
|
-
secretName?: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* A collection of values returned by getWorkersSecret.
|
|
42
|
-
*/
|
|
43
|
-
export interface GetWorkersSecretResult {
|
|
44
|
-
/**
|
|
45
|
-
* Identifier.
|
|
46
|
-
*/
|
|
47
|
-
readonly accountId: string;
|
|
48
|
-
/**
|
|
49
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
50
|
-
*/
|
|
51
|
-
readonly dispatchNamespace: string;
|
|
52
|
-
/**
|
|
53
|
-
* A JavaScript variable name for the secret binding.
|
|
54
|
-
*/
|
|
55
|
-
readonly id: string;
|
|
56
|
-
/**
|
|
57
|
-
* The name of this secret, this is what will be used to access it inside the Worker.
|
|
58
|
-
*/
|
|
59
|
-
readonly name: string;
|
|
60
|
-
/**
|
|
61
|
-
* Name of the script, used in URLs and route configuration.
|
|
62
|
-
*/
|
|
63
|
-
readonly scriptName: string;
|
|
64
|
-
/**
|
|
65
|
-
* A JavaScript variable name for the secret binding.
|
|
66
|
-
*/
|
|
67
|
-
readonly secretName?: string;
|
|
68
|
-
/**
|
|
69
|
-
* The type of secret.
|
|
70
|
-
* Available values: "secretText".
|
|
71
|
-
*/
|
|
72
|
-
readonly type: string;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* ## Example Usage
|
|
76
|
-
*
|
|
77
|
-
* ```typescript
|
|
78
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
80
|
-
*
|
|
81
|
-
* const exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
82
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
83
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
84
|
-
* scriptName: "this-is_my_script-01",
|
|
85
|
-
* secretName: "mySecret",
|
|
86
|
-
* });
|
|
87
|
-
* ```
|
|
88
|
-
*/
|
|
89
|
-
/** @deprecated cloudflare.getWorkersSecret has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecret */
|
|
90
|
-
export declare function getWorkersSecretOutput(args: GetWorkersSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkersSecretResult>;
|
|
91
|
-
/**
|
|
92
|
-
* A collection of arguments for invoking getWorkersSecret.
|
|
93
|
-
*/
|
|
94
|
-
export interface GetWorkersSecretOutputArgs {
|
|
95
|
-
/**
|
|
96
|
-
* Identifier.
|
|
97
|
-
*/
|
|
98
|
-
accountId: pulumi.Input<string>;
|
|
99
|
-
/**
|
|
100
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
101
|
-
*/
|
|
102
|
-
dispatchNamespace: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* Name of the script, used in URLs and route configuration.
|
|
105
|
-
*/
|
|
106
|
-
scriptName: pulumi.Input<string>;
|
|
107
|
-
/**
|
|
108
|
-
* A JavaScript variable name for the secret binding.
|
|
109
|
-
*/
|
|
110
|
-
secretName?: pulumi.Input<string>;
|
|
111
|
-
}
|
package/getWorkersSecret.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
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.getWorkersSecretOutput = exports.getWorkersSecret = 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 exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
16
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
18
|
-
* scriptName: "this-is_my_script-01",
|
|
19
|
-
* secretName: "mySecret",
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
/** @deprecated cloudflare.getWorkersSecret has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecret */
|
|
24
|
-
function getWorkersSecret(args, opts) {
|
|
25
|
-
pulumi.log.warn("getWorkersSecret is deprecated: cloudflare.getWorkersSecret has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecret");
|
|
26
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
-
return pulumi.runtime.invoke("cloudflare:index/getWorkersSecret:getWorkersSecret", {
|
|
28
|
-
"accountId": args.accountId,
|
|
29
|
-
"dispatchNamespace": args.dispatchNamespace,
|
|
30
|
-
"scriptName": args.scriptName,
|
|
31
|
-
"secretName": args.secretName,
|
|
32
|
-
}, opts);
|
|
33
|
-
}
|
|
34
|
-
exports.getWorkersSecret = getWorkersSecret;
|
|
35
|
-
/**
|
|
36
|
-
* ## Example Usage
|
|
37
|
-
*
|
|
38
|
-
* ```typescript
|
|
39
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
41
|
-
*
|
|
42
|
-
* const exampleWorkersForPlatformsScriptSecret = cloudflare.getWorkersForPlatformsScriptSecret({
|
|
43
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
44
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
45
|
-
* scriptName: "this-is_my_script-01",
|
|
46
|
-
* secretName: "mySecret",
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
/** @deprecated cloudflare.getWorkersSecret has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecret */
|
|
51
|
-
function getWorkersSecretOutput(args, opts) {
|
|
52
|
-
pulumi.log.warn("getWorkersSecret is deprecated: cloudflare.getWorkersSecret has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecret");
|
|
53
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
-
return pulumi.runtime.invokeOutput("cloudflare:index/getWorkersSecret:getWorkersSecret", {
|
|
55
|
-
"accountId": args.accountId,
|
|
56
|
-
"dispatchNamespace": args.dispatchNamespace,
|
|
57
|
-
"scriptName": args.scriptName,
|
|
58
|
-
"secretName": args.secretName,
|
|
59
|
-
}, opts);
|
|
60
|
-
}
|
|
61
|
-
exports.getWorkersSecretOutput = getWorkersSecretOutput;
|
|
62
|
-
//# sourceMappingURL=getWorkersSecret.js.map
|
package/getWorkersSecret.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkersSecret.js","sourceRoot":"","sources":["../getWorkersSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,4HAA4H;AAC5H,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2IAA2I,CAAC,CAAA;IAC5J,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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AA0DD;;;;;;;;;;;;;;GAcG;AACH,4HAA4H;AAC5H,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2IAA2I,CAAC,CAAA;IAC5J,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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC"}
|