Compartilhar via


IotHubResourceOperationsExtensions.BeginUpdateAsync Método

Definição

Atualize as marcas existentes dos Hubs IoT.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.IotHubDescription> BeginUpdateAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.IotHubDescription>
<Extension()>
Public Function BeginUpdateAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IotHubDescription)

Parâmetros

operations
IIotHubResourceOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Identificador do grupo de recursos.

resourceName
String

Nome do hub iot a ser atualizado.

tags
IDictionary<String,String>

Marcações de recursos

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Atualize uma marca de Hub IoT existente. para atualizar outros campos, use o método CreateOrUpdate

Aplica-se a