共用方式為


ArmDevTestLabsModelFactory.DevTestLabApplicableSchedule Method

Definition

Initializes a new instance of DevTestLabApplicableSchedule.

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule DevTestLabApplicableSchedule (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.DevTestLabs.DevTestLabScheduleData labVmsShutdown = default, Azure.ResourceManager.DevTestLabs.DevTestLabScheduleData labVmsStartup = default);
static member DevTestLabApplicableSchedule : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DevTestLabs.DevTestLabScheduleData * Azure.ResourceManager.DevTestLabs.DevTestLabScheduleData -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule
Public Shared Function DevTestLabApplicableSchedule (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional labVmsShutdown As DevTestLabScheduleData = Nothing, Optional labVmsStartup As DevTestLabScheduleData = Nothing) As DevTestLabApplicableSchedule

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

labVmsShutdown
DevTestLabScheduleData

The auto-shutdown schedule, if one has been set at the lab or lab resource level.

labVmsStartup
DevTestLabScheduleData

The auto-startup schedule, if one has been set at the lab or lab resource level.

Returns

A new DevTestLabApplicableSchedule instance for mocking.

Applies to