@upcloud/pulumi-upcloud 0.0.5

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 (198) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +61 -0
  3. package/config/index.d.ts +1 -0
  4. package/config/index.js +21 -0
  5. package/config/index.js.map +1 -0
  6. package/config/vars.d.ts +25 -0
  7. package/config/vars.js +43 -0
  8. package/config/vars.js.map +1 -0
  9. package/floatingIpAddress.d.ts +128 -0
  10. package/floatingIpAddress.js +90 -0
  11. package/floatingIpAddress.js.map +1 -0
  12. package/gateway.d.ts +206 -0
  13. package/gateway.js +111 -0
  14. package/gateway.js.map +1 -0
  15. package/gatewayConnection.d.ts +157 -0
  16. package/gatewayConnection.js +105 -0
  17. package/gatewayConnection.js.map +1 -0
  18. package/gatewayConnectionTunnel.d.ts +129 -0
  19. package/gatewayConnectionTunnel.js +78 -0
  20. package/gatewayConnectionTunnel.js.map +1 -0
  21. package/getHosts.d.ts +55 -0
  22. package/getHosts.js +52 -0
  23. package/getHosts.js.map +1 -0
  24. package/getIpAddresses.d.ts +51 -0
  25. package/getIpAddresses.js +48 -0
  26. package/getIpAddresses.js.map +1 -0
  27. package/getKubernetesCluster.d.ts +33 -0
  28. package/getKubernetesCluster.js +28 -0
  29. package/getKubernetesCluster.js.map +1 -0
  30. package/getLoadBalancerDnsChallengeDomain.d.ts +40 -0
  31. package/getLoadBalancerDnsChallengeDomain.js +42 -0
  32. package/getLoadBalancerDnsChallengeDomain.js.map +1 -0
  33. package/getManagedDatabaseMysqlSessions.d.ts +83 -0
  34. package/getManagedDatabaseMysqlSessions.js +74 -0
  35. package/getManagedDatabaseMysqlSessions.js.map +1 -0
  36. package/getManagedDatabaseOpensearchIndices.d.ts +82 -0
  37. package/getManagedDatabaseOpensearchIndices.js +76 -0
  38. package/getManagedDatabaseOpensearchIndices.js.map +1 -0
  39. package/getManagedDatabasePostgresqlSessions.d.ts +83 -0
  40. package/getManagedDatabasePostgresqlSessions.js +74 -0
  41. package/getManagedDatabasePostgresqlSessions.js.map +1 -0
  42. package/getManagedDatabaseRedisSessions.d.ts +87 -0
  43. package/getManagedDatabaseRedisSessions.js +78 -0
  44. package/getManagedDatabaseRedisSessions.js.map +1 -0
  45. package/getManagedDatabaseValkeySessions.d.ts +83 -0
  46. package/getManagedDatabaseValkeySessions.js +74 -0
  47. package/getManagedDatabaseValkeySessions.js.map +1 -0
  48. package/getManagedObjectStoragePolicies.d.ts +33 -0
  49. package/getManagedObjectStoragePolicies.js +28 -0
  50. package/getManagedObjectStoragePolicies.js.map +1 -0
  51. package/getManagedObjectStorageRegions.d.ts +33 -0
  52. package/getManagedObjectStorageRegions.js +30 -0
  53. package/getManagedObjectStorageRegions.js.map +1 -0
  54. package/getNetworks.d.ts +60 -0
  55. package/getNetworks.js +56 -0
  56. package/getNetworks.js.map +1 -0
  57. package/getStorage.d.ts +163 -0
  58. package/getStorage.js +122 -0
  59. package/getStorage.js.map +1 -0
  60. package/getTags.d.ts +20 -0
  61. package/getTags.js +24 -0
  62. package/getTags.js.map +1 -0
  63. package/getZone.d.ts +42 -0
  64. package/getZone.js +32 -0
  65. package/getZone.js.map +1 -0
  66. package/getZones.d.ts +29 -0
  67. package/getZones.js +30 -0
  68. package/getZones.js.map +1 -0
  69. package/index.d.ts +177 -0
  70. package/index.js +287 -0
  71. package/index.js.map +1 -0
  72. package/kubernetesCluster.d.ts +237 -0
  73. package/kubernetesCluster.js +131 -0
  74. package/kubernetesCluster.js.map +1 -0
  75. package/kubernetesNodeGroup.d.ts +243 -0
  76. package/kubernetesNodeGroup.js +120 -0
  77. package/kubernetesNodeGroup.js.map +1 -0
  78. package/loadbalancer.d.ts +261 -0
  79. package/loadbalancer.js +122 -0
  80. package/loadbalancer.js.map +1 -0
  81. package/loadbalancerBackend.d.ts +121 -0
  82. package/loadbalancerBackend.js +90 -0
  83. package/loadbalancerBackend.js.map +1 -0
  84. package/loadbalancerBackendTlsConfig.d.ts +75 -0
  85. package/loadbalancerBackendTlsConfig.js +62 -0
  86. package/loadbalancerBackendTlsConfig.js.map +1 -0
  87. package/loadbalancerDynamicBackendMember.d.ts +169 -0
  88. package/loadbalancerDynamicBackendMember.js +119 -0
  89. package/loadbalancerDynamicBackendMember.js.map +1 -0
  90. package/loadbalancerDynamicCertificateBundle.d.ts +114 -0
  91. package/loadbalancerDynamicCertificateBundle.js +83 -0
  92. package/loadbalancerDynamicCertificateBundle.js.map +1 -0
  93. package/loadbalancerFrontend.d.ts +184 -0
  94. package/loadbalancerFrontend.js +126 -0
  95. package/loadbalancerFrontend.js.map +1 -0
  96. package/loadbalancerFrontendRule.d.ts +170 -0
  97. package/loadbalancerFrontendRule.js +125 -0
  98. package/loadbalancerFrontendRule.js.map +1 -0
  99. package/loadbalancerFrontendTlsConfig.d.ts +114 -0
  100. package/loadbalancerFrontendTlsConfig.js +101 -0
  101. package/loadbalancerFrontendTlsConfig.js.map +1 -0
  102. package/loadbalancerManualCertificateBundle.d.ts +111 -0
  103. package/loadbalancerManualCertificateBundle.js +72 -0
  104. package/loadbalancerManualCertificateBundle.js.map +1 -0
  105. package/loadbalancerResolver.d.ts +171 -0
  106. package/loadbalancerResolver.js +120 -0
  107. package/loadbalancerResolver.js.map +1 -0
  108. package/loadbalancerStaticBackendMember.d.ts +156 -0
  109. package/loadbalancerStaticBackendMember.js +106 -0
  110. package/loadbalancerStaticBackendMember.js.map +1 -0
  111. package/managedDatabaseLogicalDatabase.d.ts +109 -0
  112. package/managedDatabaseLogicalDatabase.js +83 -0
  113. package/managedDatabaseLogicalDatabase.js.map +1 -0
  114. package/managedDatabaseMysql.d.ts +298 -0
  115. package/managedDatabaseMysql.js +139 -0
  116. package/managedDatabaseMysql.js.map +1 -0
  117. package/managedDatabaseOpensearch.d.ts +317 -0
  118. package/managedDatabaseOpensearch.js +132 -0
  119. package/managedDatabaseOpensearch.js.map +1 -0
  120. package/managedDatabasePostgresql.d.ts +295 -0
  121. package/managedDatabasePostgresql.js +130 -0
  122. package/managedDatabasePostgresql.js.map +1 -0
  123. package/managedDatabaseRedis.d.ts +287 -0
  124. package/managedDatabaseRedis.js +128 -0
  125. package/managedDatabaseRedis.js.map +1 -0
  126. package/managedDatabaseUser.d.ts +163 -0
  127. package/managedDatabaseUser.js +94 -0
  128. package/managedDatabaseUser.js.map +1 -0
  129. package/managedDatabaseValkey.d.ts +285 -0
  130. package/managedDatabaseValkey.js +126 -0
  131. package/managedDatabaseValkey.js.map +1 -0
  132. package/managedObjectStorage.d.ts +178 -0
  133. package/managedObjectStorage.js +107 -0
  134. package/managedObjectStorage.js.map +1 -0
  135. package/managedObjectStorageBucket.d.ts +94 -0
  136. package/managedObjectStorageBucket.js +76 -0
  137. package/managedObjectStorageBucket.js.map +1 -0
  138. package/managedObjectStorageCustomDomain.d.ts +105 -0
  139. package/managedObjectStorageCustomDomain.js +89 -0
  140. package/managedObjectStorageCustomDomain.js.map +1 -0
  141. package/managedObjectStoragePolicy.d.ts +155 -0
  142. package/managedObjectStoragePolicy.js +93 -0
  143. package/managedObjectStoragePolicy.js.map +1 -0
  144. package/managedObjectStorageUser.d.ts +101 -0
  145. package/managedObjectStorageUser.js +80 -0
  146. package/managedObjectStorageUser.js.map +1 -0
  147. package/managedObjectStorageUserAccessKey.d.ts +128 -0
  148. package/managedObjectStorageUserAccessKey.js +96 -0
  149. package/managedObjectStorageUserAccessKey.js.map +1 -0
  150. package/managedObjectStorageUserPolicy.d.ts +100 -0
  151. package/managedObjectStorageUserPolicy.js +87 -0
  152. package/managedObjectStorageUserPolicy.js.map +1 -0
  153. package/network.d.ts +142 -0
  154. package/network.js +95 -0
  155. package/network.js.map +1 -0
  156. package/networkPeering.d.ts +137 -0
  157. package/networkPeering.js +96 -0
  158. package/networkPeering.js.map +1 -0
  159. package/objectStorage.d.ts +196 -0
  160. package/objectStorage.js +132 -0
  161. package/objectStorage.js.map +1 -0
  162. package/package.json +29 -0
  163. package/provider.d.ts +60 -0
  164. package/provider.js +50 -0
  165. package/provider.js.map +1 -0
  166. package/router.d.ts +124 -0
  167. package/router.js +77 -0
  168. package/router.js.map +1 -0
  169. package/server.d.ts +332 -0
  170. package/server.js +106 -0
  171. package/server.js.map +1 -0
  172. package/serverFirewallRules.d.ts +124 -0
  173. package/serverFirewallRules.js +107 -0
  174. package/serverFirewallRules.js.map +1 -0
  175. package/serverGroup.d.ts +160 -0
  176. package/serverGroup.js +91 -0
  177. package/serverGroup.js.map +1 -0
  178. package/storage.d.ts +210 -0
  179. package/storage.js +91 -0
  180. package/storage.js.map +1 -0
  181. package/storageTemplate.d.ts +151 -0
  182. package/storageTemplate.js +90 -0
  183. package/storageTemplate.js.map +1 -0
  184. package/tag.d.ts +75 -0
  185. package/tag.js +56 -0
  186. package/tag.js.map +1 -0
  187. package/types/index.d.ts +3 -0
  188. package/types/index.js +11 -0
  189. package/types/index.js.map +1 -0
  190. package/types/input.d.ts +3721 -0
  191. package/types/input.js +5 -0
  192. package/types/input.js.map +1 -0
  193. package/types/output.d.ts +3459 -0
  194. package/types/output.js +5 -0
  195. package/types/output.js.map +1 -0
  196. package/utilities.d.ts +8 -0
  197. package/utilities.js +101 -0
  198. package/utilities.js.map +1 -0
