1package desktopvirtualization 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// ApplicationGroupType enumerates the values for application group type. 10type ApplicationGroupType string 11 12const ( 13 // ApplicationGroupTypeDesktop ... 14 ApplicationGroupTypeDesktop ApplicationGroupType = "Desktop" 15 // ApplicationGroupTypeRemoteApp ... 16 ApplicationGroupTypeRemoteApp ApplicationGroupType = "RemoteApp" 17) 18 19// PossibleApplicationGroupTypeValues returns an array of possible values for the ApplicationGroupType const type. 20func PossibleApplicationGroupTypeValues() []ApplicationGroupType { 21 return []ApplicationGroupType{ApplicationGroupTypeDesktop, ApplicationGroupTypeRemoteApp} 22} 23 24// ApplicationType enumerates the values for application type. 25type ApplicationType string 26 27const ( 28 // ApplicationTypeDesktop ... 29 ApplicationTypeDesktop ApplicationType = "Desktop" 30 // ApplicationTypeRemoteApp ... 31 ApplicationTypeRemoteApp ApplicationType = "RemoteApp" 32) 33 34// PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type. 35func PossibleApplicationTypeValues() []ApplicationType { 36 return []ApplicationType{ApplicationTypeDesktop, ApplicationTypeRemoteApp} 37} 38 39// CommandLineSetting enumerates the values for command line setting. 40type CommandLineSetting string 41 42const ( 43 // Allow ... 44 Allow CommandLineSetting = "Allow" 45 // DoNotAllow ... 46 DoNotAllow CommandLineSetting = "DoNotAllow" 47 // Require ... 48 Require CommandLineSetting = "Require" 49) 50 51// PossibleCommandLineSettingValues returns an array of possible values for the CommandLineSetting const type. 52func PossibleCommandLineSettingValues() []CommandLineSetting { 53 return []CommandLineSetting{Allow, DoNotAllow, Require} 54} 55 56// HostPoolType enumerates the values for host pool type. 57type HostPoolType string 58 59const ( 60 // Personal ... 61 Personal HostPoolType = "Personal" 62 // Shared ... 63 Shared HostPoolType = "Shared" 64) 65 66// PossibleHostPoolTypeValues returns an array of possible values for the HostPoolType const type. 67func PossibleHostPoolTypeValues() []HostPoolType { 68 return []HostPoolType{Personal, Shared} 69} 70 71// LoadBalancerType enumerates the values for load balancer type. 72type LoadBalancerType string 73 74const ( 75 // BreadthFirst ... 76 BreadthFirst LoadBalancerType = "BreadthFirst" 77 // DepthFirst ... 78 DepthFirst LoadBalancerType = "DepthFirst" 79 // Persistent ... 80 Persistent LoadBalancerType = "Persistent" 81) 82 83// PossibleLoadBalancerTypeValues returns an array of possible values for the LoadBalancerType const type. 84func PossibleLoadBalancerTypeValues() []LoadBalancerType { 85 return []LoadBalancerType{BreadthFirst, DepthFirst, Persistent} 86} 87 88// PersonalDesktopAssignmentType enumerates the values for personal desktop assignment type. 89type PersonalDesktopAssignmentType string 90 91const ( 92 // Automatic ... 93 Automatic PersonalDesktopAssignmentType = "Automatic" 94 // Direct ... 95 Direct PersonalDesktopAssignmentType = "Direct" 96) 97 98// PossiblePersonalDesktopAssignmentTypeValues returns an array of possible values for the PersonalDesktopAssignmentType const type. 99func PossiblePersonalDesktopAssignmentTypeValues() []PersonalDesktopAssignmentType { 100 return []PersonalDesktopAssignmentType{Automatic, Direct} 101} 102 103// PreferredAppGroupType enumerates the values for preferred app group type. 104type PreferredAppGroupType string 105 106const ( 107 // PreferredAppGroupTypeDesktop ... 108 PreferredAppGroupTypeDesktop PreferredAppGroupType = "Desktop" 109 // PreferredAppGroupTypeNone ... 110 PreferredAppGroupTypeNone PreferredAppGroupType = "None" 111 // PreferredAppGroupTypeRailApplications ... 112 PreferredAppGroupTypeRailApplications PreferredAppGroupType = "RailApplications" 113) 114 115// PossiblePreferredAppGroupTypeValues returns an array of possible values for the PreferredAppGroupType const type. 116func PossiblePreferredAppGroupTypeValues() []PreferredAppGroupType { 117 return []PreferredAppGroupType{PreferredAppGroupTypeDesktop, PreferredAppGroupTypeNone, PreferredAppGroupTypeRailApplications} 118} 119 120// RegistrationTokenOperation enumerates the values for registration token operation. 121type RegistrationTokenOperation string 122 123const ( 124 // Delete ... 125 Delete RegistrationTokenOperation = "Delete" 126 // None ... 127 None RegistrationTokenOperation = "None" 128 // Update ... 129 Update RegistrationTokenOperation = "Update" 130) 131 132// PossibleRegistrationTokenOperationValues returns an array of possible values for the RegistrationTokenOperation const type. 133func PossibleRegistrationTokenOperationValues() []RegistrationTokenOperation { 134 return []RegistrationTokenOperation{Delete, None, Update} 135} 136 137// SessionState enumerates the values for session state. 138type SessionState string 139 140const ( 141 // Active ... 142 Active SessionState = "Active" 143 // Disconnected ... 144 Disconnected SessionState = "Disconnected" 145 // LogOff ... 146 LogOff SessionState = "LogOff" 147 // Pending ... 148 Pending SessionState = "Pending" 149 // Unknown ... 150 Unknown SessionState = "Unknown" 151 // UserProfileDiskMounted ... 152 UserProfileDiskMounted SessionState = "UserProfileDiskMounted" 153) 154 155// PossibleSessionStateValues returns an array of possible values for the SessionState const type. 156func PossibleSessionStateValues() []SessionState { 157 return []SessionState{Active, Disconnected, LogOff, Pending, Unknown, UserProfileDiskMounted} 158} 159 160// Status enumerates the values for status. 161type Status string 162 163const ( 164 // StatusAvailable ... 165 StatusAvailable Status = "Available" 166 // StatusDisconnected ... 167 StatusDisconnected Status = "Disconnected" 168 // StatusShutdown ... 169 StatusShutdown Status = "Shutdown" 170 // StatusUnavailable ... 171 StatusUnavailable Status = "Unavailable" 172 // StatusUpgradeFailed ... 173 StatusUpgradeFailed Status = "UpgradeFailed" 174 // StatusUpgrading ... 175 StatusUpgrading Status = "Upgrading" 176) 177 178// PossibleStatusValues returns an array of possible values for the Status const type. 179func PossibleStatusValues() []Status { 180 return []Status{StatusAvailable, StatusDisconnected, StatusShutdown, StatusUnavailable, StatusUpgradeFailed, StatusUpgrading} 181} 182 183// UpdateState enumerates the values for update state. 184type UpdateState string 185 186const ( 187 // UpdateStateFailed ... 188 UpdateStateFailed UpdateState = "Failed" 189 // UpdateStateInitial ... 190 UpdateStateInitial UpdateState = "Initial" 191 // UpdateStatePending ... 192 UpdateStatePending UpdateState = "Pending" 193 // UpdateStateStarted ... 194 UpdateStateStarted UpdateState = "Started" 195 // UpdateStateSucceeded ... 196 UpdateStateSucceeded UpdateState = "Succeeded" 197) 198 199// PossibleUpdateStateValues returns an array of possible values for the UpdateState const type. 200func PossibleUpdateStateValues() []UpdateState { 201 return []UpdateState{UpdateStateFailed, UpdateStateInitial, UpdateStatePending, UpdateStateStarted, UpdateStateSucceeded} 202} 203