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, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string syncAgentName, Azure.Core.ResourceIdentifier syncDatabaseId, DateTimeOffset? lastAliveOn, Azure.ResourceManager.Sql.Models.SyncAgentState? state, bool? isUpToDate, DateTimeOffset? expireOn, string version);
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 (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, syncAgentName As String, syncDatabaseId As ResourceIdentifier, lastAliveOn As Nullable(Of DateTimeOffset), state As Nullable(Of SyncAgentState), isUpToDate As Nullable(Of Boolean), expireOn As Nullable(Of DateTimeOffset), version As String) 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.