/
zz_generated_constants.go
232 lines (196 loc) · 7.52 KB
/
zz_generated_constants.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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
//go:build go1.18
// +build go1.18
// 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.
package armbotservice
const (
moduleName = "armbotservice"
moduleVersion = "v0.5.0"
)
type ChannelName string
const (
ChannelNameAlexaChannel ChannelName = "AlexaChannel"
ChannelNameFacebookChannel ChannelName = "FacebookChannel"
ChannelNameEmailChannel ChannelName = "EmailChannel"
ChannelNameKikChannel ChannelName = "KikChannel"
ChannelNameTelegramChannel ChannelName = "TelegramChannel"
ChannelNameSlackChannel ChannelName = "SlackChannel"
ChannelNameMsTeamsChannel ChannelName = "MsTeamsChannel"
ChannelNameSkypeChannel ChannelName = "SkypeChannel"
ChannelNameWebChatChannel ChannelName = "WebChatChannel"
ChannelNameDirectLineChannel ChannelName = "DirectLineChannel"
ChannelNameSmsChannel ChannelName = "SmsChannel"
ChannelNameLineChannel ChannelName = "LineChannel"
ChannelNameDirectLineSpeechChannel ChannelName = "DirectLineSpeechChannel"
ChannelNameOutlookChannel ChannelName = "OutlookChannel"
)
// PossibleChannelNameValues returns the possible values for the ChannelName const type.
func PossibleChannelNameValues() []ChannelName {
return []ChannelName{
ChannelNameAlexaChannel,
ChannelNameFacebookChannel,
ChannelNameEmailChannel,
ChannelNameKikChannel,
ChannelNameTelegramChannel,
ChannelNameSlackChannel,
ChannelNameMsTeamsChannel,
ChannelNameSkypeChannel,
ChannelNameWebChatChannel,
ChannelNameDirectLineChannel,
ChannelNameSmsChannel,
ChannelNameLineChannel,
ChannelNameDirectLineSpeechChannel,
ChannelNameOutlookChannel,
}
}
// Key - Determines which key is to be regenerated
type Key string
const (
KeyKey1 Key = "key1"
KeyKey2 Key = "key2"
)
// PossibleKeyValues returns the possible values for the Key const type.
func PossibleKeyValues() []Key {
return []Key{
KeyKey1,
KeyKey2,
}
}
// Kind - Indicates the type of bot service
type Kind string
const (
KindAzurebot Kind = "azurebot"
KindBot Kind = "bot"
KindDesigner Kind = "designer"
KindFunction Kind = "function"
KindSdk Kind = "sdk"
)
// PossibleKindValues returns the possible values for the Kind const type.
func PossibleKindValues() []Kind {
return []Kind{
KindAzurebot,
KindBot,
KindDesigner,
KindFunction,
KindSdk,
}
}
// MsaAppType - Microsoft App Type for the bot
type MsaAppType string
const (
MsaAppTypeMultiTenant MsaAppType = "MultiTenant"
MsaAppTypeSingleTenant MsaAppType = "SingleTenant"
MsaAppTypeUserAssignedMSI MsaAppType = "UserAssignedMSI"
)
// PossibleMsaAppTypeValues returns the possible values for the MsaAppType const type.
func PossibleMsaAppTypeValues() []MsaAppType {
return []MsaAppType{
MsaAppTypeMultiTenant,
MsaAppTypeSingleTenant,
MsaAppTypeUserAssignedMSI,
}
}
// OperationResultStatus - The status of the operation being performed.
type OperationResultStatus string
const (
OperationResultStatusCanceled OperationResultStatus = "Canceled"
OperationResultStatusFailed OperationResultStatus = "Failed"
OperationResultStatusRequested OperationResultStatus = "Requested"
OperationResultStatusRunning OperationResultStatus = "Running"
OperationResultStatusSucceeded OperationResultStatus = "Succeeded"
)
// PossibleOperationResultStatusValues returns the possible values for the OperationResultStatus const type.
func PossibleOperationResultStatusValues() []OperationResultStatus {
return []OperationResultStatus{
OperationResultStatusCanceled,
OperationResultStatusFailed,
OperationResultStatusRequested,
OperationResultStatusRunning,
OperationResultStatusSucceeded,
}
}
// PrivateEndpointConnectionProvisioningState - The current provisioning state.
type PrivateEndpointConnectionProvisioningState string
const (
PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)
// PossiblePrivateEndpointConnectionProvisioningStateValues returns the possible values for the PrivateEndpointConnectionProvisioningState const type.
func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState {
return []PrivateEndpointConnectionProvisioningState{
PrivateEndpointConnectionProvisioningStateCreating,
PrivateEndpointConnectionProvisioningStateDeleting,
PrivateEndpointConnectionProvisioningStateFailed,
PrivateEndpointConnectionProvisioningStateSucceeded,
}
}
// PrivateEndpointServiceConnectionStatus - The private endpoint connection status.
type PrivateEndpointServiceConnectionStatus string
const (
PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)
// PossiblePrivateEndpointServiceConnectionStatusValues returns the possible values for the PrivateEndpointServiceConnectionStatus const type.
func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus {
return []PrivateEndpointServiceConnectionStatus{
PrivateEndpointServiceConnectionStatusApproved,
PrivateEndpointServiceConnectionStatusPending,
PrivateEndpointServiceConnectionStatusRejected,
}
}
// PublicNetworkAccess - Whether the bot is in an isolated network
type PublicNetworkAccess string
const (
PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)
// PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{
PublicNetworkAccessDisabled,
PublicNetworkAccessEnabled,
}
}
type RegenerateKeysChannelName string
const (
RegenerateKeysChannelNameWebChatChannel RegenerateKeysChannelName = "WebChatChannel"
RegenerateKeysChannelNameDirectLineChannel RegenerateKeysChannelName = "DirectLineChannel"
)
// PossibleRegenerateKeysChannelNameValues returns the possible values for the RegenerateKeysChannelName const type.
func PossibleRegenerateKeysChannelNameValues() []RegenerateKeysChannelName {
return []RegenerateKeysChannelName{
RegenerateKeysChannelNameWebChatChannel,
RegenerateKeysChannelNameDirectLineChannel,
}
}
// SKUName - The name of SKU.
type SKUName string
const (
SKUNameF0 SKUName = "F0"
SKUNameS1 SKUName = "S1"
)
// PossibleSKUNameValues returns the possible values for the SKUName const type.
func PossibleSKUNameValues() []SKUName {
return []SKUName{
SKUNameF0,
SKUNameS1,
}
}
// SKUTier - Gets the sku tier. This is based on the SKU name.
type SKUTier string
const (
SKUTierFree SKUTier = "Free"
SKUTierStandard SKUTier = "Standard"
)
// PossibleSKUTierValues returns the possible values for the SKUTier const type.
func PossibleSKUTierValues() []SKUTier {
return []SKUTier{
SKUTierFree,
SKUTierStandard,
}
}