SyncAgent Constructors

Definition

Overloads

SyncAgent()

Initializes a new instance of the SyncAgent class.

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

Initializes a new instance of the SyncAgent class.

SyncAgent()

Initializes a new instance of the SyncAgent class.

public SyncAgent ();
Public Sub New ()

Applies to

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

Initializes a new instance of the SyncAgent class.

public SyncAgent (string id = default, string name = default, string type = default, string syncAgentName = default, string syncDatabaseId = default, DateTime? lastAliveTime = default, string state = default, bool? isUpToDate = default, DateTime? expiryTime = default, string version = default);
new Microsoft.Azure.Management.Sql.Models.SyncAgent : string * string * string * string * string * Nullable<DateTime> * string * Nullable<bool> * Nullable<DateTime> * string -> Microsoft.Azure.Management.Sql.Models.SyncAgent
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional syncAgentName As String = Nothing, Optional syncDatabaseId As String = Nothing, Optional lastAliveTime As Nullable(Of DateTime) = Nothing, Optional state As String = Nothing, Optional isUpToDate As Nullable(Of Boolean) = Nothing, Optional expiryTime As Nullable(Of DateTime) = Nothing, Optional version As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

syncAgentName
String

Name of the sync agent.

syncDatabaseId
String

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

lastAliveTime
Nullable<DateTime>

Last alive time of the sync agent.

state
String

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

isUpToDate
Nullable<Boolean>

If the sync agent version is up to date.

expiryTime
Nullable<DateTime>

Expiration time of the sync agent version.

version
String

Version of the sync agent.

Applies to