@pulumiverse/scaleway 1.25.0 → 1.26.0-alpha.1743166124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/appleSiliconServer.d.ts +28 -0
  2. package/appleSiliconServer.js +8 -0
  3. package/appleSiliconServer.js.map +1 -1
  4. package/applesilicon/server.d.ts +28 -0
  5. package/applesilicon/server.js +8 -0
  6. package/applesilicon/server.js.map +1 -1
  7. package/domain/index.d.ts +3 -0
  8. package/domain/index.js +6 -1
  9. package/domain/index.js.map +1 -1
  10. package/domain/registration.d.ts +275 -0
  11. package/domain/registration.js +193 -0
  12. package/domain/registration.js.map +1 -0
  13. package/edgeServicesBackendStage.d.ts +171 -0
  14. package/edgeServicesBackendStage.js +131 -0
  15. package/edgeServicesBackendStage.js.map +1 -0
  16. package/edgeServicesCacheStage.d.ts +153 -0
  17. package/edgeServicesCacheStage.js +93 -0
  18. package/edgeServicesCacheStage.js.map +1 -0
  19. package/edgeServicesDnsStage.d.ts +159 -0
  20. package/edgeServicesDnsStage.js +95 -0
  21. package/edgeServicesDnsStage.js.map +1 -0
  22. package/edgeServicesHeadStage.d.ts +96 -0
  23. package/edgeServicesHeadStage.js +90 -0
  24. package/edgeServicesHeadStage.js.map +1 -0
  25. package/edgeServicesPipeline.d.ts +160 -0
  26. package/edgeServicesPipeline.js +123 -0
  27. package/edgeServicesPipeline.js.map +1 -0
  28. package/edgeServicesPlan.d.ts +84 -0
  29. package/edgeServicesPlan.js +75 -0
  30. package/edgeServicesPlan.js.map +1 -0
  31. package/edgeServicesRouteStage.d.ts +142 -0
  32. package/edgeServicesRouteStage.js +102 -0
  33. package/edgeServicesRouteStage.js.map +1 -0
  34. package/edgeServicesTlsStage.d.ts +176 -0
  35. package/edgeServicesTlsStage.js +110 -0
  36. package/edgeServicesTlsStage.js.map +1 -0
  37. package/edgeServicesWafStage.d.ts +140 -0
  38. package/edgeServicesWafStage.js +95 -0
  39. package/edgeServicesWafStage.js.map +1 -0
  40. package/elasticmetal/ip.d.ts +6 -3
  41. package/elasticmetal/ip.js +3 -0
  42. package/elasticmetal/ip.js.map +1 -1
  43. package/flexibleIp.d.ts +6 -3
  44. package/flexibleIp.js +3 -0
  45. package/flexibleIp.js.map +1 -1
  46. package/getLbFrontend.d.ts +1 -0
  47. package/getLbFrontend.js.map +1 -1
  48. package/getLbRoute.d.ts +1 -0
  49. package/getLbRoute.js.map +1 -1
  50. package/getSecret.d.ts +1 -0
  51. package/getSecret.js.map +1 -1
  52. package/getVpcPublicGateway.d.ts +3 -0
  53. package/getVpcPublicGateway.js.map +1 -1
  54. package/getVpcPublicGatewayDhcp.d.ts +8 -0
  55. package/getVpcPublicGatewayDhcp.js +8 -0
  56. package/getVpcPublicGatewayDhcp.js.map +1 -1
  57. package/getVpcPublicGatewayDhcpReservation.d.ts +8 -0
  58. package/getVpcPublicGatewayDhcpReservation.js +8 -0
  59. package/getVpcPublicGatewayDhcpReservation.js.map +1 -1
  60. package/index.d.ts +27 -0
  61. package/index.js +52 -7
  62. package/index.js.map +1 -1
  63. package/loadbalancerBackend.d.ts +1 -1
  64. package/loadbalancerBackend.js +1 -1
  65. package/loadbalancerFrontend.d.ts +12 -0
  66. package/loadbalancerFrontend.js +2 -0
  67. package/loadbalancerFrontend.js.map +1 -1
  68. package/loadbalancerRoute.d.ts +12 -0
  69. package/loadbalancerRoute.js +2 -0
  70. package/loadbalancerRoute.js.map +1 -1
  71. package/loadbalancers/backend.d.ts +1 -1
  72. package/loadbalancers/backend.js +1 -1
  73. package/loadbalancers/frontend.d.ts +12 -0
  74. package/loadbalancers/frontend.js +2 -0
  75. package/loadbalancers/frontend.js.map +1 -1
  76. package/loadbalancers/getFrontend.d.ts +1 -0
  77. package/loadbalancers/getFrontend.js.map +1 -1
  78. package/loadbalancers/getRoute.d.ts +1 -0
  79. package/loadbalancers/getRoute.js.map +1 -1
  80. package/loadbalancers/route.d.ts +12 -0
  81. package/loadbalancers/route.js +2 -0
  82. package/loadbalancers/route.js.map +1 -1
  83. package/network/acl.d.ts +138 -0
  84. package/network/acl.js +106 -0
  85. package/network/acl.js.map +1 -0
  86. package/network/gatewayNetwork.d.ts +54 -64
  87. package/network/gatewayNetwork.js +2 -48
  88. package/network/gatewayNetwork.js.map +1 -1
  89. package/network/getPublicGateway.d.ts +3 -0
  90. package/network/getPublicGateway.js.map +1 -1
  91. package/network/getPublicGatewayDhcp.d.ts +8 -0
  92. package/network/getPublicGatewayDhcp.js +8 -0
  93. package/network/getPublicGatewayDhcp.js.map +1 -1
  94. package/network/getPublicGatewayDhcpReservation.d.ts +8 -0
  95. package/network/getPublicGatewayDhcpReservation.js +8 -0
  96. package/network/getPublicGatewayDhcpReservation.js.map +1 -1
  97. package/network/index.d.ts +3 -0
  98. package/network/index.js +6 -1
  99. package/network/index.js.map +1 -1
  100. package/network/publicGateway.d.ts +33 -5
  101. package/network/publicGateway.js +7 -1
  102. package/network/publicGateway.js.map +1 -1
  103. package/network/publicGatewayDhcp.d.ts +4 -0
  104. package/network/publicGatewayDhcp.js +4 -0
  105. package/network/publicGatewayDhcp.js.map +1 -1
  106. package/network/publicGatewayDhcpReservation.d.ts +4 -0
  107. package/network/publicGatewayDhcpReservation.js +4 -0
  108. package/network/publicGatewayDhcpReservation.js.map +1 -1
  109. package/package.json +2 -2
  110. package/secret.d.ts +2 -0
  111. package/secret.js +2 -0
  112. package/secret.js.map +1 -1
  113. package/secrets/getSecret.d.ts +1 -0
  114. package/secrets/getSecret.js.map +1 -1
  115. package/secrets/secret.d.ts +2 -0
  116. package/secrets/secret.js +2 -0
  117. package/secrets/secret.js.map +1 -1
  118. package/tem/blockedList.d.ts +139 -0
  119. package/tem/blockedList.js +99 -0
  120. package/tem/blockedList.js.map +1 -0
  121. package/tem/domain.d.ts +3 -0
  122. package/tem/domain.js.map +1 -1
  123. package/tem/getOfferSubscription.d.ts +102 -0
  124. package/tem/getOfferSubscription.js +52 -0
  125. package/tem/getOfferSubscription.js.map +1 -0
  126. package/tem/index.d.ts +6 -0
  127. package/tem/index.js +9 -1
  128. package/tem/index.js.map +1 -1
  129. package/temDomain.d.ts +3 -0
  130. package/temDomain.js.map +1 -1
  131. package/types/input.d.ts +718 -0
  132. package/types/output.d.ts +790 -2
  133. package/vpcGatewayNetwork.d.ts +54 -64
  134. package/vpcGatewayNetwork.js +2 -48
  135. package/vpcGatewayNetwork.js.map +1 -1
  136. package/vpcPublicGateway.d.ts +33 -5
  137. package/vpcPublicGateway.js +7 -1
  138. package/vpcPublicGateway.js.map +1 -1
  139. package/vpcPublicGatewayDhcp.d.ts +4 -0
  140. package/vpcPublicGatewayDhcp.js +4 -0
  141. package/vpcPublicGatewayDhcp.js.map +1 -1
  142. package/vpcPublicGatewayDhcpReservation.d.ts +4 -0
  143. package/vpcPublicGatewayDhcpReservation.js +4 -0
  144. package/vpcPublicGatewayDhcpReservation.js.map +1 -1
