Class GcpManagedNetworkConfig
- java.lang.Object
-
- com.databricks.sdk.service.provisioning.GcpManagedNetworkConfig
-
@Generated public class GcpManagedNetworkConfig extends Object
The network settings for the workspace. The configurations are only for Databricks-managed VPCs. It is ignored if you specify a customer-managed VPC in the `network_id` field.", All the IP range configurations must be mutually exclusive. An attempt to create a workspace fails if Databricks detects an IP range overlap.Specify custom IP ranges in CIDR format. The IP ranges for these fields must not overlap, and all IP addresses must be entirely within the following ranges: `10.0.0.0/8`, `100.64.0.0/10`, `172.16.0.0/12`, `192.168.0.0/16`, and `240.0.0.0/4`.
The sizes of these IP ranges affect the maximum number of nodes for the workspace.
**Important**: Confirm the IP ranges used by your Databricks workspace before creating the workspace. You cannot change them after your workspace is deployed. If the IP address ranges for your Databricks are too small, IP exhaustion can occur, causing your Databricks jobs to fail. To determine the address range sizes that you need, Databricks provides a calculator as a Microsoft Excel spreadsheet. See [calculate subnet sizes for a new workspace].
[calculate subnet sizes for a new workspace]: https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/network-sizing.html
-
-
Constructor Summary
Constructors Constructor Description GcpManagedNetworkConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getGkeClusterPodIpRange()
String
getGkeClusterServiceIpRange()
String
getSubnetCidr()
int
hashCode()
GcpManagedNetworkConfig
setGkeClusterPodIpRange(String gkeClusterPodIpRange)
GcpManagedNetworkConfig
setGkeClusterServiceIpRange(String gkeClusterServiceIpRange)
GcpManagedNetworkConfig
setSubnetCidr(String subnetCidr)
String
toString()
-
-
-
Method Detail
-
setGkeClusterPodIpRange
public GcpManagedNetworkConfig setGkeClusterPodIpRange(String gkeClusterPodIpRange)
-
getGkeClusterPodIpRange
public String getGkeClusterPodIpRange()
-
setGkeClusterServiceIpRange
public GcpManagedNetworkConfig setGkeClusterServiceIpRange(String gkeClusterServiceIpRange)
-
getGkeClusterServiceIpRange
public String getGkeClusterServiceIpRange()
-
setSubnetCidr
public GcpManagedNetworkConfig setSubnetCidr(String subnetCidr)
-
getSubnetCidr
public String getSubnetCidr()
-
-