@pulumi/cloudflare 6.3.1 → 6.4.0-alpha.1752588923
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessApplication.d.ts +3 -0
- package/accessApplication.js.map +1 -1
- package/accessPolicy.d.ts +1 -4
- package/accessPolicy.js +1 -4
- package/accessPolicy.js.map +1 -1
- package/accountMember.d.ts +1 -1
- package/accountMember.js +1 -1
- package/accountSubscription.d.ts +6 -12
- package/accountSubscription.js +6 -2
- package/accountSubscription.js.map +1 -1
- package/cloudforceOneRequestMessage.d.ts +1 -1
- package/cloudforceOneRequestMessage.js +1 -1
- package/contentScanningExpression.d.ts +0 -8
- package/contentScanningExpression.js +0 -2
- package/contentScanningExpression.js.map +1 -1
- package/devicePostureRule.d.ts +1 -1
- package/dlpCustomProfile.d.ts +4 -7
- package/dlpCustomProfile.js +6 -2
- package/dlpCustomProfile.js.map +1 -1
- package/dlpPredefinedProfile.d.ts +15 -6
- package/dlpPredefinedProfile.js +4 -7
- package/dlpPredefinedProfile.js.map +1 -1
- package/dnsRecord.d.ts +4 -4
- package/getAccount.d.ts +2 -2
- package/getAccount.js +2 -2
- package/getAccountApiTokenPermissionGroups.d.ts +2 -2
- package/getAccountApiTokenPermissionGroups.js +2 -2
- package/getAccountApiTokenPermissionGroupsList.d.ts +2 -2
- package/getAccountApiTokenPermissionGroupsList.js +2 -2
- package/getAccountMember.d.ts +2 -2
- package/getAccountMember.js +2 -2
- package/getAccountMembers.d.ts +2 -2
- package/getAccountMembers.js +2 -2
- package/getAccountPermissionGroup.d.ts +6 -6
- package/getAccountPermissionGroup.js +4 -4
- package/getAccountPermissionGroups.d.ts +2 -2
- package/getAccountPermissionGroups.js +2 -2
- package/getAccountRole.d.ts +2 -2
- package/getAccountRole.js +2 -2
- package/getAccountRoles.d.ts +2 -2
- package/getAccountRoles.js +2 -2
- package/getAccountToken.d.ts +2 -2
- package/getAccountToken.js +2 -2
- package/getAccountTokens.d.ts +2 -2
- package/getAccountTokens.js +2 -2
- package/getDnsRecord.d.ts +1 -1
- package/getMagicTransitConnector.d.ts +9 -0
- package/getMagicTransitConnector.js.map +1 -1
- package/getMagicTransitConnectors.d.ts +9 -0
- package/getMagicTransitConnectors.js.map +1 -1
- package/getR2BucketEventNotification.d.ts +4 -19
- package/getR2BucketEventNotification.js.map +1 -1
- package/getResourceGroup.d.ts +5 -5
- package/getResourceGroup.js +4 -4
- package/getResourceGroups.d.ts +4 -4
- package/getResourceGroups.js +4 -4
- package/getSchemaValidationOperationSettings.d.ts +55 -0
- package/getSchemaValidationOperationSettings.js +50 -0
- package/getSchemaValidationOperationSettings.js.map +1 -0
- package/getSchemaValidationOperationSettingsList.d.ts +54 -0
- package/getSchemaValidationOperationSettingsList.js +48 -0
- package/getSchemaValidationOperationSettingsList.js.map +1 -0
- package/getSchemaValidationSchemas.d.ts +109 -0
- package/getSchemaValidationSchemas.js +56 -0
- package/getSchemaValidationSchemas.js.map +1 -0
- package/getSchemaValidationSchemasList.d.ts +101 -0
- package/getSchemaValidationSchemasList.js +54 -0
- package/getSchemaValidationSchemasList.js.map +1 -0
- package/getSchemaValidationSettings.d.ts +63 -0
- package/getSchemaValidationSettings.js +46 -0
- package/getSchemaValidationSettings.js.map +1 -0
- package/getUser.d.ts +51 -1
- package/getUser.js.map +1 -1
- package/getZeroTrustAccessApplication.d.ts +1 -0
- package/getZeroTrustAccessApplication.js.map +1 -1
- package/getZeroTrustDeviceSettings.d.ts +69 -0
- package/getZeroTrustDeviceSettings.js +46 -0
- package/getZeroTrustDeviceSettings.js.map +1 -0
- package/getZeroTrustDlpEntry.d.ts +1 -1
- package/getZeroTrustGatewayPolicy.d.ts +1 -0
- package/getZeroTrustGatewayPolicy.js.map +1 -1
- package/getZeroTrustTunnelCloudflared.d.ts +2 -0
- package/getZeroTrustTunnelCloudflared.js.map +1 -1
- package/getZoneSubscription.d.ts +37 -6
- package/getZoneSubscription.js +4 -4
- package/getZoneSubscription.js.map +1 -1
- package/index.d.ts +30 -0
- package/index.js +47 -9
- package/index.js.map +1 -1
- package/magicTransitConnector.d.ts +9 -0
- package/magicTransitConnector.js.map +1 -1
- package/package.json +2 -2
- package/r2bucketEventNotification.d.ts +6 -6
- package/r2bucketEventNotification.js +5 -2
- package/r2bucketEventNotification.js.map +1 -1
- package/record.d.ts +4 -4
- package/schemaValidationOperationSettings.d.ts +95 -0
- package/schemaValidationOperationSettings.js +76 -0
- package/schemaValidationOperationSettings.js.map +1 -0
- package/schemaValidationSchemas.d.ts +131 -0
- package/schemaValidationSchemas.js +98 -0
- package/schemaValidationSchemas.js.map +1 -0
- package/schemaValidationSettings.d.ts +95 -0
- package/schemaValidationSettings.js +73 -0
- package/schemaValidationSettings.js.map +1 -0
- package/teamsRule.d.ts +8 -0
- package/teamsRule.js +2 -0
- package/teamsRule.js.map +1 -1
- package/tunnel.d.ts +4 -0
- package/tunnel.js.map +1 -1
- package/tunnelVirtualNetwork.d.ts +8 -1
- package/tunnelVirtualNetwork.js +1 -0
- package/tunnelVirtualNetwork.js.map +1 -1
- package/types/input.d.ts +125 -213
- package/types/output.d.ts +374 -379
- package/user.d.ts +60 -0
- package/user.js +16 -0
- package/user.js.map +1 -1
- package/userAgentBlockingRule.d.ts +2 -11
- package/userAgentBlockingRule.js +2 -2
- package/userAgentBlockingRule.js.map +1 -1
- package/waitingRoomRules.d.ts +0 -44
- package/waitingRoomRules.js +0 -12
- package/waitingRoomRules.js.map +1 -1
- package/zeroTrustAccessApplication.d.ts +3 -0
- package/zeroTrustAccessApplication.js.map +1 -1
- package/zeroTrustAccessPolicy.d.ts +1 -4
- package/zeroTrustAccessPolicy.js +1 -4
- package/zeroTrustAccessPolicy.js.map +1 -1
- package/zeroTrustDeviceCustomProfile.d.ts +12 -12
- package/zeroTrustDeviceCustomProfileLocalDomainFallback.d.ts +0 -24
- package/zeroTrustDeviceCustomProfileLocalDomainFallback.js +0 -6
- package/zeroTrustDeviceCustomProfileLocalDomainFallback.js.map +1 -1
- package/zeroTrustDeviceDefaultProfile.d.ts +12 -12
- package/zeroTrustDeviceDefaultProfileLocalDomainFallback.d.ts +6 -24
- package/zeroTrustDeviceDefaultProfileLocalDomainFallback.js +6 -6
- package/zeroTrustDeviceDefaultProfileLocalDomainFallback.js.map +1 -1
- package/zeroTrustDevicePostureRule.d.ts +1 -1
- package/zeroTrustDeviceSettings.d.ts +116 -0
- package/zeroTrustDeviceSettings.js +79 -0
- package/zeroTrustDeviceSettings.js.map +1 -0
- package/zeroTrustDlpCustomProfile.d.ts +4 -7
- package/zeroTrustDlpCustomProfile.js +6 -2
- package/zeroTrustDlpCustomProfile.js.map +1 -1
- package/zeroTrustDlpPredefinedProfile.d.ts +15 -6
- package/zeroTrustDlpPredefinedProfile.js +4 -7
- package/zeroTrustDlpPredefinedProfile.js.map +1 -1
- package/zeroTrustGatewayPolicy.d.ts +8 -0
- package/zeroTrustGatewayPolicy.js +2 -0
- package/zeroTrustGatewayPolicy.js.map +1 -1
- package/zeroTrustLocalFallbackDomain.d.ts +0 -24
- package/zeroTrustLocalFallbackDomain.js +0 -6
- package/zeroTrustLocalFallbackDomain.js.map +1 -1
- package/zeroTrustTunnelCloudflared.d.ts +4 -0
- package/zeroTrustTunnelCloudflared.js.map +1 -1
- package/zeroTrustTunnelCloudflaredVirtualNetwork.d.ts +8 -1
- package/zeroTrustTunnelCloudflaredVirtualNetwork.js +1 -0
- package/zeroTrustTunnelCloudflaredVirtualNetwork.js.map +1 -1
- package/zone.d.ts +28 -22
- package/zone.js +1 -1
- package/zone.js.map +1 -1
- package/zoneLockdown.d.ts +27 -4
- package/zoneLockdown.js +7 -2
- package/zoneLockdown.js.map +1 -1
- package/zoneSetting.d.ts +3 -1
- package/zoneSetting.js +3 -1
- package/zoneSetting.js.map +1 -1
- package/zoneSubscription.d.ts +56 -8
- package/zoneSubscription.js +20 -4
- package/zoneSubscription.js.map +1 -1
|
@@ -41,6 +41,9 @@ export declare class MagicTransitConnector extends pulumi.CustomResource {
|
|
|
41
41
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
42
|
*/
|
|
43
43
|
static isInstance(obj: any): obj is MagicTransitConnector;
|
|
44
|
+
/**
|
|
45
|
+
* Account identifier
|
|
46
|
+
*/
|
|
44
47
|
readonly accountId: pulumi.Output<string>;
|
|
45
48
|
readonly activated: pulumi.Output<boolean | undefined>;
|
|
46
49
|
readonly connectorId: pulumi.Output<string>;
|
|
@@ -65,6 +68,9 @@ export declare class MagicTransitConnector extends pulumi.CustomResource {
|
|
|
65
68
|
* Input properties used for looking up and filtering MagicTransitConnector resources.
|
|
66
69
|
*/
|
|
67
70
|
export interface MagicTransitConnectorState {
|
|
71
|
+
/**
|
|
72
|
+
* Account identifier
|
|
73
|
+
*/
|
|
68
74
|
accountId?: pulumi.Input<string>;
|
|
69
75
|
activated?: pulumi.Input<boolean>;
|
|
70
76
|
connectorId?: pulumi.Input<string>;
|
|
@@ -81,6 +87,9 @@ export interface MagicTransitConnectorState {
|
|
|
81
87
|
* The set of arguments for constructing a MagicTransitConnector resource.
|
|
82
88
|
*/
|
|
83
89
|
export interface MagicTransitConnectorArgs {
|
|
90
|
+
/**
|
|
91
|
+
* Account identifier
|
|
92
|
+
*/
|
|
84
93
|
accountId: pulumi.Input<string>;
|
|
85
94
|
activated?: pulumi.Input<boolean>;
|
|
86
95
|
connectorId: pulumi.Input<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magicTransitConnector.js","sourceRoot":"","sources":["../magicTransitConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB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AS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAzFL,sDA0FC;AA5EG,gBAAgB;AACO,kCAAY,GAAG,8DAA8D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudflare",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0-alpha.1752588923",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Cloudflare cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "cloudflare",
|
|
26
|
-
"version": "6.
|
|
26
|
+
"version": "6.4.0-alpha.1752588923"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -55,11 +55,11 @@ export declare class R2BucketEventNotification extends pulumi.CustomResource {
|
|
|
55
55
|
/**
|
|
56
56
|
* Queue ID.
|
|
57
57
|
*/
|
|
58
|
-
readonly queueId: pulumi.Output<string
|
|
58
|
+
readonly queueId: pulumi.Output<string>;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Name of the queue.
|
|
61
61
|
*/
|
|
62
|
-
readonly
|
|
62
|
+
readonly queueName: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
64
64
|
* Array of rules to drive notifications.
|
|
65
65
|
*/
|
|
@@ -94,9 +94,9 @@ export interface R2BucketEventNotificationState {
|
|
|
94
94
|
*/
|
|
95
95
|
queueId?: pulumi.Input<string>;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Name of the queue.
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
queueName?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
101
|
* Array of rules to drive notifications.
|
|
102
102
|
*/
|
|
@@ -121,7 +121,7 @@ export interface R2BucketEventNotificationArgs {
|
|
|
121
121
|
/**
|
|
122
122
|
* Queue ID.
|
|
123
123
|
*/
|
|
124
|
-
queueId
|
|
124
|
+
queueId: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
126
126
|
* Array of rules to drive notifications.
|
|
127
127
|
*/
|
|
@@ -60,7 +60,7 @@ class R2BucketEventNotification extends pulumi.CustomResource {
|
|
|
60
60
|
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
61
61
|
resourceInputs["jurisdiction"] = state ? state.jurisdiction : undefined;
|
|
62
62
|
resourceInputs["queueId"] = state ? state.queueId : undefined;
|
|
63
|
-
resourceInputs["
|
|
63
|
+
resourceInputs["queueName"] = state ? state.queueName : undefined;
|
|
64
64
|
resourceInputs["rules"] = state ? state.rules : undefined;
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
@@ -71,12 +71,15 @@ class R2BucketEventNotification extends pulumi.CustomResource {
|
|
|
71
71
|
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
72
72
|
throw new Error("Missing required property 'bucketName'");
|
|
73
73
|
}
|
|
74
|
+
if ((!args || args.queueId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'queueId'");
|
|
76
|
+
}
|
|
74
77
|
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
75
78
|
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
76
79
|
resourceInputs["jurisdiction"] = args ? args.jurisdiction : undefined;
|
|
77
80
|
resourceInputs["queueId"] = args ? args.queueId : undefined;
|
|
78
81
|
resourceInputs["rules"] = args ? args.rules : undefined;
|
|
79
|
-
resourceInputs["
|
|
82
|
+
resourceInputs["queueName"] = undefined /*out*/;
|
|
80
83
|
}
|
|
81
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
85
|
super(R2BucketEventNotification.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"r2bucketEventNotification.js","sourceRoot":"","sources":["../r2bucketEventNotification.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC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AAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA5FL,8DA6FC;AA/EG,gBAAgB;AACO,sCAAY,GAAG,sEAAsE,CAAC"}
|
package/record.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class Record extends pulumi.CustomResource {
|
|
|
31
31
|
/**
|
|
32
32
|
* Comments or notes about the DNS record. This field has no effect on DNS responses.
|
|
33
33
|
*/
|
|
34
|
-
readonly comment: pulumi.Output<string>;
|
|
34
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
35
35
|
/**
|
|
36
36
|
* When the record comment was last modified. Omitted if there is no comment.
|
|
37
37
|
*/
|
|
@@ -90,7 +90,7 @@ export declare class Record extends pulumi.CustomResource {
|
|
|
90
90
|
readonly ttl: pulumi.Output<number>;
|
|
91
91
|
/**
|
|
92
92
|
* Record type.
|
|
93
|
-
* Available values: "A", "AAAA", "
|
|
93
|
+
* Available values: "A", "AAAA", "CNAME", "MX", "NS", "OPENPGPKEY", "PTR", "TXT", "CAA", "CERT", "DNSKEY", "DS", "HTTPS", "LOC", "NAPTR", "SMIMEA", "SRV", "SSHFP", "SVCB", "TLSA", "URI".
|
|
94
94
|
*/
|
|
95
95
|
readonly type: pulumi.Output<string>;
|
|
96
96
|
/**
|
|
@@ -173,7 +173,7 @@ export interface RecordState {
|
|
|
173
173
|
ttl?: pulumi.Input<number>;
|
|
174
174
|
/**
|
|
175
175
|
* Record type.
|
|
176
|
-
* Available values: "A", "AAAA", "
|
|
176
|
+
* Available values: "A", "AAAA", "CNAME", "MX", "NS", "OPENPGPKEY", "PTR", "TXT", "CAA", "CERT", "DNSKEY", "DS", "HTTPS", "LOC", "NAPTR", "SMIMEA", "SRV", "SSHFP", "SVCB", "TLSA", "URI".
|
|
177
177
|
*/
|
|
178
178
|
type?: pulumi.Input<string>;
|
|
179
179
|
/**
|
|
@@ -223,7 +223,7 @@ export interface RecordArgs {
|
|
|
223
223
|
ttl: pulumi.Input<number>;
|
|
224
224
|
/**
|
|
225
225
|
* Record type.
|
|
226
|
-
* Available values: "A", "AAAA", "
|
|
226
|
+
* Available values: "A", "AAAA", "CNAME", "MX", "NS", "OPENPGPKEY", "PTR", "TXT", "CAA", "CERT", "DNSKEY", "DS", "HTTPS", "LOC", "NAPTR", "SMIMEA", "SRV", "SSHFP", "SVCB", "TLSA", "URI".
|
|
227
227
|
*/
|
|
228
228
|
type: pulumi.Input<string>;
|
|
229
229
|
/**
|
|
@@ -0,0 +1,95 @@
|
|
|
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 exampleSchemaValidationOperationSettings = new cloudflare.SchemaValidationOperationSettings("example_schema_validation_operation_settings", {
|
|
10
|
+
* zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
11
|
+
* operationId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
|
|
12
|
+
* mitigationAction: "block",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare class SchemaValidationOperationSettings extends pulumi.CustomResource {
|
|
17
|
+
/**
|
|
18
|
+
* Get an existing SchemaValidationOperationSettings resource's state with the given name, ID, and optional extra
|
|
19
|
+
* properties used to qualify the lookup.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resulting resource.
|
|
22
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
23
|
+
* @param state Any extra arguments used during the lookup.
|
|
24
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
25
|
+
*/
|
|
26
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchemaValidationOperationSettingsState, opts?: pulumi.CustomResourceOptions): SchemaValidationOperationSettings;
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if the given object is an instance of SchemaValidationOperationSettings. This is designed to work even
|
|
29
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
|
+
*/
|
|
31
|
+
static isInstance(obj: any): obj is SchemaValidationOperationSettings;
|
|
32
|
+
/**
|
|
33
|
+
* When set, this applies a mitigation action to this operation - `"log"` - log request when request does not conform to
|
|
34
|
+
* schema for this operation - `"block"` - deny access to the site when request does not conform to schema for this
|
|
35
|
+
* operation - `"none"` - will skip mitigation for this operation - `null` - clears any mitigation action Available values:
|
|
36
|
+
* "log", "block", "none".
|
|
37
|
+
*/
|
|
38
|
+
readonly mitigationAction: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* UUID.
|
|
41
|
+
*/
|
|
42
|
+
readonly operationId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Identifier.
|
|
45
|
+
*/
|
|
46
|
+
readonly zoneId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a SchemaValidationOperationSettings resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name: string, args: SchemaValidationOperationSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Input properties used for looking up and filtering SchemaValidationOperationSettings resources.
|
|
58
|
+
*/
|
|
59
|
+
export interface SchemaValidationOperationSettingsState {
|
|
60
|
+
/**
|
|
61
|
+
* When set, this applies a mitigation action to this operation - `"log"` - log request when request does not conform to
|
|
62
|
+
* schema for this operation - `"block"` - deny access to the site when request does not conform to schema for this
|
|
63
|
+
* operation - `"none"` - will skip mitigation for this operation - `null` - clears any mitigation action Available values:
|
|
64
|
+
* "log", "block", "none".
|
|
65
|
+
*/
|
|
66
|
+
mitigationAction?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* UUID.
|
|
69
|
+
*/
|
|
70
|
+
operationId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Identifier.
|
|
73
|
+
*/
|
|
74
|
+
zoneId?: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a SchemaValidationOperationSettings resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface SchemaValidationOperationSettingsArgs {
|
|
80
|
+
/**
|
|
81
|
+
* When set, this applies a mitigation action to this operation - `"log"` - log request when request does not conform to
|
|
82
|
+
* schema for this operation - `"block"` - deny access to the site when request does not conform to schema for this
|
|
83
|
+
* operation - `"none"` - will skip mitigation for this operation - `null` - clears any mitigation action Available values:
|
|
84
|
+
* "log", "block", "none".
|
|
85
|
+
*/
|
|
86
|
+
mitigationAction: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* UUID.
|
|
89
|
+
*/
|
|
90
|
+
operationId: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Identifier.
|
|
93
|
+
*/
|
|
94
|
+
zoneId: pulumi.Input<string>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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.SchemaValidationOperationSettings = 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 exampleSchemaValidationOperationSettings = new cloudflare.SchemaValidationOperationSettings("example_schema_validation_operation_settings", {
|
|
16
|
+
* zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* operationId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
|
|
18
|
+
* mitigationAction: "block",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
class SchemaValidationOperationSettings extends pulumi.CustomResource {
|
|
23
|
+
/**
|
|
24
|
+
* Get an existing SchemaValidationOperationSettings resource's state with the given name, ID, and optional extra
|
|
25
|
+
* properties used to qualify the lookup.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resulting resource.
|
|
28
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
29
|
+
* @param state Any extra arguments used during the lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
static get(name, id, state, opts) {
|
|
33
|
+
return new SchemaValidationOperationSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of SchemaValidationOperationSettings. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj) {
|
|
40
|
+
if (obj === undefined || obj === null) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return obj['__pulumiType'] === SchemaValidationOperationSettings.__pulumiType;
|
|
44
|
+
}
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
resourceInputs["mitigationAction"] = state ? state.mitigationAction : undefined;
|
|
51
|
+
resourceInputs["operationId"] = state ? state.operationId : undefined;
|
|
52
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.mitigationAction === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'mitigationAction'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.operationId === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'operationId'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'zoneId'");
|
|
64
|
+
}
|
|
65
|
+
resourceInputs["mitigationAction"] = args ? args.mitigationAction : undefined;
|
|
66
|
+
resourceInputs["operationId"] = args ? args.operationId : undefined;
|
|
67
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(SchemaValidationOperationSettings.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.SchemaValidationOperationSettings = SchemaValidationOperationSettings;
|
|
74
|
+
/** @internal */
|
|
75
|
+
SchemaValidationOperationSettings.__pulumiType = 'cloudflare:index/schemaValidationOperationSettings:SchemaValidationOperationSettings';
|
|
76
|
+
//# sourceMappingURL=schemaValidationOperationSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemaValidationOperationSettings.js","sourceRoot":"","sources":["../schemaValidationOperationSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxF,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,iCAAiC,CAAC,YAAY,CAAC;IAClF,CAAC;IA0BD,YAAY,IAAY,EAAE,WAA4F,EAAE,IAAmC;QACvJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiE,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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AC;;AA7EL,8EA8EC;AAhEG,gBAAgB;AACO,8CAAY,GAAG,sFAAsF,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 exampleSchemaValidationSchemas = new cloudflare.SchemaValidationSchemas("example_schema_validation_schemas", {
|
|
10
|
+
* zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
11
|
+
* kind: "openapi_v3",
|
|
12
|
+
* name: "petstore schema",
|
|
13
|
+
* source: "<schema file contents>",
|
|
14
|
+
* validationEnabled: true,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import cloudflare:index/schemaValidationSchemas:SchemaValidationSchemas example '<zone_id>/<schema_id>'
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class SchemaValidationSchemas extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing SchemaValidationSchemas resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchemaValidationSchemasState, opts?: pulumi.CustomResourceOptions): SchemaValidationSchemas;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of SchemaValidationSchemas. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is SchemaValidationSchemas;
|
|
40
|
+
readonly createdAt: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The kind of the schema
|
|
43
|
+
* Available values: "openapiV3".
|
|
44
|
+
*/
|
|
45
|
+
readonly kind: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* A human-readable name for the schema
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* A unique identifier of this schema
|
|
52
|
+
*/
|
|
53
|
+
readonly schemaId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
|
|
56
|
+
*/
|
|
57
|
+
readonly source: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* An indicator if this schema is enabled
|
|
60
|
+
*/
|
|
61
|
+
readonly validationEnabled: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* Identifier.
|
|
64
|
+
*/
|
|
65
|
+
readonly zoneId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a SchemaValidationSchemas resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: SchemaValidationSchemasArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering SchemaValidationSchemas resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface SchemaValidationSchemasState {
|
|
79
|
+
createdAt?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The kind of the schema
|
|
82
|
+
* Available values: "openapiV3".
|
|
83
|
+
*/
|
|
84
|
+
kind?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* A human-readable name for the schema
|
|
87
|
+
*/
|
|
88
|
+
name?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* A unique identifier of this schema
|
|
91
|
+
*/
|
|
92
|
+
schemaId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
|
|
95
|
+
*/
|
|
96
|
+
source?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* An indicator if this schema is enabled
|
|
99
|
+
*/
|
|
100
|
+
validationEnabled?: pulumi.Input<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier.
|
|
103
|
+
*/
|
|
104
|
+
zoneId?: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a SchemaValidationSchemas resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface SchemaValidationSchemasArgs {
|
|
110
|
+
/**
|
|
111
|
+
* The kind of the schema
|
|
112
|
+
* Available values: "openapiV3".
|
|
113
|
+
*/
|
|
114
|
+
kind: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* A human-readable name for the schema
|
|
117
|
+
*/
|
|
118
|
+
name: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
|
|
121
|
+
*/
|
|
122
|
+
source: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* An indicator if this schema is enabled
|
|
125
|
+
*/
|
|
126
|
+
validationEnabled: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Identifier.
|
|
129
|
+
*/
|
|
130
|
+
zoneId: pulumi.Input<string>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.SchemaValidationSchemas = 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 exampleSchemaValidationSchemas = new cloudflare.SchemaValidationSchemas("example_schema_validation_schemas", {
|
|
16
|
+
* zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* kind: "openapi_v3",
|
|
18
|
+
* name: "petstore schema",
|
|
19
|
+
* source: "<schema file contents>",
|
|
20
|
+
* validationEnabled: true,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import cloudflare:index/schemaValidationSchemas:SchemaValidationSchemas example '<zone_id>/<schema_id>'
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class SchemaValidationSchemas extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing SchemaValidationSchemas resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name, id, state, opts) {
|
|
41
|
+
return new SchemaValidationSchemas(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of SchemaValidationSchemas. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === SchemaValidationSchemas.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
59
|
+
resourceInputs["kind"] = state ? state.kind : undefined;
|
|
60
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
61
|
+
resourceInputs["schemaId"] = state ? state.schemaId : undefined;
|
|
62
|
+
resourceInputs["source"] = state ? state.source : undefined;
|
|
63
|
+
resourceInputs["validationEnabled"] = state ? state.validationEnabled : undefined;
|
|
64
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.kind === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'kind'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'name'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.source === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'source'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.validationEnabled === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'validationEnabled'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'zoneId'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["kind"] = args ? args.kind : undefined;
|
|
84
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
85
|
+
resourceInputs["source"] = args ? args.source : undefined;
|
|
86
|
+
resourceInputs["validationEnabled"] = args ? args.validationEnabled : undefined;
|
|
87
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
88
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["schemaId"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(SchemaValidationSchemas.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.SchemaValidationSchemas = SchemaValidationSchemas;
|
|
96
|
+
/** @internal */
|
|
97
|
+
SchemaValidationSchemas.__pulumiType = 'cloudflare:index/schemaValidationSchemas:SchemaValidationSchemas';
|
|
98
|
+
//# sourceMappingURL=schemaValidationSchemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemaValidationSchemas.js","sourceRoot":"","sources":["../schemaValidationSchemas.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI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