ArmComputeScheduleModelFactory.ScheduledActionPatchProperties Method

Definition

The updatable properties of the ScheduledAction.

public static Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionPatchProperties ScheduledActionPatchProperties(Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceType? resourceType = default, Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionType? actionType = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionsSchedule schedule = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeSchedule.Models.NotificationSettings> notificationSettings = default, bool? disabled = default);
static member ScheduledActionPatchProperties : Nullable<Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceType> * Nullable<Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionType> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionsSchedule * seq<Azure.ResourceManager.ComputeSchedule.Models.NotificationSettings> * Nullable<bool> -> Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionPatchProperties
Public Shared Function ScheduledActionPatchProperties (Optional resourceType As Nullable(Of ScheduledActionResourceType) = Nothing, Optional actionType As Nullable(Of ScheduledActionType) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional schedule As ScheduledActionsSchedule = Nothing, Optional notificationSettings As IEnumerable(Of NotificationSettings) = Nothing, Optional disabled As Nullable(Of Boolean) = Nothing) As ScheduledActionPatchProperties

Parameters

resourceType
Nullable<ScheduledActionResourceType>

The type of resource the scheduled action is targeting.

actionType
Nullable<ScheduledActionType>

The action the scheduled action should perform in the resources.

startOn
Nullable<DateTimeOffset>

The time which the scheduled action is supposed to start running.

endOn
Nullable<DateTimeOffset>

The time when the scheduled action is supposed to stop scheduling.

schedule
ScheduledActionsSchedule

The schedule the scheduled action is supposed to follow.

notificationSettings
IEnumerable<NotificationSettings>

The notification settings for the scheduled action.

disabled
Nullable<Boolean>

Tell if the scheduled action is disabled or not.

Returns

A new ScheduledActionPatchProperties instance for mocking.

Applies to