// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.synapse.models;

import com.azure.resourcemanager.synapse.fluent.models.ReplicationLinkInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of ReplicationLink. */
public interface ReplicationLink {
    /**
     * Gets the id property: Fully qualified resource Id for the resource.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: The name of the resource.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: The type of the resource.
     *
     * @return the type value.
     */
    String type();

    /**
     * Gets the location property: Location of the workspace that contains this firewall rule.
     *
     * @return the location value.
     */
    String location();

    /**
     * Gets the isTerminationAllowed property: Legacy value indicating whether termination is allowed. Currently always
     * returns true.
     *
     * @return the isTerminationAllowed value.
     */
    Boolean isTerminationAllowed();

    /**
     * Gets the replicationMode property: Replication mode of this replication link.
     *
     * @return the replicationMode value.
     */
    String replicationMode();

    /**
     * Gets the partnerServer property: The name of the workspace hosting the partner Sql pool.
     *
     * @return the partnerServer value.
     */
    String partnerServer();

    /**
     * Gets the partnerDatabase property: The name of the partner Sql pool.
     *
     * @return the partnerDatabase value.
     */
    String partnerDatabase();

    /**
     * Gets the partnerLocation property: The Azure Region of the partner Sql pool.
     *
     * @return the partnerLocation value.
     */
    String partnerLocation();

    /**
     * Gets the role property: The role of the Sql pool in the replication link.
     *
     * @return the role value.
     */
    ReplicationRole role();

    /**
     * Gets the partnerRole property: The role of the partner Sql pool in the replication link.
     *
     * @return the partnerRole value.
     */
    ReplicationRole partnerRole();

    /**
     * Gets the startTime property: The start time for the replication link.
     *
     * @return the startTime value.
     */
    OffsetDateTime startTime();

    /**
     * Gets the percentComplete property: The percentage of seeding complete for the replication link.
     *
     * @return the percentComplete value.
     */
    Integer percentComplete();

    /**
     * Gets the replicationState property: The replication state for the replication link.
     *
     * @return the replicationState value.
     */
    ReplicationState replicationState();

    /**
     * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ReplicationLinkInner object.
     *
     * @return the inner object.
     */
    ReplicationLinkInner innerModel();
}