@@ -0,0 +1,138 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Creates and manages Scaleway VPC ACLs.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as scaleway from "@pulumiverse/scaleway";
14
+ *
15
+ * const vpc01 = new scaleway.network.Vpc("vpc01", {name: "tf-vpc-acl"});
16
+ * const acl01 = new scaleway.network.Acl("acl01", {
17
+ * vpcId: vpc01.id,
18
+ * isIpv6: false,
19
+ * rules: [{
20
+ * protocol: "TCP",
21
+ * srcPortLow: 0,
22
+ * srcPortHigh: 0,
23
+ * dstPortLow: 80,
24
+ * dstPortHigh: 80,
25
+ * source: "0.0.0.0/0",
26
+ * destination: "0.0.0.0/0",
27
+ * description: "Allow HTTP traffic from any source",
28
+ * action: "accept",
29
+ * }],
30
+ * defaultPolicy: "drop",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * ACLs can be imported using `{region}/{id}`, e.g.
37
+ *
38
+ * bash
39
+ *
40
+ * ```sh
41
+ * $ pulumi import scaleway:network/acl:Acl main fr-par/11111111-1111-1111-1111-111111111111
42
+ * ```
43
+ */
44
+ export declare class Acl extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AclState, opts?: pulumi.CustomResourceOptions): Acl;
55
+ /**
56
+ * Returns true if the given object is an instance of Acl. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is Acl;
60
+ /**
61
+ * The action to take for packets which do not match any rules.
62
+ */
63
+ readonly defaultPolicy: pulumi.Output<string>;
64
+ /**
65
+ * Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
66
+ */
67
+ readonly isIpv6: pulumi.Output<boolean | undefined>;
68
+ /**
69
+ * `region`) The region of the ACL.
70
+ */
71
+ readonly region: pulumi.Output<string>;
72
+ /**
73
+ * The list of Network ACL rules.
74
+ */
75
+ readonly rules: pulumi.Output<outputs.network.AclRule[]>;
76
+ /**
77
+ * The VPC ID the ACL belongs to.
78
+ */
79
+ readonly vpcId: pulumi.Output<string>;
80
+ /**
81
+ * Create a Acl resource with the given unique name, arguments, and options.
82
+ *
83
+ * @param name The _unique_ name of the resource.
84
+ * @param args The arguments to use to populate this resource's properties.
85
+ * @param opts A bag of options that control this resource's behavior.
86
+ */
87
+ constructor(name: string, args: AclArgs, opts?: pulumi.CustomResourceOptions);
88
+ }
89
+ /**
90
+ * Input properties used for looking up and filtering Acl resources.
91
+ */
92
+ export interface AclState {
93
+ /**
94
+ * The action to take for packets which do not match any rules.
95
+ */
96
+ defaultPolicy?: pulumi.Input<string>;
97
+ /**
98
+ * Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
99
+ */
100
+ isIpv6?: pulumi.Input<boolean>;
101
+ /**
102
+ * `region`) The region of the ACL.
103
+ */
104
+ region?: pulumi.Input<string>;
105
+ /**
106
+ * The list of Network ACL rules.
107
+ */
108
+ rules?: pulumi.Input<pulumi.Input<inputs.network.AclRule>[]>;
109
+ /**
110
+ * The VPC ID the ACL belongs to.
111
+ */
112
+ vpcId?: pulumi.Input<string>;
113
+ }
114
+ /**
115
+ * The set of arguments for constructing a Acl resource.
116
+ */
117
+ export interface AclArgs {
118
+ /**
119
+ * The action to take for packets which do not match any rules.
120
+ */
121
+ defaultPolicy: pulumi.Input<string>;
122
+ /**
123
+ * Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
124
+ */
125
+ isIpv6?: pulumi.Input<boolean>;
126
+ /**
127
+ * `region`) The region of the ACL.
128
+ */
129
+ region?: pulumi.Input<string>;
130
+ /**
131
+ * The list of Network ACL rules.
132
+ */
133
+ rules: pulumi.Input<pulumi.Input<inputs.network.AclRule>[]>;
134
+ /**
135
+ * The VPC ID the ACL belongs to.
136
+ */
137
+ vpcId: pulumi.Input<string>;
138
+ }
package/network/acl.js ADDED
@@ -0,0 +1,106 @@
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.Acl = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates and manages Scaleway VPC ACLs.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * const vpc01 = new scaleway.network.Vpc("vpc01", {name: "tf-vpc-acl"});
20
+ * const acl01 = new scaleway.network.Acl("acl01", {
21
+ * vpcId: vpc01.id,
22
+ * isIpv6: false,
23
+ * rules: [{
24
+ * protocol: "TCP",
25
+ * srcPortLow: 0,
26
+ * srcPortHigh: 0,
27
+ * dstPortLow: 80,
28
+ * dstPortHigh: 80,
29
+ * source: "0.0.0.0/0",
30
+ * destination: "0.0.0.0/0",
31
+ * description: "Allow HTTP traffic from any source",
32
+ * action: "accept",
33
+ * }],
34
+ * defaultPolicy: "drop",
35
+ * });
36
+ * ```
37
+ *
38
+ * ## Import
39
+ *
40
+ * ACLs can be imported using `{region}/{id}`, e.g.
41
+ *
42
+ * bash
43
+ *
44
+ * ```sh
45
+ * $ pulumi import scaleway:network/acl:Acl main fr-par/11111111-1111-1111-1111-111111111111
46
+ * ```
47
+ */
48
+ class Acl extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing Acl 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 Acl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
60
+ }
61
+ /**
62
+ * Returns true if the given object is an instance of Acl. 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'] === Acl.__pulumiType;
70
+ }
71
+ constructor(name, argsOrState, opts) {
72
+ let resourceInputs = {};
73
+ opts = opts || {};
74
+ if (opts.id) {
75
+ const state = argsOrState;
76
+ resourceInputs["defaultPolicy"] = state ? state.defaultPolicy : undefined;
77
+ resourceInputs["isIpv6"] = state ? state.isIpv6 : undefined;
78
+ resourceInputs["region"] = state ? state.region : undefined;
79
+ resourceInputs["rules"] = state ? state.rules : undefined;
80
+ resourceInputs["vpcId"] = state ? state.vpcId : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.defaultPolicy === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'defaultPolicy'");
86
+ }
87
+ if ((!args || args.rules === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'rules'");
89
+ }
90
+ if ((!args || args.vpcId === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'vpcId'");
92
+ }
93
+ resourceInputs["defaultPolicy"] = args ? args.defaultPolicy : undefined;
94
+ resourceInputs["isIpv6"] = args ? args.isIpv6 : undefined;
95
+ resourceInputs["region"] = args ? args.region : undefined;
96
+ resourceInputs["rules"] = args ? args.rules : undefined;
97
+ resourceInputs["vpcId"] = args ? args.vpcId : undefined;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(Acl.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.Acl = Acl;
104
+ /** @internal */
105
+ Acl.__pulumiType = 'scaleway:network/acl:Acl';
106
+ //# sourceMappingURL=acl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../network/acl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE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IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAtFL,kBAuFC;AAzEG,gBAAgB;AACO,gBAAY,GAAG,0BAA0B,CAAC"}
@@ -4,8 +4,8 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
6
6
  *
7
- * It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
8
- * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
7
+ * It allows the attachment of Private Networks to Public Gateways.
8
+ * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
9
9
  *
10
10
  * ## Example Usage
11
11
  *
@@ -72,52 +72,6 @@ import * as outputs from "../types/output";
72
72
  * });
73
73
  * ```
