ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerLtrBackupResult Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerLtrBackupResult.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupResult PostgreSqlFlexibleServerLtrBackupResult (long? datasourceSizeInBytes = default, long? dataTransferredInBytes = default, string backupName = default, string backupMetadata = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlExecutionStatus? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, double? percentComplete = default, string errorCode = default, string errorMessage = default);
static member PostgreSqlFlexibleServerLtrBackupResult : Nullable<int64> * Nullable<int64> * string * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlExecutionStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<double> * string * string -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLtrBackupResult
Public Shared Function PostgreSqlFlexibleServerLtrBackupResult (Optional datasourceSizeInBytes As Nullable(Of Long) = Nothing, Optional dataTransferredInBytes As Nullable(Of Long) = Nothing, Optional backupName As String = Nothing, Optional backupMetadata As String = Nothing, Optional status As Nullable(Of PostgreSqlExecutionStatus) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentComplete As Nullable(Of Double) = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing) As PostgreSqlFlexibleServerLtrBackupResult

Parameters

datasourceSizeInBytes
Nullable<Int64>

Size of datasource in bytes.

dataTransferredInBytes
Nullable<Int64>

Data transferred in bytes.

backupName
String

Name of Backup operation.

backupMetadata
String

Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc.

status
Nullable<PostgreSqlExecutionStatus>

Service-set extensible enum indicating the status of operation.

startOn
Nullable<DateTimeOffset>

Start time of the operation.

endOn
Nullable<DateTimeOffset>

End time of the operation.

percentComplete
Nullable<Double>

PercentageCompleted.

errorCode
String

The error code.

errorMessage
String

The error message.

Returns

A new PostgreSqlFlexibleServerLtrBackupResult instance for mocking.

Applies to