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.
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, string syncAgentName = 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 * string * 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 syncAgentName As String = 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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- syncAgentName
- String
Name of the sync agent.
- 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.