74
74
  *
75
- * ### Create a GatewayNetwork with DHCP
76
- *
77
- * ```typescript
78
- * import * as pulumi from "@pulumi/pulumi";
79
- * import * as scaleway from "@pulumiverse/scaleway";
80
- *
81
- * const pn01 = new scaleway.network.PrivateNetwork("pn01", {name: "pn_test_network"});
82
- * const gw01 = new scaleway.network.PublicGatewayIp("gw01", {});
83
- * const dhcp01 = new scaleway.network.PublicGatewayDhcp("dhcp01", {
84
- * subnet: "192.168.1.0/24",
85
- * pushDefaultRoute: true,
86
- * });
87
- * const pg01 = new scaleway.network.PublicGateway("pg01", {
88
- * name: "foobar",
89
- * type: "VPC-GW-S",
90
- * ipId: gw01.id,
91
- * });
92
- * const main = new scaleway.network.GatewayNetwork("main", {
93
- * gatewayId: pg01.id,
94
- * privateNetworkId: pn01.id,
95
- * dhcpId: dhcp01.id,
96
- * cleanupDhcp: true,
97
- * enableMasquerade: true,
98
- * });
99
- * ```
100
- *
101
- * ### Create a GatewayNetwork with a static IP address
102
- *
103
- * ```typescript
104
- * import * as pulumi from "@pulumi/pulumi";
105
- * import * as scaleway from "@pulumiverse/scaleway";
106
- *
107
- * const pn01 = new scaleway.network.PrivateNetwork("pn01", {name: "pn_test_network"});
108
- * const pg01 = new scaleway.network.PublicGateway("pg01", {
109
- * name: "foobar",
110
- * type: "VPC-GW-S",
111
- * });
112
- * const main = new scaleway.network.GatewayNetwork("main", {
113
- * gatewayId: pg01.id,
114
- * privateNetworkId: pn01.id,
115
- * enableDhcp: false,
116
- * enableMasquerade: true,
117
- * staticAddress: "192.168.1.42/24",
118
- * });
119
- * ```
120
- *
121
75
  * ## Import
