ScheduledActionProperties Constructor
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.
Initializes a new instance of ScheduledActionProperties.
public ScheduledActionProperties(Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionsResourceType resourceType, Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionType actionType, DateTimeOffset startsOn, Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionsSchedule schedule, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.NotificationProperties> notificationSettings);
new Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionProperties : Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionsResourceType * Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionType * DateTimeOffset * Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionsSchedule * seq<Azure.ResourceManager.Compute.BulkActions.Models.NotificationProperties> -> Azure.ResourceManager.Compute.BulkActions.Models.ScheduledActionProperties
Public Sub New (resourceType As ScheduledActionsResourceType, actionType As ScheduledActionType, startsOn As DateTimeOffset, schedule As ScheduledActionsSchedule, notificationSettings As IEnumerable(Of NotificationProperties))
Parameters
- resourceType
- ScheduledActionsResourceType
The type of compute resource targeted by the action.
- actionType
- ScheduledActionType
The operation performed on the targeted resources.
- startsOn
- DateTimeOffset
The date and time, including UTC offset, when the schedule becomes active.
- schedule
- ScheduledActionsSchedule
The recurring schedule.
- notificationSettings
- IEnumerable<NotificationProperties>
Notification settings that apply to the scheduled action.
Exceptions
schedule or notificationSettings is null.