You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Resource to manage IP pools for Private Cloud Gateway.
11
11
12
-
## Example Usage
12
+
You can learn more about Private Cloud Gateways IP Pools by revewing the [Create and Manage IPAM Node Pools](https://docs.spectrocloud.com/clusters/pcg/manage-pcg/create-manage-node-pool/) guide.
13
13
14
+
## Example Usage
14
15
16
+
An example of creating an IP Pool for a Private Cloud Gateway using a range of IP addresses and restricting the IP Pool to a single cluster.
-`gateway` (String) The network gateway IP address for the IP pool. Typically, this is the default network gateway for the subnet.
62
+
-`name` (String) The name of the IP pool.
63
+
-`network_type` (String) The type of network for the IP pool. Allowed values are: `range` and `subnet`.
64
+
-`prefix` (Number) The prefix of the IP pool provided network range or subnet. For example `24` for a `/24` subnet or a range that falls inside a `24` subnet.
65
+
-`private_cloud_gateway_id` (String) The ID of the Private Cloud Gateway.
27
66
28
67
### Optional
29
68
30
-
-`ip_end_range` (String)
31
-
-`ip_start_range` (String)
32
-
-`nameserver_addresses` (Set of String)
33
-
-`nameserver_search_suffix` (Set of String)
34
-
-`restrict_to_single_cluster` (Boolean)
35
-
-`subnet_cidr` (String)
69
+
-`ip_end_range` (String) The end IP address of the IP pool. Required if `network_type` is `range`.
70
+
-`ip_start_range` (String) The start IP address of the IP pool. Required if `network_type` is `range`.
71
+
-`nameserver_addresses` (Set of String) The list of nameserver IP addresses for the IP pool.
72
+
-`nameserver_search_suffix` (Set of String) The list of nameserver search suffixes for the IP pool. For example, `example.org`.
73
+
-`restrict_to_single_cluster` (Boolean) Restrict the IP pool to a single cluster. If set to `true`, the IP pool is restricted to a single cluster. We recommend setting this to `true` for production environments and creating separate IP pools for each cluster.
74
+
-`subnet_cidr` (String) The subnet CIDR of the IP pool. Required if `network_type` is `subnet`.
36
75
-`timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
Description: "The ID of the Private Cloud Gateway.",
39
42
},
40
43
"network_type": {
41
44
Type: schema.TypeString,
42
45
Required: true,
43
46
ValidateDiagFunc: validateNetworkType,
47
+
Description: "The type of network for the IP pool. Allowed values are: `range` and `subnet`.",
44
48
},
45
49
"ip_start_range": {
46
-
Type: schema.TypeString,
47
-
Optional: true,
50
+
Type: schema.TypeString,
51
+
Optional: true,
52
+
Description: "The start IP address of the IP pool. Required if `network_type` is `range`.",
48
53
},
49
54
"ip_end_range": {
50
-
Type: schema.TypeString,
51
-
Optional: true,
55
+
Type: schema.TypeString,
56
+
Optional: true,
57
+
Description: "The end IP address of the IP pool. Required if `network_type` is `range`.",
52
58
},
53
59
"subnet_cidr": {
54
-
Type: schema.TypeString,
55
-
Optional: true,
60
+
Type: schema.TypeString,
61
+
Optional: true,
62
+
Description: "The subnet CIDR of the IP pool. Required if `network_type` is `subnet`.",
56
63
},
57
64
"prefix": {
58
-
Type: schema.TypeInt,
59
-
Required: true,
65
+
Type: schema.TypeInt,
66
+
Required: true,
67
+
Description: "The prefix of the IP pool provided network range or subnet. For example `24` for a `/24` subnet or a range that falls inside a `24` subnet.",
60
68
},
61
69
"gateway": {
62
-
Type: schema.TypeString,
63
-
Required: true,
70
+
Type: schema.TypeString,
71
+
Required: true,
72
+
Description: "The network gateway IP address for the IP pool. Typically, this is the default network gateway for the subnet.",
Description: "The list of nameserver search suffixes for the IP pool. For example, `example.org`.",
80
91
},
81
92
"restrict_to_single_cluster": {
82
-
Type: schema.TypeBool,
83
-
Optional: true,
84
-
Default: false,
93
+
Type: schema.TypeBool,
94
+
Optional: true,
95
+
Default: false,
96
+
Description: "Restrict the IP pool to a single cluster. If set to `true`, the IP pool is restricted to a single cluster. We recommend setting this to `true` for production environments and creating separate IP pools for each cluster.",
You can learn more about Private Cloud Gateways IP Pools by revewing the [Create and Manage IPAM Node Pools](https://docs.spectrocloud.com/clusters/pcg/manage-pcg/create-manage-node-pool/) guide.
13
+
12
14
## Example Usage
13
15
16
+
An example of creating an IP Pool for a Private Cloud Gateway using a range of IP addresses and restricting the IP Pool to a single cluster.
0 commit comments