共用方式為


SyncMemberInner Class

Definition

An Azure SQL Database sync member.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SyncMemberInner : Microsoft.Azure.Management.Sql.Fluent.Models.ProxyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SyncMemberInner = class
    inherit ProxyResourceInner
Public Class SyncMemberInner
Inherits ProxyResourceInner
Inheritance
Attributes

Constructors

SyncMemberInner()

Initializes a new instance of the SyncMemberInner class.

SyncMemberInner(String, String, String, SyncMemberDbType, String, Nullable<Guid>, String, String, String, String, SyncDirection, SyncMemberState)

Initializes a new instance of the SyncMemberInner class.

Properties

DatabaseName

Gets or sets database name of the member database in the sync member.

DatabaseType

Gets or sets database type of the sync member. Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
Password

Gets or sets password of the member database in the sync member.

ServerName

Gets or sets server name of the member database in the sync member

SqlServerDatabaseId

Gets or sets SQL Server database id of the sync member.

SyncAgentId

Gets or sets ARM resource id of the sync agent in the sync member.

SyncDirection

Gets or sets sync direction of the sync member. Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember'

SyncState

Gets sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned'

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
UserName

Gets or sets user name of the member database in the sync member.

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to