forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
enums.go
217 lines (180 loc) · 7.28 KB
/
enums.go
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
package desktopvirtualization
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// ApplicationGroupType enumerates the values for application group type.
type ApplicationGroupType string
const (
// ApplicationGroupTypeDesktop ...
ApplicationGroupTypeDesktop ApplicationGroupType = "Desktop"
// ApplicationGroupTypeRemoteApp ...
ApplicationGroupTypeRemoteApp ApplicationGroupType = "RemoteApp"
)
// PossibleApplicationGroupTypeValues returns an array of possible values for the ApplicationGroupType const type.
func PossibleApplicationGroupTypeValues() []ApplicationGroupType {
return []ApplicationGroupType{ApplicationGroupTypeDesktop, ApplicationGroupTypeRemoteApp}
}
// ApplicationType enumerates the values for application type.
type ApplicationType string
const (
// ApplicationTypeDesktop ...
ApplicationTypeDesktop ApplicationType = "Desktop"
// ApplicationTypeRemoteApp ...
ApplicationTypeRemoteApp ApplicationType = "RemoteApp"
)
// PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type.
func PossibleApplicationTypeValues() []ApplicationType {
return []ApplicationType{ApplicationTypeDesktop, ApplicationTypeRemoteApp}
}
// CommandLineSetting enumerates the values for command line setting.
type CommandLineSetting string
const (
// Allow ...
Allow CommandLineSetting = "Allow"
// DoNotAllow ...
DoNotAllow CommandLineSetting = "DoNotAllow"
// Require ...
Require CommandLineSetting = "Require"
)
// PossibleCommandLineSettingValues returns an array of possible values for the CommandLineSetting const type.
func PossibleCommandLineSettingValues() []CommandLineSetting {
return []CommandLineSetting{Allow, DoNotAllow, Require}
}
// HostPoolType enumerates the values for host pool type.
type HostPoolType string
const (
// Personal ...
Personal HostPoolType = "Personal"
// Pooled ...
Pooled HostPoolType = "Pooled"
)
// PossibleHostPoolTypeValues returns an array of possible values for the HostPoolType const type.
func PossibleHostPoolTypeValues() []HostPoolType {
return []HostPoolType{Personal, Pooled}
}
// LoadBalancerType enumerates the values for load balancer type.
type LoadBalancerType string
const (
// BreadthFirst ...
BreadthFirst LoadBalancerType = "BreadthFirst"
// DepthFirst ...
DepthFirst LoadBalancerType = "DepthFirst"
// Persistent ...
Persistent LoadBalancerType = "Persistent"
)
// PossibleLoadBalancerTypeValues returns an array of possible values for the LoadBalancerType const type.
func PossibleLoadBalancerTypeValues() []LoadBalancerType {
return []LoadBalancerType{BreadthFirst, DepthFirst, Persistent}
}
// PersonalDesktopAssignmentType enumerates the values for personal desktop assignment type.
type PersonalDesktopAssignmentType string
const (
// Automatic ...
Automatic PersonalDesktopAssignmentType = "Automatic"
// Direct ...
Direct PersonalDesktopAssignmentType = "Direct"
)
// PossiblePersonalDesktopAssignmentTypeValues returns an array of possible values for the PersonalDesktopAssignmentType const type.
func PossiblePersonalDesktopAssignmentTypeValues() []PersonalDesktopAssignmentType {
return []PersonalDesktopAssignmentType{Automatic, Direct}
}
// PreferredAppGroupType enumerates the values for preferred app group type.
type PreferredAppGroupType string
const (
// PreferredAppGroupTypeDesktop ...
PreferredAppGroupTypeDesktop PreferredAppGroupType = "Desktop"
// PreferredAppGroupTypeNone ...
PreferredAppGroupTypeNone PreferredAppGroupType = "None"
// PreferredAppGroupTypeRailApplications ...
PreferredAppGroupTypeRailApplications PreferredAppGroupType = "RailApplications"
)
// PossiblePreferredAppGroupTypeValues returns an array of possible values for the PreferredAppGroupType const type.
func PossiblePreferredAppGroupTypeValues() []PreferredAppGroupType {
return []PreferredAppGroupType{PreferredAppGroupTypeDesktop, PreferredAppGroupTypeNone, PreferredAppGroupTypeRailApplications}
}
// RegistrationTokenOperation enumerates the values for registration token operation.
type RegistrationTokenOperation string
const (
// Delete ...
Delete RegistrationTokenOperation = "Delete"
// None ...
None RegistrationTokenOperation = "None"
// Update ...
Update RegistrationTokenOperation = "Update"
)
// PossibleRegistrationTokenOperationValues returns an array of possible values for the RegistrationTokenOperation const type.
func PossibleRegistrationTokenOperationValues() []RegistrationTokenOperation {
return []RegistrationTokenOperation{Delete, None, Update}
}
// RemoteApplicationType enumerates the values for remote application type.
type RemoteApplicationType string
const (
// InBuilt ...
InBuilt RemoteApplicationType = "InBuilt"
// MsixApplication ...
MsixApplication RemoteApplicationType = "MsixApplication"
)
// PossibleRemoteApplicationTypeValues returns an array of possible values for the RemoteApplicationType const type.
func PossibleRemoteApplicationTypeValues() []RemoteApplicationType {
return []RemoteApplicationType{InBuilt, MsixApplication}
}
// SessionState enumerates the values for session state.
type SessionState string
const (
// Active ...
Active SessionState = "Active"
// Disconnected ...
Disconnected SessionState = "Disconnected"
// LogOff ...
LogOff SessionState = "LogOff"
// Pending ...
Pending SessionState = "Pending"
// Unknown ...
Unknown SessionState = "Unknown"
// UserProfileDiskMounted ...
UserProfileDiskMounted SessionState = "UserProfileDiskMounted"
)
// PossibleSessionStateValues returns an array of possible values for the SessionState const type.
func PossibleSessionStateValues() []SessionState {
return []SessionState{Active, Disconnected, LogOff, Pending, Unknown, UserProfileDiskMounted}
}
// Status enumerates the values for status.
type Status string
const (
// StatusAvailable ...
StatusAvailable Status = "Available"
// StatusDisconnected ...
StatusDisconnected Status = "Disconnected"
// StatusShutdown ...
StatusShutdown Status = "Shutdown"
// StatusUnavailable ...
StatusUnavailable Status = "Unavailable"
// StatusUpgradeFailed ...
StatusUpgradeFailed Status = "UpgradeFailed"
// StatusUpgrading ...
StatusUpgrading Status = "Upgrading"
)
// PossibleStatusValues returns an array of possible values for the Status const type.
func PossibleStatusValues() []Status {
return []Status{StatusAvailable, StatusDisconnected, StatusShutdown, StatusUnavailable, StatusUpgradeFailed, StatusUpgrading}
}
// UpdateState enumerates the values for update state.
type UpdateState string
const (
// UpdateStateFailed ...
UpdateStateFailed UpdateState = "Failed"
// UpdateStateInitial ...
UpdateStateInitial UpdateState = "Initial"
// UpdateStatePending ...
UpdateStatePending UpdateState = "Pending"
// UpdateStateStarted ...
UpdateStateStarted UpdateState = "Started"
// UpdateStateSucceeded ...
UpdateStateSucceeded UpdateState = "Succeeded"
)
// PossibleUpdateStateValues returns an array of possible values for the UpdateState const type.
func PossibleUpdateStateValues() []UpdateState {
return []UpdateState{UpdateStateFailed, UpdateStateInitial, UpdateStatePending, UpdateStateStarted, UpdateStateSucceeded}
}