ArmSqlModelFactory.SyncAgentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SyncAgentData.
public static Azure.ResourceManager.Sql.SyncAgentData SyncAgentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier syncDatabaseId = default, DateTimeOffset? lastAliveOn = default, Azure.ResourceManager.Sql.Models.SyncAgentState? state = default, bool? isUpToDate = default, DateTimeOffset? expireOn = default, string version = default);
static member SyncAgentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SyncAgentState> * Nullable<bool> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Sql.SyncAgentData
Public Shared Function SyncAgentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional syncDatabaseId As ResourceIdentifier = Nothing, Optional lastAliveOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of SyncAgentState) = Nothing, Optional isUpToDate As Nullable(Of Boolean) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional version As String = Nothing) As SyncAgentData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- syncDatabaseId
- ResourceIdentifier
ARM resource id of the sync database in the sync agent.
- lastAliveOn
- Nullable<DateTimeOffset>
Last alive time of the sync agent.
- state
- Nullable<SyncAgentState>
State of the sync agent.
- expireOn
- Nullable<DateTimeOffset>
Expiration time of the sync agent version.
- version
- String
Version of the sync agent.
Returns
A new SyncAgentData instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET