Show / Hide Table of Contents

    Class SyncMember

    An Azure SQL Database sync member.

    Inheritance
    Object
    Resource
    ProxyResource
    SyncMember
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class SyncMember : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    SyncMember()

    Initializes a new instance of the SyncMember class.

    Declaration
    public SyncMember ();

    SyncMember(String, String, String, String, String, Nullable<Guid>, String, String, String, String, String, String)

    Initializes a new instance of the SyncMember class.

    Declaration
    public SyncMember (string id = null, string name = null, string type = null, string databaseType = null, string syncAgentId = null, Nullable<Guid> sqlServerDatabaseId = null, string serverName = null, string databaseName = null, string userName = null, string password = null, string syncDirection = null, string syncState = null);
    Parameters
    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    String databaseType

    Database type of the sync member. Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'

    String syncAgentId

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

    Nullable<Guid> sqlServerDatabaseId

    SQL Server database id of the sync member.

    String serverName

    Server name of the member database in the sync member

    String databaseName

    Database name of the member database in the sync member.

    String userName

    User name of the member database in the sync member.

    String password

    Password of the member database in the sync member.

    String syncDirection

    Sync direction of the sync member. Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember'

    String syncState

    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'

    Properties

    DatabaseName

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseName")]
    public string DatabaseName { get; set; }
    Property Value
    String

    DatabaseType

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseType")]
    public string DatabaseType { get; set; }
    Property Value
    String

    Password

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.password")]
    public string Password { get; set; }
    Property Value
    String

    ServerName

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.serverName")]
    public string ServerName { get; set; }
    Property Value
    String

    SqlServerDatabaseId

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.sqlServerDatabaseId")]
    public Nullable<Guid> SqlServerDatabaseId { get; set; }
    Property Value
    Nullable<Guid>

    SyncAgentId

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.syncAgentId")]
    public string SyncAgentId { get; set; }
    Property Value
    String

    SyncDirection

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.syncDirection")]
    public string SyncDirection { get; set; }
    Property Value
    String

    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'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.syncState")]
    public string SyncState { get; }
    Property Value
    String

    UserName

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.userName")]
    public string UserName { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net