ManagedInstanceLongTermRetentionBackupInner Class

public final class ManagedInstanceLongTermRetentionBackupInner
extends ProxyResource

A long term retention backup for a managed database.

Method Summary

Modifier and Type Method and Description
OffsetDateTime backupExpirationTime()

Get the backupExpirationTime property: The time the long term retention backup will expire.

BackupStorageAccessTier backupStorageAccessTier()

Get the backupStorageAccessTier property: The BackupStorageAccessTier for the LTR backup.

BackupStorageRedundancy backupStorageRedundancy()

Get the backupStorageRedundancy property: The storage redundancy type of the backup.

OffsetDateTime backupTime()

Get the backupTime property: The time the backup was taken.

OffsetDateTime databaseDeletionTime()

Get the databaseDeletionTime property: The delete time of the database.

String databaseName()

Get the databaseName property: The name of the database the backup belong to.

static ManagedInstanceLongTermRetentionBackupInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceLongTermRetentionBackupInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

OffsetDateTime managedInstanceCreateTime()

Get the managedInstanceCreateTime property: The create time of the instance.

String managedInstanceName()

Get the managedInstanceName property: The managed instance that the backup database belongs to.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

backupExpirationTime

public OffsetDateTime backupExpirationTime()

Get the backupExpirationTime property: The time the long term retention backup will expire.

Returns:

the backupExpirationTime value.

backupStorageAccessTier

public BackupStorageAccessTier backupStorageAccessTier()

Get the backupStorageAccessTier property: The BackupStorageAccessTier for the LTR backup.

Returns:

the backupStorageAccessTier value.

backupStorageRedundancy

public BackupStorageRedundancy backupStorageRedundancy()

Get the backupStorageRedundancy property: The storage redundancy type of the backup.

Returns:

the backupStorageRedundancy value.

backupTime

public OffsetDateTime backupTime()

Get the backupTime property: The time the backup was taken.

Returns:

the backupTime value.

databaseDeletionTime

public OffsetDateTime databaseDeletionTime()

Get the databaseDeletionTime property: The delete time of the database.

Returns:

the databaseDeletionTime value.

databaseName

public String databaseName()

Get the databaseName property: The name of the database the backup belong to.

Returns:

the databaseName value.

fromJson

public static ManagedInstanceLongTermRetentionBackupInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceLongTermRetentionBackupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedInstanceLongTermRetentionBackupInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedInstanceLongTermRetentionBackupInner.id()

Returns:

the id value.

managedInstanceCreateTime

public OffsetDateTime managedInstanceCreateTime()

Get the managedInstanceCreateTime property: The create time of the instance.

Returns:

the managedInstanceCreateTime value.

managedInstanceName

public String managedInstanceName()

Get the managedInstanceName property: The managed instance that the backup database belongs to.

Returns:

the managedInstanceName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedInstanceLongTermRetentionBackupInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedInstanceLongTermRetentionBackupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedInstanceLongTermRetentionBackupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to