122
76
  *
123
77
  * GatewayNetwork can be imported using `{zone}/{id}`, e.g.
@@ -145,23 +99,29 @@ export declare class GatewayNetwork extends pulumi.CustomResource {
145
99
  */
146
100
  static isInstance(obj: any): obj is GatewayNetwork;
147
101
  /**
148
- * Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
102
+ * Please use `ipamConfig`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
103
+ *
104
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
149
105
  */
150
- readonly cleanupDhcp: pulumi.Output<boolean | undefined>;
106
+ readonly cleanupDhcp: pulumi.Output<boolean>;
151
107
  /**
152
108
  * The date and time of the creation of the GatewayNetwork.
153
109
  */
154
110
  readonly createdAt: pulumi.Output<string>;
155
111
  /**
156
- * The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
112
+ * Please use `ipamConfig`. The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
113
+ *
114
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
157
115
  */
158
116
  readonly dhcpId: pulumi.Output<string | undefined>;
159
117
  /**
160
- * Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
118
+ * Please use `ipamConfig`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
119
+ *
120
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
161
121
  */
162
122
  readonly enableDhcp: pulumi.Output<boolean | undefined>;
163
123
  /**
164
- * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
124
+ * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
165
125
  */
166
126
  readonly enableMasquerade: pulumi.Output<boolean | undefined>;
167
127
  /**
@@ -181,7 +141,9 @@ export declare class GatewayNetwork extends pulumi.CustomResource {
181
141
  */
182
142
  readonly privateNetworkId: pulumi.Output<string>;
183
143
  /**
184
- * Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
144
+ * Please use `ipamConfig`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
145
+ *
146
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
185
147
  */
186
148
  readonly staticAddress: pulumi.Output<string>;
187
149
  /**
@@ -194,6 +156,10 @@ export declare class GatewayNetwork extends pulumi.CustomResource {
194
156
  readonly updatedAt: pulumi.Output<string>;
195
157
  /**
196
158
  * `zone`) The zone in which the gateway network should be created.
159
+ *
160
+ * > **Important:**
161
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
162
+ * For more information, please refer to the dedicated guide.
197
163
  */
198
164
  readonly zone: pulumi.Output<string>;
199
165
  /**
@@ -210,7 +176,9 @@ export declare class GatewayNetwork extends pulumi.CustomResource {
210
176
  */
211
177
  export interface GatewayNetworkState {
212
178
  /**
213
- * Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
179
+ * Please use `ipamConfig`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
180
+ *
181
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
214
182
  */
215
183
  cleanupDhcp?: pulumi.Input<boolean>;
216
184
  /**
@@ -218,15 +186,19 @@ export interface GatewayNetworkState {
218
186
  */
219
187
  createdAt?: pulumi.Input<string>;
220
188
  /**
221
- * The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
189
+ * Please use `ipamConfig`. The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
190
+ *
191
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
222
192
  */
223
193
  dhcpId?: pulumi.Input<string>;
224
194
  /**
225
- * Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
195
+ * Please use `ipamConfig`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
196
+ *
197
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
226
198
  */
227
199
  enableDhcp?: pulumi.Input<boolean>;
228
200
  /**
229
- * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
201
+ * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
230
202
  */
231
203
  enableMasquerade?: pulumi.Input<boolean>;
232
204
  /**
@@ -246,7 +218,9 @@ export interface GatewayNetworkState {
246
218
  */
247
219
  privateNetworkId?: pulumi.Input<string>;
248
220
  /**
249
- * Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
221
+ * Please use `ipamConfig`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
222
+ *
223
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
250
224
  */
251
225
  staticAddress?: pulumi.Input<string>;
252
226
  /**
@@ -259,6 +233,10 @@ export interface GatewayNetworkState {
259
233
  updatedAt?: pulumi.Input<string>;
260
234
  /**
261
235
  * `zone`) The zone in which the gateway network should be created.
236
+ *
237
+ * > **Important:**
238
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
239
+ * For more information, please refer to the dedicated guide.
262
240
  */
263
241
  zone?: pulumi.Input<string>;
264
242
  }
@@ -267,19 +245,25 @@ export interface GatewayNetworkState {
267
245
  */
268
246
  export interface GatewayNetworkArgs {
269
247
  /**
270
- * Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
248
+ * Please use `ipamConfig`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
249
+ *
250
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
271
251
  */
272
252
  cleanupDhcp?: pulumi.Input<boolean>;
273
253
  /**
274
- * The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
254
+ * Please use `ipamConfig`. The ID of the Public Gateway DHCP configuration. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
255
+ *
256
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
275
257
  */
276
258
  dhcpId?: pulumi.Input<string>;
277
259
  /**
278
- * Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
260
+ * Please use `ipamConfig`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
261
+ *
262
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
279
263
  */
280
264
  enableDhcp?: pulumi.Input<boolean>;
281
265
  /**
282
- * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
266
+ * Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
283
267
  */
284
268
  enableMasquerade?: pulumi.Input<boolean>;
285
269
  /**
@@ -295,11 +279,17 @@ export interface GatewayNetworkArgs {
295
279
  */
296
280
  privateNetworkId: pulumi.Input<string>;
297
281
  /**
298
- * Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
282
+ * Please use `ipamConfig`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcpId`, `staticAddress` and `ipamConfig` should be specified.
283
+ *
284
+ * @deprecated Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md
299
285
  */
300
286
  staticAddress?: pulumi.Input<string>;
301
287
  /**
302
288
  * `zone`) The zone in which the gateway network should be created.
289
+ *
290
+ * > **Important:**
291
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
292
+ * For more information, please refer to the dedicated guide.
303
293
  */
304
294
  zone?: pulumi.Input<string>;
305
295
  }
@@ -8,8 +8,8 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
10
10
  *
11
- * It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
12
- * For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
11
+ * It allows the attachment of Private Networks to Public Gateways.
12
+ * For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
13
13
  *
14
14
  * ## Example Usage
15
15
  *
@@ -76,52 +76,6 @@ const utilities = require("../utilities");
76
76
  * });
