WebPubSubReplicas interface

Interface representing a WebPubSubReplicas.

Methods

beginCreateOrUpdate(string, string, string, Replica, WebPubSubReplicasCreateOrUpdateOptionalParams)

Create or update a replica.

beginCreateOrUpdateAndWait(string, string, string, Replica, WebPubSubReplicasCreateOrUpdateOptionalParams)

Create or update a replica.

beginRestart(string, string, string, WebPubSubReplicasRestartOptionalParams)

Operation to restart a replica.

beginRestartAndWait(string, string, string, WebPubSubReplicasRestartOptionalParams)

Operation to restart a replica.

beginUpdate(string, string, string, Replica, WebPubSubReplicasUpdateOptionalParams)

Operation to update an exiting replica.

beginUpdateAndWait(string, string, string, Replica, WebPubSubReplicasUpdateOptionalParams)

Operation to update an exiting replica.

delete(string, string, string, WebPubSubReplicasDeleteOptionalParams)

Operation to delete a replica.

get(string, string, string, WebPubSubReplicasGetOptionalParams)

Get the replica and its properties.

list(string, string, WebPubSubReplicasListOptionalParams)

List all replicas belong to this resource

Method Details

beginCreateOrUpdate(string, string, string, Replica, WebPubSubReplicasCreateOrUpdateOptionalParams)

Create or update a replica.

function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Replica>, Replica>>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

parameters
Replica

Parameters for the create or update operation

options
WebPubSubReplicasCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, Replica, WebPubSubReplicasCreateOrUpdateOptionalParams)

Create or update a replica.

function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasCreateOrUpdateOptionalParams): Promise<Replica>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

parameters
Replica

Parameters for the create or update operation

options
WebPubSubReplicasCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Replica>

beginRestart(string, string, string, WebPubSubReplicasRestartOptionalParams)

Operation to restart a replica.

function beginRestart(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasRestartOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasRestartHeaders>, WebPubSubReplicasRestartHeaders>>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

options
WebPubSubReplicasRestartOptionalParams

The options parameters.

Returns

beginRestartAndWait(string, string, string, WebPubSubReplicasRestartOptionalParams)

Operation to restart a replica.

function beginRestartAndWait(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasRestartOptionalParams): Promise<WebPubSubReplicasRestartHeaders>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

options
WebPubSubReplicasRestartOptionalParams

The options parameters.

Returns

beginUpdate(string, string, string, Replica, WebPubSubReplicasUpdateOptionalParams)

Operation to update an exiting replica.

function beginUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Replica>, Replica>>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

parameters
Replica

Parameters for the update operation

options
WebPubSubReplicasUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, Replica, WebPubSubReplicasUpdateOptionalParams)

Operation to update an exiting replica.

function beginUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasUpdateOptionalParams): Promise<Replica>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

parameters
Replica

Parameters for the update operation

options
WebPubSubReplicasUpdateOptionalParams

The options parameters.

Returns

Promise<Replica>

delete(string, string, string, WebPubSubReplicasDeleteOptionalParams)

Operation to delete a replica.

function delete(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

options
WebPubSubReplicasDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, WebPubSubReplicasGetOptionalParams)

Get the replica and its properties.

function get(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasGetOptionalParams): Promise<Replica>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

replicaName

string

The name of the replica.

options
WebPubSubReplicasGetOptionalParams

The options parameters.

Returns

Promise<Replica>

list(string, string, WebPubSubReplicasListOptionalParams)

List all replicas belong to this resource

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

Parameters

resourceGroupName

string

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

resourceName

string

The name of the resource.

options
WebPubSubReplicasListOptionalParams

The options parameters.

Returns