共用方式為


DataCollectionEndpointsOperationsExtensions.UpdateAsync Method

Definition

Updates part of a data collection endpoint.

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

Parameters

operations
IDataCollectionEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

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

dataCollectionEndpointName
String

The name of the data collection endpoint. The name is case insensitive.

tags
IDictionary<String,String>

Resource tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to