@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/workersSecret.d.ts
DELETED
|
@@ -1,137 +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 = new cloudflare.WorkersForPlatformsScriptSecret("example_workers_for_platforms_script_secret", {
|
|
10
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
11
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
12
|
-
* scriptName: "this-is_my_script-01",
|
|
13
|
-
* name: "MY_SECRET",
|
|
14
|
-
* text: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
|
|
15
|
-
* type: "secret_text",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* ## Import
|
|
20
|
-
*
|
|
21
|
-
* ```sh
|
|
22
|
-
* $ pulumi import cloudflare:index/workersSecret:WorkersSecret example '<account_id>/<dispatch_namespace>/<script_name>/<secret_name>'
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @deprecated cloudflare.index/workerssecret.WorkersSecret has been deprecated in favor of cloudflare.index/workersforplatformsscriptsecret.WorkersForPlatformsScriptSecret
|
|
26
|
-
*/
|
|
27
|
-
export declare class WorkersSecret extends pulumi.CustomResource {
|
|
28
|
-
/**
|
|
29
|
-
* Get an existing WorkersSecret resource's state with the given name, ID, and optional extra
|
|
30
|
-
* properties used to qualify the lookup.
|
|
31
|
-
*
|
|
32
|
-
* @param name The _unique_ name of the resulting resource.
|
|
33
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
-
* @param state Any extra arguments used during the lookup.
|
|
35
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
-
*/
|
|
37
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkersSecretState, opts?: pulumi.CustomResourceOptions): WorkersSecret;
|
|
38
|
-
/**
|
|
39
|
-
* Returns true if the given object is an instance of WorkersSecret. This is designed to work even
|
|
40
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
-
*/
|
|
42
|
-
static isInstance(obj: any): obj is WorkersSecret;
|
|
43
|
-
/**
|
|
44
|
-
* Identifier.
|
|
45
|
-
*/
|
|
46
|
-
readonly accountId: pulumi.Output<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
49
|
-
*/
|
|
50
|
-
readonly dispatchNamespace: pulumi.Output<string>;
|
|
51
|
-
/**
|
|
52
|
-
* The name of this secret, this is what will be used to access it inside the Worker.
|
|
53
|
-
*/
|
|
54
|
-
readonly name: pulumi.Output<string>;
|
|
55
|
-
/**
|
|
56
|
-
* Name of the script, used in URLs and route configuration.
|
|
57
|
-
*/
|
|
58
|
-
readonly scriptName: pulumi.Output<string>;
|
|
59
|
-
/**
|
|
60
|
-
* The value of the secret.
|
|
61
|
-
*/
|
|
62
|
-
readonly text: pulumi.Output<string | undefined>;
|
|
63
|
-
/**
|
|
64
|
-
* The type of secret to put.
|
|
65
|
-
* Available values: "secretText".
|
|
66
|
-
*/
|
|
67
|
-
readonly type: pulumi.Output<string | undefined>;
|
|
68
|
-
/**
|
|
69
|
-
* Create a WorkersSecret resource with the given unique name, arguments, and options.
|
|
70
|
-
*
|
|
71
|
-
* @param name The _unique_ name of the resource.
|
|
72
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
-
*/
|
|
75
|
-
/** @deprecated cloudflare.index/workerssecret.WorkersSecret has been deprecated in favor of cloudflare.index/workersforplatformsscriptsecret.WorkersForPlatformsScriptSecret */
|
|
76
|
-
constructor(name: string, args: WorkersSecretArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Input properties used for looking up and filtering WorkersSecret resources.
|
|
80
|
-
*/
|
|
81
|
-
export interface WorkersSecretState {
|
|
82
|
-
/**
|
|
83
|
-
* Identifier.
|
|
84
|
-
*/
|
|
85
|
-
accountId?: pulumi.Input<string>;
|
|
86
|
-
/**
|
|
87
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
88
|
-
*/
|
|
89
|
-
dispatchNamespace?: pulumi.Input<string>;
|
|
90
|
-
/**
|
|
91
|
-
* The name of this secret, this is what will be used to access it inside the Worker.
|
|
92
|
-
*/
|
|
93
|
-
name?: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* Name of the script, used in URLs and route configuration.
|
|
96
|
-
*/
|
|
97
|
-
scriptName?: pulumi.Input<string>;
|
|
98
|
-
/**
|
|
99
|
-
* The value of the secret.
|
|
100
|
-
*/
|
|
101
|
-
text?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* The type of secret to put.
|
|
104
|
-
* Available values: "secretText".
|
|
105
|
-
*/
|
|
106
|
-
type?: pulumi.Input<string>;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* The set of arguments for constructing a WorkersSecret resource.
|
|
110
|
-
*/
|
|
111
|
-
export interface WorkersSecretArgs {
|
|
112
|
-
/**
|
|
113
|
-
* Identifier.
|
|
114
|
-
*/
|
|
115
|
-
accountId: pulumi.Input<string>;
|
|
116
|
-
/**
|
|
117
|
-
* Name of the Workers for Platforms dispatch namespace.
|
|
118
|
-
*/
|
|
119
|
-
dispatchNamespace: pulumi.Input<string>;
|
|
120
|
-
/**
|
|
121
|
-
* The name of this secret, this is what will be used to access it inside the Worker.
|
|
122
|
-
*/
|
|
123
|
-
name: pulumi.Input<string>;
|
|
124
|
-
/**
|
|
125
|
-
* Name of the script, used in URLs and route configuration.
|
|
126
|
-
*/
|
|
127
|
-
scriptName: pulumi.Input<string>;
|
|
128
|
-
/**
|
|
129
|
-
* The value of the secret.
|
|
130
|
-
*/
|
|
131
|
-
text?: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* The type of secret to put.
|
|
134
|
-
* Available values: "secretText".
|
|
135
|
-
*/
|
|
136
|
-
type?: pulumi.Input<string>;
|
|
137
|
-
}
|
package/workersSecret.js
DELETED
|
@@ -1,103 +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.WorkersSecret = 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 = new cloudflare.WorkersForPlatformsScriptSecret("example_workers_for_platforms_script_secret", {
|
|
16
|
-
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
-
* dispatchNamespace: "my-dispatch-namespace",
|
|
18
|
-
* scriptName: "this-is_my_script-01",
|
|
19
|
-
* name: "MY_SECRET",
|
|
20
|
-
* text: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
|
|
21
|
-
* type: "secret_text",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ## Import
|
|
26
|
-
*
|
|
27
|
-
* ```sh
|
|
28
|
-
* $ pulumi import cloudflare:index/workersSecret:WorkersSecret example '<account_id>/<dispatch_namespace>/<script_name>/<secret_name>'
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @deprecated cloudflare.index/workerssecret.WorkersSecret has been deprecated in favor of cloudflare.index/workersforplatformsscriptsecret.WorkersForPlatformsScriptSecret
|
|
32
|
-
*/
|
|
33
|
-
class WorkersSecret extends pulumi.CustomResource {
|
|
34
|
-
/**
|
|
35
|
-
* Get an existing WorkersSecret resource's state with the given name, ID, and optional extra
|
|
36
|
-
* properties used to qualify the lookup.
|
|
37
|
-
*
|
|
38
|
-
* @param name The _unique_ name of the resulting resource.
|
|
39
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
-
* @param state Any extra arguments used during the lookup.
|
|
41
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
-
*/
|
|
43
|
-
static get(name, id, state, opts) {
|
|
44
|
-
pulumi.log.warn("WorkersSecret is deprecated: cloudflare.index/workerssecret.WorkersSecret has been deprecated in favor of cloudflare.index/workersforplatformsscriptsecret.WorkersForPlatformsScriptSecret");
|
|
45
|
-
return new WorkersSecret(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Returns true if the given object is an instance of WorkersSecret. This is designed to work even
|
|
49
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
-
*/
|
|
51
|
-
static isInstance(obj) {
|
|
52
|
-
if (obj === undefined || obj === null) {
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
return obj['__pulumiType'] === WorkersSecret.__pulumiType;
|
|
56
|
-
}
|
|
57
|
-
/** @deprecated cloudflare.index/workerssecret.WorkersSecret has been deprecated in favor of cloudflare.index/workersforplatformsscriptsecret.WorkersForPlatformsScriptSecret */
|
|
58
|
-
constructor(name, argsOrState, opts) {
|
|
59
|
-
pulumi.log.warn("WorkersSecret is deprecated: cloudflare.index/workerssecret.WorkersSecret has been deprecated in favor of cloudflare.index/workersforplatformsscriptsecret.WorkersForPlatformsScriptSecret");
|
|
60
|
-
let resourceInputs = {};
|
|
61
|
-
opts = opts || {};
|
|
62
|
-
if (opts.id) {
|
|
63
|
-
const state = argsOrState;
|
|
64
|
-
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
65
|
-
resourceInputs["dispatchNamespace"] = state ? state.dispatchNamespace : undefined;
|
|
66
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
67
|
-
resourceInputs["scriptName"] = state ? state.scriptName : undefined;
|
|
68
|
-
resourceInputs["text"] = state ? state.text : undefined;
|
|
69
|
-
resourceInputs["type"] = state ? state.type : undefined;
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
const args = argsOrState;
|
|
73
|
-
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
74
|
-
throw new Error("Missing required property 'accountId'");
|
|
75
|
-
}
|
|
76
|
-
if ((!args || args.dispatchNamespace === undefined) && !opts.urn) {
|
|
77
|
-
throw new Error("Missing required property 'dispatchNamespace'");
|
|
78
|
-
}
|
|
79
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
80
|
-
throw new Error("Missing required property 'name'");
|
|
81
|
-
}
|
|
82
|
-
if ((!args || args.scriptName === undefined) && !opts.urn) {
|
|
83
|
-
throw new Error("Missing required property 'scriptName'");
|
|
84
|
-
}
|
|
85
|
-
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
86
|
-
resourceInputs["dispatchNamespace"] = args ? args.dispatchNamespace : undefined;
|
|
87
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
88
|
-
resourceInputs["scriptName"] = args ? args.scriptName : undefined;
|
|
89
|
-
resourceInputs["text"] = (args === null || args === void 0 ? void 0 : args.text) ? pulumi.secret(args.text) : undefined;
|
|
90
|
-
resourceInputs["type"] = args ? args.type : undefined;
|
|
91
|
-
}
|
|
92
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
-
const aliasOpts = { aliases: [{ type: "cloudflare:index/workersSecret:WorkersSecret" }] };
|
|
94
|
-
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
95
|
-
const secretOpts = { additionalSecretOutputs: ["text"] };
|
|
96
|
-
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
97
|
-
super(WorkersSecret.__pulumiType, name, resourceInputs, opts);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.WorkersSecret = WorkersSecret;
|
|
101
|
-
/** @internal */
|
|
102
|
-
WorkersSecret.__pulumiType = 'cloudflare:index/workersSecret:WorkersSecret';
|
|
103
|
-
//# sourceMappingURL=workersSecret.js.map
|
package/workersSecret.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workersSecret.js","sourceRoot":"","sources":["../workersSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC3E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,8CAA8C,EAAE,CAAC,EAAE,CAAC;QAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;QACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxGL,sCAyGC;AA1FG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
package/zeroTrustDexTest.d.ts
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
-
*
|
|
11
|
-
* const exampleZeroTrustDexTest = new cloudflare.ZeroTrustDexTest("example_zero_trust_dex_test", {
|
|
12
|
-
* accountId: "699d98642c564d2e855e9661899b7252",
|
|
13
|
-
* data: {
|
|
14
|
-
* host: "https://dash.cloudflare.com",
|
|
15
|
-
* kind: "http",
|
|
16
|
-
* method: "GET",
|
|
17
|
-
* },
|
|
18
|
-
* enabled: true,
|
|
19
|
-
* interval: "30m",
|
|
20
|
-
* name: "HTTP dash health check",
|
|
21
|
-
* description: "Checks the dash endpoint every 30 minutes",
|
|
22
|
-
* targetPolicies: [{
|
|
23
|
-
* id: "id",
|
|
24
|
-
* "default": true,
|
|
25
|
-
* name: "name",
|
|
26
|
-
* }],
|
|
27
|
-
* targeted: true,
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* ## Import
|
|
32
|
-
*
|
|
33
|
-
* ```sh
|
|
34
|
-
* $ pulumi import cloudflare:index/zeroTrustDexTest:ZeroTrustDexTest example '<account_id>/<dex_test_id>'
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare class ZeroTrustDexTest extends pulumi.CustomResource {
|
|
38
|
-
/**
|
|
39
|
-
* Get an existing ZeroTrustDexTest resource's state with the given name, ID, and optional extra
|
|
40
|
-
* properties used to qualify the lookup.
|
|
41
|
-
*
|
|
42
|
-
* @param name The _unique_ name of the resulting resource.
|
|
43
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
-
* @param state Any extra arguments used during the lookup.
|
|
45
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
-
*/
|
|
47
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZeroTrustDexTestState, opts?: pulumi.CustomResourceOptions): ZeroTrustDexTest;
|
|
48
|
-
/**
|
|
49
|
-
* Returns true if the given object is an instance of ZeroTrustDexTest. This is designed to work even
|
|
50
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
-
*/
|
|
52
|
-
static isInstance(obj: any): obj is ZeroTrustDexTest;
|
|
53
|
-
readonly accountId: pulumi.Output<string>;
|
|
54
|
-
/**
|
|
55
|
-
* The configuration object which contains the details for the WARP client to conduct the test.
|
|
56
|
-
*/
|
|
57
|
-
readonly data: pulumi.Output<outputs.ZeroTrustDexTestData>;
|
|
58
|
-
/**
|
|
59
|
-
* Additional details about the test.
|
|
60
|
-
*/
|
|
61
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
62
|
-
/**
|
|
63
|
-
* Determines whether or not the test is active.
|
|
64
|
-
*/
|
|
65
|
-
readonly enabled: pulumi.Output<boolean>;
|
|
66
|
-
/**
|
|
67
|
-
* How often the test will run.
|
|
68
|
-
*/
|
|
69
|
-
readonly interval: pulumi.Output<string>;
|
|
70
|
-
/**
|
|
71
|
-
* The name of the DEX test. Must be unique.
|
|
72
|
-
*/
|
|
73
|
-
readonly name: pulumi.Output<string>;
|
|
74
|
-
/**
|
|
75
|
-
* Device settings profiles targeted by this test
|
|
76
|
-
*/
|
|
77
|
-
readonly targetPolicies: pulumi.Output<outputs.ZeroTrustDexTestTargetPolicy[]>;
|
|
78
|
-
readonly targeted: pulumi.Output<boolean | undefined>;
|
|
79
|
-
/**
|
|
80
|
-
* The unique identifier for the test.
|
|
81
|
-
*/
|
|
82
|
-
readonly testId: pulumi.Output<string>;
|
|
83
|
-
/**
|
|
84
|
-
* Create a ZeroTrustDexTest resource with the given unique name, arguments, and options.
|
|
85
|
-
*
|
|
86
|
-
* @param name The _unique_ name of the resource.
|
|
87
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
88
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
89
|
-
*/
|
|
90
|
-
constructor(name: string, args: ZeroTrustDexTestArgs, opts?: pulumi.CustomResourceOptions);
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Input properties used for looking up and filtering ZeroTrustDexTest resources.
|
|
94
|
-
*/
|
|
95
|
-
export interface ZeroTrustDexTestState {
|
|
96
|
-
accountId?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* The configuration object which contains the details for the WARP client to conduct the test.
|
|
99
|
-
*/
|
|
100
|
-
data?: pulumi.Input<inputs.ZeroTrustDexTestData>;
|
|
101
|
-
/**
|
|
102
|
-
* Additional details about the test.
|
|
103
|
-
*/
|
|
104
|
-
description?: pulumi.Input<string>;
|
|
105
|
-
/**
|
|
106
|
-
* Determines whether or not the test is active.
|
|
107
|
-
*/
|
|
108
|
-
enabled?: pulumi.Input<boolean>;
|
|
109
|
-
/**
|
|
110
|
-
* How often the test will run.
|
|
111
|
-
*/
|
|
112
|
-
interval?: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* The name of the DEX test. Must be unique.
|
|
115
|
-
*/
|
|
116
|
-
name?: pulumi.Input<string>;
|
|
117
|
-
/**
|
|
118
|
-
* Device settings profiles targeted by this test
|
|
119
|
-
*/
|
|
120
|
-
targetPolicies?: pulumi.Input<pulumi.Input<inputs.ZeroTrustDexTestTargetPolicy>[]>;
|
|
121
|
-
targeted?: pulumi.Input<boolean>;
|
|
122
|
-
/**
|
|
123
|
-
* The unique identifier for the test.
|
|
124
|
-
*/
|
|
125
|
-
testId?: pulumi.Input<string>;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* The set of arguments for constructing a ZeroTrustDexTest resource.
|
|
129
|
-
*/
|
|
130
|
-
export interface ZeroTrustDexTestArgs {
|
|
131
|
-
accountId: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* The configuration object which contains the details for the WARP client to conduct the test.
|
|
134
|
-
*/
|
|
135
|
-
data: pulumi.Input<inputs.ZeroTrustDexTestData>;
|
|
136
|
-
/**
|
|
137
|
-
* Additional details about the test.
|
|
138
|
-
*/
|
|
139
|
-
description?: pulumi.Input<string>;
|
|
140
|
-
/**
|
|
141
|
-
* Determines whether or not the test is active.
|
|
142
|
-
*/
|
|
143
|
-
enabled: pulumi.Input<boolean>;
|
|
144
|
-
/**
|
|
145
|
-
* How often the test will run.
|
|
146
|
-
*/
|
|
147
|
-
interval: pulumi.Input<string>;
|
|
148
|
-
/**
|
|
149
|
-
* The name of the DEX test. Must be unique.
|
|
150
|
-
*/
|
|
151
|
-
name: pulumi.Input<string>;
|
|
152
|
-
/**
|
|
153
|
-
* Device settings profiles targeted by this test
|
|
154
|
-
*/
|
|
155
|
-
targetPolicies?: pulumi.Input<pulumi.Input<inputs.ZeroTrustDexTestTargetPolicy>[]>;
|
|
156
|
-
targeted?: pulumi.Input<boolean>;
|
|
157
|
-
}
|
package/zeroTrustDexTest.js
DELETED
|
@@ -1,115 +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.ZeroTrustDexTest = 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 exampleZeroTrustDexTest = new cloudflare.ZeroTrustDexTest("example_zero_trust_dex_test", {
|
|
16
|
-
* accountId: "699d98642c564d2e855e9661899b7252",
|
|
17
|
-
* data: {
|
|
18
|
-
* host: "https://dash.cloudflare.com",
|
|
19
|
-
* kind: "http",
|
|
20
|
-
* method: "GET",
|
|
21
|
-
* },
|
|
22
|
-
* enabled: true,
|
|
23
|
-
* interval: "30m",
|
|
24
|
-
* name: "HTTP dash health check",
|
|
25
|
-
* description: "Checks the dash endpoint every 30 minutes",
|
|
26
|
-
* targetPolicies: [{
|
|
27
|
-
* id: "id",
|
|
28
|
-
* "default": true,
|
|
29
|
-
* name: "name",
|
|
30
|
-
* }],
|
|
31
|
-
* targeted: true,
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* ## Import
|
|
36
|
-
*
|
|
37
|
-
* ```sh
|
|
38
|
-
* $ pulumi import cloudflare:index/zeroTrustDexTest:ZeroTrustDexTest example '<account_id>/<dex_test_id>'
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
class ZeroTrustDexTest extends pulumi.CustomResource {
|
|
42
|
-
/**
|
|
43
|
-
* Get an existing ZeroTrustDexTest resource's state with the given name, ID, and optional extra
|
|
44
|
-
* properties used to qualify the lookup.
|
|
45
|
-
*
|
|
46
|
-
* @param name The _unique_ name of the resulting resource.
|
|
47
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
-
* @param state Any extra arguments used during the lookup.
|
|
49
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
-
*/
|
|
51
|
-
static get(name, id, state, opts) {
|
|
52
|
-
return new ZeroTrustDexTest(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Returns true if the given object is an instance of ZeroTrustDexTest. This is designed to work even
|
|
56
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
-
*/
|
|
58
|
-
static isInstance(obj) {
|
|
59
|
-
if (obj === undefined || obj === null) {
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
return obj['__pulumiType'] === ZeroTrustDexTest.__pulumiType;
|
|
63
|
-
}
|
|
64
|
-
constructor(name, argsOrState, opts) {
|
|
65
|
-
let resourceInputs = {};
|
|
66
|
-
opts = opts || {};
|
|
67
|
-
if (opts.id) {
|
|
68
|
-
const state = argsOrState;
|
|
69
|
-
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
70
|
-
resourceInputs["data"] = state ? state.data : undefined;
|
|
71
|
-
resourceInputs["description"] = state ? state.description : undefined;
|
|
72
|
-
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
73
|
-
resourceInputs["interval"] = state ? state.interval : undefined;
|
|
74
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
75
|
-
resourceInputs["targetPolicies"] = state ? state.targetPolicies : undefined;
|
|
76
|
-
resourceInputs["targeted"] = state ? state.targeted : undefined;
|
|
77
|
-
resourceInputs["testId"] = state ? state.testId : undefined;
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
const args = argsOrState;
|
|
81
|
-
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
82
|
-
throw new Error("Missing required property 'accountId'");
|
|
83
|
-
}
|
|
84
|
-
if ((!args || args.data === undefined) && !opts.urn) {
|
|
85
|
-
throw new Error("Missing required property 'data'");
|
|
86
|
-
}
|
|
87
|
-
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
88
|
-
throw new Error("Missing required property 'enabled'");
|
|
89
|
-
}
|
|
90
|
-
if ((!args || args.interval === undefined) && !opts.urn) {
|
|
91
|
-
throw new Error("Missing required property 'interval'");
|
|
92
|
-
}
|
|
93
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
94
|
-
throw new Error("Missing required property 'name'");
|
|
95
|
-
}
|
|
96
|
-
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
97
|
-
resourceInputs["data"] = args ? args.data : undefined;
|
|
98
|
-
resourceInputs["description"] = args ? args.description : undefined;
|
|
99
|
-
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
100
|
-
resourceInputs["interval"] = args ? args.interval : undefined;
|
|
101
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
102
|
-
resourceInputs["targetPolicies"] = args ? args.targetPolicies : undefined;
|
|
103
|
-
resourceInputs["targeted"] = args ? args.targeted : undefined;
|
|
104
|
-
resourceInputs["testId"] = undefined /*out*/;
|
|
105
|
-
}
|
|
106
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
-
const aliasOpts = { aliases: [{ type: "cloudflare:index/deviceDexTest:DeviceDexTest" }] };
|
|
108
|
-
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
109
|
-
super(ZeroTrustDexTest.__pulumiType, name, resourceInputs, opts);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
exports.ZeroTrustDexTest = ZeroTrustDexTest;
|
|
113
|
-
/** @internal */
|
|
114
|
-
ZeroTrustDexTest.__pulumiType = 'cloudflare:index/zeroTrustDexTest:ZeroTrustDexTest';
|
|
115
|
-
//# sourceMappingURL=zeroTrustDexTest.js.map
|
package/zeroTrustDexTest.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zeroTrustDexTest.js","sourceRoot":"","sources":["../zeroTrustDexTest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAyCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,E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