你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Schedule Class
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.
Set assessment schedule for SQL Server.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.ScheduleTypeConverter))]
public class Schedule : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.ISchedule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.ScheduleTypeConverter))>]
type Schedule = class
interface ISchedule
interface IJsonSerializable
Public Class Schedule
Implements ISchedule
- Inheritance
-
Schedule
- Attributes
- Implements
Constructors
Schedule() |
Creates an new Schedule instance. |
Properties
DayOfWeek |
Day of the week to run assessment. |
Enable |
Enable or disable assessment schedule on SQL virtual machine. |
MonthlyOccurrence |
Occurrence of the DayOfWeek day within a month to schedule assessment. Takes values: 1,2,3,4 and -1. Use -1 for last DayOfWeek day of the month |
StartTime |
Time of the day in HH:mm format. Eg. 17:30 |
WeeklyInterval |
Number of weeks to schedule between 2 assessment runs. Takes value from 1-6 |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Schedule. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.ISchedule. |
FromJsonString(String) |
Creates a new instance of Schedule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |