ArmComputeScheduleModelFactory.ScheduledActionPatchProperties 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.
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.
Returns
A new ScheduledActionPatchProperties instance for mocking.