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