共用方式為


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlLtrServerBackupOperationData Method

Definition

Initializes a new instance of PostgreSqlLtrServerBackupOperationData.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlLtrServerBackupOperationData PostgreSqlLtrServerBackupOperationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, 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 PostgreSqlLtrServerBackupOperationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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.PostgreSqlLtrServerBackupOperationData
Public Shared Function PostgreSqlLtrServerBackupOperationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, 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 PostgreSqlLtrServerBackupOperationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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 PostgreSqlLtrServerBackupOperationData instance for mocking.

Applies to