PrivateLinkResources Interface

public interface PrivateLinkResources

Resource collection API of PrivateLinkResources.

Method Summary

Modifier and Type Method and Description
abstract PrivateLinkResource get(String resourceGroupName, String serverName, String groupName)

Gets a private link resource for PostgreSQL server.

abstract Response<PrivateLinkResource> getWithResponse(String resourceGroupName, String serverName, String groupName, Context context)

Gets a private link resource for PostgreSQL server.

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

Gets the private link resources for PostgreSQL server.

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

Gets the private link resources for PostgreSQL server.

Method Details

get

public abstract PrivateLinkResource get(String resourceGroupName, String serverName, String groupName)

Gets a private link resource for PostgreSQL server.

Parameters:

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

Returns:

a private link resource for PostgreSQL server.

getWithResponse

public abstract Response<PrivateLinkResource> getWithResponse(String resourceGroupName, String serverName, String groupName, Context context)

Gets a private link resource for PostgreSQL server.

Parameters:

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

Returns:

a private link resource for PostgreSQL server along with Response<T>.

listByServer

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

Gets the private link resources for PostgreSQL server.

Parameters:

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

Returns:

the private link resources for PostgreSQL server as paginated response with PagedIterable<T>.

listByServer

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

Gets the private link resources for PostgreSQL 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:

the private link resources for PostgreSQL server as paginated response with PagedIterable<T>.

Applies to