Share via


DataCollectionRule.DataCollectionRulesCreateViaJsonStringWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource> DataCollectionRulesCreateViaJsonStringWithResult (string subscriptionId, string resourceGroupName, string dataCollectionRuleName, string jsonString, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ISendAsync sender);
member this.DataCollectionRulesCreateViaJsonStringWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource>
Public Function DataCollectionRulesCreateViaJsonStringWithResult (subscriptionId As String, resourceGroupName As String, dataCollectionRuleName As String, jsonString As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IDataCollectionRuleResource)

Parameters

subscriptionId
String
resourceGroupName
String
dataCollectionRuleName
String
jsonString
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to