SyncAgent Class
An Azure SQL Database sync agent.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
SyncAgent(*, sync_database_id: str | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
sync_database_id
Required
|
ARM resource id of the sync database in the sync agent. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
sync_database_id
|
Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
name_properties_name
|
Name of the sync agent. |
|
last_alive_time
|
Last alive time of the sync agent. |
|
state
|
State of the sync agent. Possible values include: "Online", "Offline", "NeverConnected". |
|
is_up_to_date
|
If the sync agent version is up to date. |
|
expiry_time
|
Expiration time of the sync agent version. |
|
version
|
Version of the sync agent. |