ArmSqlModelFactory.SqlScheduleItem 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.
Schedule info describing when the server should be started or stopped.
public static Azure.ResourceManager.Sql.Models.SqlScheduleItem SqlScheduleItem(Azure.ResourceManager.Sql.Models.SqlDayOfWeek startDay = default, string startTime = default, Azure.ResourceManager.Sql.Models.SqlDayOfWeek stopDay = default, string stopTime = default);
static member SqlScheduleItem : Azure.ResourceManager.Sql.Models.SqlDayOfWeek * string * Azure.ResourceManager.Sql.Models.SqlDayOfWeek * string -> Azure.ResourceManager.Sql.Models.SqlScheduleItem
Public Shared Function SqlScheduleItem (Optional startDay As SqlDayOfWeek = Nothing, Optional startTime As String = Nothing, Optional stopDay As SqlDayOfWeek = Nothing, Optional stopTime As String = Nothing) As SqlScheduleItem
Parameters
- startDay
- SqlDayOfWeek
Start day.
- startTime
- String
Start time.
- stopDay
- SqlDayOfWeek
Stop day.
- stopTime
- String
Stop time.
Returns
A new SqlScheduleItem instance for mocking.