Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.sql; import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasId; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasName; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup; import com.microsoft.azure.management.resources.fluentcore.model.HasInner; import com.microsoft.azure.management.sql.implementation.RestorePointInner; import org.joda.time.DateTime;
An immutable client-side representation of an Azure SQL database's Restore Point.
/** * An immutable client-side representation of an Azure SQL database's Restore Point. */
@Fluent @Beta(Beta.SinceVersion.V1_7_0) public interface RestorePoint extends HasInner<RestorePointInner>, HasResourceGroup, HasName, HasId {
Returns:name of the SQL Server to which this replication belongs
/** * @return name of the SQL Server to which this replication belongs */
String sqlServerName();
Returns:name of the SQL Database to which this replication belongs
/** * @return name of the SQL Database to which this replication belongs */
String databaseName();
Returns:the ID of the SQL Database to which this replication belongs
/** * @return the ID of the SQL Database to which this replication belongs */
@Beta(Beta.SinceVersion.V1_7_0) String databaseId();
Returns:the restore point type of the Azure SQL Database restore point.
/** * @return the restore point type of the Azure SQL Database restore point. */
RestorePointType restorePointType();
Returns:restore point creation time (ISO8601 format). Populated when restorePointType = CONTINUOUS. Null otherwise.
/** * @return restore point creation time (ISO8601 format). Populated when * restorePointType = CONTINUOUS. Null otherwise. */
DateTime restorePointCreationDate();
Returns:earliest restore time (ISO8601 format). Populated when restorePointType = DISCRETE. Null otherwise.
/** * @return earliest restore time (ISO8601 format). Populated when restorePointType * = DISCRETE. Null otherwise. */
DateTime earliestRestoreDate(); }