ArmDataShareModelFactory.ScheduledTrigger Method

Definition

Initializes a new instance of ScheduledTrigger.

public static Azure.ResourceManager.DataShare.Models.ScheduledTrigger ScheduledTrigger (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, Azure.ResourceManager.DataShare.Models.SynchronizationMode? synchronizationMode = default, DateTimeOffset synchronizeOn = default, Azure.ResourceManager.DataShare.Models.DataShareTriggerStatus? triggerStatus = default, string userName = default);
static member ScheduledTrigger : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DataShare.Models.DataShareProvisioningState> * Azure.ResourceManager.DataShare.Models.DataShareSynchronizationRecurrenceInterval * Nullable<Azure.ResourceManager.DataShare.Models.SynchronizationMode> * DateTimeOffset * Nullable<Azure.ResourceManager.DataShare.Models.DataShareTriggerStatus> * string -> Azure.ResourceManager.DataShare.Models.ScheduledTrigger
Public Shared Function ScheduledTrigger (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 synchronizationMode As Nullable(Of SynchronizationMode) = Nothing, Optional synchronizeOn As DateTimeOffset = Nothing, Optional triggerStatus As Nullable(Of DataShareTriggerStatus) = Nothing, Optional userName As String = Nothing) As ScheduledTrigger

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

Time at which the trigger was created.

provisioningState
Nullable<DataShareProvisioningState>

Gets the provisioning state.

recurrenceInterval
DataShareSynchronizationRecurrenceInterval

Recurrence Interval.

synchronizationMode
Nullable<SynchronizationMode>

Synchronization mode.

synchronizeOn
DateTimeOffset

Synchronization time.

triggerStatus
Nullable<DataShareTriggerStatus>

Gets the trigger state.

userName
String

Name of the user who created the trigger.

Returns

A new ScheduledTrigger instance for mocking.

Applies to