Class NetworksAPI
- java.lang.Object
-
- com.databricks.sdk.service.provisioning.NetworksAPI
-
@Generated public class NetworksAPI extends Object
These APIs manage network configurations for customer-managed VPCs (optional). Its ID is used when creating a new workspace if you use customer-managed VPCs.
-
-
Constructor Summary
Constructors Constructor Description NetworksAPI(ApiClient apiClient)
Regular-use constructorNetworksAPI(NetworksService mock)
Constructor for mocks
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Network
create(CreateNetworkRequest request)
Create network configuration.Network
create(String networkName)
void
delete(DeleteNetworkRequest request)
Delete a network configuration.void
delete(String networkId)
Network
get(GetNetworkRequest request)
Get a network configuration.Network
get(String networkId)
NetworksService
impl()
Iterable<Network>
list()
Get all network configurations.
-
-
-
Constructor Detail
-
NetworksAPI
public NetworksAPI(ApiClient apiClient)
Regular-use constructor
-
NetworksAPI
public NetworksAPI(NetworksService mock)
Constructor for mocks
-
-
Method Detail
-
create
public Network create(CreateNetworkRequest request)
Create network configuration.Creates a Databricks network configuration that represents an VPC and its resources. The VPC will be used for new Databricks clusters. This requires a pre-existing VPC and subnets.
-
delete
public void delete(String networkId)
-
delete
public void delete(DeleteNetworkRequest request)
Delete a network configuration.Deletes a Databricks network configuration, which represents a cloud VPC and its resources. You cannot delete a network that is associated with a workspace.
This operation is available only if your account is on the E2 version of the platform.
-
get
public Network get(GetNetworkRequest request)
Get a network configuration.Gets a Databricks network configuration, which represents a cloud VPC and its resources.
-
list
public Iterable<Network> list()
Get all network configurations.Gets a list of all Databricks network configurations for an account, specified by ID.
This operation is available only if your account is on the E2 version of the platform.
-
impl
public NetworksService impl()
-
-