ArmCostManagementModelFactory.ScheduleProperties 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 properties of the schedule.
public static Azure.ResourceManager.CostManagement.Models.ScheduleProperties ScheduleProperties(Azure.ResourceManager.CostManagement.Models.ScheduleFrequency frequency = default, int? hourOfDay = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ScheduledActionDaysOfWeek> daysOfWeek = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ScheduledActionWeeksOfMonth> weeksOfMonth = default, int? dayOfMonth = default, DateTimeOffset startOn = default, DateTimeOffset endOn = default);
static member ScheduleProperties : Azure.ResourceManager.CostManagement.Models.ScheduleFrequency * Nullable<int> * seq<Azure.ResourceManager.CostManagement.Models.ScheduledActionDaysOfWeek> * seq<Azure.ResourceManager.CostManagement.Models.ScheduledActionWeeksOfMonth> * Nullable<int> * DateTimeOffset * DateTimeOffset -> Azure.ResourceManager.CostManagement.Models.ScheduleProperties
Public Shared Function ScheduleProperties (Optional frequency As ScheduleFrequency = Nothing, Optional hourOfDay As Nullable(Of Integer) = Nothing, Optional daysOfWeek As IEnumerable(Of ScheduledActionDaysOfWeek) = Nothing, Optional weeksOfMonth As IEnumerable(Of ScheduledActionWeeksOfMonth) = Nothing, Optional dayOfMonth As Nullable(Of Integer) = Nothing, Optional startOn As DateTimeOffset = Nothing, Optional endOn As DateTimeOffset = Nothing) As ScheduleProperties
Parameters
- frequency
- ScheduleFrequency
Frequency of the schedule.
- daysOfWeek
- IEnumerable<ScheduledActionDaysOfWeek>
Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly.
- weeksOfMonth
- IEnumerable<ScheduledActionWeeksOfMonth>
Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek.
UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek.
- startOn
- DateTimeOffset
The start date and time of the scheduled action (UTC).
- endOn
- DateTimeOffset
The end date and time of the scheduled action (UTC).
Returns
A new ScheduleProperties instance for mocking.