@upcloud/pulumi-upcloud 0.4.1 → 0.5.1
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/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +2 -4
- package/config/vars.js +1 -1
- package/config/vars.js.map +1 -1
- package/floatingIpAddress.d.ts +3 -6
- package/floatingIpAddress.js +11 -11
- package/floatingIpAddress.js.map +1 -1
- package/gateway.d.ts +5 -10
- package/gateway.js +24 -24
- package/gateway.js.map +1 -1
- package/gatewayConnection.d.ts +2 -4
- package/gatewayConnection.js +15 -15
- package/gatewayConnection.js.map +1 -1
- package/gatewayConnectionTunnel.js +20 -20
- package/gatewayConnectionTunnel.js.map +1 -1
- package/getHosts.d.ts +2 -2
- package/getHosts.js +3 -3
- package/getHosts.js.map +1 -1
- package/getIpAddresses.d.ts +2 -2
- package/getIpAddresses.js +3 -3
- package/getIpAddresses.js.map +1 -1
- package/getKubernetesCluster.d.ts +0 -2
- package/getKubernetesCluster.js +1 -3
- package/getKubernetesCluster.js.map +1 -1
- package/getLoadBalancerDnsChallengeDomain.d.ts +2 -2
- package/getLoadBalancerDnsChallengeDomain.js +3 -3
- package/getLoadBalancerDnsChallengeDomain.js.map +1 -1
- package/getManagedDatabaseMysqlSessions.d.ts +0 -2
- package/getManagedDatabaseMysqlSessions.js +1 -3
- package/getManagedDatabaseMysqlSessions.js.map +1 -1
- package/getManagedDatabaseOpensearchIndices.d.ts +0 -2
- package/getManagedDatabaseOpensearchIndices.js +1 -3
- package/getManagedDatabaseOpensearchIndices.js.map +1 -1
- package/getManagedDatabasePostgresqlSessions.d.ts +0 -2
- package/getManagedDatabasePostgresqlSessions.js +1 -3
- package/getManagedDatabasePostgresqlSessions.js.map +1 -1
- package/getManagedDatabaseRedisSessions.d.ts +0 -2
- package/getManagedDatabaseRedisSessions.js +1 -3
- package/getManagedDatabaseRedisSessions.js.map +1 -1
- package/getManagedDatabaseValkeySessions.d.ts +0 -2
- package/getManagedDatabaseValkeySessions.js +1 -3
- package/getManagedDatabaseValkeySessions.js.map +1 -1
- package/getManagedObjectStoragePolicies.js +1 -1
- package/getManagedObjectStoragePolicies.js.map +1 -1
- package/getManagedObjectStorageRegions.js +1 -1
- package/getManagedObjectStorageRegions.js.map +1 -1
- package/getNetworks.js +1 -1
- package/getNetworks.js.map +1 -1
- package/getStorage.d.ts +0 -2
- package/getStorage.js +1 -3
- package/getStorage.js.map +1 -1
- package/getTags.js +1 -1
- package/getTags.js.map +1 -1
- package/getZone.js +1 -1
- package/getZone.js.map +1 -1
- package/getZones.js +1 -1
- package/getZones.js.map +1 -1
- package/index.d.ts +1 -3
- package/index.js +19 -5
- package/index.js.map +1 -1
- package/kubernetesCluster.d.ts +18 -27
- package/kubernetesCluster.js +28 -28
- package/kubernetesCluster.js.map +1 -1
- package/kubernetesNodeGroup.d.ts +69 -33
- package/kubernetesNodeGroup.js +57 -29
- package/kubernetesNodeGroup.js.map +1 -1
- package/loadbalancer.d.ts +6 -18
- package/loadbalancer.js +28 -28
- package/loadbalancer.js.map +1 -1
- package/loadbalancerBackend.js +13 -13
- package/loadbalancerBackend.js.map +1 -1
- package/loadbalancerBackendTlsConfig.js +10 -10
- package/loadbalancerBackendTlsConfig.js.map +1 -1
- package/loadbalancerDynamicBackendMember.js +19 -19
- package/loadbalancerDynamicBackendMember.js.map +1 -1
- package/loadbalancerDynamicCertificateBundle.js +13 -13
- package/loadbalancerDynamicCertificateBundle.js.map +1 -1
- package/loadbalancerFrontend.d.ts +12 -18
- package/loadbalancerFrontend.js +22 -22
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerFrontendRule.js +16 -16
- package/loadbalancerFrontendRule.js.map +1 -1
- package/loadbalancerFrontendTlsConfig.js +10 -10
- package/loadbalancerFrontendTlsConfig.js.map +1 -1
- package/loadbalancerManualCertificateBundle.js +15 -15
- package/loadbalancerManualCertificateBundle.js.map +1 -1
- package/loadbalancerResolver.d.ts +3 -6
- package/loadbalancerResolver.js +25 -25
- package/loadbalancerResolver.js.map +1 -1
- package/loadbalancerStaticBackendMember.js +19 -19
- package/loadbalancerStaticBackendMember.js.map +1 -1
- package/managedDatabaseLogicalDatabase.js +11 -11
- package/managedDatabaseLogicalDatabase.js.map +1 -1
- package/managedDatabaseMysql.d.ts +3 -6
- package/managedDatabaseMysql.js +37 -37
- package/managedDatabaseMysql.js.map +1 -1
- package/managedDatabaseOpensearch.d.ts +9 -18
- package/managedDatabaseOpensearch.js +41 -41
- package/managedDatabaseOpensearch.js.map +1 -1
- package/managedDatabasePostgresql.d.ts +3 -6
- package/managedDatabasePostgresql.js +38 -38
- package/managedDatabasePostgresql.js.map +1 -1
- package/managedDatabaseRedis.d.ts +3 -6
- package/managedDatabaseRedis.js +37 -37
- package/managedDatabaseRedis.js.map +1 -1
- package/managedDatabaseUser.js +21 -21
- package/managedDatabaseUser.js.map +1 -1
- package/managedDatabaseValkey.d.ts +3 -6
- package/managedDatabaseValkey.js +37 -37
- package/managedDatabaseValkey.js.map +1 -1
- package/managedObjectStorage.d.ts +3 -9
- package/managedObjectStorage.js +18 -18
- package/managedObjectStorage.js.map +1 -1
- package/managedObjectStorageBucket.js +9 -9
- package/managedObjectStorageBucket.js.map +1 -1
- package/managedObjectStorageCustomDomain.d.ts +3 -7
- package/managedObjectStorageCustomDomain.js +10 -11
- package/managedObjectStorageCustomDomain.js.map +1 -1
- package/managedObjectStoragePolicy.d.ts +3 -6
- package/managedObjectStoragePolicy.js +18 -18
- package/managedObjectStoragePolicy.js.map +1 -1
- package/managedObjectStorageUser.d.ts +3 -9
- package/managedObjectStorageUser.js +10 -10
- package/managedObjectStorageUser.js.map +1 -1
- package/managedObjectStorageUserAccessKey.js +15 -15
- package/managedObjectStorageUserAccessKey.js.map +1 -1
- package/managedObjectStorageUserPolicy.js +10 -10
- package/managedObjectStorageUserPolicy.js.map +1 -1
- package/network.js +15 -15
- package/network.js.map +1 -1
- package/networkPeering.js +14 -14
- package/networkPeering.js.map +1 -1
- package/objectStorage.d.ts +40 -37
- package/objectStorage.js +24 -27
- package/objectStorage.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +17 -6
- package/provider.js +16 -8
- package/provider.js.map +1 -1
- package/router.d.ts +2 -4
- package/router.js +11 -11
- package/router.js.map +1 -1
- package/server.d.ts +27 -42
- package/server.js +50 -50
- package/server.js.map +1 -1
- package/serverFirewallRules.d.ts +24 -15
- package/serverFirewallRules.js +7 -7
- package/serverFirewallRules.js.map +1 -1
- package/serverGroup.d.ts +45 -36
- package/serverGroup.js +13 -13
- package/serverGroup.js.map +1 -1
- package/storage.d.ts +11 -22
- package/storage.js +29 -29
- package/storage.js.map +1 -1
- package/storageBackup.d.ts +2 -4
- package/storageBackup.js +17 -17
- package/storageBackup.js.map +1 -1
- package/storageTemplate.d.ts +2 -4
- package/storageTemplate.js +16 -16
- package/storageTemplate.js.map +1 -1
- package/tag.js +8 -8
- package/tag.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +23 -3
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +23 -3
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
package/config/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const password: string | undefined;
|
|
5
5
|
/**
|
|
6
|
-
* The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120
|
|
7
|
-
* seconds
|
|
6
|
+
* The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds
|
|
8
7
|
*/
|
|
9
8
|
export declare const requestTimeoutSec: number | undefined;
|
|
10
9
|
/**
|
|
@@ -20,8 +19,7 @@ export declare const retryWaitMaxSec: number | undefined;
|
|
|
20
19
|
*/
|
|
21
20
|
export declare const retryWaitMinSec: number | undefined;
|
|
22
21
|
/**
|
|
23
|
-
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable or using
|
|
24
|
-
* the system keyring. Use `upctl account login` command to save a token to the system keyring. (EXPERIMENTAL)
|
|
22
|
+
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable or using the system keyring. Use `upctl account login` command to save a token to the system keyring. (EXPERIMENTAL)
|
|
25
23
|
*/
|
|
26
24
|
export declare const token: string | undefined;
|
|
27
25
|
/**
|
package/config/vars.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.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AC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/floatingIpAddress.d.ts
CHANGED
|
@@ -65,8 +65,7 @@ export declare class FloatingIpAddress extends pulumi.CustomResource {
|
|
|
65
65
|
*/
|
|
66
66
|
readonly macAddress: pulumi.Output<string | undefined>;
|
|
67
67
|
/**
|
|
68
|
-
* Zone of the address, e.g. `de-fra1`. Required when assigning a detached floating IP address. You can list available
|
|
69
|
-
* zones with `upctl zone list`.
|
|
68
|
+
* Zone of the address, e.g. `de-fra1`. Required when assigning a detached floating IP address. You can list available zones with `upctl zone list`.
|
|
70
69
|
*/
|
|
71
70
|
readonly zone: pulumi.Output<string>;
|
|
72
71
|
/**
|
|
@@ -99,8 +98,7 @@ export interface FloatingIpAddressState {
|
|
|
99
98
|
*/
|
|
100
99
|
macAddress?: pulumi.Input<string>;
|
|
101
100
|
/**
|
|
102
|
-
* Zone of the address, e.g. `de-fra1`. Required when assigning a detached floating IP address. You can list available
|
|
103
|
-
* zones with `upctl zone list`.
|
|
101
|
+
* Zone of the address, e.g. `de-fra1`. Required when assigning a detached floating IP address. You can list available zones with `upctl zone list`.
|
|
104
102
|
*/
|
|
105
103
|
zone?: pulumi.Input<string>;
|
|
106
104
|
}
|
|
@@ -121,8 +119,7 @@ export interface FloatingIpAddressArgs {
|
|
|
121
119
|
*/
|
|
122
120
|
macAddress?: pulumi.Input<string>;
|
|
123
121
|
/**
|
|
124
|
-
* Zone of the address, e.g. `de-fra1`. Required when assigning a detached floating IP address. You can list available
|
|
125
|
-
* zones with `upctl zone list`.
|
|
122
|
+
* Zone of the address, e.g. `de-fra1`. Required when assigning a detached floating IP address. You can list available zones with `upctl zone list`.
|
|
126
123
|
*/
|
|
127
124
|
zone?: pulumi.Input<string>;
|
|
128
125
|
}
|
package/floatingIpAddress.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.FloatingIpAddress = void 0;
|
|
@@ -49,7 +49,7 @@ class FloatingIpAddress extends pulumi.CustomResource {
|
|
|
49
49
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
50
|
*/
|
|
51
51
|
static get(name, id, state, opts) {
|
|
52
|
-
return new FloatingIpAddress(name, state,
|
|
52
|
+
return new FloatingIpAddress(name, state, { ...opts, id: id });
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Returns true if the given object is an instance of FloatingIpAddress. This is designed to work even
|
|
@@ -66,18 +66,18 @@ class FloatingIpAddress extends pulumi.CustomResource {
|
|
|
66
66
|
opts = opts || {};
|
|
67
67
|
if (opts.id) {
|
|
68
68
|
const state = argsOrState;
|
|
69
|
-
resourceInputs["access"] = state
|
|
70
|
-
resourceInputs["family"] = state
|
|
71
|
-
resourceInputs["ipAddress"] = state
|
|
72
|
-
resourceInputs["macAddress"] = state
|
|
73
|
-
resourceInputs["zone"] = state
|
|
69
|
+
resourceInputs["access"] = state?.access;
|
|
70
|
+
resourceInputs["family"] = state?.family;
|
|
71
|
+
resourceInputs["ipAddress"] = state?.ipAddress;
|
|
72
|
+
resourceInputs["macAddress"] = state?.macAddress;
|
|
73
|
+
resourceInputs["zone"] = state?.zone;
|
|
74
74
|
}
|
|
75
75
|
else {
|
|
76
76
|
const args = argsOrState;
|
|
77
|
-
resourceInputs["access"] = args
|
|
78
|
-
resourceInputs["family"] = args
|
|
79
|
-
resourceInputs["macAddress"] = args
|
|
80
|
-
resourceInputs["zone"] = args
|
|
77
|
+
resourceInputs["access"] = args?.access;
|
|
78
|
+
resourceInputs["family"] = args?.family;
|
|
79
|
+
resourceInputs["macAddress"] = args?.macAddress;
|
|
80
|
+
resourceInputs["zone"] = args?.zone;
|
|
81
81
|
resourceInputs["ipAddress"] = undefined /*out*/;
|
|
82
82
|
}
|
|
83
83
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/floatingIpAddress.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floatingIpAddress.js","sourceRoot":"","sources":["../floatingIpAddress.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"floatingIpAddress.js","sourceRoot":"","sources":["../floatingIpAddress.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7EL,8CA8EC;AAhEG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
package/gateway.d.ts
CHANGED
|
@@ -67,13 +67,11 @@ export declare class Gateway extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
readonly configuredStatus: pulumi.Output<string | undefined>;
|
|
69
69
|
/**
|
|
70
|
-
* Names of connections attached to the gateway. Note that this field can have outdated information as connections are
|
|
71
|
-
* created by a separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
70
|
+
* Names of connections attached to the gateway. Note that this field can have outdated information as connections are created by a separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
72
71
|
*/
|
|
73
72
|
readonly connections: pulumi.Output<string[]>;
|
|
74
73
|
/**
|
|
75
|
-
* Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see
|
|
76
|
-
* https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
74
|
+
* Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
77
75
|
*/
|
|
78
76
|
readonly features: pulumi.Output<string[]>;
|
|
79
77
|
/**
|
|
@@ -130,13 +128,11 @@ export interface GatewayState {
|
|
|
130
128
|
*/
|
|
131
129
|
configuredStatus?: pulumi.Input<string>;
|
|
132
130
|
/**
|
|
133
|
-
* Names of connections attached to the gateway. Note that this field can have outdated information as connections are
|
|
134
|
-
* created by a separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
131
|
+
* Names of connections attached to the gateway. Note that this field can have outdated information as connections are created by a separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
135
132
|
*/
|
|
136
133
|
connections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
137
134
|
/**
|
|
138
|
-
* Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see
|
|
139
|
-
* https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
135
|
+
* Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
140
136
|
*/
|
|
141
137
|
features?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
138
|
/**
|
|
@@ -179,8 +175,7 @@ export interface GatewayArgs {
|
|
|
179
175
|
*/
|
|
180
176
|
configuredStatus?: pulumi.Input<string>;
|
|
181
177
|
/**
|
|
182
|
-
* Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see
|
|
183
|
-
* https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
178
|
+
* Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
184
179
|
*/
|
|
185
180
|
features: pulumi.Input<pulumi.Input<string>[]>;
|
|
186
181
|
/**
|
package/gateway.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Gateway = void 0;
|
|
@@ -51,7 +51,7 @@ class Gateway extends pulumi.CustomResource {
|
|
|
51
51
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
52
|
*/
|
|
53
53
|
static get(name, id, state, opts) {
|
|
54
|
-
return new Gateway(name, state,
|
|
54
|
+
return new Gateway(name, state, { ...opts, id: id });
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
@@ -68,37 +68,37 @@ class Gateway extends pulumi.CustomResource {
|
|
|
68
68
|
opts = opts || {};
|
|
69
69
|
if (opts.id) {
|
|
70
70
|
const state = argsOrState;
|
|
71
|
-
resourceInputs["address"] = state
|
|
72
|
-
resourceInputs["addresses"] = state
|
|
73
|
-
resourceInputs["configuredStatus"] = state
|
|
74
|
-
resourceInputs["connections"] = state
|
|
75
|
-
resourceInputs["features"] = state
|
|
76
|
-
resourceInputs["labels"] = state
|
|
77
|
-
resourceInputs["name"] = state
|
|
78
|
-
resourceInputs["operationalState"] = state
|
|
79
|
-
resourceInputs["plan"] = state
|
|
80
|
-
resourceInputs["router"] = state
|
|
81
|
-
resourceInputs["zone"] = state
|
|
71
|
+
resourceInputs["address"] = state?.address;
|
|
72
|
+
resourceInputs["addresses"] = state?.addresses;
|
|
73
|
+
resourceInputs["configuredStatus"] = state?.configuredStatus;
|
|
74
|
+
resourceInputs["connections"] = state?.connections;
|
|
75
|
+
resourceInputs["features"] = state?.features;
|
|
76
|
+
resourceInputs["labels"] = state?.labels;
|
|
77
|
+
resourceInputs["name"] = state?.name;
|
|
78
|
+
resourceInputs["operationalState"] = state?.operationalState;
|
|
79
|
+
resourceInputs["plan"] = state?.plan;
|
|
80
|
+
resourceInputs["router"] = state?.router;
|
|
81
|
+
resourceInputs["zone"] = state?.zone;
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
84
84
|
const args = argsOrState;
|
|
85
|
-
if (
|
|
85
|
+
if (args?.features === undefined && !opts.urn) {
|
|
86
86
|
throw new Error("Missing required property 'features'");
|
|
87
87
|
}
|
|
88
|
-
if (
|
|
88
|
+
if (args?.router === undefined && !opts.urn) {
|
|
89
89
|
throw new Error("Missing required property 'router'");
|
|
90
90
|
}
|
|
91
|
-
if (
|
|
91
|
+
if (args?.zone === undefined && !opts.urn) {
|
|
92
92
|
throw new Error("Missing required property 'zone'");
|
|
93
93
|
}
|
|
94
|
-
resourceInputs["address"] = args
|
|
95
|
-
resourceInputs["configuredStatus"] = args
|
|
96
|
-
resourceInputs["features"] = args
|
|
97
|
-
resourceInputs["labels"] = args
|
|
98
|
-
resourceInputs["name"] = args
|
|
99
|
-
resourceInputs["plan"] = args
|
|
100
|
-
resourceInputs["router"] = args
|
|
101
|
-
resourceInputs["zone"] = args
|
|
94
|
+
resourceInputs["address"] = args?.address;
|
|
95
|
+
resourceInputs["configuredStatus"] = args?.configuredStatus;
|
|
96
|
+
resourceInputs["features"] = args?.features;
|
|
97
|
+
resourceInputs["labels"] = args?.labels;
|
|
98
|
+
resourceInputs["name"] = args?.name;
|
|
99
|
+
resourceInputs["plan"] = args?.plan;
|
|
100
|
+
resourceInputs["router"] = args?.router;
|
|
101
|
+
resourceInputs["zone"] = args?.zone;
|
|
102
102
|
resourceInputs["addresses"] = undefined /*out*/;
|
|
103
103
|
resourceInputs["connections"] = undefined /*out*/;
|
|
104
104
|
resourceInputs["operationalState"] = undefined /*out*/;
|
package/gateway.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../gateway.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../gateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAyDD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D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AAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA5HL,0BA6HC;AA/GG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
|
package/gatewayConnection.d.ts
CHANGED
|
@@ -78,8 +78,7 @@ export declare class GatewayConnection extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly remoteRoutes: pulumi.Output<outputs.GatewayConnectionRemoteRoute[] | undefined>;
|
|
80
80
|
/**
|
|
81
|
-
* List of connection's tunnels names. Note that this field can have outdated information as connections are created by a
|
|
82
|
-
* separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
81
|
+
* List of connection's tunnels names. Note that this field can have outdated information as connections are created by a separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
83
82
|
*/
|
|
84
83
|
readonly tunnels: pulumi.Output<string[]>;
|
|
85
84
|
/**
|
|
@@ -120,8 +119,7 @@ export interface GatewayConnectionState {
|
|
|
120
119
|
*/
|
|
121
120
|
remoteRoutes?: pulumi.Input<pulumi.Input<inputs.GatewayConnectionRemoteRoute>[]>;
|
|
122
121
|
/**
|
|
123
|
-
* List of connection's tunnels names. Note that this field can have outdated information as connections are created by a
|
|
124
|
-
* separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
122
|
+
* List of connection's tunnels names. Note that this field can have outdated information as connections are created by a separate resource. To make sure that you have the most recent data run 'terrafrom refresh'.
|
|
125
123
|
*/
|
|
126
124
|
tunnels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
125
|
/**
|
package/gatewayConnection.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.GatewayConnection = void 0;
|
|
@@ -60,7 +60,7 @@ class GatewayConnection extends pulumi.CustomResource {
|
|
|
60
60
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
61
|
*/
|
|
62
62
|
static get(name, id, state, opts) {
|
|
63
|
-
return new GatewayConnection(name, state,
|
|
63
|
+
return new GatewayConnection(name, state, { ...opts, id: id });
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Returns true if the given object is an instance of GatewayConnection. This is designed to work even
|
|
@@ -77,24 +77,24 @@ class GatewayConnection extends pulumi.CustomResource {
|
|
|
77
77
|
opts = opts || {};
|
|
78
78
|
if (opts.id) {
|
|
79
79
|
const state = argsOrState;
|
|
80
|
-
resourceInputs["gateway"] = state
|
|
81
|
-
resourceInputs["localRoutes"] = state
|
|
82
|
-
resourceInputs["name"] = state
|
|
83
|
-
resourceInputs["remoteRoutes"] = state
|
|
84
|
-
resourceInputs["tunnels"] = state
|
|
85
|
-
resourceInputs["type"] = state
|
|
86
|
-
resourceInputs["uuid"] = state
|
|
80
|
+
resourceInputs["gateway"] = state?.gateway;
|
|
81
|
+
resourceInputs["localRoutes"] = state?.localRoutes;
|
|
82
|
+
resourceInputs["name"] = state?.name;
|
|
83
|
+
resourceInputs["remoteRoutes"] = state?.remoteRoutes;
|
|
84
|
+
resourceInputs["tunnels"] = state?.tunnels;
|
|
85
|
+
resourceInputs["type"] = state?.type;
|
|
86
|
+
resourceInputs["uuid"] = state?.uuid;
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
89
|
const args = argsOrState;
|
|
90
|
-
if (
|
|
90
|
+
if (args?.gateway === undefined && !opts.urn) {
|
|
91
91
|
throw new Error("Missing required property 'gateway'");
|
|
92
92
|
}
|
|
93
|
-
resourceInputs["gateway"] = args
|
|
94
|
-
resourceInputs["localRoutes"] = args
|
|
95
|
-
resourceInputs["name"] = args
|
|
96
|
-
resourceInputs["remoteRoutes"] = args
|
|
97
|
-
resourceInputs["type"] = args
|
|
93
|
+
resourceInputs["gateway"] = args?.gateway;
|
|
94
|
+
resourceInputs["localRoutes"] = args?.localRoutes;
|
|
95
|
+
resourceInputs["name"] = args?.name;
|
|
96
|
+
resourceInputs["remoteRoutes"] = args?.remoteRoutes;
|
|
97
|
+
resourceInputs["type"] = args?.type;
|
|
98
98
|
resourceInputs["tunnels"] = undefined /*out*/;
|
|
99
99
|
resourceInputs["uuid"] = undefined /*out*/;
|
|
100
100
|
}
|
package/gatewayConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gatewayConnection.js","sourceRoot":"","sources":["../gatewayConnection.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"gatewayConnection.js","sourceRoot":"","sources":["../gatewayConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EA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IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA5FL,8CA6FC;AA/EG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.GatewayConnectionTunnel = void 0;
|
|
@@ -19,7 +19,7 @@ class GatewayConnectionTunnel extends pulumi.CustomResource {
|
|
|
19
19
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
20
|
*/
|
|
21
21
|
static get(name, id, state, opts) {
|
|
22
|
-
return new GatewayConnectionTunnel(name, state,
|
|
22
|
+
return new GatewayConnectionTunnel(name, state, { ...opts, id: id });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Returns true if the given object is an instance of GatewayConnectionTunnel. This is designed to work even
|
|
@@ -36,35 +36,35 @@ class GatewayConnectionTunnel extends pulumi.CustomResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["connectionId"] = state
|
|
40
|
-
resourceInputs["ipsecAuthPsk"] = state
|
|
41
|
-
resourceInputs["ipsecProperties"] = state
|
|
42
|
-
resourceInputs["localAddressName"] = state
|
|
43
|
-
resourceInputs["name"] = state
|
|
44
|
-
resourceInputs["operationalState"] = state
|
|
45
|
-
resourceInputs["remoteAddress"] = state
|
|
46
|
-
resourceInputs["uuid"] = state
|
|
39
|
+
resourceInputs["connectionId"] = state?.connectionId;
|
|
40
|
+
resourceInputs["ipsecAuthPsk"] = state?.ipsecAuthPsk;
|
|
41
|
+
resourceInputs["ipsecProperties"] = state?.ipsecProperties;
|
|
42
|
+
resourceInputs["localAddressName"] = state?.localAddressName;
|
|
43
|
+
resourceInputs["name"] = state?.name;
|
|
44
|
+
resourceInputs["operationalState"] = state?.operationalState;
|
|
45
|
+
resourceInputs["remoteAddress"] = state?.remoteAddress;
|
|
46
|
+
resourceInputs["uuid"] = state?.uuid;
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const args = argsOrState;
|
|
50
|
-
if (
|
|
50
|
+
if (args?.connectionId === undefined && !opts.urn) {
|
|
51
51
|
throw new Error("Missing required property 'connectionId'");
|
|
52
52
|
}
|
|
53
|
-
if (
|
|
53
|
+
if (args?.ipsecAuthPsk === undefined && !opts.urn) {
|
|
54
54
|
throw new Error("Missing required property 'ipsecAuthPsk'");
|
|
55
55
|
}
|
|
56
|
-
if (
|
|
56
|
+
if (args?.localAddressName === undefined && !opts.urn) {
|
|
57
57
|
throw new Error("Missing required property 'localAddressName'");
|
|
58
58
|
}
|
|
59
|
-
if (
|
|
59
|
+
if (args?.remoteAddress === undefined && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'remoteAddress'");
|
|
61
61
|
}
|
|
62
|
-
resourceInputs["connectionId"] = args
|
|
63
|
-
resourceInputs["ipsecAuthPsk"] = args
|
|
64
|
-
resourceInputs["ipsecProperties"] = args
|
|
65
|
-
resourceInputs["localAddressName"] = args
|
|
66
|
-
resourceInputs["name"] = args
|
|
67
|
-
resourceInputs["remoteAddress"] = args
|
|
62
|
+
resourceInputs["connectionId"] = args?.connectionId;
|
|
63
|
+
resourceInputs["ipsecAuthPsk"] = args?.ipsecAuthPsk;
|
|
64
|
+
resourceInputs["ipsecProperties"] = args?.ipsecProperties;
|
|
65
|
+
resourceInputs["localAddressName"] = args?.localAddressName;
|
|
66
|
+
resourceInputs["name"] = args?.name;
|
|
67
|
+
resourceInputs["remoteAddress"] = args?.remoteAddress;
|
|
68
68
|
resourceInputs["operationalState"] = undefined /*out*/;
|
|
69
69
|
resourceInputs["uuid"] = undefined /*out*/;
|
|
70
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gatewayConnectionTunnel.js","sourceRoot":"","sources":["../gatewayConnectionTunnel.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"gatewayConnectionTunnel.js","sourceRoot":"","sources":["../gatewayConnectionTunnel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;Q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;YACD,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,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
CHANGED
|
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ```typescript
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as upcloud from "@pulumi
|
|
13
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
14
14
|
*
|
|
15
15
|
* const allHosts = upcloud.getHosts({});
|
|
16
16
|
* ```
|
|
@@ -41,7 +41,7 @@ export interface GetHostsResult {
|
|
|
41
41
|
*
|
|
42
42
|
* ```typescript
|
|
43
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
-
* import * as upcloud from "@pulumi
|
|
44
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
45
45
|
*
|
|
46
46
|
* const allHosts = upcloud.getHosts({});
|
|
47
47
|
* ```
|
package/getHosts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getHostsOutput = exports.getHosts = void 0;
|
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as upcloud from "@pulumi
|
|
17
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
18
18
|
*
|
|
19
19
|
* const allHosts = upcloud.getHosts({});
|
|
20
20
|
* ```
|
|
@@ -36,7 +36,7 @@ exports.getHosts = getHosts;
|
|
|
36
36
|
*
|
|
37
37
|
* ```typescript
|
|
38
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
-
* import * as upcloud from "@pulumi
|
|
39
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
40
40
|
*
|
|
41
41
|
* const allHosts = upcloud.getHosts({});
|
|
42
42
|
* ```
|
package/getHosts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHosts.js","sourceRoot":"","sources":["../getHosts.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getHosts.js","sourceRoot":"","sources":["../getHosts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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"}
|
package/getIpAddresses.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as upcloud from "@pulumi
|
|
11
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
12
12
|
*
|
|
13
13
|
* const allIpAddresses = upcloud.getIpAddresses({});
|
|
14
14
|
* ```
|
|
@@ -37,7 +37,7 @@ export interface GetIpAddressesResult {
|
|
|
37
37
|
*
|
|
38
38
|
* ```typescript
|
|
39
39
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
-
* import * as upcloud from "@pulumi
|
|
40
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
41
41
|
*
|
|
42
42
|
* const allIpAddresses = upcloud.getIpAddresses({});
|
|
43
43
|
* ```
|
package/getIpAddresses.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getIpAddressesOutput = exports.getIpAddresses = void 0;
|
|
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as upcloud from "@pulumi
|
|
15
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
16
16
|
*
|
|
17
17
|
* const allIpAddresses = upcloud.getIpAddresses({});
|
|
18
18
|
* ```
|
|
@@ -32,7 +32,7 @@ exports.getIpAddresses = getIpAddresses;
|
|
|
32
32
|
*
|
|
33
33
|
* ```typescript
|
|
34
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as upcloud from "@pulumi
|
|
35
|
+
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
36
36
|
*
|
|
37
37
|
* const allIpAddresses = upcloud.getIpAddresses({});
|
|
38
38
|
* ```
|
package/getIpAddresses.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIpAddresses.js","sourceRoot":"","sources":["../getIpAddresses.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getIpAddresses.js","sourceRoot":"","sources":["../getIpAddresses.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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"}
|
|
@@ -6,7 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
7
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
8
8
|
* import * as local from "@pulumi/local";
|
|
9
|
-
* import * as upcloud from "@pulumi/upcloud";
|
|
10
9
|
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
11
10
|
*
|
|
12
11
|
* // Use Kubernetes provider to access your Kubernetes cluster
|
|
@@ -68,7 +67,6 @@ export interface GetKubernetesClusterResult {
|
|
|
68
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
69
68
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
70
69
|
* import * as local from "@pulumi/local";
|
|
71
|
-
* import * as upcloud from "@pulumi/upcloud";
|
|
72
70
|
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
73
71
|
*
|
|
74
72
|
* // Use Kubernetes provider to access your Kubernetes cluster
|
package/getKubernetesCluster.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getKubernetesClusterOutput = exports.getKubernetesCluster = void 0;
|
|
@@ -12,7 +12,6 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
14
14
|
* import * as local from "@pulumi/local";
|
|
15
|
-
* import * as upcloud from "@pulumi/upcloud";
|
|
16
15
|
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
17
16
|
*
|
|
18
17
|
* // Use Kubernetes provider to access your Kubernetes cluster
|
|
@@ -62,7 +61,6 @@ exports.getKubernetesCluster = getKubernetesCluster;
|
|
|
62
61
|
* import * as pulumi from "@pulumi/pulumi";
|
|
63
62
|
* import * as kubernetes from "@pulumi/kubernetes";
|
|
64
63
|
* import * as local from "@pulumi/local";
|
|
65
|
-
* import * as upcloud from "@pulumi/upcloud";
|
|
66
64
|
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
67
65
|
*
|
|
68
66
|
* // Use Kubernetes provider to access your Kubernetes cluster
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKubernetesCluster.js","sourceRoot":"","sources":["../getKubernetesCluster.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getKubernetesCluster.js","sourceRoot":"","sources":["../getKubernetesCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;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"}
|