Share via


DataCollectionEndpointsOperationsExtensions.CreateAsync Method

Definition

Creates or updates a data collection endpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource> CreateAsync (this Microsoft.Azure.Management.Monitor.IDataCollectionEndpointsOperations operations, string resourceGroupName, string dataCollectionEndpointName, Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Monitor.IDataCollectionEndpointsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource>
<Extension()>
Public Function CreateAsync (operations As IDataCollectionEndpointsOperations, resourceGroupName As String, dataCollectionEndpointName As String, Optional body As DataCollectionEndpointResource = 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to