Share via


PrivateLinkResourcesClient Interface

public interface PrivateLinkResourcesClient

An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient.

Method Summary

Modifier and Type Method and Description
abstract PrivateLinkResourceInner get(String resourceGroupName, String accountName, String privateLinkResourceName)

Gets information about the specified private link resource.

abstract Response<PrivateLinkResourceInner> getWithResponse(String resourceGroupName, String accountName, String privateLinkResourceName, Context context)

Gets information about the specified private link resource.

abstract PagedIterable<PrivateLinkResourceInner> listByBatchAccount(String resourceGroupName, String accountName)

Lists all of the private link resources in the specified account.

abstract PagedIterable<PrivateLinkResourceInner> listByBatchAccount(String resourceGroupName, String accountName, Integer maxresults, Context context)

Lists all of the private link resources in the specified account.

Method Details

get

public abstract PrivateLinkResourceInner get(String resourceGroupName, String accountName, String privateLinkResourceName)

Gets information about the specified private link resource.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateLinkResourceName - The private link resource name. This must be unique within the account.

Returns:

information about the specified private link resource.

getWithResponse

public abstract Response<PrivateLinkResourceInner> getWithResponse(String resourceGroupName, String accountName, String privateLinkResourceName, Context context)

Gets information about the specified private link resource.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateLinkResourceName - The private link resource name. This must be unique within the account.
context - The context to associate with this operation.

Returns:

information about the specified private link resource along with Response<T>.

listByBatchAccount

public abstract PagedIterable<PrivateLinkResourceInner> listByBatchAccount(String resourceGroupName, String accountName)

Lists all of the private link resources in the specified account.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.

Returns:

values returned by the List operation as paginated response with PagedIterable<T>.

listByBatchAccount

public abstract PagedIterable<PrivateLinkResourceInner> listByBatchAccount(String resourceGroupName, String accountName, Integer maxresults, Context context)

Lists all of the private link resources in the specified account.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
maxresults - The maximum number of items to return in the response.
context - The context to associate with this operation.

Returns:

values returned by the List operation as paginated response with PagedIterable<T>.

Applies to