WebPubSubHubs Interface

public interface WebPubSubHubs

Resource collection API of WebPubSubHubs.

Method Summary

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

Begins definition for a new WebPubSubHub resource.

abstract void delete(String hubName, String resourceGroupName, String resourceName)

Delete a hub setting.

abstract void delete(String hubName, String resourceGroupName, String resourceName, Context context)

Delete a hub setting.

abstract void deleteById(String id)

Delete a hub setting.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a hub setting.

abstract WebPubSubHub get(String hubName, String resourceGroupName, String resourceName)

Get a hub setting.

abstract WebPubSubHub getById(String id)

Get a hub setting.

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

Get a hub setting.

abstract Response<WebPubSubHub> getWithResponse(String hubName, String resourceGroupName, String resourceName, Context context)

Get a hub setting.

abstract PagedIterable<WebPubSubHub> list(String resourceGroupName, String resourceName)

List hub settings.

abstract PagedIterable<WebPubSubHub> list(String resourceGroupName, String resourceName, Context context)

List hub settings.

Method Details

define

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

Begins definition for a new WebPubSubHub resource.

Parameters:

name - resource name.

Returns:

the first stage of the new WebPubSubHub definition.

delete

public abstract void delete(String hubName, String resourceGroupName, String resourceName)

Delete a hub setting.

Parameters:

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

delete

public abstract void delete(String hubName, String resourceGroupName, String resourceName, Context context)

Delete a hub setting.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Delete a hub setting.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a hub setting.

Parameters:

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

get

public abstract WebPubSubHub get(String hubName, String resourceGroupName, String resourceName)

Get a hub setting.

Parameters:

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

Returns:

a hub setting.

getById

public abstract WebPubSubHub getById(String id)

Get a hub setting.

Parameters:

id - the resource ID.

Returns:

a hub setting along with Response<T>.

getByIdWithResponse

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

Get a hub setting.

Parameters:

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

Returns:

a hub setting along with Response<T>.

getWithResponse

public abstract Response<WebPubSubHub> getWithResponse(String hubName, String resourceGroupName, String resourceName, Context context)

Get a hub setting.

Parameters:

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

Returns:

a hub setting along with Response<T>.

list

public abstract PagedIterable<WebPubSubHub> list(String resourceGroupName, String resourceName)

List hub settings.

Parameters:

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

Returns:

hub setting list as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<WebPubSubHub> list(String resourceGroupName, String resourceName, Context context)

List hub settings.

Parameters:

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

Returns:

hub setting list as paginated response with PagedIterable<T>.

Applies to