77
77
  * ```
78
78
  *
79
- * ### Create a GatewayNetwork with DHCP
80
- *
81
- * ```typescript
82
- * import * as pulumi from "@pulumi/pulumi";
83
- * import * as scaleway from "@pulumiverse/scaleway";
84
- *
85
- * const pn01 = new scaleway.network.PrivateNetwork("pn01", {name: "pn_test_network"});
86
- * const gw01 = new scaleway.network.PublicGatewayIp("gw01", {});
87
- * const dhcp01 = new scaleway.network.PublicGatewayDhcp("dhcp01", {
88
- * subnet: "192.168.1.0/24",
89
- * pushDefaultRoute: true,
90
- * });
91
- * const pg01 = new scaleway.network.PublicGateway("pg01", {
92
- * name: "foobar",
93
- * type: "VPC-GW-S",
94
- * ipId: gw01.id,
95
- * });
96
- * const main = new scaleway.network.GatewayNetwork("main", {
97
- * gatewayId: pg01.id,
98
- * privateNetworkId: pn01.id,
99
- * dhcpId: dhcp01.id,
100
- * cleanupDhcp: true,
101
- * enableMasquerade: true,
102
- * });
103
- * ```
104
- *
105
- * ### Create a GatewayNetwork with a static IP address
106
- *
107
- * ```typescript
108
- * import * as pulumi from "@pulumi/pulumi";
109
- * import * as scaleway from "@pulumiverse/scaleway";
110
- *
111
- * const pn01 = new scaleway.network.PrivateNetwork("pn01", {name: "pn_test_network"});
112
- * const pg01 = new scaleway.network.PublicGateway("pg01", {
113
- * name: "foobar",
114
- * type: "VPC-GW-S",
115
- * });
116
- * const main = new scaleway.network.GatewayNetwork("main", {
117
- * gatewayId: pg01.id,
118
- * privateNetworkId: pn01.id,
119
- * enableDhcp: false,
120
- * enableMasquerade: true,
121
- * staticAddress: "192.168.1.42/24",
122
- * });
123
- * ```
124
- *
125
79
  * ## Import
126
80
  *
127
81
  * GatewayNetwork can be imported using `{zone}/{id}`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"gatewayNetwork.js","sourceRoot":"","sources":["../../network/gatewayNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8HG;AACH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AAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,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,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,oDAAoD,EAAE,CAAC,EAAE,CAAC;QAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjJL,wCAkJC;AApIG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
@@ -46,6 +46,8 @@ export interface GetPublicGatewayArgs {
46
46
  * A collection of values returned by getPublicGateway.
47
47
  */
48
48
  export interface GetPublicGatewayResult {
49
+ readonly allowedIpRanges: string[];
50
+ readonly bandwidth: number;
49
51
  readonly bastionEnabled: boolean;
50
52
  readonly bastionPort: number;
51
53
  readonly createdAt: string;
@@ -55,6 +57,7 @@ export interface GetPublicGatewayResult {
55
57
  */
56
58
  readonly id: string;
57
59
  readonly ipId: string;
60
+ readonly moveToIpam: boolean;
58
61
  readonly name?: string;
59
62
  readonly organizationId: string;
60
63
  readonly projectId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getPublicGateway.js","sourceRoot":"","sources":["../../network/getPublicGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AA8CD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAAiC;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,MAAM,EAAE,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vC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC"}
@@ -1,5 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Important:** The data source `scaleway.network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
4
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
5
+ * For more information, please refer to the dedicated guide.
6
+ *
3
7
  * Gets information about a Public Gateway DHCP configuration.
