IotHubResourceOperationsExtensions.BeginUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update an existing IoT Hubs tags.
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)
Parameters
- operations
- IIotHubResourceOperations
The operations group for this extension method.
- resourceGroupName
- String
Resource group identifier.
- resourceName
- String
Name of iot hub to update.
- tags
- IDictionary<String,String>
Resource tags
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Update an existing IoT Hub tags. to update other fields use the CreateOrUpdate method