PrivateEndpointConnections Interface

public interface PrivateEndpointConnections

Resource collection API of PrivateEndpointConnections.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new PrivateEndpointConnection resource.

abstract void delete(String resourceGroupName, String serverName, String privateEndpointConnectionName)

Deletes a private endpoint connection with a given name.

abstract void delete(String resourceGroupName, String serverName, String privateEndpointConnectionName, Context context)

Deletes a private endpoint connection with a given name.

abstract void deleteById(String id)

Deletes a private endpoint connection with a given name.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a private endpoint connection with a given name.

abstract PrivateEndpointConnection get(String resourceGroupName, String serverName, String privateEndpointConnectionName)

Gets a private endpoint connection.

abstract PrivateEndpointConnection getById(String id)

Gets a private endpoint connection.

abstract Response<PrivateEndpointConnection> getByIdWithResponse(String id, Context context)

Gets a private endpoint connection.

abstract Response<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String serverName, String privateEndpointConnectionName, Context context)

Gets a private endpoint connection.

abstract PagedIterable<PrivateEndpointConnection> listByServer(String resourceGroupName, String serverName)

Gets all private endpoint connections on a server.

abstract PagedIterable<PrivateEndpointConnection> listByServer(String resourceGroupName, String serverName, Context context)

Gets all private endpoint connections on a server.

Method Details

define

public abstract PrivateEndpointConnection.DefinitionStages.Blank define(String name)

Begins definition for a new PrivateEndpointConnection resource.

Parameters:

name - resource name.

Returns:

the first stage of the new PrivateEndpointConnection definition.

delete

public abstract void delete(String resourceGroupName, String serverName, String privateEndpointConnectionName)

Deletes a private endpoint connection with a given name.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
privateEndpointConnectionName - The privateEndpointConnectionName parameter.

delete

public abstract void delete(String resourceGroupName, String serverName, String privateEndpointConnectionName, Context context)

Deletes a private endpoint connection with a given name.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
privateEndpointConnectionName - The privateEndpointConnectionName parameter.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes a private endpoint connection with a given name.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a private endpoint connection with a given name.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract PrivateEndpointConnection get(String resourceGroupName, String serverName, String privateEndpointConnectionName)

Gets a private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
privateEndpointConnectionName - The name of the private endpoint connection.

Returns:

a private endpoint connection.

getById

public abstract PrivateEndpointConnection getById(String id)

Gets a private endpoint connection.

Parameters:

id - the resource ID.

Returns:

a private endpoint connection along with Response<T>.

getByIdWithResponse

public abstract Response<PrivateEndpointConnection> getByIdWithResponse(String id, Context context)

Gets a private endpoint connection.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a private endpoint connection along with Response<T>.

getWithResponse

public abstract Response<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String serverName, String privateEndpointConnectionName, Context context)

Gets a private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
privateEndpointConnectionName - The name of the private endpoint connection.
context - The context to associate with this operation.

Returns:

a private endpoint connection along with Response<T>.

listByServer

public abstract PagedIterable<PrivateEndpointConnection> listByServer(String resourceGroupName, String serverName)

Gets all private endpoint connections on a server.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

all private endpoint connections on a server as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable<PrivateEndpointConnection> listByServer(String resourceGroupName, String serverName, Context context)

Gets all private endpoint connections on a server.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

all private endpoint connections on a server as paginated response with PagedIterable<T>.

Applies to