@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.
- package/LICENSE +202 -0
- package/README.md +54 -0
- package/accountSshKey.d.ts +80 -0
- package/accountSshKey.js +58 -0
- package/accountSshKey.js.map +1 -0
- package/appleSliconValleyServer.d.ts +140 -0
- package/appleSliconValleyServer.js +72 -0
- package/appleSliconValleyServer.js.map +1 -0
- package/baremetalServer.d.ts +173 -0
- package/baremetalServer.js +84 -0
- package/baremetalServer.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +28 -0
- package/config/vars.js +55 -0
- package/config/vars.js.map +1 -0
- package/container.d.ts +273 -0
- package/container.js +90 -0
- package/container.js.map +1 -0
- package/containerNamespace.d.ts +126 -0
- package/containerNamespace.js +63 -0
- package/containerNamespace.js.map +1 -0
- package/database.d.ts +84 -0
- package/database.js +60 -0
- package/database.js.map +1 -0
- package/databaseAcl.d.ts +73 -0
- package/databaseAcl.js +59 -0
- package/databaseAcl.js.map +1 -0
- package/databaseInstance.d.ts +299 -0
- package/databaseInstance.js +99 -0
- package/databaseInstance.js.map +1 -0
- package/databasePrivilege.d.ts +84 -0
- package/databasePrivilege.js +67 -0
- package/databasePrivilege.js.map +1 -0
- package/databaseUser.d.ts +96 -0
- package/databaseUser.js +63 -0
- package/databaseUser.js.map +1 -0
- package/domainRecord.d.ts +189 -0
- package/domainRecord.js +82 -0
- package/domainRecord.js.map +1 -0
- package/domainZone.d.ts +120 -0
- package/domainZone.js +71 -0
- package/domainZone.js.map +1 -0
- package/functionNamespace.d.ts +126 -0
- package/functionNamespace.js +63 -0
- package/functionNamespace.js.map +1 -0
- package/getAccountSshKey.d.ts +31 -0
- package/getAccountSshKey.js +24 -0
- package/getAccountSshKey.js.map +1 -0
- package/getBaremetalOffer.d.ts +41 -0
- package/getBaremetalOffer.js +26 -0
- package/getBaremetalOffer.js.map +1 -0
- package/getBaremetalOs.d.ts +34 -0
- package/getBaremetalOs.js +26 -0
- package/getBaremetalOs.js.map +1 -0
- package/getBaremetalServer.d.ts +44 -0
- package/getBaremetalServer.js +25 -0
- package/getBaremetalServer.js.map +1 -0
- package/getContainer.d.ts +53 -0
- package/getContainer.js +25 -0
- package/getContainer.js.map +1 -0
- package/getContainerNamespace.d.ts +39 -0
- package/getContainerNamespace.js +25 -0
- package/getContainerNamespace.js.map +1 -0
- package/getDatabase.d.ts +31 -0
- package/getDatabase.js +23 -0
- package/getDatabase.js.map +1 -0
- package/getDatabaseAcl.d.ts +28 -0
- package/getDatabaseAcl.js +22 -0
- package/getDatabaseAcl.js.map +1 -0
- package/getDatabaseInstance.d.ts +53 -0
- package/getDatabaseInstance.js +24 -0
- package/getDatabaseInstance.js.map +1 -0
- package/getDatabasePrivilege.d.ts +32 -0
- package/getDatabasePrivilege.js +24 -0
- package/getDatabasePrivilege.js.map +1 -0
- package/getDomainRecord.d.ts +47 -0
- package/getDomainRecord.js +27 -0
- package/getDomainRecord.js.map +1 -0
- package/getDomainZone.d.ts +35 -0
- package/getDomainZone.js +24 -0
- package/getDomainZone.js.map +1 -0
- package/getFunctionNamespace.d.ts +39 -0
- package/getFunctionNamespace.js +25 -0
- package/getFunctionNamespace.js.map +1 -0
- package/getInstanceImage.d.ts +49 -0
- package/getInstanceImage.js +28 -0
- package/getInstanceImage.js.map +1 -0
- package/getInstanceIp.d.ts +30 -0
- package/getInstanceIp.js +24 -0
- package/getInstanceIp.js.map +1 -0
- package/getInstanceSecurityGroup.d.ts +43 -0
- package/getInstanceSecurityGroup.js +25 -0
- package/getInstanceSecurityGroup.js.map +1 -0
- package/getInstanceServer.d.ts +58 -0
- package/getInstanceServer.js +25 -0
- package/getInstanceServer.js.map +1 -0
- package/getInstanceVolume.d.ts +39 -0
- package/getInstanceVolume.js +25 -0
- package/getInstanceVolume.js.map +1 -0
- package/getIotDevice.d.ts +45 -0
- package/getIotDevice.js +26 -0
- package/getIotDevice.js.map +1 -0
- package/getIotHub.d.ts +46 -0
- package/getIotHub.js +25 -0
- package/getIotHub.js.map +1 -0
- package/getKubernetesCluster.d.ts +52 -0
- package/getKubernetesCluster.js +25 -0
- package/getKubernetesCluster.js.map +1 -0
- package/getKubernetesNodePool.d.ts +58 -0
- package/getKubernetesNodePool.js +27 -0
- package/getKubernetesNodePool.js.map +1 -0
- package/getLoadbalancer.d.ts +43 -0
- package/getLoadbalancer.js +26 -0
- package/getLoadbalancer.js.map +1 -0
- package/getLoadbalancerCertificate.d.ts +40 -0
- package/getLoadbalancerCertificate.js +25 -0
- package/getLoadbalancerCertificate.js.map +1 -0
- package/getLoadbalancerIp.d.ts +34 -0
- package/getLoadbalancerIp.js +24 -0
- package/getLoadbalancerIp.js.map +1 -0
- package/getMarketplaceImage.d.ts +31 -0
- package/getMarketplaceImage.js +24 -0
- package/getMarketplaceImage.js.map +1 -0
- package/getObjectBucket.d.ts +38 -0
- package/getObjectBucket.js +24 -0
- package/getObjectBucket.js.map +1 -0
- package/getRedisCluster.d.ts +46 -0
- package/getRedisCluster.js +25 -0
- package/getRedisCluster.js.map +1 -0
- package/getRegistryImage.d.ts +43 -0
- package/getRegistryImage.js +28 -0
- package/getRegistryImage.js.map +1 -0
- package/getRegistryNamespace.d.ts +36 -0
- package/getRegistryNamespace.js +25 -0
- package/getRegistryNamespace.js.map +1 -0
- package/getVpcPrivateNetwork.d.ts +34 -0
- package/getVpcPrivateNetwork.js +24 -0
- package/getVpcPrivateNetwork.js.map +1 -0
- package/getVpcPublicGateway.d.ts +37 -0
- package/getVpcPublicGateway.js +24 -0
- package/getVpcPublicGateway.js.map +1 -0
- package/getVpcPublicGatewayDhcp.d.ts +43 -0
- package/getVpcPublicGatewayDhcp.js +22 -0
- package/getVpcPublicGatewayDhcp.js.map +1 -0
- package/getVpcPublicGatewayIp.d.ts +33 -0
- package/getVpcPublicGatewayIp.js +23 -0
- package/getVpcPublicGatewayIp.js.map +1 -0
- package/getVpcPublicPatRule.d.ts +36 -0
- package/getVpcPublicPatRule.js +23 -0
- package/getVpcPublicPatRule.js.map +1 -0
- package/index.d.ts +83 -0
- package/index.js +304 -0
- package/index.js.map +1 -0
- package/instanceIp.d.ts +104 -0
- package/instanceIp.js +61 -0
- package/instanceIp.js.map +1 -0
- package/instanceIpReverseDns.d.ts +72 -0
- package/instanceIpReverseDns.js +59 -0
- package/instanceIpReverseDns.js.map +1 -0
- package/instancePlacementGroup.d.ts +124 -0
- package/instancePlacementGroup.js +63 -0
- package/instancePlacementGroup.js.map +1 -0
- package/instancePrivateNic.d.ts +80 -0
- package/instancePrivateNic.js +61 -0
- package/instancePrivateNic.js.map +1 -0
- package/instanceSecurityGroup.d.ts +180 -0
- package/instanceSecurityGroup.js +73 -0
- package/instanceSecurityGroup.js.map +1 -0
- package/instanceSecurityGroupRules.d.ts +73 -0
- package/instanceSecurityGroupRules.js +56 -0
- package/instanceSecurityGroupRules.js.map +1 -0
- package/instanceServer.d.ts +327 -0
- package/instanceServer.js +105 -0
- package/instanceServer.js.map +1 -0
- package/instanceSnapshot.d.ts +128 -0
- package/instanceSnapshot.js +68 -0
- package/instanceSnapshot.js.map +1 -0
- package/instanceVolume.d.ts +148 -0
- package/instanceVolume.js +70 -0
- package/instanceVolume.js.map +1 -0
- package/iotDevice.d.ts +173 -0
- package/iotDevice.js +76 -0
- package/iotDevice.js.map +1 -0
- package/iotHub.d.ts +212 -0
- package/iotHub.js +84 -0
- package/iotHub.js.map +1 -0
- package/iotNetwork.d.ts +108 -0
- package/iotNetwork.js +67 -0
- package/iotNetwork.js.map +1 -0
- package/iotRoute.d.ts +129 -0
- package/iotRoute.js +69 -0
- package/iotRoute.js.map +1 -0
- package/kubernetesCluster.d.ts +281 -0
- package/kubernetesCluster.js +99 -0
- package/kubernetesCluster.js.map +1 -0
- package/kubernetesNodePool.d.ts +277 -0
- package/kubernetesNodePool.js +100 -0
- package/kubernetesNodePool.js.map +1 -0
- package/loadbalancer.d.ts +163 -0
- package/loadbalancer.js +75 -0
- package/loadbalancer.js.map +1 -0
- package/loadbalancerBackend.d.ts +268 -0
- package/loadbalancerBackend.js +98 -0
- package/loadbalancerBackend.js.map +1 -0
- package/loadbalancerCertificate.d.ts +133 -0
- package/loadbalancerCertificate.js +70 -0
- package/loadbalancerCertificate.js.map +1 -0
- package/loadbalancerFrontend.d.ts +133 -0
- package/loadbalancerFrontend.js +72 -0
- package/loadbalancerFrontend.js.map +1 -0
- package/loadbalancerIp.d.ts +104 -0
- package/loadbalancerIp.js +61 -0
- package/loadbalancerIp.js.map +1 -0
- package/loadbalancerRoute.d.ts +72 -0
- package/loadbalancerRoute.js +59 -0
- package/loadbalancerRoute.js.map +1 -0
- package/objectBucket.d.ts +138 -0
- package/objectBucket.js +65 -0
- package/objectBucket.js.map +1 -0
- package/package.json +30 -0
- package/package.json.bak +30 -0
- package/provider.d.ts +83 -0
- package/provider.js +52 -0
- package/provider.js.map +1 -0
- package/redisCluster.d.ts +203 -0
- package/redisCluster.js +87 -0
- package/redisCluster.js.map +1 -0
- package/registryNamespace.d.ts +112 -0
- package/registryNamespace.js +61 -0
- package/registryNamespace.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +255 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +459 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/vpcGatewayNetwork.d.ts +156 -0
- package/vpcGatewayNetwork.js +75 -0
- package/vpcGatewayNetwork.js.map +1 -0
- package/vpcPrivateNetwork.d.ts +108 -0
- package/vpcPrivateNetwork.js +61 -0
- package/vpcPrivateNetwork.js.map +1 -0
- package/vpcPublicGateway.d.ts +144 -0
- package/vpcPublicGateway.js +70 -0
- package/vpcPublicGateway.js.map +1 -0
- package/vpcPublicGatewayDhcp.d.ts +255 -0
- package/vpcPublicGatewayDhcp.js +86 -0
- package/vpcPublicGatewayDhcp.js.map +1 -0
- package/vpcPublicGatewayDhcpReservation.d.ts +118 -0
- package/vpcPublicGatewayDhcpReservation.js +72 -0
- package/vpcPublicGatewayDhcpReservation.js.map +1 -0
- package/vpcPublicGatewayIp.d.ts +116 -0
- package/vpcPublicGatewayIp.js +63 -0
- package/vpcPublicGatewayIp.js.map +1 -0
- package/vpcPublicGatewayPatRule.d.ts +132 -0
- package/vpcPublicGatewayPatRule.js +77 -0
- package/vpcPublicGatewayPatRule.js.map +1 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class KubernetesNodePool extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing KubernetesNodePool 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?: KubernetesNodePoolState, opts?: pulumi.CustomResourceOptions): KubernetesNodePool;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of KubernetesNodePool. 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 KubernetesNodePool;
|
|
19
|
+
/**
|
|
20
|
+
* Enable the autohealing on the pool
|
|
21
|
+
*/
|
|
22
|
+
readonly autohealing: pulumi.Output<boolean | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Enable the autoscaling on the pool
|
|
25
|
+
*/
|
|
26
|
+
readonly autoscaling: pulumi.Output<boolean | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the cluster on which this pool will be created
|
|
29
|
+
*/
|
|
30
|
+
readonly clusterId: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Container runtime for the pool
|
|
33
|
+
*/
|
|
34
|
+
readonly containerRuntime: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The date and time of the creation of the pool
|
|
37
|
+
*/
|
|
38
|
+
readonly createdAt: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The actual size of the pool
|
|
41
|
+
*/
|
|
42
|
+
readonly currentSize: pulumi.Output<number>;
|
|
43
|
+
/**
|
|
44
|
+
* The Kubelet arguments to be used by this pool
|
|
45
|
+
*/
|
|
46
|
+
readonly kubeletArgs: pulumi.Output<{
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
} | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Maximum size of the pool
|
|
51
|
+
*/
|
|
52
|
+
readonly maxSize: pulumi.Output<number>;
|
|
53
|
+
/**
|
|
54
|
+
* Minimun size of the pool
|
|
55
|
+
*/
|
|
56
|
+
readonly minSize: pulumi.Output<number | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the cluster
|
|
59
|
+
*/
|
|
60
|
+
readonly name: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Server type of the pool servers
|
|
63
|
+
*/
|
|
64
|
+
readonly nodeType: pulumi.Output<string>;
|
|
65
|
+
readonly nodes: pulumi.Output<outputs.KubernetesNodePoolNode[]>;
|
|
66
|
+
/**
|
|
67
|
+
* ID of the placement group
|
|
68
|
+
*/
|
|
69
|
+
readonly placementGroupId: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The region you want to attach the resource to
|
|
72
|
+
*/
|
|
73
|
+
readonly region: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Size of the pool
|
|
76
|
+
*/
|
|
77
|
+
readonly size: pulumi.Output<number>;
|
|
78
|
+
/**
|
|
79
|
+
* The status of the pool
|
|
80
|
+
*/
|
|
81
|
+
readonly status: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The tags associated with the pool
|
|
84
|
+
*/
|
|
85
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The date and time of the last update of the pool
|
|
88
|
+
*/
|
|
89
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The Pool upgrade policy
|
|
92
|
+
*/
|
|
93
|
+
readonly upgradePolicy: pulumi.Output<outputs.KubernetesNodePoolUpgradePolicy>;
|
|
94
|
+
/**
|
|
95
|
+
* The Kubernetes version of the pool
|
|
96
|
+
*/
|
|
97
|
+
readonly version: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Whether to wait for the pool to be ready
|
|
100
|
+
*/
|
|
101
|
+
readonly waitForPoolReady: pulumi.Output<boolean | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* The zone you want to attach the resource to
|
|
104
|
+
*/
|
|
105
|
+
readonly zone: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a KubernetesNodePool resource with the given unique name, arguments, and options.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resource.
|
|
110
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
111
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
112
|
+
*/
|
|
113
|
+
constructor(name: string, args: KubernetesNodePoolArgs, opts?: pulumi.CustomResourceOptions);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Input properties used for looking up and filtering KubernetesNodePool resources.
|
|
117
|
+
*/
|
|
118
|
+
export interface KubernetesNodePoolState {
|
|
119
|
+
/**
|
|
120
|
+
* Enable the autohealing on the pool
|
|
121
|
+
*/
|
|
122
|
+
autohealing?: pulumi.Input<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* Enable the autoscaling on the pool
|
|
125
|
+
*/
|
|
126
|
+
autoscaling?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the cluster on which this pool will be created
|
|
129
|
+
*/
|
|
130
|
+
clusterId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Container runtime for the pool
|
|
133
|
+
*/
|
|
134
|
+
containerRuntime?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The date and time of the creation of the pool
|
|
137
|
+
*/
|
|
138
|
+
createdAt?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The actual size of the pool
|
|
141
|
+
*/
|
|
142
|
+
currentSize?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* The Kubelet arguments to be used by this pool
|
|
145
|
+
*/
|
|
146
|
+
kubeletArgs?: pulumi.Input<{
|
|
147
|
+
[key: string]: pulumi.Input<string>;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Maximum size of the pool
|
|
151
|
+
*/
|
|
152
|
+
maxSize?: pulumi.Input<number>;
|
|
153
|
+
/**
|
|
154
|
+
* Minimun size of the pool
|
|
155
|
+
*/
|
|
156
|
+
minSize?: pulumi.Input<number>;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the cluster
|
|
159
|
+
*/
|
|
160
|
+
name?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Server type of the pool servers
|
|
163
|
+
*/
|
|
164
|
+
nodeType?: pulumi.Input<string>;
|
|
165
|
+
nodes?: pulumi.Input<pulumi.Input<inputs.KubernetesNodePoolNode>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* ID of the placement group
|
|
168
|
+
*/
|
|
169
|
+
placementGroupId?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The region you want to attach the resource to
|
|
172
|
+
*/
|
|
173
|
+
region?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Size of the pool
|
|
176
|
+
*/
|
|
177
|
+
size?: pulumi.Input<number>;
|
|
178
|
+
/**
|
|
179
|
+
* The status of the pool
|
|
180
|
+
*/
|
|
181
|
+
status?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The tags associated with the pool
|
|
184
|
+
*/
|
|
185
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
186
|
+
/**
|
|
187
|
+
* The date and time of the last update of the pool
|
|
188
|
+
*/
|
|
189
|
+
updatedAt?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The Pool upgrade policy
|
|
192
|
+
*/
|
|
193
|
+
upgradePolicy?: pulumi.Input<inputs.KubernetesNodePoolUpgradePolicy>;
|
|
194
|
+
/**
|
|
195
|
+
* The Kubernetes version of the pool
|
|
196
|
+
*/
|
|
197
|
+
version?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Whether to wait for the pool to be ready
|
|
200
|
+
*/
|
|
201
|
+
waitForPoolReady?: pulumi.Input<boolean>;
|
|
202
|
+
/**
|
|
203
|
+
* The zone you want to attach the resource to
|
|
204
|
+
*/
|
|
205
|
+
zone?: pulumi.Input<string>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* The set of arguments for constructing a KubernetesNodePool resource.
|
|
209
|
+
*/
|
|
210
|
+
export interface KubernetesNodePoolArgs {
|
|
211
|
+
/**
|
|
212
|
+
* Enable the autohealing on the pool
|
|
213
|
+
*/
|
|
214
|
+
autohealing?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* Enable the autoscaling on the pool
|
|
217
|
+
*/
|
|
218
|
+
autoscaling?: pulumi.Input<boolean>;
|
|
219
|
+
/**
|
|
220
|
+
* The ID of the cluster on which this pool will be created
|
|
221
|
+
*/
|
|
222
|
+
clusterId: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Container runtime for the pool
|
|
225
|
+
*/
|
|
226
|
+
containerRuntime?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* The Kubelet arguments to be used by this pool
|
|
229
|
+
*/
|
|
230
|
+
kubeletArgs?: pulumi.Input<{
|
|
231
|
+
[key: string]: pulumi.Input<string>;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* Maximum size of the pool
|
|
235
|
+
*/
|
|
236
|
+
maxSize?: pulumi.Input<number>;
|
|
237
|
+
/**
|
|
238
|
+
* Minimun size of the pool
|
|
239
|
+
*/
|
|
240
|
+
minSize?: pulumi.Input<number>;
|
|
241
|
+
/**
|
|
242
|
+
* The name of the cluster
|
|
243
|
+
*/
|
|
244
|
+
name?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Server type of the pool servers
|
|
247
|
+
*/
|
|
248
|
+
nodeType: pulumi.Input<string>;
|
|
249
|
+
/**
|
|
250
|
+
* ID of the placement group
|
|
251
|
+
*/
|
|
252
|
+
placementGroupId?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* The region you want to attach the resource to
|
|
255
|
+
*/
|
|
256
|
+
region?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Size of the pool
|
|
259
|
+
*/
|
|
260
|
+
size: pulumi.Input<number>;
|
|
261
|
+
/**
|
|
262
|
+
* The tags associated with the pool
|
|
263
|
+
*/
|
|
264
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
265
|
+
/**
|
|
266
|
+
* The Pool upgrade policy
|
|
267
|
+
*/
|
|
268
|
+
upgradePolicy?: pulumi.Input<inputs.KubernetesNodePoolUpgradePolicy>;
|
|
269
|
+
/**
|
|
270
|
+
* Whether to wait for the pool to be ready
|
|
271
|
+
*/
|
|
272
|
+
waitForPoolReady?: pulumi.Input<boolean>;
|
|
273
|
+
/**
|
|
274
|
+
* The zone you want to attach the resource to
|
|
275
|
+
*/
|
|
276
|
+
zone?: pulumi.Input<string>;
|
|
277
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.KubernetesNodePool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class KubernetesNodePool extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["autohealing"] = state ? state.autohealing : undefined;
|
|
15
|
+
resourceInputs["autoscaling"] = state ? state.autoscaling : undefined;
|
|
16
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
17
|
+
resourceInputs["containerRuntime"] = state ? state.containerRuntime : undefined;
|
|
18
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
19
|
+
resourceInputs["currentSize"] = state ? state.currentSize : undefined;
|
|
20
|
+
resourceInputs["kubeletArgs"] = state ? state.kubeletArgs : undefined;
|
|
21
|
+
resourceInputs["maxSize"] = state ? state.maxSize : undefined;
|
|
22
|
+
resourceInputs["minSize"] = state ? state.minSize : undefined;
|
|
23
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
24
|
+
resourceInputs["nodeType"] = state ? state.nodeType : undefined;
|
|
25
|
+
resourceInputs["nodes"] = state ? state.nodes : undefined;
|
|
26
|
+
resourceInputs["placementGroupId"] = state ? state.placementGroupId : undefined;
|
|
27
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
28
|
+
resourceInputs["size"] = state ? state.size : undefined;
|
|
29
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
30
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
31
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
32
|
+
resourceInputs["upgradePolicy"] = state ? state.upgradePolicy : undefined;
|
|
33
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
34
|
+
resourceInputs["waitForPoolReady"] = state ? state.waitForPoolReady : undefined;
|
|
35
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
const args = argsOrState;
|
|
39
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'clusterId'");
|
|
41
|
+
}
|
|
42
|
+
if ((!args || args.nodeType === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'nodeType'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.size === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'size'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["autohealing"] = args ? args.autohealing : undefined;
|
|
49
|
+
resourceInputs["autoscaling"] = args ? args.autoscaling : undefined;
|
|
50
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
51
|
+
resourceInputs["containerRuntime"] = args ? args.containerRuntime : undefined;
|
|
52
|
+
resourceInputs["kubeletArgs"] = args ? args.kubeletArgs : undefined;
|
|
53
|
+
resourceInputs["maxSize"] = args ? args.maxSize : undefined;
|
|
54
|
+
resourceInputs["minSize"] = args ? args.minSize : undefined;
|
|
55
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
56
|
+
resourceInputs["nodeType"] = args ? args.nodeType : undefined;
|
|
57
|
+
resourceInputs["placementGroupId"] = args ? args.placementGroupId : undefined;
|
|
58
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
59
|
+
resourceInputs["size"] = args ? args.size : undefined;
|
|
60
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
61
|
+
resourceInputs["upgradePolicy"] = args ? args.upgradePolicy : undefined;
|
|
62
|
+
resourceInputs["waitForPoolReady"] = args ? args.waitForPoolReady : undefined;
|
|
63
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
64
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["currentSize"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["nodes"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(KubernetesNodePool.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing KubernetesNodePool resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new KubernetesNodePool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of KubernetesNodePool. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === KubernetesNodePool.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.KubernetesNodePool = KubernetesNodePool;
|
|
98
|
+
/** @internal */
|
|
99
|
+
KubernetesNodePool.__pulumiType = 'scaleway:index/kubernetesNodePool:KubernetesNodePool';
|
|
100
|
+
//# sourceMappingURL=kubernetesNodePool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kubernetesNodePool.js","sourceRoot":"","sources":["../kubernetesNodePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA0HzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA0LC;AA5KG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class Loadbalancer extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing Loadbalancer 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?: LoadbalancerState, opts?: pulumi.CustomResourceOptions): Loadbalancer;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of Loadbalancer. 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 Loadbalancer;
|
|
19
|
+
/**
|
|
20
|
+
* The load-balance public IP address
|
|
21
|
+
*/
|
|
22
|
+
readonly ipAddress: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* The load-balance public IP ID
|
|
25
|
+
*/
|
|
26
|
+
readonly ipId: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the lb
|
|
29
|
+
*/
|
|
30
|
+
readonly name: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The organization_id you want to attach the resource to
|
|
33
|
+
*/
|
|
34
|
+
readonly organizationId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* List of private network to connect with your load balancer
|
|
37
|
+
*/
|
|
38
|
+
readonly privateNetworks: pulumi.Output<outputs.LoadbalancerPrivateNetwork[] | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The project_id you want to attach the resource to
|
|
41
|
+
*/
|
|
42
|
+
readonly projectId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The region of the resource
|
|
45
|
+
*/
|
|
46
|
+
readonly region: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Release the IPs related to this load-balancer
|
|
49
|
+
*
|
|
50
|
+
* @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
|
|
51
|
+
*/
|
|
52
|
+
readonly releaseIp: pulumi.Output<boolean | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Array of tags to associate with the load-balancer
|
|
55
|
+
*/
|
|
56
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The type of load-balancer you want to create
|
|
59
|
+
*/
|
|
60
|
+
readonly type: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The zone you want to attach the resource to
|
|
63
|
+
*/
|
|
64
|
+
readonly zone: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a Loadbalancer resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: LoadbalancerArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering Loadbalancer resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface LoadbalancerState {
|
|
78
|
+
/**
|
|
79
|
+
* The load-balance public IP address
|
|
80
|
+
*/
|
|
81
|
+
ipAddress?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The load-balance public IP ID
|
|
84
|
+
*/
|
|
85
|
+
ipId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Name of the lb
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The organization_id you want to attach the resource to
|
|
92
|
+
*/
|
|
93
|
+
organizationId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* List of private network to connect with your load balancer
|
|
96
|
+
*/
|
|
97
|
+
privateNetworks?: pulumi.Input<pulumi.Input<inputs.LoadbalancerPrivateNetwork>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* The project_id you want to attach the resource to
|
|
100
|
+
*/
|
|
101
|
+
projectId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The region of the resource
|
|
104
|
+
*/
|
|
105
|
+
region?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Release the IPs related to this load-balancer
|
|
108
|
+
*
|
|
109
|
+
* @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
|
|
110
|
+
*/
|
|
111
|
+
releaseIp?: pulumi.Input<boolean>;
|
|
112
|
+
/**
|
|
113
|
+
* Array of tags to associate with the load-balancer
|
|
114
|
+
*/
|
|
115
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* The type of load-balancer you want to create
|
|
118
|
+
*/
|
|
119
|
+
type?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The zone you want to attach the resource to
|
|
122
|
+
*/
|
|
123
|
+
zone?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The set of arguments for constructing a Loadbalancer resource.
|
|
127
|
+
*/
|
|
128
|
+
export interface LoadbalancerArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The load-balance public IP ID
|
|
131
|
+
*/
|
|
132
|
+
ipId: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Name of the lb
|
|
135
|
+
*/
|
|
136
|
+
name?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* List of private network to connect with your load balancer
|
|
139
|
+
*/
|
|
140
|
+
privateNetworks?: pulumi.Input<pulumi.Input<inputs.LoadbalancerPrivateNetwork>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* The project_id you want to attach the resource to
|
|
143
|
+
*/
|
|
144
|
+
projectId?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Release the IPs related to this load-balancer
|
|
147
|
+
*
|
|
148
|
+
* @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
|
|
149
|
+
*/
|
|
150
|
+
releaseIp?: pulumi.Input<boolean>;
|
|
151
|
+
/**
|
|
152
|
+
* Array of tags to associate with the load-balancer
|
|
153
|
+
*/
|
|
154
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
155
|
+
/**
|
|
156
|
+
* The type of load-balancer you want to create
|
|
157
|
+
*/
|
|
158
|
+
type: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The zone you want to attach the resource to
|
|
161
|
+
*/
|
|
162
|
+
zone?: pulumi.Input<string>;
|
|
163
|
+
}
|
package/loadbalancer.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
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.Loadbalancer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Loadbalancer extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
15
|
+
resourceInputs["ipId"] = state ? state.ipId : undefined;
|
|
16
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
17
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
18
|
+
resourceInputs["privateNetworks"] = state ? state.privateNetworks : undefined;
|
|
19
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
20
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
21
|
+
resourceInputs["releaseIp"] = state ? state.releaseIp : undefined;
|
|
22
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
23
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
24
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
const args = argsOrState;
|
|
28
|
+
if ((!args || args.ipId === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'ipId'");
|
|
30
|
+
}
|
|
31
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'type'");
|
|
33
|
+
}
|
|
34
|
+
resourceInputs["ipId"] = args ? args.ipId : undefined;
|
|
35
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
36
|
+
resourceInputs["privateNetworks"] = args ? args.privateNetworks : undefined;
|
|
37
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
38
|
+
resourceInputs["releaseIp"] = args ? args.releaseIp : undefined;
|
|
39
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
40
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
41
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
42
|
+
resourceInputs["ipAddress"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["region"] = undefined /*out*/;
|
|
45
|
+
}
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
|
+
super(Loadbalancer.__pulumiType, name, resourceInputs, opts);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing Loadbalancer resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new Loadbalancer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of Loadbalancer. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === Loadbalancer.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Loadbalancer = Loadbalancer;
|
|
73
|
+
/** @internal */
|
|
74
|
+
Loadbalancer.__pulumiType = 'scaleway:index/loadbalancer:Loadbalancer';
|
|
75
|
+
//# sourceMappingURL=loadbalancer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadbalancer.js","sourceRoot":"","sources":["../loadbalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAmFnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAA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