com.azure.resourcemanager.sql.models.RestorePoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-sql Show documentation
Show all versions of azure-resourcemanager-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.sql.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasId;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasName;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;
import com.azure.resourcemanager.sql.fluent.models.RestorePointInner;
import java.time.OffsetDateTime;
/** An immutable client-side representation of an Azure SQL database's Restore Point. */
@Fluent
public interface RestorePoint extends HasInnerModel, HasResourceGroup, HasName, HasId {
/** @return name of the SQL Server to which this replication belongs */
String sqlServerName();
/** @return name of the SQL Database to which this replication belongs */
String databaseName();
/** @return the ID of the SQL Database to which this replication belongs */
String databaseId();
/** @return the restore point type of the Azure SQL Database restore point. */
RestorePointType restorePointType();
/**
* @return restore point creation time (ISO8601 format). Populated when restorePointType = CONTINUOUS. Null
* otherwise.
*/
OffsetDateTime restorePointCreationDate();
/** @return earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise. */
OffsetDateTime earliestRestoreDate();
}