你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDataShareModelFactory.ScheduledSynchronizationSetting 方法

定义

初始化 ScheduledSynchronizationSetting 的新实例。

public static Azure.ResourceManager.DataShare.Models.ScheduledSynchronizationSetting ScheduledSynchronizationSetting (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.DataShare.Models.DataShareProvisioningState? provisioningState = default, Azure.ResourceManager.DataShare.Models.DataShareSynchronizationRecurrenceInterval recurrenceInterval = default, DateTimeOffset synchronizeOn = default, string userName = default);
static member ScheduledSynchronizationSetting : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DataShare.Models.DataShareProvisioningState> * Azure.ResourceManager.DataShare.Models.DataShareSynchronizationRecurrenceInterval * DateTimeOffset * string -> Azure.ResourceManager.DataShare.Models.ScheduledSynchronizationSetting
Public Shared Function ScheduledSynchronizationSetting (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of DataShareProvisioningState) = Nothing, Optional recurrenceInterval As DataShareSynchronizationRecurrenceInterval = Nothing, Optional synchronizeOn As DateTimeOffset = Nothing, Optional userName As String = Nothing) As ScheduledSynchronizationSetting

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

createdOn
Nullable<DateTimeOffset>

同步设置的创建时间。

provisioningState
Nullable<DataShareProvisioningState>

获取或设置预配状态。

recurrenceInterval
DataShareSynchronizationRecurrenceInterval

定期间隔。

synchronizeOn
DateTimeOffset

同步时间。

userName
String

创建同步设置的用户的名称。

返回

用于模拟的新 ScheduledSynchronizationSetting 实例。

适用于