Share via


SyncAgentInner Class

Definition

An Azure SQL Database sync agent.

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

Constructors

SyncAgentInner()

Initializes a new instance of the SyncAgentInner class.

SyncAgentInner(String, String, String, String, String, Nullable<DateTime>, SyncAgentState, Nullable<Boolean>, Nullable<DateTime>, String)

Initializes a new instance of the SyncAgentInner class.

Properties

ExpiryTime

Gets expiration time of the sync agent version.

Id

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

(Inherited from ProxyResource)
IsUpToDate

Gets if the sync agent version is up to date.

LastAliveTime

Gets last alive time of the sync agent.

Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
State

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

SyncAgentName

Gets name of the sync agent.

SyncDatabaseId

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

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
Version

Gets version of the sync agent.

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to