Share via


PrivateLinkScopesOperationsExtensions.UpdateTagsAsync Method

Definition

Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.

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

Parameters

operations
IPrivateLinkScopesOperations

The operations group for this extension method.

resourceGroupName
String

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

scopeName
String

The name of the Azure Monitor PrivateLinkScope resource.

tags
IDictionary<String,String>

Resource tags

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to