4
8
  *
5
9
  * ## Example Usage
@@ -51,6 +55,10 @@ export interface GetPublicGatewayDhcpResult {
51
55
  readonly zone: string;
52
56
  }
53
57
  /**
58
+ * > **Important:** The data source `scaleway.network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
59
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
60
+ * For more information, please refer to the dedicated guide.
61
+ *
54
62
  * Gets information about a Public Gateway DHCP configuration.
55
63
  *
56
64
  * ## Example Usage
@@ -6,6 +6,10 @@ exports.getPublicGatewayDhcpOutput = exports.getPublicGatewayDhcp = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
+ * > **Important:** The data source `scaleway.network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
10
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
11
+ * For more information, please refer to the dedicated guide.
12
+ *
9
13
  * Gets information about a Public Gateway DHCP configuration.
10
14
  *
11
15
  * ## Example Usage
@@ -29,6 +33,10 @@ function getPublicGatewayDhcp(args, opts) {
29
33
  }
30
34
  exports.getPublicGatewayDhcp = getPublicGatewayDhcp;
31
35
  /**
36
+ * > **Important:** The data source `scaleway.network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
37
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
38
+ * For more information, please refer to the dedicated guide.
39
+ *
32
40
  * Gets information about a Public Gateway DHCP configuration.
33
41
  *
34
42
  * ## Example Usage
@@ -1 +1 @@
1
- {"version":3,"file":"getPublicGatewayDhcp.js","sourceRoot":"","sources":["../../network/getPublicGatewayDhcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
1
+ {"version":3,"file":"getPublicGatewayDhcp.js","sourceRoot":"","sources":["../../network/getPublicGatewayDhcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAqCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
@@ -1,5 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Important:** The data source `scaleway.network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
4
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
5
+ * You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
6
+ *
3
7
  * Gets information about a DHCP entry. For further information, please see the
4
8
  * [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries).
5
9
  *
@@ -147,6 +151,10 @@ export interface GetPublicGatewayDhcpReservationResult {
147
151
  readonly zone?: string;
148
152
  }
149
153
  /**
154
+ * > **Important:** The data source `scaleway.network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
155
+ * In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
156
+ * You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
157
+ *
150
158
  * Gets information about a DHCP entry. For further information, please see the
151
159
  * [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries).
152
160
  *