PostgreSql.ServerSecurityAlertPoliciesCreateOrUpdate(String, String, String, IServerSecurityAlertPolicy, Func<HttpResponseMessage,Task<IServerSecurityAlertPolicy>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync) 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 ServerSecurityAlertPoliciesCreateOrUpdate (string resourceGroupName, string serverName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerSecurityAlertPolicy body, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerSecurityAlertPolicy>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.ISendAsync sender);
member this.ServerSecurityAlertPoliciesCreateOrUpdate : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerSecurityAlertPolicy * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerSecurityAlertPolicy>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ServerSecurityAlertPoliciesCreateOrUpdate (resourceGroupName As String, serverName As String, subscriptionId As String, body As IServerSecurityAlertPolicy, onOk As Func(Of HttpResponseMessage, Task(Of IServerSecurityAlertPolicy), Task), onDefault As Func(Of HttpResponseMessage, Task), eventListener As IEventListener, sender As ISendAsync) As Task
Parameters
- resourceGroupName
- String
- serverName
- String
- subscriptionId
- String
- onDefault
- Func<HttpResponseMessage,Task>
- eventListener
- IEventListener
- sender
- ISendAsync