@pulumiverse/scaleway 0.3.1-alpha.1660775142

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.
Files changed (265) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +54 -0
  3. package/accountSshKey.d.ts +80 -0
  4. package/accountSshKey.js +58 -0
  5. package/accountSshKey.js.map +1 -0
  6. package/appleSliconValleyServer.d.ts +140 -0
  7. package/appleSliconValleyServer.js +72 -0
  8. package/appleSliconValleyServer.js.map +1 -0
  9. package/baremetalServer.d.ts +173 -0
  10. package/baremetalServer.js +84 -0
  11. package/baremetalServer.js.map +1 -0
  12. package/config/index.d.ts +1 -0
  13. package/config/index.js +21 -0
  14. package/config/index.js.map +1 -0
  15. package/config/vars.d.ts +28 -0
  16. package/config/vars.js +55 -0
  17. package/config/vars.js.map +1 -0
  18. package/container.d.ts +273 -0
  19. package/container.js +90 -0
  20. package/container.js.map +1 -0
  21. package/containerNamespace.d.ts +126 -0
  22. package/containerNamespace.js +63 -0
  23. package/containerNamespace.js.map +1 -0
  24. package/database.d.ts +84 -0
  25. package/database.js +60 -0
  26. package/database.js.map +1 -0
  27. package/databaseAcl.d.ts +73 -0
  28. package/databaseAcl.js +59 -0
  29. package/databaseAcl.js.map +1 -0
  30. package/databaseInstance.d.ts +299 -0
  31. package/databaseInstance.js +99 -0
  32. package/databaseInstance.js.map +1 -0
  33. package/databasePrivilege.d.ts +84 -0
  34. package/databasePrivilege.js +67 -0
  35. package/databasePrivilege.js.map +1 -0
  36. package/databaseUser.d.ts +96 -0
  37. package/databaseUser.js +63 -0
  38. package/databaseUser.js.map +1 -0
  39. package/domainRecord.d.ts +189 -0
  40. package/domainRecord.js +82 -0
  41. package/domainRecord.js.map +1 -0
  42. package/domainZone.d.ts +120 -0
  43. package/domainZone.js +71 -0
  44. package/domainZone.js.map +1 -0
  45. package/functionNamespace.d.ts +126 -0
  46. package/functionNamespace.js +63 -0
  47. package/functionNamespace.js.map +1 -0
  48. package/getAccountSshKey.d.ts +31 -0
  49. package/getAccountSshKey.js +24 -0
  50. package/getAccountSshKey.js.map +1 -0
  51. package/getBaremetalOffer.d.ts +41 -0
  52. package/getBaremetalOffer.js +26 -0
  53. package/getBaremetalOffer.js.map +1 -0
  54. package/getBaremetalOs.d.ts +34 -0
  55. package/getBaremetalOs.js +26 -0
  56. package/getBaremetalOs.js.map +1 -0
  57. package/getBaremetalServer.d.ts +44 -0
  58. package/getBaremetalServer.js +25 -0
  59. package/getBaremetalServer.js.map +1 -0
  60. package/getContainer.d.ts +53 -0
  61. package/getContainer.js +25 -0
  62. package/getContainer.js.map +1 -0
  63. package/getContainerNamespace.d.ts +39 -0
  64. package/getContainerNamespace.js +25 -0
  65. package/getContainerNamespace.js.map +1 -0
  66. package/getDatabase.d.ts +31 -0
  67. package/getDatabase.js +23 -0
  68. package/getDatabase.js.map +1 -0
  69. package/getDatabaseAcl.d.ts +28 -0
  70. package/getDatabaseAcl.js +22 -0
  71. package/getDatabaseAcl.js.map +1 -0
  72. package/getDatabaseInstance.d.ts +53 -0
  73. package/getDatabaseInstance.js +24 -0
  74. package/getDatabaseInstance.js.map +1 -0
  75. package/getDatabasePrivilege.d.ts +32 -0
  76. package/getDatabasePrivilege.js +24 -0
  77. package/getDatabasePrivilege.js.map +1 -0
  78. package/getDomainRecord.d.ts +47 -0
  79. package/getDomainRecord.js +27 -0
  80. package/getDomainRecord.js.map +1 -0
  81. package/getDomainZone.d.ts +35 -0
  82. package/getDomainZone.js +24 -0
  83. package/getDomainZone.js.map +1 -0
  84. package/getFunctionNamespace.d.ts +39 -0
  85. package/getFunctionNamespace.js +25 -0
  86. package/getFunctionNamespace.js.map +1 -0
  87. package/getInstanceImage.d.ts +49 -0
  88. package/getInstanceImage.js +28 -0
  89. package/getInstanceImage.js.map +1 -0
  90. package/getInstanceIp.d.ts +30 -0
  91. package/getInstanceIp.js +24 -0
  92. package/getInstanceIp.js.map +1 -0
  93. package/getInstanceSecurityGroup.d.ts +43 -0
  94. package/getInstanceSecurityGroup.js +25 -0
  95. package/getInstanceSecurityGroup.js.map +1 -0
  96. package/getInstanceServer.d.ts +58 -0
  97. package/getInstanceServer.js +25 -0
  98. package/getInstanceServer.js.map +1 -0
  99. package/getInstanceVolume.d.ts +39 -0
  100. package/getInstanceVolume.js +25 -0
  101. package/getInstanceVolume.js.map +1 -0
  102. package/getIotDevice.d.ts +45 -0
  103. package/getIotDevice.js +26 -0
  104. package/getIotDevice.js.map +1 -0
  105. package/getIotHub.d.ts +46 -0
  106. package/getIotHub.js +25 -0
  107. package/getIotHub.js.map +1 -0
  108. package/getKubernetesCluster.d.ts +52 -0
  109. package/getKubernetesCluster.js +25 -0
  110. package/getKubernetesCluster.js.map +1 -0
  111. package/getKubernetesNodePool.d.ts +58 -0
  112. package/getKubernetesNodePool.js +27 -0
  113. package/getKubernetesNodePool.js.map +1 -0
  114. package/getLoadbalancer.d.ts +43 -0
  115. package/getLoadbalancer.js +26 -0
  116. package/getLoadbalancer.js.map +1 -0
  117. package/getLoadbalancerCertificate.d.ts +40 -0
  118. package/getLoadbalancerCertificate.js +25 -0
  119. package/getLoadbalancerCertificate.js.map +1 -0
  120. package/getLoadbalancerIp.d.ts +34 -0
  121. package/getLoadbalancerIp.js +24 -0
  122. package/getLoadbalancerIp.js.map +1 -0
  123. package/getMarketplaceImage.d.ts +31 -0
  124. package/getMarketplaceImage.js +24 -0
  125. package/getMarketplaceImage.js.map +1 -0
  126. package/getObjectBucket.d.ts +38 -0
  127. package/getObjectBucket.js +24 -0
  128. package/getObjectBucket.js.map +1 -0
  129. package/getRedisCluster.d.ts +46 -0
  130. package/getRedisCluster.js +25 -0
  131. package/getRedisCluster.js.map +1 -0
  132. package/getRegistryImage.d.ts +43 -0
  133. package/getRegistryImage.js +28 -0
  134. package/getRegistryImage.js.map +1 -0
  135. package/getRegistryNamespace.d.ts +36 -0
  136. package/getRegistryNamespace.js +25 -0
  137. package/getRegistryNamespace.js.map +1 -0
  138. package/getVpcPrivateNetwork.d.ts +34 -0
  139. package/getVpcPrivateNetwork.js +24 -0
  140. package/getVpcPrivateNetwork.js.map +1 -0
  141. package/getVpcPublicGateway.d.ts +37 -0
  142. package/getVpcPublicGateway.js +24 -0
  143. package/getVpcPublicGateway.js.map +1 -0
  144. package/getVpcPublicGatewayDhcp.d.ts +43 -0
  145. package/getVpcPublicGatewayDhcp.js +22 -0
  146. package/getVpcPublicGatewayDhcp.js.map +1 -0
  147. package/getVpcPublicGatewayIp.d.ts +33 -0
  148. package/getVpcPublicGatewayIp.js +23 -0
  149. package/getVpcPublicGatewayIp.js.map +1 -0
  150. package/getVpcPublicPatRule.d.ts +36 -0
  151. package/getVpcPublicPatRule.js +23 -0
  152. package/getVpcPublicPatRule.js.map +1 -0
  153. package/index.d.ts +83 -0
  154. package/index.js +304 -0
  155. package/index.js.map +1 -0
  156. package/instanceIp.d.ts +104 -0
  157. package/instanceIp.js +61 -0
  158. package/instanceIp.js.map +1 -0
  159. package/instanceIpReverseDns.d.ts +72 -0
  160. package/instanceIpReverseDns.js +59 -0
  161. package/instanceIpReverseDns.js.map +1 -0
  162. package/instancePlacementGroup.d.ts +124 -0
  163. package/instancePlacementGroup.js +63 -0
  164. package/instancePlacementGroup.js.map +1 -0
  165. package/instancePrivateNic.d.ts +80 -0
  166. package/instancePrivateNic.js +61 -0
  167. package/instancePrivateNic.js.map +1 -0
  168. package/instanceSecurityGroup.d.ts +180 -0
  169. package/instanceSecurityGroup.js +73 -0
  170. package/instanceSecurityGroup.js.map +1 -0
  171. package/instanceSecurityGroupRules.d.ts +73 -0
  172. package/instanceSecurityGroupRules.js +56 -0
  173. package/instanceSecurityGroupRules.js.map +1 -0
  174. package/instanceServer.d.ts +327 -0
  175. package/instanceServer.js +105 -0
  176. package/instanceServer.js.map +1 -0
  177. package/instanceSnapshot.d.ts +128 -0
  178. package/instanceSnapshot.js +68 -0
  179. package/instanceSnapshot.js.map +1 -0
  180. package/instanceVolume.d.ts +148 -0
  181. package/instanceVolume.js +70 -0
  182. package/instanceVolume.js.map +1 -0
  183. package/iotDevice.d.ts +173 -0
  184. package/iotDevice.js +76 -0
  185. package/iotDevice.js.map +1 -0
  186. package/iotHub.d.ts +212 -0
  187. package/iotHub.js +84 -0
  188. package/iotHub.js.map +1 -0
  189. package/iotNetwork.d.ts +108 -0
  190. package/iotNetwork.js +67 -0
  191. package/iotNetwork.js.map +1 -0
  192. package/iotRoute.d.ts +129 -0
  193. package/iotRoute.js +69 -0
  194. package/iotRoute.js.map +1 -0
  195. package/kubernetesCluster.d.ts +281 -0
  196. package/kubernetesCluster.js +99 -0
  197. package/kubernetesCluster.js.map +1 -0
  198. package/kubernetesNodePool.d.ts +277 -0
  199. package/kubernetesNodePool.js +100 -0
  200. package/kubernetesNodePool.js.map +1 -0
  201. package/loadbalancer.d.ts +163 -0
  202. package/loadbalancer.js +75 -0
  203. package/loadbalancer.js.map +1 -0
  204. package/loadbalancerBackend.d.ts +268 -0
  205. package/loadbalancerBackend.js +98 -0
  206. package/loadbalancerBackend.js.map +1 -0
  207. package/loadbalancerCertificate.d.ts +133 -0
  208. package/loadbalancerCertificate.js +70 -0
  209. package/loadbalancerCertificate.js.map +1 -0
  210. package/loadbalancerFrontend.d.ts +133 -0
  211. package/loadbalancerFrontend.js +72 -0
  212. package/loadbalancerFrontend.js.map +1 -0
  213. package/loadbalancerIp.d.ts +104 -0
  214. package/loadbalancerIp.js +61 -0
  215. package/loadbalancerIp.js.map +1 -0
  216. package/loadbalancerRoute.d.ts +72 -0
  217. package/loadbalancerRoute.js +59 -0
  218. package/loadbalancerRoute.js.map +1 -0
  219. package/objectBucket.d.ts +138 -0
  220. package/objectBucket.js +65 -0
  221. package/objectBucket.js.map +1 -0
  222. package/package.json +30 -0
  223. package/package.json.bak +30 -0
  224. package/provider.d.ts +83 -0
  225. package/provider.js +52 -0
  226. package/provider.js.map +1 -0
  227. package/redisCluster.d.ts +203 -0
  228. package/redisCluster.js +87 -0
  229. package/redisCluster.js.map +1 -0
  230. package/registryNamespace.d.ts +112 -0
  231. package/registryNamespace.js +61 -0
  232. package/registryNamespace.js.map +1 -0
  233. package/types/index.d.ts +3 -0
  234. package/types/index.js +11 -0
  235. package/types/index.js.map +1 -0
  236. package/types/input.d.ts +255 -0
  237. package/types/input.js +5 -0
  238. package/types/input.js.map +1 -0
  239. package/types/output.d.ts +459 -0
  240. package/types/output.js +5 -0
  241. package/types/output.js.map +1 -0
  242. package/utilities.d.ts +4 -0
  243. package/utilities.js +57 -0
  244. package/utilities.js.map +1 -0
  245. package/vpcGatewayNetwork.d.ts +156 -0
  246. package/vpcGatewayNetwork.js +75 -0
  247. package/vpcGatewayNetwork.js.map +1 -0
  248. package/vpcPrivateNetwork.d.ts +108 -0
  249. package/vpcPrivateNetwork.js +61 -0
  250. package/vpcPrivateNetwork.js.map +1 -0
  251. package/vpcPublicGateway.d.ts +144 -0
  252. package/vpcPublicGateway.js +70 -0
  253. package/vpcPublicGateway.js.map +1 -0
  254. package/vpcPublicGatewayDhcp.d.ts +255 -0
  255. package/vpcPublicGatewayDhcp.js +86 -0
  256. package/vpcPublicGatewayDhcp.js.map +1 -0
  257. package/vpcPublicGatewayDhcpReservation.d.ts +118 -0
  258. package/vpcPublicGatewayDhcpReservation.js +72 -0
  259. package/vpcPublicGatewayDhcpReservation.js.map +1 -0
  260. package/vpcPublicGatewayIp.d.ts +116 -0
  261. package/vpcPublicGatewayIp.js +63 -0
  262. package/vpcPublicGatewayIp.js.map +1 -0
  263. package/vpcPublicGatewayPatRule.d.ts +132 -0
  264. package/vpcPublicGatewayPatRule.js +77 -0
  265. package/vpcPublicGatewayPatRule.js.map +1 -0
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DatabaseUser = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class DatabaseUser extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
15
+ resourceInputs["isAdmin"] = state ? state.isAdmin : undefined;
16
+ resourceInputs["name"] = state ? state.name : undefined;
17
+ resourceInputs["password"] = state ? state.password : undefined;
18
+ resourceInputs["region"] = state ? state.region : undefined;
19
+ }
20
+ else {
21
+ const args = argsOrState;
22
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
23
+ throw new Error("Missing required property 'instanceId'");
24
+ }
25
+ if ((!args || args.password === undefined) && !opts.urn) {
26
+ throw new Error("Missing required property 'password'");
27
+ }
28
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
29
+ resourceInputs["isAdmin"] = args ? args.isAdmin : undefined;
30
+ resourceInputs["name"] = args ? args.name : undefined;
31
+ resourceInputs["password"] = args ? args.password : undefined;
32
+ resourceInputs["region"] = args ? args.region : undefined;
33
+ }
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
35
+ super(DatabaseUser.__pulumiType, name, resourceInputs, opts);
36
+ }
37
+ /**
38
+ * Get an existing DatabaseUser resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new DatabaseUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of DatabaseUser. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === DatabaseUser.__pulumiType;
58
+ }
59
+ }
60
+ exports.DatabaseUser = DatabaseUser;
61
+ /** @internal */
62
+ DatabaseUser.__pulumiType = 'scaleway:index/databaseUser:DatabaseUser';
63
+ //# sourceMappingURL=databaseUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseUser.js","sourceRoot":"","sources":["../databaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAyDnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAA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AC,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAoFC;AAtEG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,189 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ export declare class DomainRecord extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing DomainRecord resource's state with the given name, ID, and optional extra
6
+ * properties used to qualify the lookup.
7
+ *
8
+ * @param name The _unique_ name of the resulting resource.
9
+ * @param id The _unique_ provider ID of the resource to lookup.
10
+ * @param state Any extra arguments used during the lookup.
11
+ * @param opts Optional settings to control the behavior of the CustomResource.
12
+ */
13
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainRecordState, opts?: pulumi.CustomResourceOptions): DomainRecord;
14
+ /**
15
+ * Returns true if the given object is an instance of DomainRecord. 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 DomainRecord;
19
+ /**
20
+ * The data of the record
21
+ */
22
+ readonly data: pulumi.Output<string>;
23
+ /**
24
+ * The zone you want to add the record in
25
+ */
26
+ readonly dnsZone: pulumi.Output<string>;
27
+ /**
28
+ * Return record based on client localisation
29
+ */
30
+ readonly geoIp: pulumi.Output<outputs.DomainRecordGeoIp | undefined>;
31
+ /**
32
+ * Return record based on client localisation
33
+ */
34
+ readonly httpService: pulumi.Output<outputs.DomainRecordHttpService | undefined>;
35
+ /**
36
+ * When destroy a resource record, if a zone have only NS, delete the zone
37
+ */
38
+ readonly keepEmptyZone: pulumi.Output<boolean | undefined>;
39
+ /**
40
+ * The name of the record
41
+ */
42
+ readonly name: pulumi.Output<string>;
43
+ /**
44
+ * The priority of the record
45
+ */
46
+ readonly priority: pulumi.Output<number>;
47
+ /**
48
+ * The project_id you want to attach the resource to
49
+ */
50
+ readonly projectId: pulumi.Output<string>;
51
+ /**
52
+ * Does the DNS zone is the root zone or not
53
+ */
54
+ readonly rootZone: pulumi.Output<boolean>;
55
+ /**
56
+ * The ttl of the record
57
+ */
58
+ readonly ttl: pulumi.Output<number | undefined>;
59
+ /**
60
+ * The type of the record
61
+ */
62
+ readonly type: pulumi.Output<string>;
63
+ /**
64
+ * Return record based on client subnet
65
+ */
66
+ readonly views: pulumi.Output<outputs.DomainRecordView[] | undefined>;
67
+ /**
68
+ * Return record based on weight
69
+ */
70
+ readonly weighteds: pulumi.Output<outputs.DomainRecordWeighted[] | undefined>;
71
+ /**
72
+ * Create a DomainRecord resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: DomainRecordArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering DomainRecord resources.
82
+ */
83
+ export interface DomainRecordState {
84
+ /**
85
+ * The data of the record
86
+ */
87
+ data?: pulumi.Input<string>;
88
+ /**
89
+ * The zone you want to add the record in
90
+ */
91
+ dnsZone?: pulumi.Input<string>;
92
+ /**
93
+ * Return record based on client localisation
94
+ */
95
+ geoIp?: pulumi.Input<inputs.DomainRecordGeoIp>;
96
+ /**
97
+ * Return record based on client localisation
98
+ */
99
+ httpService?: pulumi.Input<inputs.DomainRecordHttpService>;
100
+ /**
101
+ * When destroy a resource record, if a zone have only NS, delete the zone
102
+ */
103
+ keepEmptyZone?: pulumi.Input<boolean>;
104
+ /**
105
+ * The name of the record
106
+ */
107
+ name?: pulumi.Input<string>;
108
+ /**
109
+ * The priority of the record
110
+ */
111
+ priority?: pulumi.Input<number>;
112
+ /**
113
+ * The project_id you want to attach the resource to
114
+ */
115
+ projectId?: pulumi.Input<string>;
116
+ /**
117
+ * Does the DNS zone is the root zone or not
118
+ */
119
+ rootZone?: pulumi.Input<boolean>;
120
+ /**
121
+ * The ttl of the record
122
+ */
123
+ ttl?: pulumi.Input<number>;
124
+ /**
125
+ * The type of the record
126
+ */
127
+ type?: pulumi.Input<string>;
128
+ /**
129
+ * Return record based on client subnet
130
+ */
131
+ views?: pulumi.Input<pulumi.Input<inputs.DomainRecordView>[]>;
132
+ /**
133
+ * Return record based on weight
134
+ */
135
+ weighteds?: pulumi.Input<pulumi.Input<inputs.DomainRecordWeighted>[]>;
136
+ }
137
+ /**
138
+ * The set of arguments for constructing a DomainRecord resource.
139
+ */
140
+ export interface DomainRecordArgs {
141
+ /**
142
+ * The data of the record
143
+ */
144
+ data: pulumi.Input<string>;
145
+ /**
146
+ * The zone you want to add the record in
147
+ */
148
+ dnsZone: pulumi.Input<string>;
149
+ /**
150
+ * Return record based on client localisation
151
+ */
152
+ geoIp?: pulumi.Input<inputs.DomainRecordGeoIp>;
153
+ /**
154
+ * Return record based on client localisation
155
+ */
156
+ httpService?: pulumi.Input<inputs.DomainRecordHttpService>;
157
+ /**
158
+ * When destroy a resource record, if a zone have only NS, delete the zone
159
+ */
160
+ keepEmptyZone?: pulumi.Input<boolean>;
161
+ /**
162
+ * The name of the record
163
+ */
164
+ name?: pulumi.Input<string>;
165
+ /**
166
+ * The priority of the record
167
+ */
168
+ priority?: pulumi.Input<number>;
169
+ /**
170
+ * The project_id you want to attach the resource to
171
+ */
172
+ projectId?: pulumi.Input<string>;
173
+ /**
174
+ * The ttl of the record
175
+ */
176
+ ttl?: pulumi.Input<number>;
177
+ /**
178
+ * The type of the record
179
+ */
180
+ type: pulumi.Input<string>;
181
+ /**
182
+ * Return record based on client subnet
183
+ */
184
+ views?: pulumi.Input<pulumi.Input<inputs.DomainRecordView>[]>;
185
+ /**
186
+ * Return record based on weight
187
+ */
188
+ weighteds?: pulumi.Input<pulumi.Input<inputs.DomainRecordWeighted>[]>;
189
+ }
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DomainRecord = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class DomainRecord extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["data"] = state ? state.data : undefined;
15
+ resourceInputs["dnsZone"] = state ? state.dnsZone : undefined;
16
+ resourceInputs["geoIp"] = state ? state.geoIp : undefined;
17
+ resourceInputs["httpService"] = state ? state.httpService : undefined;
18
+ resourceInputs["keepEmptyZone"] = state ? state.keepEmptyZone : undefined;
19
+ resourceInputs["name"] = state ? state.name : undefined;
20
+ resourceInputs["priority"] = state ? state.priority : undefined;
21
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
22
+ resourceInputs["rootZone"] = state ? state.rootZone : undefined;
23
+ resourceInputs["ttl"] = state ? state.ttl : undefined;
24
+ resourceInputs["type"] = state ? state.type : undefined;
25
+ resourceInputs["views"] = state ? state.views : undefined;
26
+ resourceInputs["weighteds"] = state ? state.weighteds : undefined;
27
+ }
28
+ else {
29
+ const args = argsOrState;
30
+ if ((!args || args.data === undefined) && !opts.urn) {
31
+ throw new Error("Missing required property 'data'");
32
+ }
33
+ if ((!args || args.dnsZone === undefined) && !opts.urn) {
34
+ throw new Error("Missing required property 'dnsZone'");
35
+ }
36
+ if ((!args || args.type === undefined) && !opts.urn) {
37
+ throw new Error("Missing required property 'type'");
38
+ }
39
+ resourceInputs["data"] = args ? args.data : undefined;
40
+ resourceInputs["dnsZone"] = args ? args.dnsZone : undefined;
41
+ resourceInputs["geoIp"] = args ? args.geoIp : undefined;
42
+ resourceInputs["httpService"] = args ? args.httpService : undefined;
43
+ resourceInputs["keepEmptyZone"] = args ? args.keepEmptyZone : undefined;
44
+ resourceInputs["name"] = args ? args.name : undefined;
45
+ resourceInputs["priority"] = args ? args.priority : undefined;
46
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
47
+ resourceInputs["ttl"] = args ? args.ttl : undefined;
48
+ resourceInputs["type"] = args ? args.type : undefined;
49
+ resourceInputs["views"] = args ? args.views : undefined;
50
+ resourceInputs["weighteds"] = args ? args.weighteds : undefined;
51
+ resourceInputs["rootZone"] = undefined /*out*/;
52
+ }
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
54
+ super(DomainRecord.__pulumiType, name, resourceInputs, opts);
55
+ }
56
+ /**
57
+ * Get an existing DomainRecord resource's state with the given name, ID, and optional extra
58
+ * properties used to qualify the lookup.
59
+ *
60
+ * @param name The _unique_ name of the resulting resource.
61
+ * @param id The _unique_ provider ID of the resource to lookup.
62
+ * @param state Any extra arguments used during the lookup.
63
+ * @param opts Optional settings to control the behavior of the CustomResource.
64
+ */
65
+ static get(name, id, state, opts) {
66
+ return new DomainRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
67
+ }
68
+ /**
69
+ * Returns true if the given object is an instance of DomainRecord. This is designed to work even
70
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
71
+ */
72
+ static isInstance(obj) {
73
+ if (obj === undefined || obj === null) {
74
+ return false;
75
+ }
76
+ return obj['__pulumiType'] === DomainRecord.__pulumiType;
77
+ }
78
+ }
79
+ exports.DomainRecord = DomainRecord;
80
+ /** @internal */
81
+ DomainRecord.__pulumiType = 'scaleway:index/domainRecord:DomainRecord';
82
+ //# sourceMappingURL=domainRecord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainRecord.js","sourceRoot":"","sources":["../domainRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,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c,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IArID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAuIC;AAzHG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,120 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class DomainZone extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing DomainZone resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainZoneState, opts?: pulumi.CustomResourceOptions): DomainZone;
13
+ /**
14
+ * Returns true if the given object is an instance of DomainZone. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is DomainZone;
18
+ /**
19
+ * The domain where the DNS zone will be created.
20
+ */
21
+ readonly domain: pulumi.Output<string>;
22
+ /**
23
+ * Message
24
+ */
25
+ readonly message: pulumi.Output<string>;
26
+ /**
27
+ * NameServer list for zone.
28
+ */
29
+ readonly ns: pulumi.Output<string[]>;
30
+ /**
31
+ * NameServer default list for zone.
32
+ */
33
+ readonly nsDefaults: pulumi.Output<string[]>;
34
+ /**
35
+ * NameServer master list for zone.
36
+ */
37
+ readonly nsMasters: pulumi.Output<string[]>;
38
+ /**
39
+ * The project_id you want to attach the resource to
40
+ */
41
+ readonly projectId: pulumi.Output<string>;
42
+ /**
43
+ * The domain zone status.
44
+ */
45
+ readonly status: pulumi.Output<string>;
46
+ /**
47
+ * The subdomain of the DNS zone to create.
48
+ */
49
+ readonly subdomain: pulumi.Output<string>;
50
+ /**
51
+ * The date and time of the last update of the DNS zone.
52
+ */
53
+ readonly updatedAt: pulumi.Output<string>;
54
+ /**
55
+ * Create a DomainZone resource with the given unique name, arguments, and options.
56
+ *
57
+ * @param name The _unique_ name of the resource.
58
+ * @param args The arguments to use to populate this resource's properties.
59
+ * @param opts A bag of options that control this resource's behavior.
60
+ */
61
+ constructor(name: string, args: DomainZoneArgs, opts?: pulumi.CustomResourceOptions);
62
+ }
63
+ /**
64
+ * Input properties used for looking up and filtering DomainZone resources.
65
+ */
66
+ export interface DomainZoneState {
67
+ /**
68
+ * The domain where the DNS zone will be created.
69
+ */
70
+ domain?: pulumi.Input<string>;
71
+ /**
72
+ * Message
73
+ */
74
+ message?: pulumi.Input<string>;
75
+ /**
76
+ * NameServer list for zone.
77
+ */
78
+ ns?: pulumi.Input<pulumi.Input<string>[]>;
79
+ /**
80
+ * NameServer default list for zone.
81
+ */
82
+ nsDefaults?: pulumi.Input<pulumi.Input<string>[]>;
83
+ /**
84
+ * NameServer master list for zone.
85
+ */
86
+ nsMasters?: pulumi.Input<pulumi.Input<string>[]>;
87
+ /**
88
+ * The project_id you want to attach the resource to
89
+ */
90
+ projectId?: pulumi.Input<string>;
91
+ /**
92
+ * The domain zone status.
93
+ */
94
+ status?: pulumi.Input<string>;
95
+ /**
96
+ * The subdomain of the DNS zone to create.
97
+ */
98
+ subdomain?: pulumi.Input<string>;
99
+ /**
100
+ * The date and time of the last update of the DNS zone.
101
+ */
102
+ updatedAt?: pulumi.Input<string>;
103
+ }
104
+ /**
105
+ * The set of arguments for constructing a DomainZone resource.
106
+ */
107
+ export interface DomainZoneArgs {
108
+ /**
109
+ * The domain where the DNS zone will be created.
110
+ */
111
+ domain: pulumi.Input<string>;
112
+ /**
113
+ * The project_id you want to attach the resource to
114
+ */
115
+ projectId?: pulumi.Input<string>;
116
+ /**
117
+ * The subdomain of the DNS zone to create.
118
+ */
119
+ subdomain: pulumi.Input<string>;
120
+ }
package/domainZone.js ADDED
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DomainZone = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class DomainZone extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["domain"] = state ? state.domain : undefined;
15
+ resourceInputs["message"] = state ? state.message : undefined;
16
+ resourceInputs["ns"] = state ? state.ns : undefined;
17
+ resourceInputs["nsDefaults"] = state ? state.nsDefaults : undefined;
18
+ resourceInputs["nsMasters"] = state ? state.nsMasters : undefined;
19
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
20
+ resourceInputs["status"] = state ? state.status : undefined;
21
+ resourceInputs["subdomain"] = state ? state.subdomain : undefined;
22
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
23
+ }
24
+ else {
25
+ const args = argsOrState;
26
+ if ((!args || args.domain === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'domain'");
28
+ }
29
+ if ((!args || args.subdomain === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'subdomain'");
31
+ }
32
+ resourceInputs["domain"] = args ? args.domain : undefined;
33
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
34
+ resourceInputs["subdomain"] = args ? args.subdomain : undefined;
35
+ resourceInputs["message"] = undefined /*out*/;
36
+ resourceInputs["ns"] = undefined /*out*/;
37
+ resourceInputs["nsDefaults"] = undefined /*out*/;
38
+ resourceInputs["nsMasters"] = undefined /*out*/;
39
+ resourceInputs["status"] = undefined /*out*/;
40
+ resourceInputs["updatedAt"] = undefined /*out*/;
41
+ }
42
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
43
+ super(DomainZone.__pulumiType, name, resourceInputs, opts);
44
+ }
45
+ /**
46
+ * Get an existing DomainZone resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, state, opts) {
55
+ return new DomainZone(name, state, Object.assign(Object.assign({}, opts), { id: id }));
56
+ }
57
+ /**
58
+ * Returns true if the given object is an instance of DomainZone. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj) {
62
+ if (obj === undefined || obj === null) {
63
+ return false;
64
+ }
65
+ return obj['__pulumiType'] === DomainZone.__pulumiType;
66
+ }
67
+ }
68
+ exports.DomainZone = DomainZone;
69
+ /** @internal */
70
+ DomainZone.__pulumiType = 'scaleway:index/domainZone:DomainZone';
71
+ //# sourceMappingURL=domainZone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainZone.js","sourceRoot":"","sources":["../domainZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyEjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,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AAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCA4GC;AA9FG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,126 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class FunctionNamespace extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing FunctionNamespace resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FunctionNamespaceState, opts?: pulumi.CustomResourceOptions): FunctionNamespace;
13
+ /**
14
+ * Returns true if the given object is an instance of FunctionNamespace. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is FunctionNamespace;
18
+ /**
19
+ * The description of the function namespace
20
+ */
21
+ readonly description: pulumi.Output<string | undefined>;
22
+ /**
23
+ * The environment variables of the function namespace
24
+ */
25
+ readonly environmentVariables: pulumi.Output<{
26
+ [key: string]: string;
27
+ } | undefined>;
28
+ /**
29
+ * The name of the function namespace
30
+ */
31
+ readonly name: pulumi.Output<string>;
32
+ /**
33
+ * The organization_id you want to attach the resource to
34
+ */
35
+ readonly organizationId: pulumi.Output<string>;
36
+ /**
37
+ * The project_id you want to attach the resource to
38
+ */
39
+ readonly projectId: pulumi.Output<string>;
40
+ /**
41
+ * The region you want to attach the resource to
42
+ */
43
+ readonly region: pulumi.Output<string>;
44
+ /**
45
+ * The endpoint reachable by docker
46
+ */
47
+ readonly registryEndpoint: pulumi.Output<string>;
48
+ /**
49
+ * The ID of the registry namespace
50
+ */
51
+ readonly registryNamespaceId: pulumi.Output<string>;
52
+ /**
53
+ * Create a FunctionNamespace resource with the given unique name, arguments, and options.
54
+ *
55
+ * @param name The _unique_ name of the resource.
56
+ * @param args The arguments to use to populate this resource's properties.
57
+ * @param opts A bag of options that control this resource's behavior.
58
+ */
59
+ constructor(name: string, args?: FunctionNamespaceArgs, opts?: pulumi.CustomResourceOptions);
60
+ }
61
+ /**
62
+ * Input properties used for looking up and filtering FunctionNamespace resources.
63
+ */
64
+ export interface FunctionNamespaceState {
65
+ /**
66
+ * The description of the function namespace
67
+ */
68
+ description?: pulumi.Input<string>;
69
+ /**
70
+ * The environment variables of the function namespace
71
+ */
72
+ environmentVariables?: pulumi.Input<{
73
+ [key: string]: pulumi.Input<string>;
74
+ }>;
75
+ /**
76
+ * The name of the function namespace
77
+ */
78
+ name?: pulumi.Input<string>;
79
+ /**
80
+ * The organization_id you want to attach the resource to
81
+ */
82
+ organizationId?: pulumi.Input<string>;
83
+ /**
84
+ * The project_id you want to attach the resource to
85
+ */
86
+ projectId?: pulumi.Input<string>;
87
+ /**
88
+ * The region you want to attach the resource to
89
+ */
90
+ region?: pulumi.Input<string>;
91
+ /**
92
+ * The endpoint reachable by docker
93
+ */
94
+ registryEndpoint?: pulumi.Input<string>;
95
+ /**
96
+ * The ID of the registry namespace
97
+ */
98
+ registryNamespaceId?: pulumi.Input<string>;
99
+ }
100
+ /**
101
+ * The set of arguments for constructing a FunctionNamespace resource.
102
+ */
103
+ export interface FunctionNamespaceArgs {
104
+ /**
105
+ * The description of the function namespace
106
+ */
107
+ description?: pulumi.Input<string>;
108
+ /**
109
+ * The environment variables of the function namespace
110
+ */
111
+ environmentVariables?: pulumi.Input<{
112
+ [key: string]: pulumi.Input<string>;
113
+ }>;
114
+ /**
115
+ * The name of the function namespace
116
+ */
117
+ name?: pulumi.Input<string>;
118
+ /**
119
+ * The project_id you want to attach the resource to
120
+ */
121
+ projectId?: pulumi.Input<string>;
122
+ /**
123
+ * The region you want to attach the resource to
124
+ */
125
+ region?: pulumi.Input<string>;
126
+ }