pulumi-bunnynet 0.6.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/getPullzoneAccessLists.d.mts +36 -0
- package/bin/getPullzoneAccessLists.mjs +31 -0
- package/bin/index.d.mts +16 -1
- package/bin/index.mjs +30 -1
- package/bin/package.json +5 -5
- package/bin/package.mjs +5 -5
- package/bin/pullzoneAccessList.d.mts +122 -0
- package/bin/pullzoneAccessList.mjs +99 -0
- package/bin/pullzoneEdgerule.d.mts +33 -15
- package/bin/pullzoneEdgerule.mjs +13 -5
- package/bin/pullzoneRatelimitRule.d.mts +115 -0
- package/bin/pullzoneRatelimitRule.mjs +93 -0
- package/bin/pullzoneShield.d.mts +127 -0
- package/bin/pullzoneShield.mjs +99 -0
- package/bin/pullzoneWafRule.d.mts +112 -0
- package/bin/pullzoneWafRule.mjs +90 -0
- package/bin/storageZone.d.mts +1 -1
- package/bin/types/input.d.mts +168 -2
- package/bin/types/output.d.mts +173 -2
- package/bin/utilities.mjs +2 -2
- package/package.json +5 -5
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { GetPullzoneAccessListsData } from "./types/output.mjs";
|
|
2
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
3
|
+
|
|
4
|
+
//#region getPullzoneAccessLists.d.ts
|
|
5
|
+
declare function getPullzoneAccessLists(args: GetPullzoneAccessListsArgs, opts?: pulumi.InvokeOptions): Promise<GetPullzoneAccessListsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getPullzoneAccessLists.
|
|
8
|
+
*/
|
|
9
|
+
interface GetPullzoneAccessListsArgs {
|
|
10
|
+
custom: boolean;
|
|
11
|
+
pullzone: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getPullzoneAccessLists.
|
|
15
|
+
*/
|
|
16
|
+
interface GetPullzoneAccessListsResult {
|
|
17
|
+
readonly custom: boolean;
|
|
18
|
+
readonly data: {
|
|
19
|
+
[key: string]: GetPullzoneAccessListsData;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The provider-assigned unique ID for this managed resource.
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly pullzone: number;
|
|
26
|
+
}
|
|
27
|
+
declare function getPullzoneAccessListsOutput(args: GetPullzoneAccessListsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPullzoneAccessListsResult>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of arguments for invoking getPullzoneAccessLists.
|
|
30
|
+
*/
|
|
31
|
+
interface GetPullzoneAccessListsOutputArgs {
|
|
32
|
+
custom: pulumi.Input<boolean>;
|
|
33
|
+
pullzone: pulumi.Input<number>;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { GetPullzoneAccessListsArgs, GetPullzoneAccessListsOutputArgs, GetPullzoneAccessListsResult, getPullzoneAccessLists, getPullzoneAccessListsOutput };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { __esm, __export } from "./_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { getPackage, init_utilities, resourceOptsDefaults } from "./utilities.mjs";
|
|
3
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
4
|
+
|
|
5
|
+
//#region getPullzoneAccessLists.ts
|
|
6
|
+
var getPullzoneAccessLists_exports = {};
|
|
7
|
+
__export(getPullzoneAccessLists_exports, {
|
|
8
|
+
getPullzoneAccessLists: () => getPullzoneAccessLists,
|
|
9
|
+
getPullzoneAccessListsOutput: () => getPullzoneAccessListsOutput
|
|
10
|
+
});
|
|
11
|
+
function getPullzoneAccessLists(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bunnynet:index/getPullzoneAccessLists:getPullzoneAccessLists", {
|
|
14
|
+
"custom": args.custom,
|
|
15
|
+
"pullzone": args.pullzone
|
|
16
|
+
}, opts, getPackage());
|
|
17
|
+
}
|
|
18
|
+
function getPullzoneAccessListsOutput(args, opts) {
|
|
19
|
+
opts = pulumi.mergeOptions(resourceOptsDefaults(), opts || {});
|
|
20
|
+
return pulumi.runtime.invokeOutput("bunnynet:index/getPullzoneAccessLists:getPullzoneAccessLists", {
|
|
21
|
+
"custom": args.custom,
|
|
22
|
+
"pullzone": args.pullzone
|
|
23
|
+
}, opts, getPackage());
|
|
24
|
+
}
|
|
25
|
+
var init_getPullzoneAccessLists = __esm({ "getPullzoneAccessLists.ts": (() => {
|
|
26
|
+
init_utilities();
|
|
27
|
+
}) });
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
init_getPullzoneAccessLists();
|
|
31
|
+
export { getPullzoneAccessLists_exports, init_getPullzoneAccessLists };
|
package/bin/index.d.mts
CHANGED
|
@@ -10,13 +10,18 @@ import { GetComputeContainerAppContainerEndpointArgs, GetComputeContainerAppCont
|
|
|
10
10
|
import { GetComputeContainerImageregistryArgs, GetComputeContainerImageregistryOutputArgs, GetComputeContainerImageregistryResult, getComputeContainerImageregistry, getComputeContainerImageregistryOutput } from "./getComputeContainerImageregistry.mjs";
|
|
11
11
|
import { GetDnsRecordArgs, GetDnsRecordOutputArgs, GetDnsRecordResult, getDnsRecord, getDnsRecordOutput } from "./getDnsRecord.mjs";
|
|
12
12
|
import { GetDnsZoneArgs, GetDnsZoneOutputArgs, GetDnsZoneResult, getDnsZone, getDnsZoneOutput } from "./getDnsZone.mjs";
|
|
13
|
+
import { GetPullzoneAccessListsArgs, GetPullzoneAccessListsOutputArgs, GetPullzoneAccessListsResult, getPullzoneAccessLists, getPullzoneAccessListsOutput } from "./getPullzoneAccessLists.mjs";
|
|
13
14
|
import { GetRegionArgs, GetRegionOutputArgs, GetRegionResult, getRegion, getRegionOutput } from "./getRegion.mjs";
|
|
14
15
|
import { GetVideoLanguageArgs, GetVideoLanguageOutputArgs, GetVideoLanguageResult, getVideoLanguage, getVideoLanguageOutput } from "./getVideoLanguage.mjs";
|
|
15
16
|
import { Provider, ProviderArgs } from "./provider.mjs";
|
|
16
17
|
import { Pullzone, PullzoneArgs, PullzoneState } from "./pullzone.mjs";
|
|
18
|
+
import { PullzoneAccessList, PullzoneAccessListArgs, PullzoneAccessListState } from "./pullzoneAccessList.mjs";
|
|
17
19
|
import { PullzoneEdgerule, PullzoneEdgeruleArgs, PullzoneEdgeruleState } from "./pullzoneEdgerule.mjs";
|
|
18
20
|
import { PullzoneHostname, PullzoneHostnameArgs, PullzoneHostnameState } from "./pullzoneHostname.mjs";
|
|
19
21
|
import { PullzoneOptimizerClass, PullzoneOptimizerClassArgs, PullzoneOptimizerClassState } from "./pullzoneOptimizerClass.mjs";
|
|
22
|
+
import { PullzoneRatelimitRule, PullzoneRatelimitRuleArgs, PullzoneRatelimitRuleState } from "./pullzoneRatelimitRule.mjs";
|
|
23
|
+
import { PullzoneShield, PullzoneShieldArgs, PullzoneShieldState } from "./pullzoneShield.mjs";
|
|
24
|
+
import { PullzoneWafRule, PullzoneWafRuleArgs, PullzoneWafRuleState } from "./pullzoneWafRule.mjs";
|
|
20
25
|
import { StorageFile, StorageFileArgs, StorageFileState } from "./storageFile.mjs";
|
|
21
26
|
import { StorageZone, StorageZoneArgs, StorageZoneState } from "./storageZone.mjs";
|
|
22
27
|
import { StreamCollection, StreamCollectionArgs, StreamCollectionState } from "./streamCollection.mjs";
|
|
@@ -50,6 +55,8 @@ declare const getDnsRecord$1: typeof getDnsRecord;
|
|
|
50
55
|
declare const getDnsRecordOutput$1: typeof getDnsRecordOutput;
|
|
51
56
|
declare const getDnsZone$1: typeof getDnsZone;
|
|
52
57
|
declare const getDnsZoneOutput$1: typeof getDnsZoneOutput;
|
|
58
|
+
declare const getPullzoneAccessLists$1: typeof getPullzoneAccessLists;
|
|
59
|
+
declare const getPullzoneAccessListsOutput$1: typeof getPullzoneAccessListsOutput;
|
|
53
60
|
declare const getRegion$1: typeof getRegion;
|
|
54
61
|
declare const getRegionOutput$1: typeof getRegionOutput;
|
|
55
62
|
declare const getVideoLanguage$1: typeof getVideoLanguage;
|
|
@@ -58,12 +65,20 @@ type Provider$1 = Provider;
|
|
|
58
65
|
declare const Provider$1: typeof Provider;
|
|
59
66
|
type Pullzone$1 = Pullzone;
|
|
60
67
|
declare const Pullzone$1: typeof Pullzone;
|
|
68
|
+
type PullzoneAccessList$1 = PullzoneAccessList;
|
|
69
|
+
declare const PullzoneAccessList$1: typeof PullzoneAccessList;
|
|
61
70
|
type PullzoneEdgerule$1 = PullzoneEdgerule;
|
|
62
71
|
declare const PullzoneEdgerule$1: typeof PullzoneEdgerule;
|
|
63
72
|
type PullzoneHostname$1 = PullzoneHostname;
|
|
64
73
|
declare const PullzoneHostname$1: typeof PullzoneHostname;
|
|
65
74
|
type PullzoneOptimizerClass$1 = PullzoneOptimizerClass;
|
|
66
75
|
declare const PullzoneOptimizerClass$1: typeof PullzoneOptimizerClass;
|
|
76
|
+
type PullzoneRatelimitRule$1 = PullzoneRatelimitRule;
|
|
77
|
+
declare const PullzoneRatelimitRule$1: typeof PullzoneRatelimitRule;
|
|
78
|
+
type PullzoneShield$1 = PullzoneShield;
|
|
79
|
+
declare const PullzoneShield$1: typeof PullzoneShield;
|
|
80
|
+
type PullzoneWafRule$1 = PullzoneWafRule;
|
|
81
|
+
declare const PullzoneWafRule$1: typeof PullzoneWafRule;
|
|
67
82
|
type StorageFile$1 = StorageFile;
|
|
68
83
|
declare const StorageFile$1: typeof StorageFile;
|
|
69
84
|
type StorageZone$1 = StorageZone;
|
|
@@ -77,4 +92,4 @@ declare const StreamVideo$1: typeof StreamVideo;
|
|
|
77
92
|
// Export sub-modules:
|
|
78
93
|
|
|
79
94
|
//#endregion
|
|
80
|
-
export { ComputeContainerApp$1 as ComputeContainerApp, ComputeContainerAppArgs, ComputeContainerAppState, ComputeContainerImageregistry$1 as ComputeContainerImageregistry, ComputeContainerImageregistryArgs, ComputeContainerImageregistryState, ComputeScript$1 as ComputeScript, ComputeScriptArgs, ComputeScriptSecret$1 as ComputeScriptSecret, ComputeScriptSecretArgs, ComputeScriptSecretState, ComputeScriptState, ComputeScriptVariable$1 as ComputeScriptVariable, ComputeScriptVariableArgs, ComputeScriptVariableState, DnsRecord$1 as DnsRecord, DnsRecordArgs, DnsRecordState, DnsZone$1 as DnsZone, DnsZoneArgs, DnsZoneState, GetComputeContainerAppContainerArgs, GetComputeContainerAppContainerEndpointArgs, GetComputeContainerAppContainerEndpointOutputArgs, GetComputeContainerAppContainerEndpointResult, GetComputeContainerAppContainerOutputArgs, GetComputeContainerAppContainerResult, GetComputeContainerImageregistryArgs, GetComputeContainerImageregistryOutputArgs, GetComputeContainerImageregistryResult, GetDnsRecordArgs, GetDnsRecordOutputArgs, GetDnsRecordResult, GetDnsZoneArgs, GetDnsZoneOutputArgs, GetDnsZoneResult, GetRegionArgs, GetRegionOutputArgs, GetRegionResult, GetVideoLanguageArgs, GetVideoLanguageOutputArgs, GetVideoLanguageResult, Provider$1 as Provider, ProviderArgs, Pullzone$1 as Pullzone, PullzoneArgs, PullzoneEdgerule$1 as PullzoneEdgerule, PullzoneEdgeruleArgs, PullzoneEdgeruleState, PullzoneHostname$1 as PullzoneHostname, PullzoneHostnameArgs, PullzoneHostnameState, PullzoneOptimizerClass$1 as PullzoneOptimizerClass, PullzoneOptimizerClassArgs, PullzoneOptimizerClassState, PullzoneState, StorageFile$1 as StorageFile, StorageFileArgs, StorageFileState, StorageZone$1 as StorageZone, StorageZoneArgs, StorageZoneState, StreamCollection$1 as StreamCollection, StreamCollectionArgs, StreamCollectionState, StreamLibrary$1 as StreamLibrary, StreamLibraryArgs, StreamLibraryState, StreamVideo$1 as StreamVideo, StreamVideoArgs, StreamVideoState, index_d_exports as config, getComputeContainerAppContainer$1 as getComputeContainerAppContainer, getComputeContainerAppContainerEndpoint$1 as getComputeContainerAppContainerEndpoint, getComputeContainerAppContainerEndpointOutput$1 as getComputeContainerAppContainerEndpointOutput, getComputeContainerAppContainerOutput$1 as getComputeContainerAppContainerOutput, getComputeContainerImageregistry$1 as getComputeContainerImageregistry, getComputeContainerImageregistryOutput$1 as getComputeContainerImageregistryOutput, getDnsRecord$1 as getDnsRecord, getDnsRecordOutput$1 as getDnsRecordOutput, getDnsZone$1 as getDnsZone, getDnsZoneOutput$1 as getDnsZoneOutput, getRegion$1 as getRegion, getRegionOutput$1 as getRegionOutput, getVideoLanguage$1 as getVideoLanguage, getVideoLanguageOutput$1 as getVideoLanguageOutput, index_d_exports$1 as types };
|
|
95
|
+
export { ComputeContainerApp$1 as ComputeContainerApp, ComputeContainerAppArgs, ComputeContainerAppState, ComputeContainerImageregistry$1 as ComputeContainerImageregistry, ComputeContainerImageregistryArgs, ComputeContainerImageregistryState, ComputeScript$1 as ComputeScript, ComputeScriptArgs, ComputeScriptSecret$1 as ComputeScriptSecret, ComputeScriptSecretArgs, ComputeScriptSecretState, ComputeScriptState, ComputeScriptVariable$1 as ComputeScriptVariable, ComputeScriptVariableArgs, ComputeScriptVariableState, DnsRecord$1 as DnsRecord, DnsRecordArgs, DnsRecordState, DnsZone$1 as DnsZone, DnsZoneArgs, DnsZoneState, GetComputeContainerAppContainerArgs, GetComputeContainerAppContainerEndpointArgs, GetComputeContainerAppContainerEndpointOutputArgs, GetComputeContainerAppContainerEndpointResult, GetComputeContainerAppContainerOutputArgs, GetComputeContainerAppContainerResult, GetComputeContainerImageregistryArgs, GetComputeContainerImageregistryOutputArgs, GetComputeContainerImageregistryResult, GetDnsRecordArgs, GetDnsRecordOutputArgs, GetDnsRecordResult, GetDnsZoneArgs, GetDnsZoneOutputArgs, GetDnsZoneResult, GetPullzoneAccessListsArgs, GetPullzoneAccessListsOutputArgs, GetPullzoneAccessListsResult, GetRegionArgs, GetRegionOutputArgs, GetRegionResult, GetVideoLanguageArgs, GetVideoLanguageOutputArgs, GetVideoLanguageResult, Provider$1 as Provider, ProviderArgs, Pullzone$1 as Pullzone, PullzoneAccessList$1 as PullzoneAccessList, PullzoneAccessListArgs, PullzoneAccessListState, PullzoneArgs, PullzoneEdgerule$1 as PullzoneEdgerule, PullzoneEdgeruleArgs, PullzoneEdgeruleState, PullzoneHostname$1 as PullzoneHostname, PullzoneHostnameArgs, PullzoneHostnameState, PullzoneOptimizerClass$1 as PullzoneOptimizerClass, PullzoneOptimizerClassArgs, PullzoneOptimizerClassState, PullzoneRatelimitRule$1 as PullzoneRatelimitRule, PullzoneRatelimitRuleArgs, PullzoneRatelimitRuleState, PullzoneShield$1 as PullzoneShield, PullzoneShieldArgs, PullzoneShieldState, PullzoneState, PullzoneWafRule$1 as PullzoneWafRule, PullzoneWafRuleArgs, PullzoneWafRuleState, StorageFile$1 as StorageFile, StorageFileArgs, StorageFileState, StorageZone$1 as StorageZone, StorageZoneArgs, StorageZoneState, StreamCollection$1 as StreamCollection, StreamCollectionArgs, StreamCollectionState, StreamLibrary$1 as StreamLibrary, StreamLibraryArgs, StreamLibraryState, StreamVideo$1 as StreamVideo, StreamVideoArgs, StreamVideoState, index_d_exports as config, getComputeContainerAppContainer$1 as getComputeContainerAppContainer, getComputeContainerAppContainerEndpoint$1 as getComputeContainerAppContainerEndpoint, getComputeContainerAppContainerEndpointOutput$1 as getComputeContainerAppContainerEndpointOutput, getComputeContainerAppContainerOutput$1 as getComputeContainerAppContainerOutput, getComputeContainerImageregistry$1 as getComputeContainerImageregistry, getComputeContainerImageregistryOutput$1 as getComputeContainerImageregistryOutput, getDnsRecord$1 as getDnsRecord, getDnsRecordOutput$1 as getDnsRecordOutput, getDnsZone$1 as getDnsZone, getDnsZoneOutput$1 as getDnsZoneOutput, getPullzoneAccessLists$1 as getPullzoneAccessLists, getPullzoneAccessListsOutput$1 as getPullzoneAccessListsOutput, getRegion$1 as getRegion, getRegionOutput$1 as getRegionOutput, getVideoLanguage$1 as getVideoLanguage, getVideoLanguageOutput$1 as getVideoLanguageOutput, index_d_exports$1 as types };
|
package/bin/index.mjs
CHANGED
|
@@ -11,13 +11,18 @@ import { getComputeContainerAppContainerEndpoint_exports, init_getComputeContain
|
|
|
11
11
|
import { getComputeContainerImageregistry_exports, init_getComputeContainerImageregistry } from "./getComputeContainerImageregistry.mjs";
|
|
12
12
|
import { getDnsRecord_exports, init_getDnsRecord } from "./getDnsRecord.mjs";
|
|
13
13
|
import { getDnsZone_exports, init_getDnsZone } from "./getDnsZone.mjs";
|
|
14
|
+
import { getPullzoneAccessLists_exports, init_getPullzoneAccessLists } from "./getPullzoneAccessLists.mjs";
|
|
14
15
|
import { getRegion_exports, init_getRegion } from "./getRegion.mjs";
|
|
15
16
|
import { getVideoLanguage_exports, init_getVideoLanguage } from "./getVideoLanguage.mjs";
|
|
16
17
|
import { init_provider, provider_exports } from "./provider.mjs";
|
|
17
18
|
import { init_pullzone, pullzone_exports } from "./pullzone.mjs";
|
|
19
|
+
import { init_pullzoneAccessList, pullzoneAccessList_exports } from "./pullzoneAccessList.mjs";
|
|
18
20
|
import { init_pullzoneEdgerule, pullzoneEdgerule_exports } from "./pullzoneEdgerule.mjs";
|
|
19
21
|
import { init_pullzoneHostname, pullzoneHostname_exports } from "./pullzoneHostname.mjs";
|
|
20
22
|
import { init_pullzoneOptimizerClass, pullzoneOptimizerClass_exports } from "./pullzoneOptimizerClass.mjs";
|
|
23
|
+
import { init_pullzoneRatelimitRule, pullzoneRatelimitRule_exports } from "./pullzoneRatelimitRule.mjs";
|
|
24
|
+
import { init_pullzoneShield, pullzoneShield_exports } from "./pullzoneShield.mjs";
|
|
25
|
+
import { init_pullzoneWafRule, pullzoneWafRule_exports } from "./pullzoneWafRule.mjs";
|
|
21
26
|
import { init_storageFile, storageFile_exports } from "./storageFile.mjs";
|
|
22
27
|
import { init_storageZone, storageZone_exports } from "./storageZone.mjs";
|
|
23
28
|
import { init_streamCollection, streamCollection_exports } from "./streamCollection.mjs";
|
|
@@ -41,13 +46,18 @@ init_getComputeContainerAppContainerEndpoint();
|
|
|
41
46
|
init_getComputeContainerImageregistry();
|
|
42
47
|
init_getDnsRecord();
|
|
43
48
|
init_getDnsZone();
|
|
49
|
+
init_getPullzoneAccessLists();
|
|
44
50
|
init_getRegion();
|
|
45
51
|
init_getVideoLanguage();
|
|
46
52
|
init_provider();
|
|
47
53
|
init_pullzone();
|
|
54
|
+
init_pullzoneAccessList();
|
|
48
55
|
init_pullzoneEdgerule();
|
|
49
56
|
init_pullzoneHostname();
|
|
50
57
|
init_pullzoneOptimizerClass();
|
|
58
|
+
init_pullzoneRatelimitRule();
|
|
59
|
+
init_pullzoneShield();
|
|
60
|
+
init_pullzoneWafRule();
|
|
51
61
|
init_storageFile();
|
|
52
62
|
init_storageZone();
|
|
53
63
|
init_streamCollection();
|
|
@@ -82,6 +92,9 @@ lazyLoad(exports, ["getDnsRecord", "getDnsRecordOutput"], () => init_getDnsRecor
|
|
|
82
92
|
const getDnsZone = null;
|
|
83
93
|
const getDnsZoneOutput = null;
|
|
84
94
|
lazyLoad(exports, ["getDnsZone", "getDnsZoneOutput"], () => init_getDnsZone());
|
|
95
|
+
const getPullzoneAccessLists = null;
|
|
96
|
+
const getPullzoneAccessListsOutput = null;
|
|
97
|
+
lazyLoad(exports, ["getPullzoneAccessLists", "getPullzoneAccessListsOutput"], () => init_getPullzoneAccessLists());
|
|
85
98
|
const getRegion = null;
|
|
86
99
|
const getRegionOutput = null;
|
|
87
100
|
lazyLoad(exports, ["getRegion", "getRegionOutput"], () => init_getRegion());
|
|
@@ -92,12 +105,20 @@ const Provider = null;
|
|
|
92
105
|
lazyLoad(exports, ["Provider"], () => init_provider());
|
|
93
106
|
const Pullzone = null;
|
|
94
107
|
lazyLoad(exports, ["Pullzone"], () => init_pullzone());
|
|
108
|
+
const PullzoneAccessList = null;
|
|
109
|
+
lazyLoad(exports, ["PullzoneAccessList"], () => init_pullzoneAccessList());
|
|
95
110
|
const PullzoneEdgerule = null;
|
|
96
111
|
lazyLoad(exports, ["PullzoneEdgerule"], () => init_pullzoneEdgerule());
|
|
97
112
|
const PullzoneHostname = null;
|
|
98
113
|
lazyLoad(exports, ["PullzoneHostname"], () => init_pullzoneHostname());
|
|
99
114
|
const PullzoneOptimizerClass = null;
|
|
100
115
|
lazyLoad(exports, ["PullzoneOptimizerClass"], () => init_pullzoneOptimizerClass());
|
|
116
|
+
const PullzoneRatelimitRule = null;
|
|
117
|
+
lazyLoad(exports, ["PullzoneRatelimitRule"], () => init_pullzoneRatelimitRule());
|
|
118
|
+
const PullzoneShield = null;
|
|
119
|
+
lazyLoad(exports, ["PullzoneShield"], () => init_pullzoneShield());
|
|
120
|
+
const PullzoneWafRule = null;
|
|
121
|
+
lazyLoad(exports, ["PullzoneWafRule"], () => init_pullzoneWafRule());
|
|
101
122
|
const StorageFile = null;
|
|
102
123
|
lazyLoad(exports, ["StorageFile"], () => init_storageFile());
|
|
103
124
|
const StorageZone = null;
|
|
@@ -120,9 +141,13 @@ const _module = {
|
|
|
120
141
|
case "bunnynet:index/dnsRecord:DnsRecord": return new DnsRecord(name, void 0, { urn });
|
|
121
142
|
case "bunnynet:index/dnsZone:DnsZone": return new DnsZone(name, void 0, { urn });
|
|
122
143
|
case "bunnynet:index/pullzone:Pullzone": return new Pullzone(name, void 0, { urn });
|
|
144
|
+
case "bunnynet:index/pullzoneAccessList:PullzoneAccessList": return new PullzoneAccessList(name, void 0, { urn });
|
|
123
145
|
case "bunnynet:index/pullzoneEdgerule:PullzoneEdgerule": return new PullzoneEdgerule(name, void 0, { urn });
|
|
124
146
|
case "bunnynet:index/pullzoneHostname:PullzoneHostname": return new PullzoneHostname(name, void 0, { urn });
|
|
125
147
|
case "bunnynet:index/pullzoneOptimizerClass:PullzoneOptimizerClass": return new PullzoneOptimizerClass(name, void 0, { urn });
|
|
148
|
+
case "bunnynet:index/pullzoneRatelimitRule:PullzoneRatelimitRule": return new PullzoneRatelimitRule(name, void 0, { urn });
|
|
149
|
+
case "bunnynet:index/pullzoneShield:PullzoneShield": return new PullzoneShield(name, void 0, { urn });
|
|
150
|
+
case "bunnynet:index/pullzoneWafRule:PullzoneWafRule": return new PullzoneWafRule(name, void 0, { urn });
|
|
126
151
|
case "bunnynet:index/storageFile:StorageFile": return new StorageFile(name, void 0, { urn });
|
|
127
152
|
case "bunnynet:index/storageZone:StorageZone": return new StorageZone(name, void 0, { urn });
|
|
128
153
|
case "bunnynet:index/streamCollection:StreamCollection": return new StreamCollection(name, void 0, { urn });
|
|
@@ -140,9 +165,13 @@ pulumi.runtime.registerResourceModule("bunnynet", "index/computeScriptVariable",
|
|
|
140
165
|
pulumi.runtime.registerResourceModule("bunnynet", "index/dnsRecord", _module);
|
|
141
166
|
pulumi.runtime.registerResourceModule("bunnynet", "index/dnsZone", _module);
|
|
142
167
|
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzone", _module);
|
|
168
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneAccessList", _module);
|
|
143
169
|
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneEdgerule", _module);
|
|
144
170
|
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneHostname", _module);
|
|
145
171
|
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneOptimizerClass", _module);
|
|
172
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneRatelimitRule", _module);
|
|
173
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneShield", _module);
|
|
174
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneWafRule", _module);
|
|
146
175
|
pulumi.runtime.registerResourceModule("bunnynet", "index/storageFile", _module);
|
|
147
176
|
pulumi.runtime.registerResourceModule("bunnynet", "index/storageZone", _module);
|
|
148
177
|
pulumi.runtime.registerResourceModule("bunnynet", "index/streamCollection", _module);
|
|
@@ -157,4 +186,4 @@ pulumi.runtime.registerResourcePackage("bunnynet", {
|
|
|
157
186
|
});
|
|
158
187
|
|
|
159
188
|
//#endregion
|
|
160
|
-
export { ComputeContainerApp, ComputeContainerAppArgs, ComputeContainerAppState, ComputeContainerImageregistry, ComputeContainerImageregistryArgs, ComputeContainerImageregistryState, ComputeScript, ComputeScriptArgs, ComputeScriptSecret, ComputeScriptSecretArgs, ComputeScriptSecretState, ComputeScriptState, ComputeScriptVariable, ComputeScriptVariableArgs, ComputeScriptVariableState, DnsRecord, DnsRecordArgs, DnsRecordState, DnsZone, DnsZoneArgs, DnsZoneState, GetComputeContainerAppContainerArgs, GetComputeContainerAppContainerEndpointArgs, GetComputeContainerAppContainerEndpointOutputArgs, GetComputeContainerAppContainerEndpointResult, GetComputeContainerAppContainerOutputArgs, GetComputeContainerAppContainerResult, GetComputeContainerImageregistryArgs, GetComputeContainerImageregistryOutputArgs, GetComputeContainerImageregistryResult, GetDnsRecordArgs, GetDnsRecordOutputArgs, GetDnsRecordResult, GetDnsZoneArgs, GetDnsZoneOutputArgs, GetDnsZoneResult, GetRegionArgs, GetRegionOutputArgs, GetRegionResult, GetVideoLanguageArgs, GetVideoLanguageOutputArgs, GetVideoLanguageResult, Provider, ProviderArgs, Pullzone, PullzoneArgs, PullzoneEdgerule, PullzoneEdgeruleArgs, PullzoneEdgeruleState, PullzoneHostname, PullzoneHostnameArgs, PullzoneHostnameState, PullzoneOptimizerClass, PullzoneOptimizerClassArgs, PullzoneOptimizerClassState, PullzoneState, StorageFile, StorageFileArgs, StorageFileState, StorageZone, StorageZoneArgs, StorageZoneState, StreamCollection, StreamCollectionArgs, StreamCollectionState, StreamLibrary, StreamLibraryArgs, StreamLibraryState, StreamVideo, StreamVideoArgs, StreamVideoState, config_exports as config, getComputeContainerAppContainer, getComputeContainerAppContainerEndpoint, getComputeContainerAppContainerEndpointOutput, getComputeContainerAppContainerOutput, getComputeContainerImageregistry, getComputeContainerImageregistryOutput, getDnsRecord, getDnsRecordOutput, getDnsZone, getDnsZoneOutput, getRegion, getRegionOutput, getVideoLanguage, getVideoLanguageOutput, types_exports as types };
|
|
189
|
+
export { ComputeContainerApp, ComputeContainerAppArgs, ComputeContainerAppState, ComputeContainerImageregistry, ComputeContainerImageregistryArgs, ComputeContainerImageregistryState, ComputeScript, ComputeScriptArgs, ComputeScriptSecret, ComputeScriptSecretArgs, ComputeScriptSecretState, ComputeScriptState, ComputeScriptVariable, ComputeScriptVariableArgs, ComputeScriptVariableState, DnsRecord, DnsRecordArgs, DnsRecordState, DnsZone, DnsZoneArgs, DnsZoneState, GetComputeContainerAppContainerArgs, GetComputeContainerAppContainerEndpointArgs, GetComputeContainerAppContainerEndpointOutputArgs, GetComputeContainerAppContainerEndpointResult, GetComputeContainerAppContainerOutputArgs, GetComputeContainerAppContainerResult, GetComputeContainerImageregistryArgs, GetComputeContainerImageregistryOutputArgs, GetComputeContainerImageregistryResult, GetDnsRecordArgs, GetDnsRecordOutputArgs, GetDnsRecordResult, GetDnsZoneArgs, GetDnsZoneOutputArgs, GetDnsZoneResult, GetPullzoneAccessListsArgs, GetPullzoneAccessListsOutputArgs, GetPullzoneAccessListsResult, GetRegionArgs, GetRegionOutputArgs, GetRegionResult, GetVideoLanguageArgs, GetVideoLanguageOutputArgs, GetVideoLanguageResult, Provider, ProviderArgs, Pullzone, PullzoneAccessList, PullzoneAccessListArgs, PullzoneAccessListState, PullzoneArgs, PullzoneEdgerule, PullzoneEdgeruleArgs, PullzoneEdgeruleState, PullzoneHostname, PullzoneHostnameArgs, PullzoneHostnameState, PullzoneOptimizerClass, PullzoneOptimizerClassArgs, PullzoneOptimizerClassState, PullzoneRatelimitRule, PullzoneRatelimitRuleArgs, PullzoneRatelimitRuleState, PullzoneShield, PullzoneShieldArgs, PullzoneShieldState, PullzoneState, PullzoneWafRule, PullzoneWafRuleArgs, PullzoneWafRuleState, StorageFile, StorageFileArgs, StorageFileState, StorageZone, StorageZoneArgs, StorageZoneState, StreamCollection, StreamCollectionArgs, StreamCollectionState, StreamLibrary, StreamLibraryArgs, StreamLibraryState, StreamVideo, StreamVideoArgs, StreamVideoState, config_exports as config, getComputeContainerAppContainer, getComputeContainerAppContainerEndpoint, getComputeContainerAppContainerEndpointOutput, getComputeContainerAppContainerOutput, getComputeContainerImageregistry, getComputeContainerImageregistryOutput, getDnsRecord, getDnsRecordOutput, getDnsZone, getDnsZoneOutput, getPullzoneAccessLists, getPullzoneAccessListsOutput, getRegion, getRegionOutput, getVideoLanguage, getVideoLanguageOutput, types_exports as types };
|
package/bin/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pulumi-bunnynet",
|
|
3
3
|
"description": "A Pulumi provider for managing Bunny.net CDN and edge computing resources, dynamically bridged from the Terraform Bunnynet provider with support for pull zones, storage, DNS, compute containers, and video streaming.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"homepage": "https://github.com/hckhanh/pulumi-any-terraform",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@pulumi/pulumi": "3.188.0",
|
|
24
24
|
"@types/node": "22.17.1",
|
|
25
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
26
|
-
"tsdown": "0.
|
|
25
|
+
"@typescript/native-preview": "7.0.0-dev.20250810.1",
|
|
26
|
+
"tsdown": "0.14.0",
|
|
27
27
|
"typescript": "5.9.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"version": "0.8.0",
|
|
55
55
|
"parameterization": {
|
|
56
56
|
"name": "bunnynet",
|
|
57
|
-
"version": "0.
|
|
58
|
-
"value": "
|
|
57
|
+
"version": "0.8.0",
|
|
58
|
+
"value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2J1bm55d2F5L2J1bm55bmV0IiwidmVyc2lvbiI6IjAuOC4wIn19"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
package/bin/package.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var require_package = /* @__PURE__ */ __commonJS({ "package.json": ((exports, mo
|
|
|
5
5
|
module.exports = {
|
|
6
6
|
"name": "pulumi-bunnynet",
|
|
7
7
|
"description": "A Pulumi provider for managing Bunny.net CDN and edge computing resources, dynamically bridged from the Terraform Bunnynet provider with support for pull zones, storage, DNS, compute containers, and video streaming.",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.8.0",
|
|
9
9
|
"homepage": "https://github.com/hckhanh/pulumi-any-terraform",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -24,8 +24,8 @@ var require_package = /* @__PURE__ */ __commonJS({ "package.json": ((exports, mo
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@pulumi/pulumi": "3.188.0",
|
|
26
26
|
"@types/node": "22.17.1",
|
|
27
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
28
|
-
"tsdown": "0.
|
|
27
|
+
"@typescript/native-preview": "7.0.0-dev.20250810.1",
|
|
28
|
+
"tsdown": "0.14.0",
|
|
29
29
|
"typescript": "5.9.2"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": { "@pulumi/pulumi": ">=3.188.0" },
|
|
@@ -51,8 +51,8 @@ var require_package = /* @__PURE__ */ __commonJS({ "package.json": ((exports, mo
|
|
|
51
51
|
"version": "0.8.0",
|
|
52
52
|
"parameterization": {
|
|
53
53
|
"name": "bunnynet",
|
|
54
|
-
"version": "0.
|
|
55
|
-
"value": "
|
|
54
|
+
"version": "0.8.0",
|
|
55
|
+
"value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2J1bm55d2F5L2J1bm55bmV0IiwidmVyc2lvbiI6IjAuOC4wIn19"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
|
|
3
|
+
//#region pullzoneAccessList.d.ts
|
|
4
|
+
declare class PullzoneAccessList extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing PullzoneAccessList resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PullzoneAccessListState, opts?: pulumi.CustomResourceOptions): PullzoneAccessList;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType: string;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of PullzoneAccessList. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is PullzoneAccessList;
|
|
22
|
+
/**
|
|
23
|
+
* Options: `Allow`, `Block`, `Challenge`, `Log`
|
|
24
|
+
*/
|
|
25
|
+
readonly action!: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Indicated whether the Access List is enabled.
|
|
28
|
+
*/
|
|
29
|
+
readonly enabled!: pulumi.Output<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* The Access List entries.
|
|
32
|
+
*/
|
|
33
|
+
readonly entries!: pulumi.Output<string[]>;
|
|
34
|
+
/**
|
|
35
|
+
* The Access List name.
|
|
36
|
+
*/
|
|
37
|
+
readonly name!: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The ID of the linked pullzone.
|
|
40
|
+
*/
|
|
41
|
+
readonly pullzone!: pulumi.Output<number>;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the Access List.
|
|
44
|
+
*/
|
|
45
|
+
readonly pullzoneAccessListId!: pulumi.Output<number>;
|
|
46
|
+
/**
|
|
47
|
+
* Options: `ASN`, `CIDR`, `Country`, `IP`
|
|
48
|
+
*/
|
|
49
|
+
readonly type!: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a PullzoneAccessList resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: PullzoneAccessListArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering PullzoneAccessList resources.
|
|
61
|
+
*/
|
|
62
|
+
interface PullzoneAccessListState {
|
|
63
|
+
/**
|
|
64
|
+
* Options: `Allow`, `Block`, `Challenge`, `Log`
|
|
65
|
+
*/
|
|
66
|
+
action?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Indicated whether the Access List is enabled.
|
|
69
|
+
*/
|
|
70
|
+
enabled?: pulumi.Input<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* The Access List entries.
|
|
73
|
+
*/
|
|
74
|
+
entries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* The Access List name.
|
|
77
|
+
*/
|
|
78
|
+
name?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the linked pullzone.
|
|
81
|
+
*/
|
|
82
|
+
pullzone?: pulumi.Input<number>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Access List.
|
|
85
|
+
*/
|
|
86
|
+
pullzoneAccessListId?: pulumi.Input<number>;
|
|
87
|
+
/**
|
|
88
|
+
* Options: `ASN`, `CIDR`, `Country`, `IP`
|
|
89
|
+
*/
|
|
90
|
+
type?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a PullzoneAccessList resource.
|
|
94
|
+
*/
|
|
95
|
+
interface PullzoneAccessListArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Options: `Allow`, `Block`, `Challenge`, `Log`
|
|
98
|
+
*/
|
|
99
|
+
action: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Indicated whether the Access List is enabled.
|
|
102
|
+
*/
|
|
103
|
+
enabled?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* The Access List entries.
|
|
106
|
+
*/
|
|
107
|
+
entries: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
|
+
/**
|
|
109
|
+
* The Access List name.
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The ID of the linked pullzone.
|
|
114
|
+
*/
|
|
115
|
+
pullzone: pulumi.Input<number>;
|
|
116
|
+
/**
|
|
117
|
+
* Options: `ASN`, `CIDR`, `Country`, `IP`
|
|
118
|
+
*/
|
|
119
|
+
type: pulumi.Input<string>;
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
export { PullzoneAccessList, PullzoneAccessListArgs, PullzoneAccessListState };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { __esm, __export } from "./_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { getPackage, init_utilities, resourceOptsDefaults } from "./utilities.mjs";
|
|
3
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
4
|
+
|
|
5
|
+
//#region pullzoneAccessList.ts
|
|
6
|
+
var pullzoneAccessList_exports = {};
|
|
7
|
+
__export(pullzoneAccessList_exports, { PullzoneAccessList: () => PullzoneAccessList });
|
|
8
|
+
var PullzoneAccessList;
|
|
9
|
+
var init_pullzoneAccessList = __esm({ "pullzoneAccessList.ts": (() => {
|
|
10
|
+
init_utilities();
|
|
11
|
+
PullzoneAccessList = class PullzoneAccessList extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing PullzoneAccessList resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new PullzoneAccessList(name, state, {
|
|
23
|
+
...opts,
|
|
24
|
+
id
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/** @internal */
|
|
28
|
+
static __pulumiType = "bunnynet:index/pullzoneAccessList:PullzoneAccessList";
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of PullzoneAccessList. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
static isInstance(obj) {
|
|
34
|
+
if (obj === void 0 || obj === null) return false;
|
|
35
|
+
return obj["__pulumiType"] === PullzoneAccessList.__pulumiType;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Options: `Allow`, `Block`, `Challenge`, `Log`
|
|
39
|
+
*/
|
|
40
|
+
action;
|
|
41
|
+
/**
|
|
42
|
+
* Indicated whether the Access List is enabled.
|
|
43
|
+
*/
|
|
44
|
+
enabled;
|
|
45
|
+
/**
|
|
46
|
+
* The Access List entries.
|
|
47
|
+
*/
|
|
48
|
+
entries;
|
|
49
|
+
/**
|
|
50
|
+
* The Access List name.
|
|
51
|
+
*/
|
|
52
|
+
name;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the linked pullzone.
|
|
55
|
+
*/
|
|
56
|
+
pullzone;
|
|
57
|
+
/**
|
|
58
|
+
* The ID of the Access List.
|
|
59
|
+
*/
|
|
60
|
+
pullzoneAccessListId;
|
|
61
|
+
/**
|
|
62
|
+
* Options: `ASN`, `CIDR`, `Country`, `IP`
|
|
63
|
+
*/
|
|
64
|
+
type;
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["action"] = state ? state.action : void 0;
|
|
71
|
+
resourceInputs["enabled"] = state ? state.enabled : void 0;
|
|
72
|
+
resourceInputs["entries"] = state ? state.entries : void 0;
|
|
73
|
+
resourceInputs["name"] = state ? state.name : void 0;
|
|
74
|
+
resourceInputs["pullzone"] = state ? state.pullzone : void 0;
|
|
75
|
+
resourceInputs["pullzoneAccessListId"] = state ? state.pullzoneAccessListId : void 0;
|
|
76
|
+
resourceInputs["type"] = state ? state.type : void 0;
|
|
77
|
+
} else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.action === void 0) && !opts.urn) throw new Error("Missing required property 'action'");
|
|
80
|
+
if ((!args || args.entries === void 0) && !opts.urn) throw new Error("Missing required property 'entries'");
|
|
81
|
+
if ((!args || args.pullzone === void 0) && !opts.urn) throw new Error("Missing required property 'pullzone'");
|
|
82
|
+
if ((!args || args.type === void 0) && !opts.urn) throw new Error("Missing required property 'type'");
|
|
83
|
+
resourceInputs["action"] = args ? args.action : void 0;
|
|
84
|
+
resourceInputs["enabled"] = args ? args.enabled : void 0;
|
|
85
|
+
resourceInputs["entries"] = args ? args.entries : void 0;
|
|
86
|
+
resourceInputs["name"] = args ? args.name : void 0;
|
|
87
|
+
resourceInputs["pullzone"] = args ? args.pullzone : void 0;
|
|
88
|
+
resourceInputs["type"] = args ? args.type : void 0;
|
|
89
|
+
resourceInputs["pullzoneAccessListId"] = void 0;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(resourceOptsDefaults(), opts);
|
|
92
|
+
super(PullzoneAccessList.__pulumiType, name, resourceInputs, opts, false, getPackage());
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}) });
|
|
96
|
+
|
|
97
|
+
//#endregion
|
|
98
|
+
init_pullzoneAccessList();
|
|
99
|
+
export { init_pullzoneAccessList, pullzoneAccessList_exports };
|
|
@@ -22,11 +22,13 @@ declare class PullzoneEdgerule extends pulumi.CustomResource {
|
|
|
22
22
|
*/
|
|
23
23
|
static isInstance(obj: any): obj is PullzoneEdgerule;
|
|
24
24
|
/**
|
|
25
|
-
* Options: `BlockRequest`, `BypassPermaCache`, `DisableOptimizer`, `
|
|
26
|
-
* `
|
|
27
|
-
* `
|
|
28
|
-
* `
|
|
29
|
-
* `
|
|
25
|
+
* Options: `BlockRequest`, `BypassAwsS3Authentication`, `BypassPermaCache`, `DisableOptimizer`, `DisableShield`,
|
|
26
|
+
* `DisableShieldBotDetection`, `DisableShieldChallenge`, `DisableTokenAuthentication`, `DisableWAF`,
|
|
27
|
+
* `EnableTokenAuthentication`, `ForceCompression`, `ForceDownload`, `ForceSSL`, `IgnoreQueryString`,
|
|
28
|
+
* `OriginMagicContainers`, `OriginStorage`, `OriginUrl`, `OverrideBrowserCacheResponseHeader`, `OverrideBrowserCacheTime`,
|
|
29
|
+
* `OverrideCacheTime`, `OverrideCacheTimePublic`, `Redirect`, `RemoveBrowserCacheResponseHeader`, `RetryOrigin`,
|
|
30
|
+
* `RunEdgeScript`, `SetConnectionLimit`, `SetNetworkRateLimit`, `SetRequestHeader`, `SetRequestsPerSecondLimit`,
|
|
31
|
+
* `SetResponseHeader`, `SetStatusCode`
|
|
30
32
|
*/
|
|
31
33
|
readonly action!: pulumi.Output<string | undefined>;
|
|
32
34
|
readonly actionParameter1!: pulumi.Output<string | undefined>;
|
|
@@ -48,6 +50,10 @@ declare class PullzoneEdgerule extends pulumi.CustomResource {
|
|
|
48
50
|
* Options: `MatchAll`, `MatchAny`, `MatchNone`
|
|
49
51
|
*/
|
|
50
52
|
readonly matchType!: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The priority of the edge rule. The lower number is executed first.
|
|
55
|
+
*/
|
|
56
|
+
readonly priority!: pulumi.Output<number>;
|
|
51
57
|
readonly pullzone!: pulumi.Output<number>;
|
|
52
58
|
readonly triggers!: pulumi.Output<PullzoneEdgeruleTrigger$1[]>;
|
|
53
59
|
/**
|
|
@@ -64,11 +70,13 @@ declare class PullzoneEdgerule extends pulumi.CustomResource {
|
|
|
64
70
|
*/
|
|
65
71
|
interface PullzoneEdgeruleState {
|
|
66
72
|
/**
|
|
67
|
-
* Options: `BlockRequest`, `BypassPermaCache`, `DisableOptimizer`, `
|
|
68
|
-
* `
|
|
69
|
-
* `
|
|
70
|
-
* `
|
|
71
|
-
* `
|
|
73
|
+
* Options: `BlockRequest`, `BypassAwsS3Authentication`, `BypassPermaCache`, `DisableOptimizer`, `DisableShield`,
|
|
74
|
+
* `DisableShieldBotDetection`, `DisableShieldChallenge`, `DisableTokenAuthentication`, `DisableWAF`,
|
|
75
|
+
* `EnableTokenAuthentication`, `ForceCompression`, `ForceDownload`, `ForceSSL`, `IgnoreQueryString`,
|
|
76
|
+
* `OriginMagicContainers`, `OriginStorage`, `OriginUrl`, `OverrideBrowserCacheResponseHeader`, `OverrideBrowserCacheTime`,
|
|
77
|
+
* `OverrideCacheTime`, `OverrideCacheTimePublic`, `Redirect`, `RemoveBrowserCacheResponseHeader`, `RetryOrigin`,
|
|
78
|
+
* `RunEdgeScript`, `SetConnectionLimit`, `SetNetworkRateLimit`, `SetRequestHeader`, `SetRequestsPerSecondLimit`,
|
|
79
|
+
* `SetResponseHeader`, `SetStatusCode`
|
|
72
80
|
*/
|
|
73
81
|
action?: pulumi.Input<string>;
|
|
74
82
|
actionParameter1?: pulumi.Input<string>;
|
|
@@ -90,6 +98,10 @@ interface PullzoneEdgeruleState {
|
|
|
90
98
|
* Options: `MatchAll`, `MatchAny`, `MatchNone`
|
|
91
99
|
*/
|
|
92
100
|
matchType?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The priority of the edge rule. The lower number is executed first.
|
|
103
|
+
*/
|
|
104
|
+
priority?: pulumi.Input<number>;
|
|
93
105
|
pullzone?: pulumi.Input<number>;
|
|
94
106
|
triggers?: pulumi.Input<pulumi.Input<PullzoneEdgeruleTrigger>[]>;
|
|
95
107
|
}
|
|
@@ -98,11 +110,13 @@ interface PullzoneEdgeruleState {
|
|
|
98
110
|
*/
|
|
99
111
|
interface PullzoneEdgeruleArgs {
|
|
100
112
|
/**
|
|
101
|
-
* Options: `BlockRequest`, `BypassPermaCache`, `DisableOptimizer`, `
|
|
102
|
-
* `
|
|
103
|
-
* `
|
|
104
|
-
* `
|
|
105
|
-
* `
|
|
113
|
+
* Options: `BlockRequest`, `BypassAwsS3Authentication`, `BypassPermaCache`, `DisableOptimizer`, `DisableShield`,
|
|
114
|
+
* `DisableShieldBotDetection`, `DisableShieldChallenge`, `DisableTokenAuthentication`, `DisableWAF`,
|
|
115
|
+
* `EnableTokenAuthentication`, `ForceCompression`, `ForceDownload`, `ForceSSL`, `IgnoreQueryString`,
|
|
116
|
+
* `OriginMagicContainers`, `OriginStorage`, `OriginUrl`, `OverrideBrowserCacheResponseHeader`, `OverrideBrowserCacheTime`,
|
|
117
|
+
* `OverrideCacheTime`, `OverrideCacheTimePublic`, `Redirect`, `RemoveBrowserCacheResponseHeader`, `RetryOrigin`,
|
|
118
|
+
* `RunEdgeScript`, `SetConnectionLimit`, `SetNetworkRateLimit`, `SetRequestHeader`, `SetRequestsPerSecondLimit`,
|
|
119
|
+
* `SetResponseHeader`, `SetStatusCode`
|
|
106
120
|
*/
|
|
107
121
|
action?: pulumi.Input<string>;
|
|
108
122
|
actionParameter1?: pulumi.Input<string>;
|
|
@@ -124,6 +138,10 @@ interface PullzoneEdgeruleArgs {
|
|
|
124
138
|
* Options: `MatchAll`, `MatchAny`, `MatchNone`
|
|
125
139
|
*/
|
|
126
140
|
matchType?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The priority of the edge rule. The lower number is executed first.
|
|
143
|
+
*/
|
|
144
|
+
priority?: pulumi.Input<number>;
|
|
127
145
|
pullzone: pulumi.Input<number>;
|
|
128
146
|
triggers: pulumi.Input<pulumi.Input<PullzoneEdgeruleTrigger>[]>;
|
|
129
147
|
}
|