共用方式為


ArmSqlModelFactory.ManagedInstanceStartStopScheduleData Method

Definition

Initializes a new instance of ManagedInstanceStartStopScheduleData.

public static Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleData ManagedInstanceStartStopScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string timeZoneId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.SqlScheduleItem> scheduleList = default, string nextRunAction = default, string nextExecutionTime = default);
static member ManagedInstanceStartStopScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * seq<Azure.ResourceManager.Sql.Models.SqlScheduleItem> * string * string -> Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleData
Public Shared Function ManagedInstanceStartStopScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional timeZoneId As String = Nothing, Optional scheduleList As IEnumerable(Of SqlScheduleItem) = Nothing, Optional nextRunAction As String = Nothing, Optional nextExecutionTime As String = Nothing) As ManagedInstanceStartStopScheduleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

The description of the schedule.

timeZoneId
String

The time zone of the schedule.

scheduleList
IEnumerable<SqlScheduleItem>

Schedule list.

nextRunAction
String

Next action to be executed (Start or Stop).

nextExecutionTime
String

Timestamp when the next action will be executed in the corresponding schedule time zone.

Returns

A new ManagedInstanceStartStopScheduleData instance for mocking.

Applies to