-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
LabData.cs
83 lines (77 loc) · 5.32 KB
/
LabData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.LabServices.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.LabServices
{
/// <summary>
/// A class representing the Lab data model.
/// The lab resource.
/// </summary>
public partial class LabData : TrackedResourceData
{
/// <summary> Initializes a new instance of LabData. </summary>
/// <param name="location"> The location. </param>
public LabData(AzureLocation location) : base(location)
{
}
/// <summary> Initializes a new instance of LabData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="tags"> The tags. </param>
/// <param name="location"> The location. </param>
/// <param name="autoShutdownProfile"> The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. </param>
/// <param name="connectionProfile"> The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. </param>
/// <param name="virtualMachineProfile"> The profile used for creating lab virtual machines. </param>
/// <param name="securityProfile"> The lab security profile. </param>
/// <param name="rosterProfile"> The lab user list management profile. </param>
/// <param name="labPlanId"> The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. </param>
/// <param name="title"> The title of the lab. </param>
/// <param name="description"> The description of the lab. </param>
/// <param name="provisioningState"> Current provisioning state of the lab. </param>
/// <param name="networkProfile"> The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created. </param>
/// <param name="state"> The lab state. </param>
internal LabData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, LabAutoShutdownProfile autoShutdownProfile, LabConnectionProfile connectionProfile, LabVirtualMachineProfile virtualMachineProfile, LabSecurityProfile securityProfile, LabRosterProfile rosterProfile, ResourceIdentifier labPlanId, string title, string description, LabServicesProvisioningState? provisioningState, LabNetworkProfile networkProfile, LabState? state) : base(id, name, resourceType, systemData, tags, location)
{
AutoShutdownProfile = autoShutdownProfile;
ConnectionProfile = connectionProfile;
VirtualMachineProfile = virtualMachineProfile;
SecurityProfile = securityProfile;
RosterProfile = rosterProfile;
LabPlanId = labPlanId;
Title = title;
Description = description;
ProvisioningState = provisioningState;
NetworkProfile = networkProfile;
State = state;
}
/// <summary> The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. </summary>
public LabAutoShutdownProfile AutoShutdownProfile { get; set; }
/// <summary> The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. </summary>
public LabConnectionProfile ConnectionProfile { get; set; }
/// <summary> The profile used for creating lab virtual machines. </summary>
public LabVirtualMachineProfile VirtualMachineProfile { get; set; }
/// <summary> The lab security profile. </summary>
public LabSecurityProfile SecurityProfile { get; set; }
/// <summary> The lab user list management profile. </summary>
public LabRosterProfile RosterProfile { get; set; }
/// <summary> The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. </summary>
public ResourceIdentifier LabPlanId { get; set; }
/// <summary> The title of the lab. </summary>
public string Title { get; set; }
/// <summary> The description of the lab. </summary>
public string Description { get; set; }
/// <summary> Current provisioning state of the lab. </summary>
public LabServicesProvisioningState? ProvisioningState { get; }
/// <summary> The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created. </summary>
public LabNetworkProfile NetworkProfile { get; set; }
/// <summary> The lab state. </summary>
public LabState? State { get; }
}
}