DataCollectionEndpointsOperationsExtensions.CreateAsync 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.
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.
The payload
- cancellationToken
- CancellationToken
The cancellation token.