Show / Hide Table of Contents

    Class SyncAgent

    An Azure SQL Database sync agent.

    Inheritance
    Object
    Resource
    ProxyResource
    SyncAgent
    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 SyncAgent : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    SyncAgent()

    Initializes a new instance of the SyncAgent class.

    Declaration
    public SyncAgent ();

    SyncAgent(String, String, String, String, String, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<DateTime>, String)

    Initializes a new instance of the SyncAgent class.

    Declaration
    public SyncAgent (string id = null, string name = null, string type = null, string syncAgentName = null, string syncDatabaseId = null, Nullable<DateTime> lastAliveTime = null, string state = null, Nullable<bool> isUpToDate = null, Nullable<DateTime> expiryTime = null, string version = null);
    Parameters
    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    String syncAgentName

    Name of the sync agent.

    String syncDatabaseId

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

    Nullable<DateTime> lastAliveTime

    Last alive time of the sync agent.

    String state

    State of the sync agent. Possible values include: 'Online', 'Offline', 'NeverConnected'

    Nullable<Boolean> isUpToDate

    If the sync agent version is up to date.

    Nullable<DateTime> expiryTime

    Expiration time of the sync agent version.

    String version

    Version of the sync agent.

    Properties

    ExpiryTime

    Gets expiration time of the sync agent version.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.expiryTime")]
    public Nullable<DateTime> ExpiryTime { get; }
    Property Value
    Nullable<DateTime>

    IsUpToDate

    Gets if the sync agent version is up to date.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.isUpToDate")]
    public Nullable<bool> IsUpToDate { get; }
    Property Value
    Nullable<Boolean>

    LastAliveTime

    Gets last alive time of the sync agent.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.lastAliveTime")]
    public Nullable<DateTime> LastAliveTime { get; }
    Property Value
    Nullable<DateTime>

    State

    Gets state of the sync agent. Possible values include: 'Online', 'Offline', 'NeverConnected'

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

    SyncAgentName

    Gets name of the sync agent.

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

    SyncDatabaseId

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

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

    Version

    Gets version of the sync agent.

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

    Back to top Azure SDK for Net