Class ReplicationLinkInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ReplicationLinkInner
-
public class ReplicationLinkInner extends com.azure.core.management.ProxyResourceRepresents a database replication link.
-
-
Constructor Summary
Constructors Constructor Description ReplicationLinkInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisTerminationAllowed()Get the isTerminationAllowed property: Legacy value indicating whether termination is allowed.Stringlocation()Get the location property: Location of the server that contains this firewall rule.StringpartnerDatabase()Get the partnerDatabase property: The name of the partner database.StringpartnerLocation()Get the partnerLocation property: The Azure Region of the partner database.ReplicationRolepartnerRole()Get the partnerRole property: The role of the partner database in the replication link.StringpartnerServer()Get the partnerServer property: The name of the server hosting the partner database.IntegerpercentComplete()Get the percentComplete property: The percentage of seeding complete for the replication link.StringreplicationMode()Get the replicationMode property: Replication mode of this replication link.ReplicationStatereplicationState()Get the replicationState property: The replication state for the replication link.ReplicationRolerole()Get the role property: The role of the database in the replication link.OffsetDateTimestartTime()Get the startTime property: The start time for the replication link.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Location of the server that contains this firewall rule.- Returns:
- the location value.
-
isTerminationAllowed
public Boolean isTerminationAllowed()
Get the isTerminationAllowed property: Legacy value indicating whether termination is allowed. Currently always returns true.- Returns:
- the isTerminationAllowed value.
-
replicationMode
public String replicationMode()
Get the replicationMode property: Replication mode of this replication link.- Returns:
- the replicationMode value.
-
partnerServer
public String partnerServer()
Get the partnerServer property: The name of the server hosting the partner database.- Returns:
- the partnerServer value.
-
partnerDatabase
public String partnerDatabase()
Get the partnerDatabase property: The name of the partner database.- Returns:
- the partnerDatabase value.
-
partnerLocation
public String partnerLocation()
Get the partnerLocation property: The Azure Region of the partner database.- Returns:
- the partnerLocation value.
-
role
public ReplicationRole role()
Get the role property: The role of the database in the replication link.- Returns:
- the role value.
-
partnerRole
public ReplicationRole partnerRole()
Get the partnerRole property: The role of the partner database in the replication link.- Returns:
- the partnerRole value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time for the replication link.- Returns:
- the startTime value.
-
percentComplete
public Integer percentComplete()
Get the percentComplete property: The percentage of seeding complete for the replication link.- Returns:
- the percentComplete value.
-
replicationState
public ReplicationState replicationState()
Get the replicationState property: The replication state for the replication link.- Returns:
- the replicationState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-