SyncAgentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SyncAgentInner
- com.
- com.
public final class SyncAgentInner
extends ProxyResource
An Azure SQL Database sync agent.
Constructor Summary
Constructor | Description |
---|---|
SyncAgentInner() |
Creates an instance of Sync |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
expiryTime()
Get the expiry |
static
Sync |
fromJson(JsonReader jsonReader)
Reads an instance of Sync |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isUpToDate()
Get the is |
Offset |
lastAliveTime()
Get the last |
String |
name()
Get the name property: The name of the resource. |
String |
namePropertiesName()
Get the name property: Name of the sync agent. |
Sync |
state()
Get the state property: State of the sync agent. |
String |
syncDatabaseId()
Get the sync |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of the sync agent. |
Sync |
withSyncDatabaseId(String syncDatabaseId)
Set the sync |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SyncAgentInner
public SyncAgentInner()
Creates an instance of SyncAgentInner class.
Method Details
expiryTime
public OffsetDateTime expiryTime()
Get the expiryTime property: Expiration time of the sync agent version.
Returns:
fromJson
public static SyncAgentInner fromJson(JsonReader jsonReader)
Reads an instance of SyncAgentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SyncAgentInner.id()Returns:
isUpToDate
public Boolean isUpToDate()
Get the isUpToDate property: If the sync agent version is up to date.
Returns:
lastAliveTime
public OffsetDateTime lastAliveTime()
Get the lastAliveTime property: Last alive time of the sync agent.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SyncAgentInner.name()Returns:
namePropertiesName
public String namePropertiesName()
Get the name property: Name of the sync agent.
Returns:
state
public SyncAgentState state()
Get the state property: State of the sync agent.
Returns:
syncDatabaseId
public String syncDatabaseId()
Get the syncDatabaseId property: ARM resource id of the sync database in the sync agent.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SyncAgentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SyncAgentInner.type()Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of the sync agent.
Returns:
withSyncDatabaseId
public SyncAgentInner withSyncDatabaseId(String syncDatabaseId)
Set the syncDatabaseId property: ARM resource id of the sync database in the sync agent.
Parameters:
Returns:
Applies to
Azure SDK for Java