DefenderForStorage.DefenderForStorageCreateWithResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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