你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Schedule 构造函数

定义

重载

Schedule()

初始化 Schedule 类的新实例。

Schedule(String, String, String, SystemData, Nullable<DateTime>, Nullable<DateTime>, RecurrencePattern, String, String, Nullable<ProvisioningState>)

初始化 Schedule 类的新实例。

Schedule()

初始化 Schedule 类的新实例。

public Schedule();
Public Sub New ()

适用于

Schedule(String, String, String, SystemData, Nullable<DateTime>, Nullable<DateTime>, RecurrencePattern, String, String, Nullable<ProvisioningState>)

初始化 Schedule 类的新实例。

public Schedule(string id = default, string name = default, string type = default, Microsoft.Azure.Management.LabServices.Models.SystemData systemData = default, DateTime? startAt = default, DateTime? stopAt = default, Microsoft.Azure.Management.LabServices.Models.RecurrencePattern recurrencePattern = default, string timeZoneId = default, string notes = default, Microsoft.Azure.Management.LabServices.Models.ProvisioningState? provisioningState = default);
new Microsoft.Azure.Management.LabServices.Models.Schedule : string * string * string * Microsoft.Azure.Management.LabServices.Models.SystemData * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.LabServices.Models.RecurrencePattern * string * string * Nullable<Microsoft.Azure.Management.LabServices.Models.ProvisioningState> -> Microsoft.Azure.Management.LabServices.Models.Schedule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional startAt As Nullable(Of DateTime) = Nothing, Optional stopAt As Nullable(Of DateTime) = Nothing, Optional recurrencePattern As RecurrencePattern = Nothing, Optional timeZoneId As String = Nothing, Optional notes As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing)

参数

id
String

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

资源的名称

type
String

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

systemData
SystemData

与计划的创建和上次修改相关的元数据。

startAt
Nullable<DateTime>

何时启动实验室用户虚拟机。 将忽略时间戳偏移量,并改用 timeZoneId。

stopAt
Nullable<DateTime>

实验室用户虚拟机何时停止。 将忽略时间戳偏移量,并改用 timeZoneId。

recurrencePattern
RecurrencePattern

计划操作的重复模式。

timeZoneId
String

计划的 IANA 时区 ID。

notes
String

此计划的说明。

provisioningState
Nullable<ProvisioningState>

计划的当前预配状态。 可能的值包括:“Creating”、“Updating”、“Deleting”、“Succeeded”、“Failed”、“Locked”

适用于