WebPubSubHubs interface

Interface representing a WebPubSubHubs.

Methods

beginCreateOrUpdate(string, string, string, WebPubSubHub, WebPubSubHubsCreateOrUpdateOptionalParams)

Create or update a hub setting.

beginCreateOrUpdateAndWait(string, string, string, WebPubSubHub, WebPubSubHubsCreateOrUpdateOptionalParams)

Create or update a hub setting.

beginDelete(string, string, string, WebPubSubHubsDeleteOptionalParams)

Delete a hub setting.

beginDeleteAndWait(string, string, string, WebPubSubHubsDeleteOptionalParams)

Delete a hub setting.

get(string, string, string, WebPubSubHubsGetOptionalParams)

Get a hub setting.

list(string, string, WebPubSubHubsListOptionalParams)

List hub settings.

Method Details

beginCreateOrUpdate(string, string, string, WebPubSubHub, WebPubSubHubsCreateOrUpdateOptionalParams)

Create or update a hub setting.

function beginCreateOrUpdate(hubName: string, resourceGroupName: string, resourceName: string, parameters: WebPubSubHub, options?: WebPubSubHubsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubHub>, WebPubSubHub>>

Parameters

hubName

string

The hub name.

resourceGroupName

string

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

resourceName

string

The name of the resource.

parameters
WebPubSubHub

The resource of WebPubSubHub and its properties

options
WebPubSubHubsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<WebPubSubHub>, WebPubSubHub>>

beginCreateOrUpdateAndWait(string, string, string, WebPubSubHub, WebPubSubHubsCreateOrUpdateOptionalParams)

Create or update a hub setting.

function beginCreateOrUpdateAndWait(hubName: string, resourceGroupName: string, resourceName: string, parameters: WebPubSubHub, options?: WebPubSubHubsCreateOrUpdateOptionalParams): Promise<WebPubSubHub>

Parameters

hubName

string

The hub name.

resourceGroupName

string

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

resourceName

string

The name of the resource.

parameters
WebPubSubHub

The resource of WebPubSubHub and its properties

options
WebPubSubHubsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<WebPubSubHub>

beginDelete(string, string, string, WebPubSubHubsDeleteOptionalParams)

Delete a hub setting.

function beginDelete(hubName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubHubsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

hubName

string

The hub name.

resourceGroupName

string

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

resourceName

string

The name of the resource.

options
WebPubSubHubsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, WebPubSubHubsDeleteOptionalParams)

Delete a hub setting.

function beginDeleteAndWait(hubName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubHubsDeleteOptionalParams): Promise<void>

Parameters

hubName

string

The hub name.

resourceGroupName

string

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

resourceName

string

The name of the resource.

options
WebPubSubHubsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, WebPubSubHubsGetOptionalParams)

Get a hub setting.

function get(hubName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubHubsGetOptionalParams): Promise<WebPubSubHub>

Parameters

hubName

string

The hub name.

resourceGroupName

string

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

resourceName

string

The name of the resource.

options
WebPubSubHubsGetOptionalParams

The options parameters.

Returns

Promise<WebPubSubHub>

list(string, string, WebPubSubHubsListOptionalParams)

List hub settings.

function list(resourceGroupName: string, resourceName: string, options?: WebPubSubHubsListOptionalParams): PagedAsyncIterableIterator<WebPubSubHub, WebPubSubHub[], PageSettings>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

options
WebPubSubHubsListOptionalParams

The options parameters.

Returns