Partager via


DataCollectionRule.DataCollectionEndpointsCreateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionEndpointResource> DataCollectionEndpointsCreateWithResult (string subscriptionId, string resourceGroupName, string dataCollectionEndpointName, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionEndpointResource body, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.DataCollectionEndpointsCreateWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionEndpointResource * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionEndpointResource>
Public Function DataCollectionEndpointsCreateWithResult (subscriptionId As String, resourceGroupName As String, dataCollectionEndpointName As String, body As IDataCollectionEndpointResource, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IDataCollectionEndpointResource)

Parameters

subscriptionId
String
resourceGroupName
String
dataCollectionEndpointName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to