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