Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the LabPlanUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags.</param>
 /// <param name="defaultConnectionProfile">The default lab connection
 /// profile. This can be changed on a lab resource and only provides a
 /// default profile.</param>
 /// <param name="defaultAutoShutdownProfile">The default lab shutdown
 /// profile. This can be changed on a lab resource and only provides a
 /// default profile.</param>
 /// <param name="defaultNetworkProfile">The lab plan network profile.
 /// To enforce lab network policies they must be defined here and
 /// cannot be changed when there are existing labs associated with this
 /// lab plan.</param>
 /// <param name="allowedRegions">The allowed regions for the lab
 /// creator to use when creating labs using this lab plan.</param>
 /// <param name="sharedGalleryId">Resource ID of the Shared Image
 /// Gallery attached to this lab plan. When saving a lab template
 /// virtual machine image it will be persisted in this gallery. Shared
 /// images from the gallery can be made available to use when creating
 /// new labs.</param>
 /// <param name="supportInfo">Support contact information and
 /// instructions for users of the lab plan. This information is
 /// displayed to lab owners and virtual machine users for all labs in
 /// the lab plan.</param>
 /// <param name="linkedLmsInstance">Base Url of the lms instance this
 /// lab plan can link lab rosters against.</param>
 public LabPlanUpdate(IList <string> tags = default(IList <string>), ConnectionProfile defaultConnectionProfile = default(ConnectionProfile), AutoShutdownProfile defaultAutoShutdownProfile = default(AutoShutdownProfile), LabPlanNetworkProfile defaultNetworkProfile = default(LabPlanNetworkProfile), IList <string> allowedRegions = default(IList <string>), string sharedGalleryId = default(string), SupportInfo supportInfo = default(SupportInfo), string linkedLmsInstance = default(string))
     : base(tags)
 {
     DefaultConnectionProfile   = defaultConnectionProfile;
     DefaultAutoShutdownProfile = defaultAutoShutdownProfile;
     DefaultNetworkProfile      = defaultNetworkProfile;
     AllowedRegions             = allowedRegions;
     SharedGalleryId            = sharedGalleryId;
     SupportInfo       = supportInfo;
     LinkedLmsInstance = linkedLmsInstance;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the LabUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags.</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>
 public LabUpdate(IList <string> tags = default(IList <string>), AutoShutdownProfile autoShutdownProfile = default(AutoShutdownProfile), ConnectionProfile connectionProfile = default(ConnectionProfile), VirtualMachineProfile virtualMachineProfile = default(VirtualMachineProfile), SecurityProfile securityProfile = default(SecurityProfile), RosterProfile rosterProfile = default(RosterProfile), string labPlanId = default(string), string title = default(string), string description = default(string))
     : base(tags)
 {
     AutoShutdownProfile   = autoShutdownProfile;
     ConnectionProfile     = connectionProfile;
     VirtualMachineProfile = virtualMachineProfile;
     SecurityProfile       = securityProfile;
     RosterProfile         = rosterProfile;
     LabPlanId             = labPlanId;
     Title       = title;
     Description = description;
     CustomInit();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the LabPlan class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="systemData">Metadata pertaining to creation and last
 /// modification of the lab plan.</param>
 /// <param name="defaultConnectionProfile">The default lab connection
 /// profile. This can be changed on a lab resource and only provides a
 /// default profile.</param>
 /// <param name="defaultAutoShutdownProfile">The default lab shutdown
 /// profile. This can be changed on a lab resource and only provides a
 /// default profile.</param>
 /// <param name="defaultNetworkProfile">The lab plan network profile.
 /// To enforce lab network policies they must be defined here and
 /// cannot be changed when there are existing labs associated with this
 /// lab plan.</param>
 /// <param name="allowedRegions">The allowed regions for the lab
 /// creator to use when creating labs using this lab plan.</param>
 /// <param name="sharedGalleryId">Resource ID of the Shared Image
 /// Gallery attached to this lab plan. When saving a lab template
 /// virtual machine image it will be persisted in this gallery. Shared
 /// images from the gallery can be made available to use when creating
 /// new labs.</param>
 /// <param name="supportInfo">Support contact information and
 /// instructions for users of the lab plan. This information is
 /// displayed to lab owners and virtual machine users for all labs in
 /// the lab plan.</param>
 /// <param name="linkedLmsInstance">Base Url of the lms instance this
 /// lab plan can link lab rosters against.</param>
 /// <param name="provisioningState">Current provisioning state of the
 /// lab plan. Possible values include: 'Creating', 'Updating',
 /// 'Deleting', 'Succeeded', 'Failed', 'Locked'</param>
 public LabPlan(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SystemData systemData = default(SystemData), ConnectionProfile defaultConnectionProfile = default(ConnectionProfile), AutoShutdownProfile defaultAutoShutdownProfile = default(AutoShutdownProfile), LabPlanNetworkProfile defaultNetworkProfile = default(LabPlanNetworkProfile), IList <string> allowedRegions = default(IList <string>), string sharedGalleryId = default(string), SupportInfo supportInfo = default(SupportInfo), string linkedLmsInstance = default(string), ProvisioningState?provisioningState = default(ProvisioningState?))
     : base(location, id, name, type, tags)
 {
     SystemData = systemData;
     DefaultConnectionProfile   = defaultConnectionProfile;
     DefaultAutoShutdownProfile = defaultAutoShutdownProfile;
     DefaultNetworkProfile      = defaultNetworkProfile;
     AllowedRegions             = allowedRegions;
     SharedGalleryId            = sharedGalleryId;
     SupportInfo       = supportInfo;
     LinkedLmsInstance = linkedLmsInstance;
     ProvisioningState = provisioningState;
     CustomInit();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the Lab class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="systemData">Metadata pertaining to creation and last
 /// modification of the lab.</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. Possible values include: 'Creating', 'Updating', 'Deleting',
 /// 'Succeeded', 'Failed', 'Locked'</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. Possible values include:
 /// 'Draft', 'Publishing', 'Scaling', 'Syncing', 'Published'</param>
 public Lab(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SystemData systemData = default(SystemData), AutoShutdownProfile autoShutdownProfile = default(AutoShutdownProfile), ConnectionProfile connectionProfile = default(ConnectionProfile), VirtualMachineProfile virtualMachineProfile = default(VirtualMachineProfile), SecurityProfile securityProfile = default(SecurityProfile), RosterProfile rosterProfile = default(RosterProfile), string labPlanId = default(string), string title = default(string), string description = default(string), ProvisioningState?provisioningState = default(ProvisioningState?), LabNetworkProfile networkProfile = default(LabNetworkProfile), LabState?state = default(LabState?))
     : base(location, id, name, type, tags)
 {
     SystemData            = systemData;
     AutoShutdownProfile   = autoShutdownProfile;
     ConnectionProfile     = connectionProfile;
     VirtualMachineProfile = virtualMachineProfile;
     SecurityProfile       = securityProfile;
     RosterProfile         = rosterProfile;
     LabPlanId             = labPlanId;
     Title             = title;
     Description       = description;
     ProvisioningState = provisioningState;
     NetworkProfile    = networkProfile;
     State             = state;
     CustomInit();
 }