@@ -0,0 +1,129 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Example Usage
6
+ */
7
+ export declare class GatewayConnectionTunnel extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing GatewayConnectionTunnel resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param state Any extra arguments used during the lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GatewayConnectionTunnelState, opts?: pulumi.CustomResourceOptions): GatewayConnectionTunnel;
18
+ /**
19
+ * Returns true if the given object is an instance of GatewayConnectionTunnel. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is GatewayConnectionTunnel;
23
+ /**
24
+ * ID of the upcloud.GatewayConnection resource to which the tunnel belongs
25
+ */
26
+ readonly connectionId: pulumi.Output<string>;
27
+ /**
28
+ * Configuration for authenticating with pre-shared key
29
+ */
30
+ readonly ipsecAuthPsk: pulumi.Output<outputs.GatewayConnectionTunnelIpsecAuthPsk>;
31
+ /**
32
+ * IPsec configuration for the tunnel
33
+ */
34
+ readonly ipsecProperties: pulumi.Output<outputs.GatewayConnectionTunnelIpsecProperties>;
35
+ /**
36
+ * Public (UpCloud) endpoint address of this tunnel
37
+ */
38
+ readonly localAddressName: pulumi.Output<string>;
39
+ /**
40
+ * The name of the tunnel, should be unique within the connection
41
+ */
42
+ readonly name: pulumi.Output<string>;
43
+ /**
44
+ * Tunnel's current operational, effective state
45
+ */
46
+ readonly operationalState: pulumi.Output<string>;
47
+ /**
48
+ * Remote public IP address of the tunnel
49
+ */
50
+ readonly remoteAddress: pulumi.Output<string>;
51
+ /**
52
+ * The UUID of the tunnel
53
+ */
54
+ readonly uuid: pulumi.Output<string>;
55
+ /**
56
+ * Create a GatewayConnectionTunnel resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args: GatewayConnectionTunnelArgs, opts?: pulumi.CustomResourceOptions);
63
+ }
64
+ /**
65
+ * Input properties used for looking up and filtering GatewayConnectionTunnel resources.
66
+ */
67
+ export interface GatewayConnectionTunnelState {
68
+ /**
69
+ * ID of the upcloud.GatewayConnection resource to which the tunnel belongs
70
+ */
71
+ connectionId?: pulumi.Input<string>;
72
+ /**
73
+ * Configuration for authenticating with pre-shared key
74
+ */
75
+ ipsecAuthPsk?: pulumi.Input<inputs.GatewayConnectionTunnelIpsecAuthPsk>;
76
+ /**
77
+ * IPsec configuration for the tunnel
78
+ */
79
+ ipsecProperties?: pulumi.Input<inputs.GatewayConnectionTunnelIpsecProperties>;
80
+ /**
81
+ * Public (UpCloud) endpoint address of this tunnel
82
+ */
83
+ localAddressName?: pulumi.Input<string>;
84
+ /**
85
+ * The name of the tunnel, should be unique within the connection
86
+ */
87
+ name?: pulumi.Input<string>;
88
+ /**
89
+ * Tunnel's current operational, effective state
90
+ */
91
+ operationalState?: pulumi.Input<string>;
92
+ /**
93
+ * Remote public IP address of the tunnel
94
+ */
95
+ remoteAddress?: pulumi.Input<string>;
96
+ /**
97
+ * The UUID of the tunnel
98
+ */
99
+ uuid?: pulumi.Input<string>;
100
+ }
101
+ /**
102
+ * The set of arguments for constructing a GatewayConnectionTunnel resource.
103
+ */
104
+ export interface GatewayConnectionTunnelArgs {
105
+ /**
106
+ * ID of the upcloud.GatewayConnection resource to which the tunnel belongs
107
+ */
108
+ connectionId: pulumi.Input<string>;
109
+ /**
110
+ * Configuration for authenticating with pre-shared key
111
+ */
112
+ ipsecAuthPsk: pulumi.Input<inputs.GatewayConnectionTunnelIpsecAuthPsk>;
113
+ /**
114
+ * IPsec configuration for the tunnel
115
+ */
116
+ ipsecProperties?: pulumi.Input<inputs.GatewayConnectionTunnelIpsecProperties>;
117
+ /**
118
+ * Public (UpCloud) endpoint address of this tunnel
119
+ */
120
+ localAddressName: pulumi.Input<string>;
121
+ /**
122
+ * The name of the tunnel, should be unique within the connection
123
+ */
124
+ name?: pulumi.Input<string>;
125
+ /**
126
+ * Remote public IP address of the tunnel
127
+ */
128
+ remoteAddress: pulumi.Input<string>;
129
+ }
@@ -0,0 +1,78 @@
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.GatewayConnectionTunnel = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ */
11
+ class GatewayConnectionTunnel extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing GatewayConnectionTunnel 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 GatewayConnectionTunnel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of GatewayConnectionTunnel. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === GatewayConnectionTunnel.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["connectionId"] = state ? state.connectionId : undefined;
40
+ resourceInputs["ipsecAuthPsk"] = state ? state.ipsecAuthPsk : undefined;
41
+ resourceInputs["ipsecProperties"] = state ? state.ipsecProperties : undefined;
42
+ resourceInputs["localAddressName"] = state ? state.localAddressName : undefined;
43
+ resourceInputs["name"] = state ? state.name : undefined;
44
+ resourceInputs["operationalState"] = state ? state.operationalState : undefined;
45
+ resourceInputs["remoteAddress"] = state ? state.remoteAddress : undefined;
46
+ resourceInputs["uuid"] = state ? state.uuid : undefined;
47
+ }
48
+ else {
49
+ const args = argsOrState;
50
+ if ((!args || args.connectionId === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'connectionId'");
52
+ }
53
+ if ((!args || args.ipsecAuthPsk === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'ipsecAuthPsk'");
55
+ }
56
+ if ((!args || args.localAddressName === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'localAddressName'");
58
+ }
59
+ if ((!args || args.remoteAddress === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'remoteAddress'");
61
+ }
62
+ resourceInputs["connectionId"] = args ? args.connectionId : undefined;
63
+ resourceInputs["ipsecAuthPsk"] = args ? args.ipsecAuthPsk : undefined;
64
+ resourceInputs["ipsecProperties"] = args ? args.ipsecProperties : undefined;
65
+ resourceInputs["localAddressName"] = args ? args.localAddressName : undefined;
66
+ resourceInputs["name"] = args ? args.name : undefined;
67
+ resourceInputs["remoteAddress"] = args ? args.remoteAddress : undefined;
68
+ resourceInputs["operationalState"] = undefined /*out*/;
69
+ resourceInputs["uuid"] = undefined /*out*/;
70
+ }
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
+ super(GatewayConnectionTunnel.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ }
75
+ exports.GatewayConnectionTunnel = GatewayConnectionTunnel;
76
+ /** @internal */
77
+ GatewayConnectionTunnel.__pulumiType = 'upcloud:index/gatewayConnectionTunnel:GatewayConnectionTunnel';
78
+ //# sourceMappingURL=gatewayConnectionTunnel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gatewayConnectionTunnel.js","sourceRoot":"","sources":["../gatewayConnectionTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA3GL,0DA4GC;AA9FG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
package/getHosts.d.ts ADDED
@@ -0,0 +1,55 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Returns a list of available UpCloud hosts.
6
+ * A host identifies the host server that virtual machines are run on.
7
+ * Only hosts on private cloud to which the calling account has access to are available through this resource.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as upcloud from "@pulumi/upcloud";
14
+ *
15
+ * const allHosts = upcloud.getHosts({});
16
+ * ```
17
+ */
18
+ export declare function getHosts(args?: GetHostsArgs, opts?: pulumi.InvokeOptions): Promise<GetHostsResult>;
19
+ /**
20
+ * A collection of arguments for invoking getHosts.
21
+ */
22
+ export interface GetHostsArgs {
23
+ hosts?: inputs.GetHostsHost[];
24
+ }
25
+ /**
26
+ * A collection of values returned by getHosts.
27
+ */
28
+ export interface GetHostsResult {
29
+ readonly hosts?: outputs.GetHostsHost[];
30
+ /**
31
+ * The ID of this resource.
32
+ */
33
+ readonly id: string;
34
+ }
35
+ /**
36
+ * Returns a list of available UpCloud hosts.
37
+ * A host identifies the host server that virtual machines are run on.
38
+ * Only hosts on private cloud to which the calling account has access to are available through this resource.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as upcloud from "@pulumi/upcloud";
45
+ *
46
+ * const allHosts = upcloud.getHosts({});
47
+ * ```
48
+ */
49
+ export declare function getHostsOutput(args?: GetHostsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHostsResult>;
50
+ /**
51
+ * A collection of arguments for invoking getHosts.
52
+ */
53
+ export interface GetHostsOutputArgs {
54
+ hosts?: pulumi.Input<pulumi.Input<inputs.GetHostsHostArgs>[]>;
55
+ }
package/getHosts.js ADDED
@@ -0,0 +1,52 @@
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.getHostsOutput = exports.getHosts = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Returns a list of available UpCloud hosts.
10
+ * A host identifies the host server that virtual machines are run on.
11
+ * Only hosts on private cloud to which the calling account has access to are available through this resource.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as upcloud from "@pulumi/upcloud";
18
+ *
19
+ * const allHosts = upcloud.getHosts({});
20
+ * ```
21
+ */
22
+ function getHosts(args, opts) {
23
+ args = args || {};
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("upcloud:index/getHosts:getHosts", {
26
+ "hosts": args.hosts,
27
+ }, opts);
28
+ }
29
+ exports.getHosts = getHosts;
30
+ /**
31
+ * Returns a list of available UpCloud hosts.
32
+ * A host identifies the host server that virtual machines are run on.
33
+ * Only hosts on private cloud to which the calling account has access to are available through this resource.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as upcloud from "@pulumi/upcloud";
40
+ *
41
+ * const allHosts = upcloud.getHosts({});
42
+ * ```
43
+ */
44
+ function getHostsOutput(args, opts) {
45
+ args = args || {};
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("upcloud:index/getHosts:getHosts", {
48
+ "hosts": args.hosts,
49
+ }, opts);
50
+ }
51
+ exports.getHostsOutput = getHostsOutput;
52
+ //# sourceMappingURL=getHosts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getHosts.js","sourceRoot":"","sources":["../getHosts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAmBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
@@ -0,0 +1,51 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Returns a set of IP Addresses that are associated with the UpCloud account.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as upcloud from "@pulumi/upcloud";
12
+ *
13
+ * const allIpAddresses = upcloud.getIpAddresses({});
14
+ * ```
15
+ */
16
+ export declare function getIpAddresses(args?: GetIpAddressesArgs, opts?: pulumi.InvokeOptions): Promise<GetIpAddressesResult>;
17
+ /**
18
+ * A collection of arguments for invoking getIpAddresses.
19
+ */
20
+ export interface GetIpAddressesArgs {
21
+ addresses?: inputs.GetIpAddressesAddress[];
22
+ }
23
+ /**
24
+ * A collection of values returned by getIpAddresses.
25
+ */
26
+ export interface GetIpAddressesResult {
27
+ readonly addresses?: outputs.GetIpAddressesAddress[];
28
+ /**
29
+ * ID of the resource.
30
+ */
31
+ readonly id: string;
32
+ }
33
+ /**
34
+ * Returns a set of IP Addresses that are associated with the UpCloud account.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as upcloud from "@pulumi/upcloud";
41
+ *
42
+ * const allIpAddresses = upcloud.getIpAddresses({});
43
+ * ```
44
+ */
45
+ export declare function getIpAddressesOutput(args?: GetIpAddressesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpAddressesResult>;
46
+ /**
47
+ * A collection of arguments for invoking getIpAddresses.
48
+ */
49
+ export interface GetIpAddressesOutputArgs {
50
+ addresses?: pulumi.Input<pulumi.Input<inputs.GetIpAddressesAddressArgs>[]>;
51
+ }
@@ -0,0 +1,48 @@
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.getIpAddressesOutput = exports.getIpAddresses = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Returns a set of IP Addresses that are associated with the UpCloud account.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as upcloud from "@pulumi/upcloud";
16
+ *
17
+ * const allIpAddresses = upcloud.getIpAddresses({});
18
+ * ```
19
+ */
20
+ function getIpAddresses(args, opts) {
21
+ args = args || {};
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invoke("upcloud:index/getIpAddresses:getIpAddresses", {
24
+ "addresses": args.addresses,
25
+ }, opts);
26
+ }
27
+ exports.getIpAddresses = getIpAddresses;
28
+ /**
29
+ * Returns a set of IP Addresses that are associated with the UpCloud account.
30
+ *
31
+ * ## Example Usage
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as upcloud from "@pulumi/upcloud";
36
+ *
37
+ * const allIpAddresses = upcloud.getIpAddresses({});
38
+ * ```
39
+ */
40
+ function getIpAddressesOutput(args, opts) {
41
+ args = args || {};
42
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
43
+ return pulumi.runtime.invokeOutput("upcloud:index/getIpAddresses:getIpAddresses", {
44
+ "addresses": args.addresses,
45
+ }, opts);
46
+ }
47
+ exports.getIpAddressesOutput = getIpAddressesOutput;
48
+ //# sourceMappingURL=getIpAddresses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIpAddresses.js","sourceRoot":"","sources":["../getIpAddresses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAmBD;;;;;;;;;;;GAWG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
@@ -0,0 +1,33 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ */
5
+ export declare function getKubernetesCluster(args: GetKubernetesClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetKubernetesClusterResult>;
6
+ /**
7
+ * A collection of arguments for invoking getKubernetesCluster.
8
+ */
9
+ export interface GetKubernetesClusterArgs {
10
+ id: string;
11
+ }
12
+ /**
13
+ * A collection of values returned by getKubernetesCluster.
14
+ */
15
+ export interface GetKubernetesClusterResult {
16
+ readonly clientCertificate: string;
17
+ readonly clientKey: string;
18
+ readonly clusterCaCertificate: string;
19
+ readonly host: string;
20
+ readonly id: string;
21
+ readonly kubeconfig: string;
22
+ readonly name: string;
23
+ }
24
+ /**
25
+ * ## Example Usage
26
+ */
27
+ export declare function getKubernetesClusterOutput(args: GetKubernetesClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKubernetesClusterResult>;
28
+ /**
29
+ * A collection of arguments for invoking getKubernetesCluster.
30
+ */
31
+ export interface GetKubernetesClusterOutputArgs {
32
+ id: pulumi.Input<string>;
33
+ }
@@ -0,0 +1,28 @@
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.getKubernetesClusterOutput = exports.getKubernetesCluster = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ */
11
+ function getKubernetesCluster(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("upcloud:index/getKubernetesCluster:getKubernetesCluster", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getKubernetesCluster = getKubernetesCluster;
18
+ /**
19
+ * ## Example Usage
20
+ */
21
+ function getKubernetesClusterOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("upcloud:index/getKubernetesCluster:getKubernetesCluster", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getKubernetesClusterOutput = getKubernetesClusterOutput;
28
+ //# sourceMappingURL=getKubernetesCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getKubernetesCluster.js","sourceRoot":"","sources":["../getKubernetesCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAqBD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yDAAyD,EAAE;QAC1F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
@@ -0,0 +1,40 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Returns DNS challenge domain to use when validating domain ownership using ACME challenge method.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as upcloud from "@pulumi/upcloud";
10
+ *
11
+ * const _this = upcloud.getLoadBalancerDnsChallengeDomain({});
12
+ * ```
13
+ */
14
+ export declare function getLoadBalancerDnsChallengeDomain(opts?: pulumi.InvokeOptions): Promise<GetLoadBalancerDnsChallengeDomainResult>;
15
+ /**
16
+ * A collection of values returned by getLoadBalancerDnsChallengeDomain.
17
+ */
18
+ export interface GetLoadBalancerDnsChallengeDomainResult {
19
+ /**
20
+ * The domain to use for DNS challenge validation.
21
+ */
22
+ readonly domain: string;
23
+ /**
24
+ * The ID of this resource.
25
+ */
26
+ readonly id: string;
27
+ }
28
+ /**
29
+ * Returns DNS challenge domain to use when validating domain ownership using ACME challenge method.
30
+ *
31
+ * ## Example Usage
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as upcloud from "@pulumi/upcloud";
36
+ *
37
+ * const _this = upcloud.getLoadBalancerDnsChallengeDomain({});
38
+ * ```
39
+ */
40
+ export declare function getLoadBalancerDnsChallengeDomainOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadBalancerDnsChallengeDomainResult>;
@@ -0,0 +1,42 @@
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.getLoadBalancerDnsChallengeDomainOutput = exports.getLoadBalancerDnsChallengeDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Returns DNS challenge domain to use when validating domain ownership using ACME challenge method.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as upcloud from "@pulumi/upcloud";
16
+ *
17
+ * const _this = upcloud.getLoadBalancerDnsChallengeDomain({});
18
+ * ```
19
+ */
20
+ function getLoadBalancerDnsChallengeDomain(opts) {
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invoke("upcloud:index/getLoadBalancerDnsChallengeDomain:getLoadBalancerDnsChallengeDomain", {}, opts);
23
+ }
24
+ exports.getLoadBalancerDnsChallengeDomain = getLoadBalancerDnsChallengeDomain;
25
+ /**
26
+ * Returns DNS challenge domain to use when validating domain ownership using ACME challenge method.
27
+ *
28
+ * ## Example Usage
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as upcloud from "@pulumi/upcloud";
33
+ *
34
+ * const _this = upcloud.getLoadBalancerDnsChallengeDomain({});
35
+ * ```
36
+ */
37
+ function getLoadBalancerDnsChallengeDomainOutput(opts) {
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
+ return pulumi.runtime.invokeOutput("upcloud:index/getLoadBalancerDnsChallengeDomain:getLoadBalancerDnsChallengeDomain", {}, opts);
40
+ }
41
+ exports.getLoadBalancerDnsChallengeDomainOutput = getLoadBalancerDnsChallengeDomainOutput;
42
+ //# sourceMappingURL=getLoadBalancerDnsChallengeDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLoadBalancerDnsChallengeDomain.js","sourceRoot":"","sources":["../getLoadBalancerDnsChallengeDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,iCAAiC,CAAC,IAA2B;IACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mFAAmF,EAAE,EACjH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8EAIC;AAeD;;;;;;;;;;;GAWG;AACH,SAAgB,uCAAuC,CAAC,IAAiC;IACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mFAAmF,EAAE,EACvH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0FAIC"}
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Current sessions of a MySQL managed database
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as upcloud from "@pulumi/upcloud";
12
+ * import * as upcloud from "@upcloud/pulumi-upcloud";
13
+ *
14
+ * // Use data source to gather a list of the active sessions for a Managed MySQL Database
15
+ * // Create a Managed MySQL resource
16
+ * const exampleManagedDatabaseMysql = new upcloud.ManagedDatabaseMysql("exampleManagedDatabaseMysql", {
17
+ * title: "mysql-example1",
18
+ * plan: "1x1xCPU-2GB-25GB",
19
+ * zone: "fi-hel1",
20
+ * });
21
+ * const exampleManagedDatabaseMysqlSessions = upcloud.getManagedDatabaseMysqlSessionsOutput({
22
+ * service: exampleManagedDatabaseMysql.id,
23
+ * });
24
+ * ```
25
+ */
26
+ export declare function getManagedDatabaseMysqlSessions(args: GetManagedDatabaseMysqlSessionsArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedDatabaseMysqlSessionsResult>;
27
+ /**
28
+ * A collection of arguments for invoking getManagedDatabaseMysqlSessions.
29
+ */
30
+ export interface GetManagedDatabaseMysqlSessionsArgs {
31
+ limit?: number;
32
+ offset?: number;
33
+ order?: string;
34
+ service: string;
35
+ sessions?: inputs.GetManagedDatabaseMysqlSessionsSession[];
36
+ }
37
+ /**
38
+ * A collection of values returned by getManagedDatabaseMysqlSessions.
39
+ */
40
+ export interface GetManagedDatabaseMysqlSessionsResult {
41
+ /**
42
+ * The provider-assigned unique ID for this managed resource.
43
+ */
44
+ readonly id: string;
45
+ readonly limit?: number;
46
+ readonly offset?: number;
47
+ readonly order?: string;
48
+ readonly service: string;
49
+ readonly sessions: outputs.GetManagedDatabaseMysqlSessionsSession[];
50
+ }
51
+ /**
52
+ * Current sessions of a MySQL managed database
53
+ *
54
+ * ## Example Usage
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as upcloud from "@pulumi/upcloud";
59
+ * import * as upcloud from "@upcloud/pulumi-upcloud";
60
+ *
61
+ * // Use data source to gather a list of the active sessions for a Managed MySQL Database
62
+ * // Create a Managed MySQL resource
63
+ * const exampleManagedDatabaseMysql = new upcloud.ManagedDatabaseMysql("exampleManagedDatabaseMysql", {
64
+ * title: "mysql-example1",
65
+ * plan: "1x1xCPU-2GB-25GB",
66
+ * zone: "fi-hel1",
67
+ * });
68
+ * const exampleManagedDatabaseMysqlSessions = upcloud.getManagedDatabaseMysqlSessionsOutput({
69
+ * service: exampleManagedDatabaseMysql.id,
70
+ * });
71
+ * ```
72
+ */
73
+ export declare function getManagedDatabaseMysqlSessionsOutput(args: GetManagedDatabaseMysqlSessionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedDatabaseMysqlSessionsResult>;
74
+ /**
75
+ * A collection of arguments for invoking getManagedDatabaseMysqlSessions.
76
+ */
77
+ export interface GetManagedDatabaseMysqlSessionsOutputArgs {
78
+ limit?: pulumi.Input<number>;
79
+ offset?: pulumi.Input<number>;
80
+ order?: pulumi.Input<string>;
81
+ service: pulumi.Input<string>;
82
+ sessions?: pulumi.Input<pulumi.Input<inputs.GetManagedDatabaseMysqlSessionsSessionArgs>[]>;
83
+ }