Skip to content

Commit 75588f5

Browse files
authored
Revert "feat(instance): deprecate use of NATed IP in instance api documentation" (#2197)
1 parent e93e5ca commit 75588f5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

api/instance/v1/instance_sdk.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,8 +1595,8 @@ type Server struct {
15951595
// DynamicIPRequired: true if a dynamic IPv4 is required.
15961596
DynamicIPRequired bool `json:"dynamic_ip_required"`
15971597

1598-
// Deprecated: RoutedIPEnabled: true to configure the instance so it uses the routed IP mode. Use of `routed_ip_enabled` as `False` is deprecated.
1599-
RoutedIPEnabled *bool `json:"routed_ip_enabled"`
1598+
// RoutedIPEnabled: true to configure the instance so it uses the new routed IP mode.
1599+
RoutedIPEnabled bool `json:"routed_ip_enabled"`
16001600

16011601
// Deprecated: EnableIPv6: true if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
16021602
EnableIPv6 *bool `json:"enable_ipv6"`
@@ -2136,7 +2136,7 @@ type CreateIPRequest struct {
21362136
// Server: UUID of the Instance you want to attach the IP to.
21372137
Server *string `json:"server,omitempty"`
21382138

2139-
// Type: IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is deprecated).
2139+
// Type: IP type to reserve (either 'nat', 'routed_ipv4' or 'routed_ipv6').
21402140
// Default value: unknown_iptype
21412141
Type IPType `json:"type,omitempty"`
21422142
}
@@ -2344,7 +2344,7 @@ type CreateServerRequest struct {
23442344
// DynamicIPRequired: define if a dynamic IPv4 is required for the Instance.
23452345
DynamicIPRequired *bool `json:"dynamic_ip_required,omitempty"`
23462346

2347-
// Deprecated: RoutedIPEnabled: if true, configure the Instance so it uses the new routed IP mode.
2347+
// RoutedIPEnabled: if true, configure the Instance so it uses the new routed IP mode.
23482348
RoutedIPEnabled *bool `json:"routed_ip_enabled,omitempty"`
23492349

23502350
// CommercialType: define the Instance commercial type (i.e. GP1-S).
@@ -2902,7 +2902,7 @@ type ListIPsRequest struct {
29022902
// Page: a positive integer to choose the page to return.
29032903
Page *int32 `json:"-"`
29042904

2905-
// Type: filter on the IP Mobility IP type (whose value should be either 'routed_ipv4', 'routed_ipv6' or 'nat').
2905+
// Type: filter on the IP Mobility IP type (whose value should be either 'nat', 'routed_ipv4' or 'routed_ipv6').
29062906
Type *string `json:"-"`
29072907
}
29082908

@@ -3862,7 +3862,7 @@ type UpdateServerRequest struct {
38623862

38633863
DynamicIPRequired *bool `json:"dynamic_ip_required,omitempty"`
38643864

3865-
// Deprecated: RoutedIPEnabled: true to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False).
3865+
// RoutedIPEnabled: true to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False).
38663866
RoutedIPEnabled *bool `json:"routed_ip_enabled,omitempty"`
38673867

38683868
// PublicIPs: a list of reserved IP IDs to attach to the Instance.
@@ -4071,7 +4071,7 @@ type setServerRequest struct {
40714071
// DynamicIPRequired: true if a dynamic IPv4 is required.
40724072
DynamicIPRequired bool `json:"dynamic_ip_required"`
40734073

4074-
// Deprecated: RoutedIPEnabled: true to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False).
4074+
// RoutedIPEnabled: true to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False).
40754075
RoutedIPEnabled *bool `json:"routed_ip_enabled,omitempty"`
40764076

40774077
// Deprecated: EnableIPv6: true if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).

0 commit comments

Comments
 (0)