-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
HostPoolPatch.cs
109 lines (103 loc) · 7.08 KB
/
HostPoolPatch.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// 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.Models;
namespace Azure.ResourceManager.DesktopVirtualization.Models
{
/// <summary> HostPool properties that can be patched. </summary>
public partial class HostPoolPatch : ResourceData
{
/// <summary> Initializes a new instance of HostPoolPatch. </summary>
public HostPoolPatch()
{
Tags = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Initializes a new instance of HostPoolPatch. </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"> tags to be updated. </param>
/// <param name="friendlyName"> Friendly name of HostPool. </param>
/// <param name="description"> Description of HostPool. </param>
/// <param name="customRdpProperty"> Custom rdp property of HostPool. </param>
/// <param name="maxSessionLimit"> The max session limit of HostPool. </param>
/// <param name="personalDesktopAssignmentType"> PersonalDesktopAssignment type for HostPool. </param>
/// <param name="loadBalancerType"> The type of the load balancer. </param>
/// <param name="ring"> The ring number of HostPool. </param>
/// <param name="isValidationEnvironment"> Is validation environment. </param>
/// <param name="registrationInfo"> The registration info of HostPool. </param>
/// <param name="vmTemplate"> VM template for sessionhosts configuration within hostpool. </param>
/// <param name="ssoAdfsAuthority"> URL to customer ADFS server for signing WVD SSO certificates. </param>
/// <param name="ssoClientId"> ClientId for the registered Relying Party used to issue WVD SSO certificates. </param>
/// <param name="ssoClientSecretKeyVaultPath"> Path to Azure KeyVault storing the secret used for communication to ADFS. </param>
/// <param name="ssoSecretType"> The type of single sign on Secret Type. </param>
/// <param name="preferredAppGroupType"> The type of preferred application group type, default to Desktop Application Group. </param>
/// <param name="startVmOnConnect"> The flag to turn on/off StartVMOnConnect feature. </param>
/// <param name="publicNetworkAccess"> Enabled to allow this resource to be access from the public network. </param>
/// <param name="agentUpdate"> The session host configuration for updating agent, monitoring agent, and stack component. </param>
internal HostPoolPatch(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, string friendlyName, string description, string customRdpProperty, int? maxSessionLimit, PersonalDesktopAssignmentType? personalDesktopAssignmentType, HostPoolLoadBalancerType? loadBalancerType, int? ring, bool? isValidationEnvironment, HostPoolRegistrationInfoPatch registrationInfo, string vmTemplate, string ssoAdfsAuthority, string ssoClientId, string ssoClientSecretKeyVaultPath, HostPoolSsoSecretType? ssoSecretType, PreferredAppGroupType? preferredAppGroupType, bool? startVmOnConnect, HostPoolPublicNetworkAccess? publicNetworkAccess, SessionHostAgentUpdatePatchProperties agentUpdate) : base(id, name, resourceType, systemData)
{
Tags = tags;
FriendlyName = friendlyName;
Description = description;
CustomRdpProperty = customRdpProperty;
MaxSessionLimit = maxSessionLimit;
PersonalDesktopAssignmentType = personalDesktopAssignmentType;
LoadBalancerType = loadBalancerType;
Ring = ring;
IsValidationEnvironment = isValidationEnvironment;
RegistrationInfo = registrationInfo;
VmTemplate = vmTemplate;
SsoAdfsAuthority = ssoAdfsAuthority;
SsoClientId = ssoClientId;
SsoClientSecretKeyVaultPath = ssoClientSecretKeyVaultPath;
SsoSecretType = ssoSecretType;
PreferredAppGroupType = preferredAppGroupType;
StartVmOnConnect = startVmOnConnect;
PublicNetworkAccess = publicNetworkAccess;
AgentUpdate = agentUpdate;
}
/// <summary> tags to be updated. </summary>
public IDictionary<string, string> Tags { get; }
/// <summary> Friendly name of HostPool. </summary>
public string FriendlyName { get; set; }
/// <summary> Description of HostPool. </summary>
public string Description { get; set; }
/// <summary> Custom rdp property of HostPool. </summary>
public string CustomRdpProperty { get; set; }
/// <summary> The max session limit of HostPool. </summary>
public int? MaxSessionLimit { get; set; }
/// <summary> PersonalDesktopAssignment type for HostPool. </summary>
public PersonalDesktopAssignmentType? PersonalDesktopAssignmentType { get; set; }
/// <summary> The type of the load balancer. </summary>
public HostPoolLoadBalancerType? LoadBalancerType { get; set; }
/// <summary> The ring number of HostPool. </summary>
public int? Ring { get; set; }
/// <summary> Is validation environment. </summary>
public bool? IsValidationEnvironment { get; set; }
/// <summary> The registration info of HostPool. </summary>
public HostPoolRegistrationInfoPatch RegistrationInfo { get; set; }
/// <summary> VM template for sessionhosts configuration within hostpool. </summary>
public string VmTemplate { get; set; }
/// <summary> URL to customer ADFS server for signing WVD SSO certificates. </summary>
public string SsoAdfsAuthority { get; set; }
/// <summary> ClientId for the registered Relying Party used to issue WVD SSO certificates. </summary>
public string SsoClientId { get; set; }
/// <summary> Path to Azure KeyVault storing the secret used for communication to ADFS. </summary>
public string SsoClientSecretKeyVaultPath { get; set; }
/// <summary> The type of single sign on Secret Type. </summary>
public HostPoolSsoSecretType? SsoSecretType { get; set; }
/// <summary> The type of preferred application group type, default to Desktop Application Group. </summary>
public PreferredAppGroupType? PreferredAppGroupType { get; set; }
/// <summary> The flag to turn on/off StartVMOnConnect feature. </summary>
public bool? StartVmOnConnect { get; set; }
/// <summary> Enabled to allow this resource to be access from the public network. </summary>
public HostPoolPublicNetworkAccess? PublicNetworkAccess { get; set; }
/// <summary> The session host configuration for updating agent, monitoring agent, and stack component. </summary>
public SessionHostAgentUpdatePatchProperties AgentUpdate { get; set; }
}
}