共用方式為


SyncMemberData Class

Definition

A class representing the SyncMember data model. An Azure SQL Database sync member.

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

Constructors

SyncMemberData()

Initializes a new instance of SyncMemberData.

Properties

DatabaseName

Database name of the member database in the sync member.

DatabaseType

Database type of the sync member.

Id

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

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Password

Password of the member database in the sync member.

PrivateEndpointName

Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.

ResourceType

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

(Inherited from ResourceData)
ServerName

Server name of the member database in the sync member.

SqlServerDatabaseId

SQL Server database id of the sync member.

SyncAgentId

ARM resource id of the sync agent in the sync member.

SyncDirection

Sync direction of the sync member.

SyncMemberAzureDatabaseResourceId

ARM resource id of the sync member logical database, for sync members in Azure.

SyncState

Sync state of the sync member.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UsePrivateLinkConnection

Whether to use private link connection.

UserName

User name of the member database in the sync member.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SyncMemberData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SyncMemberData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SyncMemberData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SyncMemberData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SyncMemberData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to