Share via


DefenderForStorage.DefenderForStorageCreateWithResult Method

Definition

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

Parameters

resourceId
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to