PrivateLinkHubs Interface

public interface PrivateLinkHubs

Resource collection API of PrivateLinkHubs.

Method Summary

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

Begins definition for a new PrivateLinkHub resource.

abstract void delete(String resourceGroupName, String privateLinkHubName, Context context)

Deletes a privateLinkHub.

abstract void deleteById(String id)

Deletes a privateLinkHub.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a privateLinkHub.

abstract void deleteByResourceGroup(String resourceGroupName, String privateLinkHubName)

Deletes a privateLinkHub.

abstract PrivateLinkHub getById(String id)

Gets a privateLinkHub.

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

Gets a privateLinkHub.

abstract PrivateLinkHub getByResourceGroup(String resourceGroupName, String privateLinkHubName)

Gets a privateLinkHub.

abstract Response<PrivateLinkHub> getByResourceGroupWithResponse(String resourceGroupName, String privateLinkHubName, Context context)

Gets a privateLinkHub.

abstract PagedIterable<PrivateLinkHub> list()

Returns a list of privateLinkHubs in a subscription.

abstract PagedIterable<PrivateLinkHub> list(Context context)

Returns a list of privateLinkHubs in a subscription.

abstract PagedIterable<PrivateLinkHub> listByResourceGroup(String resourceGroupName)

Returns a list of privateLinkHubs in a resource group.

abstract PagedIterable<PrivateLinkHub> listByResourceGroup(String resourceGroupName, Context context)

Returns a list of privateLinkHubs in a resource group.

Method Details

define

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

Begins definition for a new PrivateLinkHub resource.

Parameters:

name - resource name.

Returns:

the first stage of the new PrivateLinkHub definition.

delete

public abstract void delete(String resourceGroupName, String privateLinkHubName, Context context)

Deletes a privateLinkHub.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkHubName - Name of the privateLinkHub.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes a privateLinkHub.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a privateLinkHub.

Parameters:

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

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String privateLinkHubName)

Deletes a privateLinkHub.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkHubName - Name of the privateLinkHub.

getById

public abstract PrivateLinkHub getById(String id)

Gets a privateLinkHub.

Parameters:

id - the resource ID.

Returns:

a privateLinkHub along with Response<T>.

getByIdWithResponse

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

Gets a privateLinkHub.

Parameters:

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

Returns:

a privateLinkHub along with Response<T>.

getByResourceGroup

public abstract PrivateLinkHub getByResourceGroup(String resourceGroupName, String privateLinkHubName)

Gets a privateLinkHub.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkHubName - Name of the privateLinkHub.

Returns:

a privateLinkHub.

getByResourceGroupWithResponse

public abstract Response<PrivateLinkHub> getByResourceGroupWithResponse(String resourceGroupName, String privateLinkHubName, Context context)

Gets a privateLinkHub.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkHubName - Name of the privateLinkHub.
context - The context to associate with this operation.

Returns:

a privateLinkHub along with Response<T>.

list

public abstract PagedIterable<PrivateLinkHub> list()

Returns a list of privateLinkHubs in a subscription.

Returns:

list of privateLinkHubs as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PrivateLinkHub> list(Context context)

Returns a list of privateLinkHubs in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of privateLinkHubs as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PrivateLinkHub> listByResourceGroup(String resourceGroupName)

Returns a list of privateLinkHubs in a resource group.

Parameters:

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

Returns:

list of privateLinkHubs as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PrivateLinkHub> listByResourceGroup(String resourceGroupName, Context context)

Returns a list of privateLinkHubs in a resource group.

Parameters:

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

Returns:

list of privateLinkHubs as paginated response with PagedIterable<T>.

Applies to