ArmComputeScheduleModelFactory.ScheduledActionProperties Method

Definition

Scheduled action properties.

public static Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionProperties ScheduledActionProperties(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, Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceProvisioningState? provisioningState = default);
static member ScheduledActionProperties : Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceType * Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionType * DateTimeOffset * Nullable<DateTimeOffset> * Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionsSchedule * seq<Azure.ResourceManager.ComputeSchedule.Models.NotificationSettings> * Nullable<bool> * Nullable<Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceProvisioningState> -> Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionProperties
Public Shared Function ScheduledActionProperties (Optional resourceType As ScheduledActionResourceType = Nothing, Optional actionType As ScheduledActionType = Nothing, Optional startOn As 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, Optional provisioningState As Nullable(Of ScheduledActionResourceProvisioningState) = Nothing) As ScheduledActionProperties

Parameters

resourceType
ScheduledActionResourceType

The type of resource the scheduled action is targeting.

actionType
ScheduledActionType

The action the scheduled action should perform in the resources.

startOn
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.

provisioningState
Nullable<ScheduledActionResourceProvisioningState>

The status of the last provisioning operation performed on the resource.

Returns

A new ScheduledActionProperties instance for mocking.

Applies to