1package sqlvirtualmachine 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// BackupScheduleType enumerates the values for backup schedule type. 10type BackupScheduleType string 11 12const ( 13 // Automated ... 14 Automated BackupScheduleType = "Automated" 15 // Manual ... 16 Manual BackupScheduleType = "Manual" 17) 18 19// PossibleBackupScheduleTypeValues returns an array of possible values for the BackupScheduleType const type. 20func PossibleBackupScheduleTypeValues() []BackupScheduleType { 21 return []BackupScheduleType{Automated, Manual} 22} 23 24// ClusterConfiguration enumerates the values for cluster configuration. 25type ClusterConfiguration string 26 27const ( 28 // Domainful ... 29 Domainful ClusterConfiguration = "Domainful" 30) 31 32// PossibleClusterConfigurationValues returns an array of possible values for the ClusterConfiguration const type. 33func PossibleClusterConfigurationValues() []ClusterConfiguration { 34 return []ClusterConfiguration{Domainful} 35} 36 37// ClusterManagerType enumerates the values for cluster manager type. 38type ClusterManagerType string 39 40const ( 41 // WSFC ... 42 WSFC ClusterManagerType = "WSFC" 43) 44 45// PossibleClusterManagerTypeValues returns an array of possible values for the ClusterManagerType const type. 46func PossibleClusterManagerTypeValues() []ClusterManagerType { 47 return []ClusterManagerType{WSFC} 48} 49 50// ConnectivityType enumerates the values for connectivity type. 51type ConnectivityType string 52 53const ( 54 // LOCAL ... 55 LOCAL ConnectivityType = "LOCAL" 56 // PRIVATE ... 57 PRIVATE ConnectivityType = "PRIVATE" 58 // PUBLIC ... 59 PUBLIC ConnectivityType = "PUBLIC" 60) 61 62// PossibleConnectivityTypeValues returns an array of possible values for the ConnectivityType const type. 63func PossibleConnectivityTypeValues() []ConnectivityType { 64 return []ConnectivityType{LOCAL, PRIVATE, PUBLIC} 65} 66 67// DayOfWeek enumerates the values for day of week. 68type DayOfWeek string 69 70const ( 71 // Friday ... 72 Friday DayOfWeek = "Friday" 73 // Monday ... 74 Monday DayOfWeek = "Monday" 75 // Saturday ... 76 Saturday DayOfWeek = "Saturday" 77 // Sunday ... 78 Sunday DayOfWeek = "Sunday" 79 // Thursday ... 80 Thursday DayOfWeek = "Thursday" 81 // Tuesday ... 82 Tuesday DayOfWeek = "Tuesday" 83 // Wednesday ... 84 Wednesday DayOfWeek = "Wednesday" 85) 86 87// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type. 88func PossibleDayOfWeekValues() []DayOfWeek { 89 return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday} 90} 91 92// DiskConfigurationType enumerates the values for disk configuration type. 93type DiskConfigurationType string 94 95const ( 96 // ADD ... 97 ADD DiskConfigurationType = "ADD" 98 // EXTEND ... 99 EXTEND DiskConfigurationType = "EXTEND" 100 // NEW ... 101 NEW DiskConfigurationType = "NEW" 102) 103 104// PossibleDiskConfigurationTypeValues returns an array of possible values for the DiskConfigurationType const type. 105func PossibleDiskConfigurationTypeValues() []DiskConfigurationType { 106 return []DiskConfigurationType{ADD, EXTEND, NEW} 107} 108 109// FullBackupFrequencyType enumerates the values for full backup frequency type. 110type FullBackupFrequencyType string 111 112const ( 113 // Daily ... 114 Daily FullBackupFrequencyType = "Daily" 115 // Weekly ... 116 Weekly FullBackupFrequencyType = "Weekly" 117) 118 119// PossibleFullBackupFrequencyTypeValues returns an array of possible values for the FullBackupFrequencyType const type. 120func PossibleFullBackupFrequencyTypeValues() []FullBackupFrequencyType { 121 return []FullBackupFrequencyType{Daily, Weekly} 122} 123 124// IdentityType enumerates the values for identity type. 125type IdentityType string 126 127const ( 128 // SystemAssigned ... 129 SystemAssigned IdentityType = "SystemAssigned" 130) 131 132// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. 133func PossibleIdentityTypeValues() []IdentityType { 134 return []IdentityType{SystemAssigned} 135} 136 137// OperationOrigin enumerates the values for operation origin. 138type OperationOrigin string 139 140const ( 141 // System ... 142 System OperationOrigin = "system" 143 // User ... 144 User OperationOrigin = "user" 145) 146 147// PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type. 148func PossibleOperationOriginValues() []OperationOrigin { 149 return []OperationOrigin{System, User} 150} 151 152// ScaleType enumerates the values for scale type. 153type ScaleType string 154 155const ( 156 // HA ... 157 HA ScaleType = "HA" 158) 159 160// PossibleScaleTypeValues returns an array of possible values for the ScaleType const type. 161func PossibleScaleTypeValues() []ScaleType { 162 return []ScaleType{HA} 163} 164 165// SQLImageSku enumerates the values for sql image sku. 166type SQLImageSku string 167 168const ( 169 // Developer ... 170 Developer SQLImageSku = "Developer" 171 // Enterprise ... 172 Enterprise SQLImageSku = "Enterprise" 173 // Express ... 174 Express SQLImageSku = "Express" 175 // Standard ... 176 Standard SQLImageSku = "Standard" 177 // Web ... 178 Web SQLImageSku = "Web" 179) 180 181// PossibleSQLImageSkuValues returns an array of possible values for the SQLImageSku const type. 182func PossibleSQLImageSkuValues() []SQLImageSku { 183 return []SQLImageSku{Developer, Enterprise, Express, Standard, Web} 184} 185 186// SQLManagementMode enumerates the values for sql management mode. 187type SQLManagementMode string 188 189const ( 190 // Full ... 191 Full SQLManagementMode = "Full" 192 // LightWeight ... 193 LightWeight SQLManagementMode = "LightWeight" 194 // NoAgent ... 195 NoAgent SQLManagementMode = "NoAgent" 196) 197 198// PossibleSQLManagementModeValues returns an array of possible values for the SQLManagementMode const type. 199func PossibleSQLManagementModeValues() []SQLManagementMode { 200 return []SQLManagementMode{Full, LightWeight, NoAgent} 201} 202 203// SQLServerLicenseType enumerates the values for sql server license type. 204type SQLServerLicenseType string 205 206const ( 207 // AHUB ... 208 AHUB SQLServerLicenseType = "AHUB" 209 // DR ... 210 DR SQLServerLicenseType = "DR" 211 // PAYG ... 212 PAYG SQLServerLicenseType = "PAYG" 213) 214 215// PossibleSQLServerLicenseTypeValues returns an array of possible values for the SQLServerLicenseType const type. 216func PossibleSQLServerLicenseTypeValues() []SQLServerLicenseType { 217 return []SQLServerLicenseType{AHUB, DR, PAYG} 218} 219 220// SQLVMGroupImageSku enumerates the values for sqlvm group image sku. 221type SQLVMGroupImageSku string 222 223const ( 224 // SQLVMGroupImageSkuDeveloper ... 225 SQLVMGroupImageSkuDeveloper SQLVMGroupImageSku = "Developer" 226 // SQLVMGroupImageSkuEnterprise ... 227 SQLVMGroupImageSkuEnterprise SQLVMGroupImageSku = "Enterprise" 228) 229 230// PossibleSQLVMGroupImageSkuValues returns an array of possible values for the SQLVMGroupImageSku const type. 231func PossibleSQLVMGroupImageSkuValues() []SQLVMGroupImageSku { 232 return []SQLVMGroupImageSku{SQLVMGroupImageSkuDeveloper, SQLVMGroupImageSkuEnterprise} 233} 234 235// SQLWorkloadType enumerates the values for sql workload type. 236type SQLWorkloadType string 237 238const ( 239 // DW ... 240 DW SQLWorkloadType = "DW" 241 // GENERAL ... 242 GENERAL SQLWorkloadType = "GENERAL" 243 // OLTP ... 244 OLTP SQLWorkloadType = "OLTP" 245) 246 247// PossibleSQLWorkloadTypeValues returns an array of possible values for the SQLWorkloadType const type. 248func PossibleSQLWorkloadTypeValues() []SQLWorkloadType { 249 return []SQLWorkloadType{DW, GENERAL, OLTP} 250} 251 252// StorageWorkloadType enumerates the values for storage workload type. 253type StorageWorkloadType string 254 255const ( 256 // StorageWorkloadTypeDW ... 257 StorageWorkloadTypeDW StorageWorkloadType = "DW" 258 // StorageWorkloadTypeGENERAL ... 259 StorageWorkloadTypeGENERAL StorageWorkloadType = "GENERAL" 260 // StorageWorkloadTypeOLTP ... 261 StorageWorkloadTypeOLTP StorageWorkloadType = "OLTP" 262) 263 264// PossibleStorageWorkloadTypeValues returns an array of possible values for the StorageWorkloadType const type. 265func PossibleStorageWorkloadTypeValues() []StorageWorkloadType { 266 return []StorageWorkloadType{StorageWorkloadTypeDW, StorageWorkloadTypeGENERAL, StorageWorkloadTypeOLTP} 267} 268