@pulumiverse/scaleway 1.13.0 → 1.15.0
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/{appleSliconValleyServer.d.ts → appleSiliconServer.d.ts} +18 -18
- package/{appleSliconValleyServer.js → appleSiliconServer.js} +14 -14
- package/appleSiliconServer.js.map +1 -0
- package/baremetalServer.d.ts +7 -7
- package/baremetalServer.js +1 -1
- package/blockSnapshot.d.ts +5 -1
- package/blockSnapshot.js +5 -1
- package/blockSnapshot.js.map +1 -1
- package/blockVolume.d.ts +19 -0
- package/blockVolume.js +19 -0
- package/blockVolume.js.map +1 -1
- package/cockpitAlertManager.d.ts +109 -0
- package/cockpitAlertManager.js +72 -0
- package/cockpitAlertManager.js.map +1 -0
- package/container.d.ts +12 -0
- package/container.js +2 -0
- package/container.js.map +1 -1
- package/database.d.ts +17 -9
- package/database.js +11 -3
- package/database.js.map +1 -1
- package/databaseAcl.d.ts +14 -6
- package/databaseAcl.js +11 -3
- package/databaseAcl.js.map +1 -1
- package/databaseBackup.d.ts +21 -12
- package/databaseBackup.js +15 -6
- package/databaseBackup.js.map +1 -1
- package/databaseInstance.d.ts +73 -58
- package/databaseInstance.js +30 -12
- package/databaseInstance.js.map +1 -1
- package/databasePrivilege.d.ts +5 -5
- package/databasePrivilege.js +2 -2
- package/databaseReadReplica.d.ts +12 -12
- package/databaseReadReplica.js +3 -3
- package/databaseUser.d.ts +30 -22
- package/databaseUser.js +12 -4
- package/databaseUser.js.map +1 -1
- package/documentdbDatabase.d.ts +11 -4
- package/documentdbDatabase.js +8 -1
- package/documentdbDatabase.js.map +1 -1
- package/documentdbPrivateNetworkEndpoint.d.ts +51 -75
- package/documentdbPrivateNetworkEndpoint.js +27 -17
- package/documentdbPrivateNetworkEndpoint.js.map +1 -1
- package/documentdbPrivilege.d.ts +9 -2
- package/documentdbPrivilege.js +9 -2
- package/documentdbPrivilege.js.map +1 -1
- package/documentdbReadReplica.d.ts +8 -1
- package/documentdbReadReplica.js +8 -1
- package/documentdbReadReplica.js.map +1 -1
- package/documentdbUser.d.ts +8 -1
- package/documentdbUser.js +8 -1
- package/documentdbUser.js.map +1 -1
- package/domainRecord.d.ts +3 -3
- package/function.d.ts +15 -12
- package/function.js +2 -0
- package/function.js.map +1 -1
- package/functionTrigger.d.ts +16 -0
- package/functionTrigger.js +16 -0
- package/functionTrigger.js.map +1 -1
- package/getAccountSshKey.d.ts +8 -4
- package/getAccountSshKey.js.map +1 -1
- package/getBillingConsumptions.d.ts +21 -0
- package/getBillingConsumptions.js +6 -0
- package/getBillingConsumptions.js.map +1 -1
- package/getBillingInvoices.d.ts +2 -2
- package/getBillingInvoices.js +2 -2
- package/getBlockSnapshot.d.ts +58 -0
- package/getBlockSnapshot.js +28 -0
- package/getBlockSnapshot.js.map +1 -1
- package/getConfig.d.ts +22 -0
- package/getConfig.js +17 -0
- package/getConfig.js.map +1 -0
- package/getContainer.d.ts +4 -0
- package/getContainer.js.map +1 -1
- package/getDatabase.d.ts +2 -2
- package/getDatabase.js +2 -2
- package/getDatabaseAcl.d.ts +2 -2
- package/getDatabaseAcl.js +2 -2
- package/getDatabaseBackup.d.ts +8 -8
- package/getDatabaseInstance.d.ts +14 -10
- package/getDatabaseInstance.js +6 -2
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabasePrivilege.d.ts +4 -4
- package/getDatabasePrivilege.js +2 -2
- package/getFunction.d.ts +1 -0
- package/getFunction.js.map +1 -1
- package/getIamApiKey.d.ts +68 -0
- package/getIamApiKey.js +47 -0
- package/getIamApiKey.js.map +1 -0
- package/getIamApplication.d.ts +6 -6
- package/getIamGroup.d.ts +10 -8
- package/getIamGroup.js +6 -4
- package/getIamGroup.js.map +1 -1
- package/getIamSshKey.d.ts +8 -4
- package/getIamSshKey.js.map +1 -1
- package/getIamUser.d.ts +10 -8
- package/getIamUser.js +2 -4
- package/getIamUser.js.map +1 -1
- package/getIpamIp.d.ts +19 -15
- package/getIpamIp.js +8 -4
- package/getIpamIp.js.map +1 -1
- package/getIpamIps.d.ts +25 -21
- package/getIpamIps.js +6 -2
- package/getIpamIps.js.map +1 -1
- package/getLbAcls.d.ts +13 -9
- package/getLbAcls.js +4 -0
- package/getLbAcls.js.map +1 -1
- package/getLbBackend.d.ts +12 -10
- package/getLbBackend.js +6 -4
- package/getLbBackend.js.map +1 -1
- package/getLbBackends.d.ts +9 -5
- package/getLbBackends.js +4 -0
- package/getLbBackends.js.map +1 -1
- package/getLbFrontend.d.ts +10 -8
- package/getLbFrontend.js +6 -4
- package/getLbFrontend.js.map +1 -1
- package/getLbFrontends.d.ts +13 -9
- package/getLbFrontends.js +6 -2
- package/getLbFrontends.js.map +1 -1
- package/getLbIps.d.ts +42 -12
- package/getLbIps.js +16 -2
- package/getLbIps.js.map +1 -1
- package/getLbRoute.d.ts +8 -6
- package/getLbRoute.js +6 -4
- package/getLbRoute.js.map +1 -1
- package/getLbRoutes.d.ts +11 -7
- package/getLbRoutes.js +6 -2
- package/getLbRoutes.js.map +1 -1
- package/getLbs.d.ts +18 -14
- package/getLbs.js +4 -0
- package/getLbs.js.map +1 -1
- package/getLoadbalancer.d.ts +14 -10
- package/getLoadbalancer.js +4 -0
- package/getLoadbalancer.js.map +1 -1
- package/getLoadbalancerCertificate.d.ts +12 -12
- package/getLoadbalancerCertificate.js +6 -6
- package/getLoadbalancerIp.d.ts +14 -6
- package/getLoadbalancerIp.js +6 -2
- package/getLoadbalancerIp.js.map +1 -1
- package/getMarketplaceImage.d.ts +2 -2
- package/getMnqSqs.d.ts +7 -7
- package/getMnqSqs.js +2 -2
- package/getRedisCluster.d.ts +52 -6
- package/getRedisCluster.js +6 -2
- package/getRedisCluster.js.map +1 -1
- package/getRegistryImage.d.ts +6 -6
- package/getRegistryImage.js +2 -2
- package/getRegistryNamespace.d.ts +4 -4
- package/getVpc.d.ts +11 -10
- package/getVpc.js.map +1 -1
- package/getVpcGatewayNetwork.d.ts +4 -32
- package/getVpcGatewayNetwork.js +2 -2
- package/getVpcGatewayNetwork.js.map +1 -1
- package/getVpcPrivateNetwork.d.ts +12 -12
- package/getVpcPrivateNetwork.js +2 -2
- package/getVpcPublicGateway.d.ts +9 -10
- package/getVpcPublicGateway.js +2 -2
- package/getVpcPublicGatewayDhcp.d.ts +2 -2
- package/getVpcPublicGatewayDhcp.js +2 -2
- package/getVpcPublicGatewayDhcpReservation.d.ts +12 -12
- package/getVpcPublicGatewayDhcpReservation.js +6 -6
- package/getVpcPublicGatewayIp.d.ts +4 -4
- package/getVpcPublicGatewayIp.js +4 -4
- package/getVpcPublicPatRule.d.ts +11 -11
- package/getVpcPublicPatRule.js +4 -4
- package/getVpcRoutes.d.ts +96 -0
- package/getVpcRoutes.js +32 -0
- package/getVpcRoutes.js.map +1 -0
- package/getVpcs.d.ts +11 -11
- package/iamApiKey.d.ts +44 -33
- package/iamApiKey.js +16 -2
- package/iamApiKey.js.map +1 -1
- package/iamApplication.d.ts +1 -1
- package/iamApplication.js +1 -1
- package/iamGroup.d.ts +1 -1
- package/iamGroup.js +1 -1
- package/iamGroupMembership.d.ts +4 -4
- package/iamGroupMembership.js +1 -1
- package/iamPolicy.d.ts +22 -22
- package/iamPolicy.js +1 -1
- package/iamSshKey.d.ts +1 -2
- package/iamSshKey.js +1 -2
- package/iamSshKey.js.map +1 -1
- package/iamUser.d.ts +10 -10
- package/index.d.ts +15 -3
- package/index.js +25 -11
- package/index.js.map +1 -1
- package/instanceImage.d.ts +1 -1
- package/instanceImage.js +1 -1
- package/instanceIp.d.ts +1 -1
- package/instanceIp.js +1 -1
- package/instanceIpReverseDns.d.ts +1 -1
- package/instanceIpReverseDns.js +1 -1
- package/instancePlacementGroup.d.ts +7 -7
- package/instancePlacementGroup.js +1 -1
- package/instancePrivateNic.d.ts +1 -1
- package/instancePrivateNic.js +1 -1
- package/instanceSecurityGroupRules.d.ts +1 -1
- package/instanceSecurityGroupRules.js +1 -1
- package/instanceServer.d.ts +19 -19
- package/instanceServer.js +1 -1
- package/instanceSnapshot.d.ts +1 -1
- package/instanceSnapshot.js +1 -1
- package/instanceUserData.d.ts +2 -2
- package/instanceUserData.js +2 -2
- package/instanceVolume.d.ts +2 -2
- package/instanceVolume.js +2 -2
- package/iotHub.d.ts +2 -2
- package/ipamIp.d.ts +14 -12
- package/ipamIp.js +6 -4
- package/ipamIp.js.map +1 -1
- package/ipamIpReverseDns.d.ts +4 -2
- package/ipamIpReverseDns.js +4 -2
- package/ipamIpReverseDns.js.map +1 -1
- package/kubernetesCluster.d.ts +19 -22
- package/kubernetesCluster.js +19 -22
- package/kubernetesCluster.js.map +1 -1
- package/kubernetesNodePool.d.ts +3 -3
- package/loadbalancer.d.ts +102 -43
- package/loadbalancer.js +63 -4
- package/loadbalancer.js.map +1 -1
- package/loadbalancerAcl.d.ts +10 -8
- package/loadbalancerAcl.js +4 -2
- package/loadbalancerAcl.js.map +1 -1
- package/loadbalancerBackend.d.ts +10 -9
- package/loadbalancerBackend.js +4 -3
- package/loadbalancerBackend.js.map +1 -1
- package/loadbalancerFrontend.d.ts +27 -25
- package/loadbalancerFrontend.js +4 -2
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerIp.d.ts +28 -15
- package/loadbalancerIp.js +6 -3
- package/loadbalancerIp.js.map +1 -1
- package/loadbalancerRoute.d.ts +14 -13
- package/loadbalancerRoute.js +4 -3
- package/loadbalancerRoute.js.map +1 -1
- package/mnqNatsAccount.d.ts +11 -11
- package/mnqNatsAccount.js +5 -5
- package/mnqNatsCredentials.d.ts +10 -10
- package/mnqNatsCredentials.js +4 -4
- package/mnqSns.d.ts +15 -15
- package/mnqSns.js +7 -7
- package/mnqSnsCredentials.d.ts +16 -16
- package/mnqSnsCredentials.js +4 -4
- package/mnqSnsTopic.d.ts +16 -16
- package/mnqSnsTopic.js +4 -4
- package/mnqSnsTopicSubscription.d.ts +16 -16
- package/mnqSnsTopicSubscription.js +4 -4
- package/mnqSqs.d.ts +12 -12
- package/mnqSqs.js +4 -4
- package/mnqSqsCredentials.d.ts +16 -16
- package/mnqSqsCredentials.js +4 -4
- package/mnqSqsQueue.d.ts +12 -12
- package/mnqSqsQueue.js +3 -3
- package/objectBucketAcl.d.ts +3 -3
- package/objectBucketLockConfiguration.d.ts +3 -3
- package/objectBucketPolicy.d.ts +3 -3
- package/objectBucketWebsiteConfiguration.d.ts +3 -3
- package/objectItem.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/redisCluster.d.ts +68 -68
- package/redisCluster.js +4 -4
- package/registryNamespace.d.ts +3 -3
- package/registryNamespace.js +1 -1
- package/sdbDatabase.d.ts +3 -3
- package/temDomain.d.ts +4 -4
- package/temDomain.js +1 -1
- package/temDomainValidation.d.ts +2 -1
- package/temDomainValidation.js +2 -1
- package/temDomainValidation.js.map +1 -1
- package/types/input.d.ts +119 -73
- package/types/output.d.ts +275 -173
- package/vpc.d.ts +43 -13
- package/vpc.js +22 -2
- package/vpc.js.map +1 -1
- package/vpcGatewayNetwork.d.ts +39 -38
- package/vpcGatewayNetwork.js +9 -8
- package/vpcGatewayNetwork.js.map +1 -1
- package/vpcPrivateNetwork.d.ts +28 -28
- package/vpcPrivateNetwork.js +2 -2
- package/vpcPublicGateway.d.ts +44 -30
- package/vpcPublicGateway.js +7 -3
- package/vpcPublicGateway.js.map +1 -1
- package/vpcPublicGatewayDhcp.d.ts +26 -26
- package/vpcPublicGatewayDhcp.js +2 -2
- package/vpcPublicGatewayDhcpReservation.d.ts +19 -19
- package/vpcPublicGatewayDhcpReservation.js +5 -5
- package/vpcPublicGatewayIp.d.ts +18 -18
- package/vpcPublicGatewayIp.js +3 -3
- package/vpcPublicGatewayIpReverseDns.d.ts +6 -6
- package/vpcPublicGatewayIpReverseDns.js +3 -3
- package/vpcPublicGatewayPatRule.d.ts +27 -27
- package/vpcPublicGatewayPatRule.js +3 -3
- package/appleSliconValleyServer.js.map +0 -1
package/loadbalancer.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Creates and manages Scaleway Load
|
|
6
|
-
*
|
|
5
|
+
* Creates and manages Scaleway Load Balancers.
|
|
6
|
+
*
|
|
7
|
+
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).
|
|
7
8
|
*
|
|
8
9
|
* ## Example Usage
|
|
9
10
|
*
|
|
@@ -50,10 +51,68 @@ import * as outputs from "./types/output";
|
|
|
50
51
|
* });
|
|
51
52
|
* ```
|
|
52
53
|
*
|
|
54
|
+
* ### Multiple configurations
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
59
|
+
*
|
|
60
|
+
* //## IP for Public Gateway
|
|
61
|
+
* const mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp", {});
|
|
62
|
+
* //## Scaleway Private Network
|
|
63
|
+
* const mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork", {});
|
|
64
|
+
* //## VPC Public Gateway Network
|
|
65
|
+
* const mainVpcPublicGateway = new scaleway.VpcPublicGateway("mainVpcPublicGateway", {
|
|
66
|
+
* type: "VPC-GW-S",
|
|
67
|
+
* ipId: mainVpcPublicGatewayIp.id,
|
|
68
|
+
* });
|
|
69
|
+
* //## VPC Public Gateway Network DHCP config
|
|
70
|
+
* const mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp("mainVpcPublicGatewayDhcp", {subnet: "10.0.0.0/24"});
|
|
71
|
+
* //## VPC Gateway Network
|
|
72
|
+
* const mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork("mainVpcGatewayNetwork", {
|
|
73
|
+
* gatewayId: mainVpcPublicGateway.id,
|
|
74
|
+
* privateNetworkId: mainVpcPrivateNetwork.id,
|
|
75
|
+
* dhcpId: mainVpcPublicGatewayDhcp.id,
|
|
76
|
+
* cleanupDhcp: true,
|
|
77
|
+
* enableMasquerade: true,
|
|
78
|
+
* });
|
|
79
|
+
* //## Scaleway Instance
|
|
80
|
+
* const mainInstanceServer = new scaleway.InstanceServer("mainInstanceServer", {
|
|
81
|
+
* type: "DEV1-S",
|
|
82
|
+
* image: "debian_bullseye",
|
|
83
|
+
* enableIpv6: false,
|
|
84
|
+
* privateNetworks: [{
|
|
85
|
+
* pnId: mainVpcPrivateNetwork.id,
|
|
86
|
+
* }],
|
|
87
|
+
* });
|
|
88
|
+
* //## IP for LB IP
|
|
89
|
+
* const mainLoadbalancerIp = new scaleway.LoadbalancerIp("mainLoadbalancerIp", {});
|
|
90
|
+
* //## Scaleway Private Network
|
|
91
|
+
* const mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainIndex/vpcPrivateNetworkVpcPrivateNetwork", {});
|
|
92
|
+
* //## Scaleway Load Balancer
|
|
93
|
+
* const mainLoadbalancer = new scaleway.Loadbalancer("mainLoadbalancer", {
|
|
94
|
+
* ipId: mainLoadbalancerIp.id,
|
|
95
|
+
* type: "LB-S",
|
|
96
|
+
* privateNetworks: [{
|
|
97
|
+
* privateNetworkId: mainVpcPrivateNetwork.id,
|
|
98
|
+
* dhcpConfig: true,
|
|
99
|
+
* }],
|
|
100
|
+
* }, {
|
|
101
|
+
* dependsOn: [mainVpcPublicGateway],
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ## Migration
|
|
106
|
+
*
|
|
107
|
+
* In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`.
|
|
108
|
+
* This change will not recreate your Load Balancer.
|
|
109
|
+
*
|
|
110
|
+
* Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details
|
|
111
|
+
*
|
|
53
112
|
* ## IP ID
|
|
54
113
|
*
|
|
55
114
|
* Since v1.15.0, `ipId` is a required field. This means that now a separate `scaleway.LoadbalancerIp` is required.
|
|
56
|
-
* When importing, the IP needs to be imported as well as the
|
|
115
|
+
* When importing, the IP needs to be imported as well as the Load Balancer.
|
|
57
116
|
* When upgrading to v1.15.0, you will need to create a new `scaleway.LoadbalancerIp` resource and import it.
|
|
58
117
|
*
|
|
59
118
|
* For instance, if you had the following:
|
|
@@ -85,7 +144,7 @@ import * as outputs from "./types/output";
|
|
|
85
144
|
*
|
|
86
145
|
* ## Import
|
|
87
146
|
*
|
|
88
|
-
* Load
|
|
147
|
+
* Load Balancers can be imported using `{zone}/{id}`, e.g.
|
|
89
148
|
*
|
|
90
149
|
* bash
|
|
91
150
|
*
|
|
@@ -112,25 +171,25 @@ export declare class Loadbalancer extends pulumi.CustomResource {
|
|
|
112
171
|
*/
|
|
113
172
|
static isInstance(obj: any): obj is Loadbalancer;
|
|
114
173
|
/**
|
|
115
|
-
* Defines whether to automatically assign a flexible public
|
|
174
|
+
* Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
116
175
|
*/
|
|
117
176
|
readonly assignFlexibleIp: pulumi.Output<boolean | undefined>;
|
|
118
177
|
/**
|
|
119
|
-
* Defines whether to automatically assign a flexible public IPv6 to the
|
|
178
|
+
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
120
179
|
*/
|
|
121
180
|
readonly assignFlexibleIpv6: pulumi.Output<boolean | undefined>;
|
|
122
181
|
/**
|
|
123
|
-
* The description of the
|
|
182
|
+
* The description of the Load Balancer.
|
|
124
183
|
*/
|
|
125
184
|
readonly description: pulumi.Output<string | undefined>;
|
|
126
185
|
/**
|
|
127
|
-
* The
|
|
186
|
+
* The Load Balancer public IPv4 address.
|
|
128
187
|
*/
|
|
129
188
|
readonly ipAddress: pulumi.Output<string>;
|
|
130
189
|
/**
|
|
131
|
-
* The ID of the associated
|
|
190
|
+
* The ID of the associated Load Balancer IP. See below.
|
|
132
191
|
*
|
|
133
|
-
* > **Important:** Updates to `ipId` will recreate the
|
|
192
|
+
* > **Important:** Updates to `ipId` will recreate the Load Balancer.
|
|
134
193
|
*
|
|
135
194
|
* @deprecated Please use ip_ids
|
|
136
195
|
*/
|
|
@@ -140,15 +199,15 @@ export declare class Loadbalancer extends pulumi.CustomResource {
|
|
|
140
199
|
*/
|
|
141
200
|
readonly ipIds: pulumi.Output<string[]>;
|
|
142
201
|
/**
|
|
143
|
-
* The
|
|
202
|
+
* The Load Balancer public IPv6 address.
|
|
144
203
|
*/
|
|
145
204
|
readonly ipv6Address: pulumi.Output<string>;
|
|
146
205
|
/**
|
|
147
|
-
* The name of the
|
|
206
|
+
* The name of the Load Balancer.
|
|
148
207
|
*/
|
|
149
208
|
readonly name: pulumi.Output<string>;
|
|
150
209
|
/**
|
|
151
|
-
* The
|
|
210
|
+
* The ID of the Organization ID the Load Balancer is associated with.
|
|
152
211
|
*/
|
|
153
212
|
readonly organizationId: pulumi.Output<string>;
|
|
154
213
|
/**
|
|
@@ -156,7 +215,7 @@ export declare class Loadbalancer extends pulumi.CustomResource {
|
|
|
156
215
|
*/
|
|
157
216
|
readonly privateNetworks: pulumi.Output<outputs.LoadbalancerPrivateNetwork[] | undefined>;
|
|
158
217
|
/**
|
|
159
|
-
* `projectId`) The ID of the
|
|
218
|
+
* `projectId`) The ID of the Project the Load Balancer is associated with.
|
|
160
219
|
*/
|
|
161
220
|
readonly projectId: pulumi.Output<string>;
|
|
162
221
|
/**
|
|
@@ -164,7 +223,7 @@ export declare class Loadbalancer extends pulumi.CustomResource {
|
|
|
164
223
|
*/
|
|
165
224
|
readonly region: pulumi.Output<string>;
|
|
166
225
|
/**
|
|
167
|
-
* The releaseIp allow release the
|
|
226
|
+
* The `releaseIp` allow the release of the IP address associated with the Load Balancer.
|
|
168
227
|
*
|
|
169
228
|
* @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
|
|
170
229
|
*/
|
|
@@ -174,15 +233,15 @@ export declare class Loadbalancer extends pulumi.CustomResource {
|
|
|
174
233
|
*/
|
|
175
234
|
readonly sslCompatibilityLevel: pulumi.Output<string | undefined>;
|
|
176
235
|
/**
|
|
177
|
-
* The tags associated with the
|
|
236
|
+
* The tags associated with the Load Balancer.
|
|
178
237
|
*/
|
|
179
238
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
180
239
|
/**
|
|
181
|
-
* The type of the
|
|
240
|
+
* The type of the Load Balancer. Please check the migration section to upgrade the type.
|
|
182
241
|
*/
|
|
183
242
|
readonly type: pulumi.Output<string>;
|
|
184
243
|
/**
|
|
185
|
-
* `zone`) The zone of the
|
|
244
|
+
* `zone`) The zone of the Load Balancer.
|
|
186
245
|
*/
|
|
187
246
|
readonly zone: pulumi.Output<string>;
|
|
188
247
|
/**
|
|
@@ -199,25 +258,25 @@ export declare class Loadbalancer extends pulumi.CustomResource {
|
|
|
199
258
|
*/
|
|
200
259
|
export interface LoadbalancerState {
|
|
201
260
|
/**
|
|
202
|
-
* Defines whether to automatically assign a flexible public
|
|
261
|
+
* Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
203
262
|
*/
|
|
204
263
|
assignFlexibleIp?: pulumi.Input<boolean>;
|
|
205
264
|
/**
|
|
206
|
-
* Defines whether to automatically assign a flexible public IPv6 to the
|
|
265
|
+
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
207
266
|
*/
|
|
208
267
|
assignFlexibleIpv6?: pulumi.Input<boolean>;
|
|
209
268
|
/**
|
|
210
|
-
* The description of the
|
|
269
|
+
* The description of the Load Balancer.
|
|
211
270
|
*/
|
|
212
271
|
description?: pulumi.Input<string>;
|
|
213
272
|
/**
|
|
214
|
-
* The
|
|
273
|
+
* The Load Balancer public IPv4 address.
|
|
215
274
|
*/
|
|
216
275
|
ipAddress?: pulumi.Input<string>;
|
|
217
276
|
/**
|
|
218
|
-
* The ID of the associated
|
|
277
|
+
* The ID of the associated Load Balancer IP. See below.
|
|
219
278
|
*
|
|
220
|
-
* > **Important:** Updates to `ipId` will recreate the
|
|
279
|
+
* > **Important:** Updates to `ipId` will recreate the Load Balancer.
|
|
221
280
|
*
|
|
222
281
|
* @deprecated Please use ip_ids
|
|
223
282
|
*/
|
|
@@ -227,15 +286,15 @@ export interface LoadbalancerState {
|
|
|
227
286
|
*/
|
|
228
287
|
ipIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
229
288
|
/**
|
|
230
|
-
* The
|
|
289
|
+
* The Load Balancer public IPv6 address.
|
|
231
290
|
*/
|
|
232
291
|
ipv6Address?: pulumi.Input<string>;
|
|
233
292
|
/**
|
|
234
|
-
* The name of the
|
|
293
|
+
* The name of the Load Balancer.
|
|
235
294
|
*/
|
|
236
295
|
name?: pulumi.Input<string>;
|
|
237
296
|
/**
|
|
238
|
-
* The
|
|
297
|
+
* The ID of the Organization ID the Load Balancer is associated with.
|
|
239
298
|
*/
|
|
240
299
|
organizationId?: pulumi.Input<string>;
|
|
241
300
|
/**
|
|
@@ -243,7 +302,7 @@ export interface LoadbalancerState {
|
|
|
243
302
|
*/
|
|
244
303
|
privateNetworks?: pulumi.Input<pulumi.Input<inputs.LoadbalancerPrivateNetwork>[]>;
|
|
245
304
|
/**
|
|
246
|
-
* `projectId`) The ID of the
|
|
305
|
+
* `projectId`) The ID of the Project the Load Balancer is associated with.
|
|
247
306
|
*/
|
|
248
307
|
projectId?: pulumi.Input<string>;
|
|
249
308
|
/**
|
|
@@ -251,7 +310,7 @@ export interface LoadbalancerState {
|
|
|
251
310
|
*/
|
|
252
311
|
region?: pulumi.Input<string>;
|
|
253
312
|
/**
|
|
254
|
-
* The releaseIp allow release the
|
|
313
|
+
* The `releaseIp` allow the release of the IP address associated with the Load Balancer.
|
|
255
314
|
*
|
|
256
315
|
* @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
|
|
257
316
|
*/
|
|
@@ -261,15 +320,15 @@ export interface LoadbalancerState {
|
|
|
261
320
|
*/
|
|
262
321
|
sslCompatibilityLevel?: pulumi.Input<string>;
|
|
263
322
|
/**
|
|
264
|
-
* The tags associated with the
|
|
323
|
+
* The tags associated with the Load Balancer.
|
|
265
324
|
*/
|
|
266
325
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
267
326
|
/**
|
|
268
|
-
* The type of the
|
|
327
|
+
* The type of the Load Balancer. Please check the migration section to upgrade the type.
|
|
269
328
|
*/
|
|
270
329
|
type?: pulumi.Input<string>;
|
|
271
330
|
/**
|
|
272
|
-
* `zone`) The zone of the
|
|
331
|
+
* `zone`) The zone of the Load Balancer.
|
|
273
332
|
*/
|
|
274
333
|
zone?: pulumi.Input<string>;
|
|
275
334
|
}
|
|
@@ -278,21 +337,21 @@ export interface LoadbalancerState {
|
|
|
278
337
|
*/
|
|
279
338
|
export interface LoadbalancerArgs {
|
|
280
339
|
/**
|
|
281
|
-
* Defines whether to automatically assign a flexible public
|
|
340
|
+
* Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
282
341
|
*/
|
|
283
342
|
assignFlexibleIp?: pulumi.Input<boolean>;
|
|
284
343
|
/**
|
|
285
|
-
* Defines whether to automatically assign a flexible public IPv6 to the
|
|
344
|
+
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
286
345
|
*/
|
|
287
346
|
assignFlexibleIpv6?: pulumi.Input<boolean>;
|
|
288
347
|
/**
|
|
289
|
-
* The description of the
|
|
348
|
+
* The description of the Load Balancer.
|
|
290
349
|
*/
|
|
291
350
|
description?: pulumi.Input<string>;
|
|
292
351
|
/**
|
|
293
|
-
* The ID of the associated
|
|
352
|
+
* The ID of the associated Load Balancer IP. See below.
|
|
294
353
|
*
|
|
295
|
-
* > **Important:** Updates to `ipId` will recreate the
|
|
354
|
+
* > **Important:** Updates to `ipId` will recreate the Load Balancer.
|
|
296
355
|
*
|
|
297
356
|
* @deprecated Please use ip_ids
|
|
298
357
|
*/
|
|
@@ -302,7 +361,7 @@ export interface LoadbalancerArgs {
|
|
|
302
361
|
*/
|
|
303
362
|
ipIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
304
363
|
/**
|
|
305
|
-
* The name of the
|
|
364
|
+
* The name of the Load Balancer.
|
|
306
365
|
*/
|
|
307
366
|
name?: pulumi.Input<string>;
|
|
308
367
|
/**
|
|
@@ -310,11 +369,11 @@ export interface LoadbalancerArgs {
|
|
|
310
369
|
*/
|
|
311
370
|
privateNetworks?: pulumi.Input<pulumi.Input<inputs.LoadbalancerPrivateNetwork>[]>;
|
|
312
371
|
/**
|
|
313
|
-
* `projectId`) The ID of the
|
|
372
|
+
* `projectId`) The ID of the Project the Load Balancer is associated with.
|
|
314
373
|
*/
|
|
315
374
|
projectId?: pulumi.Input<string>;
|
|
316
375
|
/**
|
|
317
|
-
* The releaseIp allow release the
|
|
376
|
+
* The `releaseIp` allow the release of the IP address associated with the Load Balancer.
|
|
318
377
|
*
|
|
319
378
|
* @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
|
|
320
379
|
*/
|
|
@@ -324,15 +383,15 @@ export interface LoadbalancerArgs {
|
|
|
324
383
|
*/
|
|
325
384
|
sslCompatibilityLevel?: pulumi.Input<string>;
|
|
326
385
|
/**
|
|
327
|
-
* The tags associated with the
|
|
386
|
+
* The tags associated with the Load Balancer.
|
|
328
387
|
*/
|
|
329
388
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
330
389
|
/**
|
|
331
|
-
* The type of the
|
|
390
|
+
* The type of the Load Balancer. Please check the migration section to upgrade the type.
|
|
332
391
|
*/
|
|
333
392
|
type: pulumi.Input<string>;
|
|
334
393
|
/**
|
|
335
|
-
* `zone`) The zone of the
|
|
394
|
+
* `zone`) The zone of the Load Balancer.
|
|
336
395
|
*/
|
|
337
396
|
zone?: pulumi.Input<string>;
|
|
338
397
|
}
|
package/loadbalancer.js
CHANGED
|
@@ -6,8 +6,9 @@ exports.Loadbalancer = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Creates and manages Scaleway Load
|
|
10
|
-
*
|
|
9
|
+
* Creates and manages Scaleway Load Balancers.
|
|
10
|
+
*
|
|
11
|
+
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
|
@@ -54,10 +55,68 @@ const utilities = require("./utilities");
|
|
|
54
55
|
* });
|
|
55
56
|
* ```
|
|
56
57
|
*
|
|
58
|
+
* ### Multiple configurations
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
63
|
+
*
|
|
64
|
+
* //## IP for Public Gateway
|
|
65
|
+
* const mainVpcPublicGatewayIp = new scaleway.VpcPublicGatewayIp("mainVpcPublicGatewayIp", {});
|
|
66
|
+
* //## Scaleway Private Network
|
|
67
|
+
* const mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork", {});
|
|
68
|
+
* //## VPC Public Gateway Network
|
|
69
|
+
* const mainVpcPublicGateway = new scaleway.VpcPublicGateway("mainVpcPublicGateway", {
|
|
70
|
+
* type: "VPC-GW-S",
|
|
71
|
+
* ipId: mainVpcPublicGatewayIp.id,
|
|
72
|
+
* });
|
|
73
|
+
* //## VPC Public Gateway Network DHCP config
|
|
74
|
+
* const mainVpcPublicGatewayDhcp = new scaleway.VpcPublicGatewayDhcp("mainVpcPublicGatewayDhcp", {subnet: "10.0.0.0/24"});
|
|
75
|
+
* //## VPC Gateway Network
|
|
76
|
+
* const mainVpcGatewayNetwork = new scaleway.VpcGatewayNetwork("mainVpcGatewayNetwork", {
|
|
77
|
+
* gatewayId: mainVpcPublicGateway.id,
|
|
78
|
+
* privateNetworkId: mainVpcPrivateNetwork.id,
|
|
79
|
+
* dhcpId: mainVpcPublicGatewayDhcp.id,
|
|
80
|
+
* cleanupDhcp: true,
|
|
81
|
+
* enableMasquerade: true,
|
|
82
|
+
* });
|
|
83
|
+
* //## Scaleway Instance
|
|
84
|
+
* const mainInstanceServer = new scaleway.InstanceServer("mainInstanceServer", {
|
|
85
|
+
* type: "DEV1-S",
|
|
86
|
+
* image: "debian_bullseye",
|
|
87
|
+
* enableIpv6: false,
|
|
88
|
+
* privateNetworks: [{
|
|
89
|
+
* pnId: mainVpcPrivateNetwork.id,
|
|
90
|
+
* }],
|
|
91
|
+
* });
|
|
92
|
+
* //## IP for LB IP
|
|
93
|
+
* const mainLoadbalancerIp = new scaleway.LoadbalancerIp("mainLoadbalancerIp", {});
|
|
94
|
+
* //## Scaleway Private Network
|
|
95
|
+
* const mainIndex_vpcPrivateNetworkVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainIndex/vpcPrivateNetworkVpcPrivateNetwork", {});
|
|
96
|
+
* //## Scaleway Load Balancer
|
|
97
|
+
* const mainLoadbalancer = new scaleway.Loadbalancer("mainLoadbalancer", {
|
|
98
|
+
* ipId: mainLoadbalancerIp.id,
|
|
99
|
+
* type: "LB-S",
|
|
100
|
+
* privateNetworks: [{
|
|
101
|
+
* privateNetworkId: mainVpcPrivateNetwork.id,
|
|
102
|
+
* dhcpConfig: true,
|
|
103
|
+
* }],
|
|
104
|
+
* }, {
|
|
105
|
+
* dependsOn: [mainVpcPublicGateway],
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* ## Migration
|
|
110
|
+
*
|
|
111
|
+
* In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`.
|
|
112
|
+
* This change will not recreate your Load Balancer.
|
|
113
|
+
*
|
|
114
|
+
* Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details
|
|
115
|
+
*
|
|
57
116
|
* ## IP ID
|
|
58
117
|
*
|
|
59
118
|
* Since v1.15.0, `ipId` is a required field. This means that now a separate `scaleway.LoadbalancerIp` is required.
|
|
60
|
-
* When importing, the IP needs to be imported as well as the
|
|
119
|
+
* When importing, the IP needs to be imported as well as the Load Balancer.
|
|
61
120
|
* When upgrading to v1.15.0, you will need to create a new `scaleway.LoadbalancerIp` resource and import it.
|
|
62
121
|
*
|
|
63
122
|
* For instance, if you had the following:
|
|
@@ -89,7 +148,7 @@ const utilities = require("./utilities");
|
|
|
89
148
|
*
|
|
90
149
|
* ## Import
|
|
91
150
|
*
|
|
92
|
-
* Load
|
|
151
|
+
* Load Balancers can be imported using `{zone}/{id}`, e.g.
|
|
93
152
|
*
|
|
94
153
|
* bash
|
|
95
154
|
*
|
package/loadbalancer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadbalancer.js","sourceRoot":"","sources":["../loadbalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"loadbalancer.js","sourceRoot":"","sources":["../loadbalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAA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C,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA9JL,oCA+JC;AAjJG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/loadbalancerAcl.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Creates and manages Scaleway Load
|
|
5
|
+
* Creates and manages Scaleway Load Balancer ACLs.
|
|
6
|
+
*
|
|
7
|
+
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).
|
|
6
8
|
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
@@ -31,7 +33,7 @@ import * as outputs from "./types/output";
|
|
|
31
33
|
*
|
|
32
34
|
* ## Import
|
|
33
35
|
*
|
|
34
|
-
* Load
|
|
36
|
+
* Load Balancer ACLs can be imported using `{zone}/{id}`, e.g.
|
|
35
37
|
*
|
|
36
38
|
* bash
|
|
37
39
|
*
|
|
@@ -68,11 +70,11 @@ export declare class LoadbalancerAcl extends pulumi.CustomResource {
|
|
|
68
70
|
*/
|
|
69
71
|
readonly description: pulumi.Output<string | undefined>;
|
|
70
72
|
/**
|
|
71
|
-
* The
|
|
73
|
+
* The ID of the Load Balancer frontend to attach the ACL to.
|
|
72
74
|
*/
|
|
73
75
|
readonly frontendId: pulumi.Output<string>;
|
|
74
76
|
/**
|
|
75
|
-
* The
|
|
77
|
+
* The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
76
78
|
*/
|
|
77
79
|
readonly index: pulumi.Output<number>;
|
|
78
80
|
/**
|
|
@@ -113,11 +115,11 @@ export interface LoadbalancerAclState {
|
|
|
113
115
|
*/
|
|
114
116
|
description?: pulumi.Input<string>;
|
|
115
117
|
/**
|
|
116
|
-
* The
|
|
118
|
+
* The ID of the Load Balancer frontend to attach the ACL to.
|
|
117
119
|
*/
|
|
118
120
|
frontendId?: pulumi.Input<string>;
|
|
119
121
|
/**
|
|
120
|
-
* The
|
|
122
|
+
* The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
121
123
|
*/
|
|
122
124
|
index?: pulumi.Input<number>;
|
|
123
125
|
/**
|
|
@@ -146,11 +148,11 @@ export interface LoadbalancerAclArgs {
|
|
|
146
148
|
*/
|
|
147
149
|
description?: pulumi.Input<string>;
|
|
148
150
|
/**
|
|
149
|
-
* The
|
|
151
|
+
* The ID of the Load Balancer frontend to attach the ACL to.
|
|
150
152
|
*/
|
|
151
153
|
frontendId: pulumi.Input<string>;
|
|
152
154
|
/**
|
|
153
|
-
* The
|
|
155
|
+
* The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
154
156
|
*/
|
|
155
157
|
index: pulumi.Input<number>;
|
|
156
158
|
/**
|
package/loadbalancerAcl.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.LoadbalancerAcl = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Creates and manages Scaleway Load
|
|
9
|
+
* Creates and manages Scaleway Load Balancer ACLs.
|
|
10
|
+
*
|
|
11
|
+
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -35,7 +37,7 @@ const utilities = require("./utilities");
|
|
|
35
37
|
*
|
|
36
38
|
* ## Import
|
|
37
39
|
*
|
|
38
|
-
* Load
|
|
40
|
+
* Load Balancer ACLs can be imported using `{zone}/{id}`, e.g.
|
|
39
41
|
*
|
|
40
42
|
* bash
|
|
41
43
|
*
|
package/loadbalancerAcl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadbalancerAcl.js","sourceRoot":"","sources":["../loadbalancerAcl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"loadbalancerAcl.js","sourceRoot":"","sources":["../loadbalancerAcl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,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AO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
package/loadbalancerBackend.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Creates and manages Scaleway Load
|
|
6
|
-
*
|
|
5
|
+
* Creates and manages Scaleway Load Balancer backends.
|
|
6
|
+
*
|
|
7
|
+
* or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).
|
|
7
8
|
*
|
|
8
9
|
* ## Example Usage
|
|
9
10
|
*
|
|
@@ -38,7 +39,7 @@ import * as outputs from "./types/output";
|
|
|
38
39
|
*
|
|
39
40
|
* ## Import
|
|
40
41
|
*
|
|
41
|
-
* Load
|
|
42
|
+
* Load Balancer backends can be imported using `{zone}/{id}`, e.g.
|
|
42
43
|
*
|
|
43
44
|
* bash
|
|
44
45
|
*
|
|
@@ -91,7 +92,7 @@ export declare class LoadbalancerBackend extends pulumi.CustomResource {
|
|
|
91
92
|
*/
|
|
92
93
|
readonly healthCheckMaxRetries: pulumi.Output<number | undefined>;
|
|
93
94
|
/**
|
|
94
|
-
* Port the HC requests will be send to. Default to `
|
|
95
|
+
* Port the HC requests will be send to. Default to `forwardPort`
|
|
95
96
|
*/
|
|
96
97
|
readonly healthCheckPort: pulumi.Output<number>;
|
|
97
98
|
/**
|
|
@@ -166,7 +167,7 @@ export declare class LoadbalancerBackend extends pulumi.CustomResource {
|
|
|
166
167
|
*/
|
|
167
168
|
readonly timeoutConnect: pulumi.Output<string | undefined>;
|
|
168
169
|
/**
|
|
169
|
-
* Maximum time (in seconds) for a request to be left pending in queue when `
|
|
170
|
+
* Maximum time (in seconds) for a request to be left pending in queue when `maxConnections` is reached
|
|
170
171
|
*/
|
|
171
172
|
readonly timeoutQueue: pulumi.Output<string | undefined>;
|
|
172
173
|
/**
|
|
@@ -219,7 +220,7 @@ export interface LoadbalancerBackendState {
|
|
|
219
220
|
*/
|
|
220
221
|
healthCheckMaxRetries?: pulumi.Input<number>;
|
|
221
222
|
/**
|
|
222
|
-
* Port the HC requests will be send to. Default to `
|
|
223
|
+
* Port the HC requests will be send to. Default to `forwardPort`
|
|
223
224
|
*/
|
|
224
225
|
healthCheckPort?: pulumi.Input<number>;
|
|
225
226
|
/**
|
|
@@ -294,7 +295,7 @@ export interface LoadbalancerBackendState {
|
|
|
294
295
|
*/
|
|
295
296
|
timeoutConnect?: pulumi.Input<string>;
|
|
296
297
|
/**
|
|
297
|
-
* Maximum time (in seconds) for a request to be left pending in queue when `
|
|
298
|
+
* Maximum time (in seconds) for a request to be left pending in queue when `maxConnections` is reached
|
|
298
299
|
*/
|
|
299
300
|
timeoutQueue?: pulumi.Input<string>;
|
|
300
301
|
/**
|
|
@@ -339,7 +340,7 @@ export interface LoadbalancerBackendArgs {
|
|
|
339
340
|
*/
|
|
340
341
|
healthCheckMaxRetries?: pulumi.Input<number>;
|
|
341
342
|
/**
|
|
342
|
-
* Port the HC requests will be send to. Default to `
|
|
343
|
+
* Port the HC requests will be send to. Default to `forwardPort`
|
|
343
344
|
*/
|
|
344
345
|
healthCheckPort?: pulumi.Input<number>;
|
|
345
346
|
/**
|
|
@@ -414,7 +415,7 @@ export interface LoadbalancerBackendArgs {
|
|
|
414
415
|
*/
|
|
415
416
|
timeoutConnect?: pulumi.Input<string>;
|
|
416
417
|
/**
|
|
417
|
-
* Maximum time (in seconds) for a request to be left pending in queue when `
|
|
418
|
+
* Maximum time (in seconds) for a request to be left pending in queue when `maxConnections` is reached
|
|
418
419
|
*/
|
|
419
420
|
timeoutQueue?: pulumi.Input<string>;
|
|
420
421
|
/**
|
package/loadbalancerBackend.js
CHANGED
|
@@ -6,8 +6,9 @@ exports.LoadbalancerBackend = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Creates and manages Scaleway Load
|
|
10
|
-
*
|
|
9
|
+
* Creates and manages Scaleway Load Balancer backends.
|
|
10
|
+
*
|
|
11
|
+
* or more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
|
@@ -42,7 +43,7 @@ const utilities = require("./utilities");
|
|
|
42
43
|
*
|
|
43
44
|
* ## Import
|
|
44
45
|
*
|
|
45
|
-
* Load
|
|
46
|
+
* Load Balancer backends can be imported using `{zone}/{id}`, e.g.
|
|
46
47
|
*
|
|
47
48
|
* bash
|
|
48
49
|
*
|