@Generated public class NetworksAPI extends Object
Constructor and Description |
---|
NetworksAPI(ApiClient apiClient)
Regular-use constructor
|
NetworksAPI(NetworksService mock)
Constructor for mocks
|
Modifier and Type | Method and 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.
|
public NetworksAPI(ApiClient apiClient)
public NetworksAPI(NetworksService mock)
public Network create(CreateNetworkRequest request)
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.
public void delete(String networkId)
public void delete(DeleteNetworkRequest request)
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.
public Network get(GetNetworkRequest request)
Gets a Databricks network configuration, which represents a cloud VPC and its resources.
public Iterable<Network> list()
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.
public NetworksService impl()
Copyright © 2023. All rights reserved.