Language

BackupsLongTermRetentionResponse Class

Definition

Response for the LTR backup API call

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.BackupsLongTermRetentionResponseTypeConverter))]
public class BackupsLongTermRetentionResponse : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IBackupsLongTermRetentionResponse, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IHeaderSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.BackupsLongTermRetentionResponseTypeConverter))>]
type BackupsLongTermRetentionResponse = class
    interface IBackupsLongTermRetentionResponse
    interface IJsonSerializable
    interface IHeaderSerializable
Public Class BackupsLongTermRetentionResponse
Implements IBackupsLongTermRetentionResponse, IHeaderSerializable
Inheritance
BackupsLongTermRetentionResponse
Attributes
Implements

Constructors

Name Description
BackupsLongTermRetentionResponse()

Creates an new BackupsLongTermRetentionResponse instance.

Properties

Name Description
BackupMetadata

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.

BackupName

Name of Backup operation.

DatasourceSizeInByte

Size of datasource in bytes.

DataTransferredInByte

Data transferred in bytes.

EndTime

End time of the operation.

ErrorCode

Error code.

ErrorMessage

Error message.

PercentComplete

Percentage completed.

StartTime

Start time of the operation.

Status

Service-set extensible enum indicating the status of operation.

XmsRequestId

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupsLongTermRetentionResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupsLongTermRetentionResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IBackupsLongTermRetentionResponse.

FromJsonString(String)

Creates a new instance of BackupsLongTermRetentionResponse, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupsLongTermRetentionResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Explicit Interface Implementations

Name Description
IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to