Compartilhar via


IotHub interface

Interface que representa um IotHub.

Métodos

beginManualFailover(string, string, FailoverInput, IotHubManualFailoverOptionalParams)

Executar failover manual de determinado hub

beginManualFailoverAndWait(string, string, FailoverInput, IotHubManualFailoverOptionalParams)

Executar failover manual de determinado hub

Detalhes do método

beginManualFailover(string, string, FailoverInput, IotHubManualFailoverOptionalParams)

Executar failover manual de determinado hub

function beginManualFailover(iotHubName: string, resourceGroupName: string, failoverInput: FailoverInput, options?: IotHubManualFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parâmetros

iotHubName

string

IotHub para failover

resourceGroupName

string

grupo de recursos ao qual o Hub Iot pertence

failoverInput
FailoverInput

Região para a qual fazer failover. Deve ser um par de DR do Azure

options
IotHubManualFailoverOptionalParams

Os parâmetros de opções.

Retornos

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginManualFailoverAndWait(string, string, FailoverInput, IotHubManualFailoverOptionalParams)

Executar failover manual de determinado hub

function beginManualFailoverAndWait(iotHubName: string, resourceGroupName: string, failoverInput: FailoverInput, options?: IotHubManualFailoverOptionalParams): Promise<void>

Parâmetros

iotHubName

string

IotHub para failover

resourceGroupName

string

grupo de recursos ao qual o Hub Iot pertence

failoverInput
FailoverInput

Região para a qual fazer failover. Deve ser um par de DR do Azure

options
IotHubManualFailoverOptionalParams

Os parâmetros de opções.

Retornos

Promise<void>