pulumi-bunnynet 0.6.2
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 +348 -0
- package/bin/_virtual/rolldown_runtime.mjs +37 -0
- package/bin/computeContainerApp.d.mts +128 -0
- package/bin/computeContainerApp.mjs +97 -0
- package/bin/computeContainerImageregistry.d.mts +86 -0
- package/bin/computeContainerImageregistry.mjs +82 -0
- package/bin/computeScript.d.mts +102 -0
- package/bin/computeScript.mjs +91 -0
- package/bin/computeScriptSecret.d.mts +86 -0
- package/bin/computeScriptSecret.mjs +81 -0
- package/bin/computeScriptVariable.d.mts +98 -0
- package/bin/computeScriptVariable.mjs +86 -0
- package/bin/config/index.d.mts +8 -0
- package/bin/config/index.mjs +9 -0
- package/bin/config/vars.d.mts +19 -0
- package/bin/config/vars.mjs +36 -0
- package/bin/dnsRecord.d.mts +289 -0
- package/bin/dnsRecord.mjs +183 -0
- package/bin/dnsZone.d.mts +146 -0
- package/bin/dnsZone.mjs +108 -0
- package/bin/getComputeContainerAppContainer.d.mts +29 -0
- package/bin/getComputeContainerAppContainer.mjs +31 -0
- package/bin/getComputeContainerAppContainerEndpoint.d.mts +39 -0
- package/bin/getComputeContainerAppContainerEndpoint.mjs +33 -0
- package/bin/getComputeContainerImageregistry.d.mts +29 -0
- package/bin/getComputeContainerImageregistry.mjs +31 -0
- package/bin/getDnsRecord.d.mts +51 -0
- package/bin/getDnsRecord.mjs +35 -0
- package/bin/getDnsZone.d.mts +33 -0
- package/bin/getDnsZone.mjs +25 -0
- package/bin/getRegion.d.mts +33 -0
- package/bin/getRegion.mjs +25 -0
- package/bin/getVideoLanguage.d.mts +33 -0
- package/bin/getVideoLanguage.mjs +25 -0
- package/bin/index.d.mts +80 -0
- package/bin/index.mjs +160 -0
- package/bin/package.json +61 -0
- package/bin/package.mjs +64 -0
- package/bin/provider.d.mts +66 -0
- package/bin/provider.mjs +60 -0
- package/bin/pullzone.d.mts +1079 -0
- package/bin/pullzone.mjs +580 -0
- package/bin/pullzoneEdgerule.d.mts +131 -0
- package/bin/pullzoneEdgerule.mjs +105 -0
- package/bin/pullzoneHostname.d.mts +142 -0
- package/bin/pullzoneHostname.mjs +106 -0
- package/bin/pullzoneOptimizerClass.d.mts +258 -0
- package/bin/pullzoneOptimizerClass.mjs +162 -0
- package/bin/storageFile.d.mts +137 -0
- package/bin/storageFile.mjs +110 -0
- package/bin/storageZone.d.mts +154 -0
- package/bin/storageZone.mjs +123 -0
- package/bin/streamCollection.d.mts +66 -0
- package/bin/streamCollection.mjs +66 -0
- package/bin/streamLibrary.d.mts +587 -0
- package/bin/streamLibrary.mjs +333 -0
- package/bin/streamVideo.d.mts +116 -0
- package/bin/streamVideo.mjs +91 -0
- package/bin/types/index.d.mts +9 -0
- package/bin/types/index.mjs +13 -0
- package/bin/types/input.d.mts +376 -0
- package/bin/types/input.mjs +5 -0
- package/bin/types/output.d.mts +381 -0
- package/bin/types/output.mjs +5 -0
- package/bin/utilities.mjs +61 -0
- package/package.json +61 -0
package/bin/index.mjs
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { getVersion, init_utilities, lazyLoad } from "./utilities.mjs";
|
|
2
|
+
import { computeContainerApp_exports, init_computeContainerApp } from "./computeContainerApp.mjs";
|
|
3
|
+
import { computeContainerImageregistry_exports, init_computeContainerImageregistry } from "./computeContainerImageregistry.mjs";
|
|
4
|
+
import { computeScript_exports, init_computeScript } from "./computeScript.mjs";
|
|
5
|
+
import { computeScriptSecret_exports, init_computeScriptSecret } from "./computeScriptSecret.mjs";
|
|
6
|
+
import { computeScriptVariable_exports, init_computeScriptVariable } from "./computeScriptVariable.mjs";
|
|
7
|
+
import { dnsRecord_exports, init_dnsRecord } from "./dnsRecord.mjs";
|
|
8
|
+
import { dnsZone_exports, init_dnsZone } from "./dnsZone.mjs";
|
|
9
|
+
import { getComputeContainerAppContainer_exports, init_getComputeContainerAppContainer } from "./getComputeContainerAppContainer.mjs";
|
|
10
|
+
import { getComputeContainerAppContainerEndpoint_exports, init_getComputeContainerAppContainerEndpoint } from "./getComputeContainerAppContainerEndpoint.mjs";
|
|
11
|
+
import { getComputeContainerImageregistry_exports, init_getComputeContainerImageregistry } from "./getComputeContainerImageregistry.mjs";
|
|
12
|
+
import { getDnsRecord_exports, init_getDnsRecord } from "./getDnsRecord.mjs";
|
|
13
|
+
import { getDnsZone_exports, init_getDnsZone } from "./getDnsZone.mjs";
|
|
14
|
+
import { getRegion_exports, init_getRegion } from "./getRegion.mjs";
|
|
15
|
+
import { getVideoLanguage_exports, init_getVideoLanguage } from "./getVideoLanguage.mjs";
|
|
16
|
+
import { init_provider, provider_exports } from "./provider.mjs";
|
|
17
|
+
import { init_pullzone, pullzone_exports } from "./pullzone.mjs";
|
|
18
|
+
import { init_pullzoneEdgerule, pullzoneEdgerule_exports } from "./pullzoneEdgerule.mjs";
|
|
19
|
+
import { init_pullzoneHostname, pullzoneHostname_exports } from "./pullzoneHostname.mjs";
|
|
20
|
+
import { init_pullzoneOptimizerClass, pullzoneOptimizerClass_exports } from "./pullzoneOptimizerClass.mjs";
|
|
21
|
+
import { init_storageFile, storageFile_exports } from "./storageFile.mjs";
|
|
22
|
+
import { init_storageZone, storageZone_exports } from "./storageZone.mjs";
|
|
23
|
+
import { init_streamCollection, streamCollection_exports } from "./streamCollection.mjs";
|
|
24
|
+
import { init_streamLibrary, streamLibrary_exports } from "./streamLibrary.mjs";
|
|
25
|
+
import { init_streamVideo, streamVideo_exports } from "./streamVideo.mjs";
|
|
26
|
+
import { config_exports } from "./config/index.mjs";
|
|
27
|
+
import { types_exports } from "./types/index.mjs";
|
|
28
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
|
|
30
|
+
//#region index.ts
|
|
31
|
+
init_utilities();
|
|
32
|
+
init_computeContainerApp();
|
|
33
|
+
init_computeContainerImageregistry();
|
|
34
|
+
init_computeScript();
|
|
35
|
+
init_computeScriptSecret();
|
|
36
|
+
init_computeScriptVariable();
|
|
37
|
+
init_dnsRecord();
|
|
38
|
+
init_dnsZone();
|
|
39
|
+
init_getComputeContainerAppContainer();
|
|
40
|
+
init_getComputeContainerAppContainerEndpoint();
|
|
41
|
+
init_getComputeContainerImageregistry();
|
|
42
|
+
init_getDnsRecord();
|
|
43
|
+
init_getDnsZone();
|
|
44
|
+
init_getRegion();
|
|
45
|
+
init_getVideoLanguage();
|
|
46
|
+
init_provider();
|
|
47
|
+
init_pullzone();
|
|
48
|
+
init_pullzoneEdgerule();
|
|
49
|
+
init_pullzoneHostname();
|
|
50
|
+
init_pullzoneOptimizerClass();
|
|
51
|
+
init_storageFile();
|
|
52
|
+
init_storageZone();
|
|
53
|
+
init_streamCollection();
|
|
54
|
+
init_streamLibrary();
|
|
55
|
+
init_streamVideo();
|
|
56
|
+
const ComputeContainerApp = null;
|
|
57
|
+
lazyLoad(exports, ["ComputeContainerApp"], () => init_computeContainerApp());
|
|
58
|
+
const ComputeContainerImageregistry = null;
|
|
59
|
+
lazyLoad(exports, ["ComputeContainerImageregistry"], () => init_computeContainerImageregistry());
|
|
60
|
+
const ComputeScript = null;
|
|
61
|
+
lazyLoad(exports, ["ComputeScript"], () => init_computeScript());
|
|
62
|
+
const ComputeScriptSecret = null;
|
|
63
|
+
lazyLoad(exports, ["ComputeScriptSecret"], () => init_computeScriptSecret());
|
|
64
|
+
const ComputeScriptVariable = null;
|
|
65
|
+
lazyLoad(exports, ["ComputeScriptVariable"], () => init_computeScriptVariable());
|
|
66
|
+
const DnsRecord = null;
|
|
67
|
+
lazyLoad(exports, ["DnsRecord"], () => init_dnsRecord());
|
|
68
|
+
const DnsZone = null;
|
|
69
|
+
lazyLoad(exports, ["DnsZone"], () => init_dnsZone());
|
|
70
|
+
const getComputeContainerAppContainer = null;
|
|
71
|
+
const getComputeContainerAppContainerOutput = null;
|
|
72
|
+
lazyLoad(exports, ["getComputeContainerAppContainer", "getComputeContainerAppContainerOutput"], () => init_getComputeContainerAppContainer());
|
|
73
|
+
const getComputeContainerAppContainerEndpoint = null;
|
|
74
|
+
const getComputeContainerAppContainerEndpointOutput = null;
|
|
75
|
+
lazyLoad(exports, ["getComputeContainerAppContainerEndpoint", "getComputeContainerAppContainerEndpointOutput"], () => init_getComputeContainerAppContainerEndpoint());
|
|
76
|
+
const getComputeContainerImageregistry = null;
|
|
77
|
+
const getComputeContainerImageregistryOutput = null;
|
|
78
|
+
lazyLoad(exports, ["getComputeContainerImageregistry", "getComputeContainerImageregistryOutput"], () => init_getComputeContainerImageregistry());
|
|
79
|
+
const getDnsRecord = null;
|
|
80
|
+
const getDnsRecordOutput = null;
|
|
81
|
+
lazyLoad(exports, ["getDnsRecord", "getDnsRecordOutput"], () => init_getDnsRecord());
|
|
82
|
+
const getDnsZone = null;
|
|
83
|
+
const getDnsZoneOutput = null;
|
|
84
|
+
lazyLoad(exports, ["getDnsZone", "getDnsZoneOutput"], () => init_getDnsZone());
|
|
85
|
+
const getRegion = null;
|
|
86
|
+
const getRegionOutput = null;
|
|
87
|
+
lazyLoad(exports, ["getRegion", "getRegionOutput"], () => init_getRegion());
|
|
88
|
+
const getVideoLanguage = null;
|
|
89
|
+
const getVideoLanguageOutput = null;
|
|
90
|
+
lazyLoad(exports, ["getVideoLanguage", "getVideoLanguageOutput"], () => init_getVideoLanguage());
|
|
91
|
+
const Provider = null;
|
|
92
|
+
lazyLoad(exports, ["Provider"], () => init_provider());
|
|
93
|
+
const Pullzone = null;
|
|
94
|
+
lazyLoad(exports, ["Pullzone"], () => init_pullzone());
|
|
95
|
+
const PullzoneEdgerule = null;
|
|
96
|
+
lazyLoad(exports, ["PullzoneEdgerule"], () => init_pullzoneEdgerule());
|
|
97
|
+
const PullzoneHostname = null;
|
|
98
|
+
lazyLoad(exports, ["PullzoneHostname"], () => init_pullzoneHostname());
|
|
99
|
+
const PullzoneOptimizerClass = null;
|
|
100
|
+
lazyLoad(exports, ["PullzoneOptimizerClass"], () => init_pullzoneOptimizerClass());
|
|
101
|
+
const StorageFile = null;
|
|
102
|
+
lazyLoad(exports, ["StorageFile"], () => init_storageFile());
|
|
103
|
+
const StorageZone = null;
|
|
104
|
+
lazyLoad(exports, ["StorageZone"], () => init_storageZone());
|
|
105
|
+
const StreamCollection = null;
|
|
106
|
+
lazyLoad(exports, ["StreamCollection"], () => init_streamCollection());
|
|
107
|
+
const StreamLibrary = null;
|
|
108
|
+
lazyLoad(exports, ["StreamLibrary"], () => init_streamLibrary());
|
|
109
|
+
const StreamVideo = null;
|
|
110
|
+
lazyLoad(exports, ["StreamVideo"], () => init_streamVideo());
|
|
111
|
+
const _module = {
|
|
112
|
+
version: getVersion(),
|
|
113
|
+
construct: (name, type, urn) => {
|
|
114
|
+
switch (type) {
|
|
115
|
+
case "bunnynet:index/computeContainerApp:ComputeContainerApp": return new ComputeContainerApp(name, void 0, { urn });
|
|
116
|
+
case "bunnynet:index/computeContainerImageregistry:ComputeContainerImageregistry": return new ComputeContainerImageregistry(name, void 0, { urn });
|
|
117
|
+
case "bunnynet:index/computeScript:ComputeScript": return new ComputeScript(name, void 0, { urn });
|
|
118
|
+
case "bunnynet:index/computeScriptSecret:ComputeScriptSecret": return new ComputeScriptSecret(name, void 0, { urn });
|
|
119
|
+
case "bunnynet:index/computeScriptVariable:ComputeScriptVariable": return new ComputeScriptVariable(name, void 0, { urn });
|
|
120
|
+
case "bunnynet:index/dnsRecord:DnsRecord": return new DnsRecord(name, void 0, { urn });
|
|
121
|
+
case "bunnynet:index/dnsZone:DnsZone": return new DnsZone(name, void 0, { urn });
|
|
122
|
+
case "bunnynet:index/pullzone:Pullzone": return new Pullzone(name, void 0, { urn });
|
|
123
|
+
case "bunnynet:index/pullzoneEdgerule:PullzoneEdgerule": return new PullzoneEdgerule(name, void 0, { urn });
|
|
124
|
+
case "bunnynet:index/pullzoneHostname:PullzoneHostname": return new PullzoneHostname(name, void 0, { urn });
|
|
125
|
+
case "bunnynet:index/pullzoneOptimizerClass:PullzoneOptimizerClass": return new PullzoneOptimizerClass(name, void 0, { urn });
|
|
126
|
+
case "bunnynet:index/storageFile:StorageFile": return new StorageFile(name, void 0, { urn });
|
|
127
|
+
case "bunnynet:index/storageZone:StorageZone": return new StorageZone(name, void 0, { urn });
|
|
128
|
+
case "bunnynet:index/streamCollection:StreamCollection": return new StreamCollection(name, void 0, { urn });
|
|
129
|
+
case "bunnynet:index/streamLibrary:StreamLibrary": return new StreamLibrary(name, void 0, { urn });
|
|
130
|
+
case "bunnynet:index/streamVideo:StreamVideo": return new StreamVideo(name, void 0, { urn });
|
|
131
|
+
default: throw new Error(`unknown resource type ${type}`);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/computeContainerApp", _module);
|
|
136
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/computeContainerImageregistry", _module);
|
|
137
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/computeScript", _module);
|
|
138
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/computeScriptSecret", _module);
|
|
139
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/computeScriptVariable", _module);
|
|
140
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/dnsRecord", _module);
|
|
141
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/dnsZone", _module);
|
|
142
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzone", _module);
|
|
143
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneEdgerule", _module);
|
|
144
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneHostname", _module);
|
|
145
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/pullzoneOptimizerClass", _module);
|
|
146
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/storageFile", _module);
|
|
147
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/storageZone", _module);
|
|
148
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/streamCollection", _module);
|
|
149
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/streamLibrary", _module);
|
|
150
|
+
pulumi.runtime.registerResourceModule("bunnynet", "index/streamVideo", _module);
|
|
151
|
+
pulumi.runtime.registerResourcePackage("bunnynet", {
|
|
152
|
+
version: getVersion(),
|
|
153
|
+
constructProvider: (name, type, urn) => {
|
|
154
|
+
if (type !== "pulumi:providers:bunnynet") throw new Error(`unknown provider type ${type}`);
|
|
155
|
+
return new Provider(name, void 0, { urn });
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
//#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 };
|
package/bin/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pulumi-bunnynet",
|
|
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.6.2",
|
|
5
|
+
"homepage": "https://github.com/hckhanh/pulumi-any-terraform",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/hckhanh/pulumi-any-terraform.git",
|
|
9
|
+
"directory": "packages/bunnynet"
|
|
10
|
+
},
|
|
11
|
+
"private": false,
|
|
12
|
+
"main": "./bin/index.mjs",
|
|
13
|
+
"module": "./bin/index.mjs",
|
|
14
|
+
"types": "./bin/index.d.mts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": "./bin/index.mjs",
|
|
17
|
+
"./package.json": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"async-mutex": "0.5.0"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@pulumi/pulumi": "3.188.0",
|
|
24
|
+
"@types/node": "22.17.1",
|
|
25
|
+
"@typescript/native-preview": "7.0.0-dev.20250807.1",
|
|
26
|
+
"tsdown": "0.13.3",
|
|
27
|
+
"typescript": "5.9.2"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@pulumi/pulumi": ">=3.188.0"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"bin",
|
|
34
|
+
"README.md"
|
|
35
|
+
],
|
|
36
|
+
"keywords": [
|
|
37
|
+
"pulumi",
|
|
38
|
+
"bunnynet",
|
|
39
|
+
"bunny.net",
|
|
40
|
+
"cdn",
|
|
41
|
+
"edge-computing",
|
|
42
|
+
"storage",
|
|
43
|
+
"dns",
|
|
44
|
+
"video-streaming",
|
|
45
|
+
"compute-containers",
|
|
46
|
+
"pull-zones",
|
|
47
|
+
"terraform",
|
|
48
|
+
"provider",
|
|
49
|
+
"infrastructure"
|
|
50
|
+
],
|
|
51
|
+
"pulumi": {
|
|
52
|
+
"resource": true,
|
|
53
|
+
"name": "terraform-provider",
|
|
54
|
+
"version": "0.8.0",
|
|
55
|
+
"parameterization": {
|
|
56
|
+
"name": "bunnynet",
|
|
57
|
+
"version": "0.6.2",
|
|
58
|
+
"value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2J1bm55d2F5L2J1bm55bmV0IiwidmVyc2lvbiI6IjAuNi4yIn19"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
package/bin/package.mjs
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { __commonJS } from "./_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region package.json
|
|
4
|
+
var require_package = /* @__PURE__ */ __commonJS({ "package.json": ((exports, module) => {
|
|
5
|
+
module.exports = {
|
|
6
|
+
"name": "pulumi-bunnynet",
|
|
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.6.2",
|
|
9
|
+
"homepage": "https://github.com/hckhanh/pulumi-any-terraform",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/hckhanh/pulumi-any-terraform.git",
|
|
13
|
+
"directory": "packages/bunnynet"
|
|
14
|
+
},
|
|
15
|
+
"private": false,
|
|
16
|
+
"main": "./bin/index.mjs",
|
|
17
|
+
"module": "./bin/index.mjs",
|
|
18
|
+
"types": "./bin/index.d.mts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./bin/index.mjs",
|
|
21
|
+
"./package.json": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": { "async-mutex": "0.5.0" },
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@pulumi/pulumi": "3.188.0",
|
|
26
|
+
"@types/node": "22.17.1",
|
|
27
|
+
"@typescript/native-preview": "7.0.0-dev.20250807.1",
|
|
28
|
+
"tsdown": "0.13.3",
|
|
29
|
+
"typescript": "5.9.2"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": { "@pulumi/pulumi": ">=3.188.0" },
|
|
32
|
+
"files": ["bin", "README.md"],
|
|
33
|
+
"keywords": [
|
|
34
|
+
"pulumi",
|
|
35
|
+
"bunnynet",
|
|
36
|
+
"bunny.net",
|
|
37
|
+
"cdn",
|
|
38
|
+
"edge-computing",
|
|
39
|
+
"storage",
|
|
40
|
+
"dns",
|
|
41
|
+
"video-streaming",
|
|
42
|
+
"compute-containers",
|
|
43
|
+
"pull-zones",
|
|
44
|
+
"terraform",
|
|
45
|
+
"provider",
|
|
46
|
+
"infrastructure"
|
|
47
|
+
],
|
|
48
|
+
"pulumi": {
|
|
49
|
+
"resource": true,
|
|
50
|
+
"name": "terraform-provider",
|
|
51
|
+
"version": "0.8.0",
|
|
52
|
+
"parameterization": {
|
|
53
|
+
"name": "bunnynet",
|
|
54
|
+
"version": "0.6.2",
|
|
55
|
+
"value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2J1bm55d2F5L2J1bm55bmV0IiwidmVyc2lvbiI6IjAuNi4yIn19"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}) });
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
export default require_package();
|
|
63
|
+
|
|
64
|
+
export { require_package };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
|
|
3
|
+
//#region provider.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The provider type for the bunnynet package. By default, resources use package-wide configuration
|
|
7
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
8
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
9
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
10
|
+
*/
|
|
11
|
+
declare class Provider extends pulumi.ProviderResource {
|
|
12
|
+
/** @internal */
|
|
13
|
+
static readonly __pulumiType: string;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is Provider;
|
|
19
|
+
/**
|
|
20
|
+
* API key. Can also be set using the `BUNNYNET_API_KEY` environment variable.
|
|
21
|
+
*/
|
|
22
|
+
readonly apiKey!: pulumi.Output<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Optional. The API URL. Defaults to `https://api.bunny.net`.
|
|
25
|
+
*/
|
|
26
|
+
readonly apiUrl!: pulumi.Output<string | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Optional. The Container API URL. Defaults to `https://api-mc.opsbunny.net`.
|
|
29
|
+
*/
|
|
30
|
+
readonly containerApiUrl!: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Optional. The Stream API URL. Defaults to `https://video.bunnycdn.com`.
|
|
33
|
+
*/
|
|
34
|
+
readonly streamApiUrl!: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resource.
|
|
39
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
40
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
41
|
+
*/
|
|
42
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The set of arguments for constructing a Provider resource.
|
|
46
|
+
*/
|
|
47
|
+
interface ProviderArgs {
|
|
48
|
+
/**
|
|
49
|
+
* API key. Can also be set using the `BUNNYNET_API_KEY` environment variable.
|
|
50
|
+
*/
|
|
51
|
+
apiKey?: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Optional. The API URL. Defaults to `https://api.bunny.net`.
|
|
54
|
+
*/
|
|
55
|
+
apiUrl?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Optional. The Container API URL. Defaults to `https://api-mc.opsbunny.net`.
|
|
58
|
+
*/
|
|
59
|
+
containerApiUrl?: pulumi.Input<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Optional. The Stream API URL. Defaults to `https://video.bunnycdn.com`.
|
|
62
|
+
*/
|
|
63
|
+
streamApiUrl?: pulumi.Input<string>;
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { Provider, ProviderArgs };
|
package/bin/provider.mjs
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
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 provider.ts
|
|
6
|
+
var provider_exports = {};
|
|
7
|
+
__export(provider_exports, { Provider: () => Provider });
|
|
8
|
+
var Provider;
|
|
9
|
+
var init_provider = __esm({ "provider.ts": (() => {
|
|
10
|
+
init_utilities();
|
|
11
|
+
Provider = class Provider extends pulumi.ProviderResource {
|
|
12
|
+
/** @internal */
|
|
13
|
+
static __pulumiType = "bunnynet";
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj) {
|
|
19
|
+
if (obj === void 0 || obj === null) return false;
|
|
20
|
+
return obj["__pulumiType"] === "pulumi:providers:" + Provider.__pulumiType;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* API key. Can also be set using the `BUNNYNET_API_KEY` environment variable.
|
|
24
|
+
*/
|
|
25
|
+
apiKey;
|
|
26
|
+
/**
|
|
27
|
+
* Optional. The API URL. Defaults to `https://api.bunny.net`.
|
|
28
|
+
*/
|
|
29
|
+
apiUrl;
|
|
30
|
+
/**
|
|
31
|
+
* Optional. The Container API URL. Defaults to `https://api-mc.opsbunny.net`.
|
|
32
|
+
*/
|
|
33
|
+
containerApiUrl;
|
|
34
|
+
/**
|
|
35
|
+
* Optional. The Stream API URL. Defaults to `https://video.bunnycdn.com`.
|
|
36
|
+
*/
|
|
37
|
+
streamApiUrl;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name, args, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
resourceInputs["apiKey"] = args ? args.apiKey : void 0;
|
|
49
|
+
resourceInputs["apiUrl"] = args ? args.apiUrl : void 0;
|
|
50
|
+
resourceInputs["containerApiUrl"] = args ? args.containerApiUrl : void 0;
|
|
51
|
+
resourceInputs["streamApiUrl"] = args ? args.streamApiUrl : void 0;
|
|
52
|
+
opts = pulumi.mergeOptions(resourceOptsDefaults(), opts);
|
|
53
|
+
super(Provider.__pulumiType, name, resourceInputs, opts, false, getPackage());
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}) });
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
init_provider();
|
|
60
|
+
export { init_provider, provider_exports };
|