1package sql
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// CatalogCollationType enumerates the values for catalog collation type.
10type CatalogCollationType string
11
12const (
13	// DATABASEDEFAULT ...
14	DATABASEDEFAULT CatalogCollationType = "DATABASE_DEFAULT"
15	// SQLLatin1GeneralCP1CIAS ...
16	SQLLatin1GeneralCP1CIAS CatalogCollationType = "SQL_Latin1_General_CP1_CI_AS"
17)
18
19// PossibleCatalogCollationTypeValues returns an array of possible values for the CatalogCollationType const type.
20func PossibleCatalogCollationTypeValues() []CatalogCollationType {
21	return []CatalogCollationType{DATABASEDEFAULT, SQLLatin1GeneralCP1CIAS}
22}
23
24// DatabaseState enumerates the values for database state.
25type DatabaseState string
26
27const (
28	// All ...
29	All DatabaseState = "All"
30	// Deleted ...
31	Deleted DatabaseState = "Deleted"
32	// Live ...
33	Live DatabaseState = "Live"
34)
35
36// PossibleDatabaseStateValues returns an array of possible values for the DatabaseState const type.
37func PossibleDatabaseStateValues() []DatabaseState {
38	return []DatabaseState{All, Deleted, Live}
39}
40
41// IdentityType enumerates the values for identity type.
42type IdentityType string
43
44const (
45	// SystemAssigned ...
46	SystemAssigned IdentityType = "SystemAssigned"
47)
48
49// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
50func PossibleIdentityTypeValues() []IdentityType {
51	return []IdentityType{SystemAssigned}
52}
53
54// InstancePoolLicenseType enumerates the values for instance pool license type.
55type InstancePoolLicenseType string
56
57const (
58	// BasePrice ...
59	BasePrice InstancePoolLicenseType = "BasePrice"
60	// LicenseIncluded ...
61	LicenseIncluded InstancePoolLicenseType = "LicenseIncluded"
62)
63
64// PossibleInstancePoolLicenseTypeValues returns an array of possible values for the InstancePoolLicenseType const type.
65func PossibleInstancePoolLicenseTypeValues() []InstancePoolLicenseType {
66	return []InstancePoolLicenseType{BasePrice, LicenseIncluded}
67}
68
69// ManagedDatabaseCreateMode enumerates the values for managed database create mode.
70type ManagedDatabaseCreateMode string
71
72const (
73	// Default ...
74	Default ManagedDatabaseCreateMode = "Default"
75	// PointInTimeRestore ...
76	PointInTimeRestore ManagedDatabaseCreateMode = "PointInTimeRestore"
77	// Recovery ...
78	Recovery ManagedDatabaseCreateMode = "Recovery"
79	// RestoreExternalBackup ...
80	RestoreExternalBackup ManagedDatabaseCreateMode = "RestoreExternalBackup"
81	// RestoreLongTermRetentionBackup ...
82	RestoreLongTermRetentionBackup ManagedDatabaseCreateMode = "RestoreLongTermRetentionBackup"
83)
84
85// PossibleManagedDatabaseCreateModeValues returns an array of possible values for the ManagedDatabaseCreateMode const type.
86func PossibleManagedDatabaseCreateModeValues() []ManagedDatabaseCreateMode {
87	return []ManagedDatabaseCreateMode{Default, PointInTimeRestore, Recovery, RestoreExternalBackup, RestoreLongTermRetentionBackup}
88}
89
90// ManagedDatabaseStatus enumerates the values for managed database status.
91type ManagedDatabaseStatus string
92
93const (
94	// Creating ...
95	Creating ManagedDatabaseStatus = "Creating"
96	// Inaccessible ...
97	Inaccessible ManagedDatabaseStatus = "Inaccessible"
98	// Offline ...
99	Offline ManagedDatabaseStatus = "Offline"
100	// Online ...
101	Online ManagedDatabaseStatus = "Online"
102	// Restoring ...
103	Restoring ManagedDatabaseStatus = "Restoring"
104	// Shutdown ...
105	Shutdown ManagedDatabaseStatus = "Shutdown"
106	// Updating ...
107	Updating ManagedDatabaseStatus = "Updating"
108)
109
110// PossibleManagedDatabaseStatusValues returns an array of possible values for the ManagedDatabaseStatus const type.
111func PossibleManagedDatabaseStatusValues() []ManagedDatabaseStatus {
112	return []ManagedDatabaseStatus{Creating, Inaccessible, Offline, Online, Restoring, Shutdown, Updating}
113}
114
115// ManagedInstanceLicenseType enumerates the values for managed instance license type.
116type ManagedInstanceLicenseType string
117
118const (
119	// ManagedInstanceLicenseTypeBasePrice ...
120	ManagedInstanceLicenseTypeBasePrice ManagedInstanceLicenseType = "BasePrice"
121	// ManagedInstanceLicenseTypeLicenseIncluded ...
122	ManagedInstanceLicenseTypeLicenseIncluded ManagedInstanceLicenseType = "LicenseIncluded"
123)
124
125// PossibleManagedInstanceLicenseTypeValues returns an array of possible values for the ManagedInstanceLicenseType const type.
126func PossibleManagedInstanceLicenseTypeValues() []ManagedInstanceLicenseType {
127	return []ManagedInstanceLicenseType{ManagedInstanceLicenseTypeBasePrice, ManagedInstanceLicenseTypeLicenseIncluded}
128}
129
130// ManagedInstanceProxyOverride enumerates the values for managed instance proxy override.
131type ManagedInstanceProxyOverride string
132
133const (
134	// ManagedInstanceProxyOverrideDefault ...
135	ManagedInstanceProxyOverrideDefault ManagedInstanceProxyOverride = "Default"
136	// ManagedInstanceProxyOverrideProxy ...
137	ManagedInstanceProxyOverrideProxy ManagedInstanceProxyOverride = "Proxy"
138	// ManagedInstanceProxyOverrideRedirect ...
139	ManagedInstanceProxyOverrideRedirect ManagedInstanceProxyOverride = "Redirect"
140)
141
142// PossibleManagedInstanceProxyOverrideValues returns an array of possible values for the ManagedInstanceProxyOverride const type.
143func PossibleManagedInstanceProxyOverrideValues() []ManagedInstanceProxyOverride {
144	return []ManagedInstanceProxyOverride{ManagedInstanceProxyOverrideDefault, ManagedInstanceProxyOverrideProxy, ManagedInstanceProxyOverrideRedirect}
145}
146
147// ManagedServerCreateMode enumerates the values for managed server create mode.
148type ManagedServerCreateMode string
149
150const (
151	// ManagedServerCreateModeDefault ...
152	ManagedServerCreateModeDefault ManagedServerCreateMode = "Default"
153	// ManagedServerCreateModePointInTimeRestore ...
154	ManagedServerCreateModePointInTimeRestore ManagedServerCreateMode = "PointInTimeRestore"
155)
156
157// PossibleManagedServerCreateModeValues returns an array of possible values for the ManagedServerCreateMode const type.
158func PossibleManagedServerCreateModeValues() []ManagedServerCreateMode {
159	return []ManagedServerCreateMode{ManagedServerCreateModeDefault, ManagedServerCreateModePointInTimeRestore}
160}
161
162// ManagementOperationState enumerates the values for management operation state.
163type ManagementOperationState string
164
165const (
166	// CancelInProgress ...
167	CancelInProgress ManagementOperationState = "CancelInProgress"
168	// Cancelled ...
169	Cancelled ManagementOperationState = "Cancelled"
170	// Failed ...
171	Failed ManagementOperationState = "Failed"
172	// InProgress ...
173	InProgress ManagementOperationState = "InProgress"
174	// Pending ...
175	Pending ManagementOperationState = "Pending"
176	// Succeeded ...
177	Succeeded ManagementOperationState = "Succeeded"
178)
179
180// PossibleManagementOperationStateValues returns an array of possible values for the ManagementOperationState const type.
181func PossibleManagementOperationStateValues() []ManagementOperationState {
182	return []ManagementOperationState{CancelInProgress, Cancelled, Failed, InProgress, Pending, Succeeded}
183}
184
185// ReplicaType enumerates the values for replica type.
186type ReplicaType string
187
188const (
189	// Primary ...
190	Primary ReplicaType = "Primary"
191	// ReadableSecondary ...
192	ReadableSecondary ReplicaType = "ReadableSecondary"
193)
194
195// PossibleReplicaTypeValues returns an array of possible values for the ReplicaType const type.
196func PossibleReplicaTypeValues() []ReplicaType {
197	return []ReplicaType{Primary, ReadableSecondary}
198}
199
200// SecurityAlertPolicyState enumerates the values for security alert policy state.
201type SecurityAlertPolicyState string
202
203const (
204	// SecurityAlertPolicyStateDisabled ...
205	SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled"
206	// SecurityAlertPolicyStateEnabled ...
207	SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled"
208	// SecurityAlertPolicyStateNew ...
209	SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New"
210)
211
212// PossibleSecurityAlertPolicyStateValues returns an array of possible values for the SecurityAlertPolicyState const type.
213func PossibleSecurityAlertPolicyStateValues() []SecurityAlertPolicyState {
214	return []SecurityAlertPolicyState{SecurityAlertPolicyStateDisabled, SecurityAlertPolicyStateEnabled, SecurityAlertPolicyStateNew}
215}
216
217// SensitivityLabelRank enumerates the values for sensitivity label rank.
218type SensitivityLabelRank string
219
220const (
221	// Critical ...
222	Critical SensitivityLabelRank = "Critical"
223	// High ...
224	High SensitivityLabelRank = "High"
225	// Low ...
226	Low SensitivityLabelRank = "Low"
227	// Medium ...
228	Medium SensitivityLabelRank = "Medium"
229	// None ...
230	None SensitivityLabelRank = "None"
231)
232
233// PossibleSensitivityLabelRankValues returns an array of possible values for the SensitivityLabelRank const type.
234func PossibleSensitivityLabelRankValues() []SensitivityLabelRank {
235	return []SensitivityLabelRank{Critical, High, Low, Medium, None}
236}
237
238// SensitivityLabelSource enumerates the values for sensitivity label source.
239type SensitivityLabelSource string
240
241const (
242	// Current ...
243	Current SensitivityLabelSource = "current"
244	// Recommended ...
245	Recommended SensitivityLabelSource = "recommended"
246)
247
248// PossibleSensitivityLabelSourceValues returns an array of possible values for the SensitivityLabelSource const type.
249func PossibleSensitivityLabelSourceValues() []SensitivityLabelSource {
250	return []SensitivityLabelSource{Current, Recommended}
251}
252
253// Status enumerates the values for status.
254type Status string
255
256const (
257	// StatusCanceled ...
258	StatusCanceled Status = "Canceled"
259	// StatusCompleted ...
260	StatusCompleted Status = "Completed"
261	// StatusFailed ...
262	StatusFailed Status = "Failed"
263	// StatusInProgress ...
264	StatusInProgress Status = "InProgress"
265	// StatusNotStarted ...
266	StatusNotStarted Status = "NotStarted"
267	// StatusSlowedDown ...
268	StatusSlowedDown Status = "SlowedDown"
269)
270
271// PossibleStatusValues returns an array of possible values for the Status const type.
272func PossibleStatusValues() []Status {
273	return []Status{StatusCanceled, StatusCompleted, StatusFailed, StatusInProgress, StatusNotStarted, StatusSlowedDown}
274}
275