Compartir a través de


DataCollectionRule.DataCollectionRulesCreateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource> DataCollectionRulesCreateWithResult (string subscriptionId, string resourceGroupName, string dataCollectionRuleName, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource 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.DataCollectionRulesCreateWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource * 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.IDataCollectionRuleResource>
Public Function DataCollectionRulesCreateWithResult (subscriptionId As String, resourceGroupName As String, dataCollectionRuleName As String, body As IDataCollectionRuleResource, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IDataCollectionRuleResource)

Parameters

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

Returns

Applies to