ArmComputeScheduleModelFactory.ScheduledActionProperties 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.
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.
- provisioningState
- Nullable<ScheduledActionResourceProvisioningState>
The status of the last provisioning operation performed on the resource.
Returns
A new ScheduledActionProperties instance for mocking.