com.databricks.sdk.service.settings.NetworkConnectivityService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.settings;
import com.databricks.sdk.support.Generated;
/**
* These APIs provide configurations for the network connectivity of your workspaces for serverless
* compute resources.
*
* This is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface NetworkConnectivityService {
/** Create a network connectivity configuration. */
NetworkConnectivityConfiguration createNetworkConnectivityConfiguration(
CreateNetworkConnectivityConfigRequest createNetworkConnectivityConfigRequest);
/**
* Create a private endpoint rule.
*
*
Create a private endpoint rule for the specified network connectivity config object. Once
* the object is created, Databricks asynchronously provisions a new Azure private endpoint to
* your specified Azure resource.
*
*
**IMPORTANT**: You must use Azure portal or other Azure tools to approve the private
* endpoint to complete the connection. To get the information of the private endpoint created,
* make a `GET` request on the new private endpoint rule. See [serverless private link].
*
*
[serverless private link]:
* https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security/serverless-private-link
*/
NccAzurePrivateEndpointRule createPrivateEndpointRule(
CreatePrivateEndpointRuleRequest createPrivateEndpointRuleRequest);
/**
* Delete a network connectivity configuration.
*
*
Deletes a network connectivity configuration.
*/
void deleteNetworkConnectivityConfiguration(
DeleteNetworkConnectivityConfigurationRequest deleteNetworkConnectivityConfigurationRequest);
/**
* Delete a private endpoint rule.
*
*
Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED,
* the private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated and
* will be deleted after seven days of deactivation. When a private endpoint is deactivated, the
* `deactivated` field is set to `true` and the private endpoint is not available to your
* serverless compute resources.
*/
NccAzurePrivateEndpointRule deletePrivateEndpointRule(
DeletePrivateEndpointRuleRequest deletePrivateEndpointRuleRequest);
/**
* Get a network connectivity configuration.
*
*
Gets a network connectivity configuration.
*/
NetworkConnectivityConfiguration getNetworkConnectivityConfiguration(
GetNetworkConnectivityConfigurationRequest getNetworkConnectivityConfigurationRequest);
/**
* Get a private endpoint rule.
*
*
Gets the private endpoint rule.
*/
NccAzurePrivateEndpointRule getPrivateEndpointRule(
GetPrivateEndpointRuleRequest getPrivateEndpointRuleRequest);
/**
* List network connectivity configurations.
*
*
Gets an array of network connectivity configurations.
*/
ListNetworkConnectivityConfigurationsResponse listNetworkConnectivityConfigurations(
ListNetworkConnectivityConfigurationsRequest listNetworkConnectivityConfigurationsRequest);
/**
* List private endpoint rules.
*
*
Gets an array of private endpoint rules.
*/
ListNccAzurePrivateEndpointRulesResponse listPrivateEndpointRules(
ListPrivateEndpointRulesRequest listPrivateEndpointRulesRequest);
}