IotHubResourceOperationsExtensions.UpdateAsync 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> UpdateAsync (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 UpdateAsync : 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 UpdateAsync (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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET