Freigeben über


Purviewdata.ScanRulesetsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset> ScanRulesetsCreateOrUpdateWithResult(string scanRulesetName, string endpoint, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset body, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.ScanRulesetsCreateOrUpdateWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset * Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset>
Public Function ScanRulesetsCreateOrUpdateWithResult (scanRulesetName As String, endpoint As String, body As IScanRuleset, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IScanRuleset)

Parameters

scanRulesetName
String
endpoint
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to