Language

PostgreSqlManagementClient.BackupsLongTermRetentionStartWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IBackupsLongTermRetentionResponse> BackupsLongTermRetentionStartWithResult(string subscriptionId, string resourceGroupName, string serverName, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IBackupsLongTermRetentionRequest body, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.BackupsLongTermRetentionStartWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IBackupsLongTermRetentionRequest * Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IBackupsLongTermRetentionResponse>
Public Function BackupsLongTermRetentionStartWithResult (subscriptionId As String, resourceGroupName As String, serverName As String, body As IBackupsLongTermRetentionRequest, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IBackupsLongTermRetentionResponse)

Parameters

subscriptionId
String
resourceGroupName
String
serverName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to