@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,268 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class LoadbalancerBackend extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing LoadbalancerBackend 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?: LoadbalancerBackendState, opts?: pulumi.CustomResourceOptions): LoadbalancerBackend;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of LoadbalancerBackend. 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 LoadbalancerBackend;
|
|
19
|
+
/**
|
|
20
|
+
* User sessions will be forwarded to this port of backend servers
|
|
21
|
+
*/
|
|
22
|
+
readonly forwardPort: pulumi.Output<number>;
|
|
23
|
+
/**
|
|
24
|
+
* Load balancing algorithm
|
|
25
|
+
*/
|
|
26
|
+
readonly forwardPortAlgorithm: pulumi.Output<string | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Backend protocol
|
|
29
|
+
*/
|
|
30
|
+
readonly forwardProtocol: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Interval between two HC requests
|
|
33
|
+
*/
|
|
34
|
+
readonly healthCheckDelay: pulumi.Output<string | undefined>;
|
|
35
|
+
readonly healthCheckHttp: pulumi.Output<outputs.LoadbalancerBackendHealthCheckHttp | undefined>;
|
|
36
|
+
readonly healthCheckHttps: pulumi.Output<outputs.LoadbalancerBackendHealthCheckHttps | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Number of allowed failed HC requests before the backend server is marked down
|
|
39
|
+
*/
|
|
40
|
+
readonly healthCheckMaxRetries: pulumi.Output<number | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Port the HC requests will be send to. Default to `forward_port`
|
|
43
|
+
*/
|
|
44
|
+
readonly healthCheckPort: pulumi.Output<number>;
|
|
45
|
+
readonly healthCheckTcp: pulumi.Output<outputs.LoadbalancerBackendHealthCheckTcp>;
|
|
46
|
+
/**
|
|
47
|
+
* Timeout before we consider a HC request failed
|
|
48
|
+
*/
|
|
49
|
+
readonly healthCheckTimeout: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The load-balancer ID
|
|
52
|
+
*/
|
|
53
|
+
readonly lbId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the backend
|
|
56
|
+
*/
|
|
57
|
+
readonly name: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Modify what occurs when a backend server is marked down
|
|
60
|
+
*/
|
|
61
|
+
readonly onMarkedDownAction: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Type of PROXY protocol to enable
|
|
64
|
+
*/
|
|
65
|
+
readonly proxyProtocol: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Enables PROXY protocol version 2
|
|
68
|
+
*
|
|
69
|
+
* @deprecated Please use proxy_protocol instead
|
|
70
|
+
*/
|
|
71
|
+
readonly sendProxyV2: pulumi.Output<boolean | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Backend server IP addresses list (IPv4 or IPv6)
|
|
74
|
+
*/
|
|
75
|
+
readonly serverIps: pulumi.Output<string[] | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Load balancing algorithm
|
|
78
|
+
*/
|
|
79
|
+
readonly stickySessions: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Cookie name for for sticky sessions
|
|
82
|
+
*/
|
|
83
|
+
readonly stickySessionsCookieName: pulumi.Output<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Maximum initial server connection establishment time
|
|
86
|
+
*/
|
|
87
|
+
readonly timeoutConnect: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Maximum server connection inactivity time
|
|
90
|
+
*/
|
|
91
|
+
readonly timeoutServer: pulumi.Output<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum tunnel inactivity time
|
|
94
|
+
*/
|
|
95
|
+
readonly timeoutTunnel: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Create a LoadbalancerBackend resource with the given unique name, arguments, and options.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resource.
|
|
100
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
+
*/
|
|
103
|
+
constructor(name: string, args: LoadbalancerBackendArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering LoadbalancerBackend resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface LoadbalancerBackendState {
|
|
109
|
+
/**
|
|
110
|
+
* User sessions will be forwarded to this port of backend servers
|
|
111
|
+
*/
|
|
112
|
+
forwardPort?: pulumi.Input<number>;
|
|
113
|
+
/**
|
|
114
|
+
* Load balancing algorithm
|
|
115
|
+
*/
|
|
116
|
+
forwardPortAlgorithm?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Backend protocol
|
|
119
|
+
*/
|
|
120
|
+
forwardProtocol?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Interval between two HC requests
|
|
123
|
+
*/
|
|
124
|
+
healthCheckDelay?: pulumi.Input<string>;
|
|
125
|
+
healthCheckHttp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttp>;
|
|
126
|
+
healthCheckHttps?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttps>;
|
|
127
|
+
/**
|
|
128
|
+
* Number of allowed failed HC requests before the backend server is marked down
|
|
129
|
+
*/
|
|
130
|
+
healthCheckMaxRetries?: pulumi.Input<number>;
|
|
131
|
+
/**
|
|
132
|
+
* Port the HC requests will be send to. Default to `forward_port`
|
|
133
|
+
*/
|
|
134
|
+
healthCheckPort?: pulumi.Input<number>;
|
|
135
|
+
healthCheckTcp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckTcp>;
|
|
136
|
+
/**
|
|
137
|
+
* Timeout before we consider a HC request failed
|
|
138
|
+
*/
|
|
139
|
+
healthCheckTimeout?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The load-balancer ID
|
|
142
|
+
*/
|
|
143
|
+
lbId?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The name of the backend
|
|
146
|
+
*/
|
|
147
|
+
name?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Modify what occurs when a backend server is marked down
|
|
150
|
+
*/
|
|
151
|
+
onMarkedDownAction?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Type of PROXY protocol to enable
|
|
154
|
+
*/
|
|
155
|
+
proxyProtocol?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Enables PROXY protocol version 2
|
|
158
|
+
*
|
|
159
|
+
* @deprecated Please use proxy_protocol instead
|
|
160
|
+
*/
|
|
161
|
+
sendProxyV2?: pulumi.Input<boolean>;
|
|
162
|
+
/**
|
|
163
|
+
* Backend server IP addresses list (IPv4 or IPv6)
|
|
164
|
+
*/
|
|
165
|
+
serverIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* Load balancing algorithm
|
|
168
|
+
*/
|
|
169
|
+
stickySessions?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Cookie name for for sticky sessions
|
|
172
|
+
*/
|
|
173
|
+
stickySessionsCookieName?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Maximum initial server connection establishment time
|
|
176
|
+
*/
|
|
177
|
+
timeoutConnect?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Maximum server connection inactivity time
|
|
180
|
+
*/
|
|
181
|
+
timeoutServer?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Maximum tunnel inactivity time
|
|
184
|
+
*/
|
|
185
|
+
timeoutTunnel?: pulumi.Input<string>;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The set of arguments for constructing a LoadbalancerBackend resource.
|
|
189
|
+
*/
|
|
190
|
+
export interface LoadbalancerBackendArgs {
|
|
191
|
+
/**
|
|
192
|
+
* User sessions will be forwarded to this port of backend servers
|
|
193
|
+
*/
|
|
194
|
+
forwardPort: pulumi.Input<number>;
|
|
195
|
+
/**
|
|
196
|
+
* Load balancing algorithm
|
|
197
|
+
*/
|
|
198
|
+
forwardPortAlgorithm?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Backend protocol
|
|
201
|
+
*/
|
|
202
|
+
forwardProtocol: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Interval between two HC requests
|
|
205
|
+
*/
|
|
206
|
+
healthCheckDelay?: pulumi.Input<string>;
|
|
207
|
+
healthCheckHttp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttp>;
|
|
208
|
+
healthCheckHttps?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckHttps>;
|
|
209
|
+
/**
|
|
210
|
+
* Number of allowed failed HC requests before the backend server is marked down
|
|
211
|
+
*/
|
|
212
|
+
healthCheckMaxRetries?: pulumi.Input<number>;
|
|
213
|
+
/**
|
|
214
|
+
* Port the HC requests will be send to. Default to `forward_port`
|
|
215
|
+
*/
|
|
216
|
+
healthCheckPort?: pulumi.Input<number>;
|
|
217
|
+
healthCheckTcp?: pulumi.Input<inputs.LoadbalancerBackendHealthCheckTcp>;
|
|
218
|
+
/**
|
|
219
|
+
* Timeout before we consider a HC request failed
|
|
220
|
+
*/
|
|
221
|
+
healthCheckTimeout?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* The load-balancer ID
|
|
224
|
+
*/
|
|
225
|
+
lbId: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* The name of the backend
|
|
228
|
+
*/
|
|
229
|
+
name?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Modify what occurs when a backend server is marked down
|
|
232
|
+
*/
|
|
233
|
+
onMarkedDownAction?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Type of PROXY protocol to enable
|
|
236
|
+
*/
|
|
237
|
+
proxyProtocol?: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Enables PROXY protocol version 2
|
|
240
|
+
*
|
|
241
|
+
* @deprecated Please use proxy_protocol instead
|
|
242
|
+
*/
|
|
243
|
+
sendProxyV2?: pulumi.Input<boolean>;
|
|
244
|
+
/**
|
|
245
|
+
* Backend server IP addresses list (IPv4 or IPv6)
|
|
246
|
+
*/
|
|
247
|
+
serverIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
248
|
+
/**
|
|
249
|
+
* Load balancing algorithm
|
|
250
|
+
*/
|
|
251
|
+
stickySessions?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Cookie name for for sticky sessions
|
|
254
|
+
*/
|
|
255
|
+
stickySessionsCookieName?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* Maximum initial server connection establishment time
|
|
258
|
+
*/
|
|
259
|
+
timeoutConnect?: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* Maximum server connection inactivity time
|
|
262
|
+
*/
|
|
263
|
+
timeoutServer?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Maximum tunnel inactivity time
|
|
266
|
+
*/
|
|
267
|
+
timeoutTunnel?: pulumi.Input<string>;
|
|
268
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.LoadbalancerBackend = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class LoadbalancerBackend extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["forwardPort"] = state ? state.forwardPort : undefined;
|
|
15
|
+
resourceInputs["forwardPortAlgorithm"] = state ? state.forwardPortAlgorithm : undefined;
|
|
16
|
+
resourceInputs["forwardProtocol"] = state ? state.forwardProtocol : undefined;
|
|
17
|
+
resourceInputs["healthCheckDelay"] = state ? state.healthCheckDelay : undefined;
|
|
18
|
+
resourceInputs["healthCheckHttp"] = state ? state.healthCheckHttp : undefined;
|
|
19
|
+
resourceInputs["healthCheckHttps"] = state ? state.healthCheckHttps : undefined;
|
|
20
|
+
resourceInputs["healthCheckMaxRetries"] = state ? state.healthCheckMaxRetries : undefined;
|
|
21
|
+
resourceInputs["healthCheckPort"] = state ? state.healthCheckPort : undefined;
|
|
22
|
+
resourceInputs["healthCheckTcp"] = state ? state.healthCheckTcp : undefined;
|
|
23
|
+
resourceInputs["healthCheckTimeout"] = state ? state.healthCheckTimeout : undefined;
|
|
24
|
+
resourceInputs["lbId"] = state ? state.lbId : undefined;
|
|
25
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
26
|
+
resourceInputs["onMarkedDownAction"] = state ? state.onMarkedDownAction : undefined;
|
|
27
|
+
resourceInputs["proxyProtocol"] = state ? state.proxyProtocol : undefined;
|
|
28
|
+
resourceInputs["sendProxyV2"] = state ? state.sendProxyV2 : undefined;
|
|
29
|
+
resourceInputs["serverIps"] = state ? state.serverIps : undefined;
|
|
30
|
+
resourceInputs["stickySessions"] = state ? state.stickySessions : undefined;
|
|
31
|
+
resourceInputs["stickySessionsCookieName"] = state ? state.stickySessionsCookieName : undefined;
|
|
32
|
+
resourceInputs["timeoutConnect"] = state ? state.timeoutConnect : undefined;
|
|
33
|
+
resourceInputs["timeoutServer"] = state ? state.timeoutServer : undefined;
|
|
34
|
+
resourceInputs["timeoutTunnel"] = state ? state.timeoutTunnel : undefined;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
const args = argsOrState;
|
|
38
|
+
if ((!args || args.forwardPort === undefined) && !opts.urn) {
|
|
39
|
+
throw new Error("Missing required property 'forwardPort'");
|
|
40
|
+
}
|
|
41
|
+
if ((!args || args.forwardProtocol === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'forwardProtocol'");
|
|
43
|
+
}
|
|
44
|
+
if ((!args || args.lbId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'lbId'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["forwardPort"] = args ? args.forwardPort : undefined;
|
|
48
|
+
resourceInputs["forwardPortAlgorithm"] = args ? args.forwardPortAlgorithm : undefined;
|
|
49
|
+
resourceInputs["forwardProtocol"] = args ? args.forwardProtocol : undefined;
|
|
50
|
+
resourceInputs["healthCheckDelay"] = args ? args.healthCheckDelay : undefined;
|
|
51
|
+
resourceInputs["healthCheckHttp"] = args ? args.healthCheckHttp : undefined;
|
|
52
|
+
resourceInputs["healthCheckHttps"] = args ? args.healthCheckHttps : undefined;
|
|
53
|
+
resourceInputs["healthCheckMaxRetries"] = args ? args.healthCheckMaxRetries : undefined;
|
|
54
|
+
resourceInputs["healthCheckPort"] = args ? args.healthCheckPort : undefined;
|
|
55
|
+
resourceInputs["healthCheckTcp"] = args ? args.healthCheckTcp : undefined;
|
|
56
|
+
resourceInputs["healthCheckTimeout"] = args ? args.healthCheckTimeout : undefined;
|
|
57
|
+
resourceInputs["lbId"] = args ? args.lbId : undefined;
|
|
58
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
59
|
+
resourceInputs["onMarkedDownAction"] = args ? args.onMarkedDownAction : undefined;
|
|
60
|
+
resourceInputs["proxyProtocol"] = args ? args.proxyProtocol : undefined;
|
|
61
|
+
resourceInputs["sendProxyV2"] = args ? args.sendProxyV2 : undefined;
|
|
62
|
+
resourceInputs["serverIps"] = args ? args.serverIps : undefined;
|
|
63
|
+
resourceInputs["stickySessions"] = args ? args.stickySessions : undefined;
|
|
64
|
+
resourceInputs["stickySessionsCookieName"] = args ? args.stickySessionsCookieName : undefined;
|
|
65
|
+
resourceInputs["timeoutConnect"] = args ? args.timeoutConnect : undefined;
|
|
66
|
+
resourceInputs["timeoutServer"] = args ? args.timeoutServer : undefined;
|
|
67
|
+
resourceInputs["timeoutTunnel"] = args ? args.timeoutTunnel : undefined;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(LoadbalancerBackend.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get an existing LoadbalancerBackend resource's state with the given name, ID, and optional extra
|
|
74
|
+
* properties used to qualify the lookup.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resulting resource.
|
|
77
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
78
|
+
* @param state Any extra arguments used during the lookup.
|
|
79
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
80
|
+
*/
|
|
81
|
+
static get(name, id, state, opts) {
|
|
82
|
+
return new LoadbalancerBackend(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Returns true if the given object is an instance of LoadbalancerBackend. This is designed to work even
|
|
86
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
87
|
+
*/
|
|
88
|
+
static isInstance(obj) {
|
|
89
|
+
if (obj === undefined || obj === null) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
return obj['__pulumiType'] === LoadbalancerBackend.__pulumiType;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.LoadbalancerBackend = LoadbalancerBackend;
|
|
96
|
+
/** @internal */
|
|
97
|
+
LoadbalancerBackend.__pulumiType = 'scaleway:index/loadbalancerBackend:LoadbalancerBackend';
|
|
98
|
+
//# sourceMappingURL=loadbalancerBackend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadbalancerBackend.js","sourceRoot":"","sources":["../loadbalancerBackend.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAkH1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC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,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IA9KD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAgLC;AAlKG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class LoadbalancerCertificate extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing LoadbalancerCertificate 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?: LoadbalancerCertificateState, opts?: pulumi.CustomResourceOptions): LoadbalancerCertificate;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of LoadbalancerCertificate. 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 LoadbalancerCertificate;
|
|
19
|
+
/**
|
|
20
|
+
* The main domain name of the certificate
|
|
21
|
+
*/
|
|
22
|
+
readonly commonName: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* The custom type certificate type configuration
|
|
25
|
+
*/
|
|
26
|
+
readonly customCertificate: pulumi.Output<outputs.LoadbalancerCertificateCustomCertificate | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The identifier (SHA-1) of the certificate
|
|
29
|
+
*/
|
|
30
|
+
readonly fingerprint: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The load-balancer ID
|
|
33
|
+
*/
|
|
34
|
+
readonly lbId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The Let's Encrypt type certificate configuration
|
|
37
|
+
*/
|
|
38
|
+
readonly letsencrypt: pulumi.Output<outputs.LoadbalancerCertificateLetsencrypt | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the load-balancer certificate
|
|
41
|
+
*/
|
|
42
|
+
readonly name: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The not valid after validity bound timestamp
|
|
45
|
+
*/
|
|
46
|
+
readonly notValidAfter: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The not valid before validity bound timestamp
|
|
49
|
+
*/
|
|
50
|
+
readonly notValidBefore: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The status of certificate
|
|
53
|
+
*/
|
|
54
|
+
readonly status: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The alternative domain names of the certificate
|
|
57
|
+
*/
|
|
58
|
+
readonly subjectAlternativeNames: pulumi.Output<string[]>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a LoadbalancerCertificate resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: LoadbalancerCertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering LoadbalancerCertificate resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface LoadbalancerCertificateState {
|
|
72
|
+
/**
|
|
73
|
+
* The main domain name of the certificate
|
|
74
|
+
*/
|
|
75
|
+
commonName?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The custom type certificate type configuration
|
|
78
|
+
*/
|
|
79
|
+
customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>;
|
|
80
|
+
/**
|
|
81
|
+
* The identifier (SHA-1) of the certificate
|
|
82
|
+
*/
|
|
83
|
+
fingerprint?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The load-balancer ID
|
|
86
|
+
*/
|
|
87
|
+
lbId?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The Let's Encrypt type certificate configuration
|
|
90
|
+
*/
|
|
91
|
+
letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>;
|
|
92
|
+
/**
|
|
93
|
+
* The name of the load-balancer certificate
|
|
94
|
+
*/
|
|
95
|
+
name?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The not valid after validity bound timestamp
|
|
98
|
+
*/
|
|
99
|
+
notValidAfter?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The not valid before validity bound timestamp
|
|
102
|
+
*/
|
|
103
|
+
notValidBefore?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The status of certificate
|
|
106
|
+
*/
|
|
107
|
+
status?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The alternative domain names of the certificate
|
|
110
|
+
*/
|
|
111
|
+
subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The set of arguments for constructing a LoadbalancerCertificate resource.
|
|
115
|
+
*/
|
|
116
|
+
export interface LoadbalancerCertificateArgs {
|
|
117
|
+
/**
|
|
118
|
+
* The custom type certificate type configuration
|
|
119
|
+
*/
|
|
120
|
+
customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>;
|
|
121
|
+
/**
|
|
122
|
+
* The load-balancer ID
|
|
123
|
+
*/
|
|
124
|
+
lbId: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The Let's Encrypt type certificate configuration
|
|
127
|
+
*/
|
|
128
|
+
letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>;
|
|
129
|
+
/**
|
|
130
|
+
* The name of the load-balancer certificate
|
|
131
|
+
*/
|
|
132
|
+
name?: pulumi.Input<string>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.LoadbalancerCertificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class LoadbalancerCertificate extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["commonName"] = state ? state.commonName : undefined;
|
|
15
|
+
resourceInputs["customCertificate"] = state ? state.customCertificate : undefined;
|
|
16
|
+
resourceInputs["fingerprint"] = state ? state.fingerprint : undefined;
|
|
17
|
+
resourceInputs["lbId"] = state ? state.lbId : undefined;
|
|
18
|
+
resourceInputs["letsencrypt"] = state ? state.letsencrypt : undefined;
|
|
19
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
20
|
+
resourceInputs["notValidAfter"] = state ? state.notValidAfter : undefined;
|
|
21
|
+
resourceInputs["notValidBefore"] = state ? state.notValidBefore : undefined;
|
|
22
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
23
|
+
resourceInputs["subjectAlternativeNames"] = state ? state.subjectAlternativeNames : undefined;
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
const args = argsOrState;
|
|
27
|
+
if ((!args || args.lbId === undefined) && !opts.urn) {
|
|
28
|
+
throw new Error("Missing required property 'lbId'");
|
|
29
|
+
}
|
|
30
|
+
resourceInputs["customCertificate"] = args ? args.customCertificate : undefined;
|
|
31
|
+
resourceInputs["lbId"] = args ? args.lbId : undefined;
|
|
32
|
+
resourceInputs["letsencrypt"] = args ? args.letsencrypt : undefined;
|
|
33
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
34
|
+
resourceInputs["commonName"] = undefined /*out*/;
|
|
35
|
+
resourceInputs["fingerprint"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["notValidAfter"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["notValidBefore"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["subjectAlternativeNames"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
|
+
super(LoadbalancerCertificate.__pulumiType, name, resourceInputs, opts);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing LoadbalancerCertificate resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new LoadbalancerCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of LoadbalancerCertificate. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === LoadbalancerCertificate.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.LoadbalancerCertificate = LoadbalancerCertificate;
|
|
68
|
+
/** @internal */
|
|
69
|
+
LoadbalancerCertificate.__pulumiType = 'scaleway:index/loadbalancerCertificate:LoadbalancerCertificate';
|
|
70
|
+
//# sourceMappingURL=loadbalancerCertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadbalancerCertificate.js","sourceRoot":"","sources":["../loadbalancerCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC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