Share via


SqlServerDatabaseReplicationLinkData Class

Definition

A class representing the SqlServerDatabaseReplicationLink data model. A replication link.

public class SqlServerDatabaseReplicationLinkData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkData>
type SqlServerDatabaseReplicationLinkData = class
    inherit ResourceData
    interface IJsonModel<SqlServerDatabaseReplicationLinkData>
    interface IPersistableModel<SqlServerDatabaseReplicationLinkData>
Public Class SqlServerDatabaseReplicationLinkData
Inherits ResourceData
Implements IJsonModel(Of SqlServerDatabaseReplicationLinkData), IPersistableModel(Of SqlServerDatabaseReplicationLinkData)
Inheritance
SqlServerDatabaseReplicationLinkData
Implements

Constructors

SqlServerDatabaseReplicationLinkData()

Initializes a new instance of SqlServerDatabaseReplicationLinkData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsTerminationAllowed

Whether the user is currently allowed to terminate the link.

LinkType

Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.

Name

The name of the resource.

(Inherited from ResourceData)
PartnerDatabase

Resource partner database.

PartnerDatabaseId

Resource partner database Id.

PartnerLocation

Resource partner location.

PartnerRole

Partner replication role.

PartnerServer

Resource partner server.

PercentComplete

Seeding completion percentage for the link.

ReplicationMode

Replication mode.

ReplicationState

Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Role

Local replication role.

StartOn

Time at which the link was created.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SqlServerDatabaseReplicationLinkData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SqlServerDatabaseReplicationLinkData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlServerDatabaseReplicationLinkData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlServerDatabaseReplicationLinkData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SqlServerDatabaseReplicationLinkData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to