Delen via


PostgreSqlFlexibleServerResource.StartLtrBackupFlexibleServer Method

Definition

Start the Long Term Retention Backup operation

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/startLtrBackup
  • Operation Id: FlexibleServer_StartLtrBackup
  • Default Api Version: 2023-03-01-preview
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupResult> StartLtrBackupFlexibleServer (Azure.WaitUntil waitUntil, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member StartLtrBackupFlexibleServer : Azure.WaitUntil * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupResult>
override this.StartLtrBackupFlexibleServer : Azure.WaitUntil * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupResult>
Public Overridable Function StartLtrBackupFlexibleServer (waitUntil As WaitUntil, content As PostgreSqlFlexibleServerLtrBackupContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of PostgreSqlFlexibleServerLtrBackupResult)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
PostgreSqlFlexibleServerLtrBackupContent

Request body for operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to