1package kusto 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// AzureScaleType enumerates the values for azure scale type. 21type AzureScaleType string 22 23const ( 24 // Automatic ... 25 Automatic AzureScaleType = "automatic" 26 // Manual ... 27 Manual AzureScaleType = "manual" 28 // None ... 29 None AzureScaleType = "none" 30) 31 32// PossibleAzureScaleTypeValues returns an array of possible values for the AzureScaleType const type. 33func PossibleAzureScaleTypeValues() []AzureScaleType { 34 return []AzureScaleType{Automatic, Manual, None} 35} 36 37// AzureSkuName enumerates the values for azure sku name. 38type AzureSkuName string 39 40const ( 41 // DevNoSLAStandardD11V2 ... 42 DevNoSLAStandardD11V2 AzureSkuName = "Dev(No SLA)_Standard_D11_v2" 43 // StandardD11V2 ... 44 StandardD11V2 AzureSkuName = "Standard_D11_v2" 45 // StandardD12V2 ... 46 StandardD12V2 AzureSkuName = "Standard_D12_v2" 47 // StandardD13V2 ... 48 StandardD13V2 AzureSkuName = "Standard_D13_v2" 49 // StandardD14V2 ... 50 StandardD14V2 AzureSkuName = "Standard_D14_v2" 51 // StandardDS13V21TBPS ... 52 StandardDS13V21TBPS AzureSkuName = "Standard_DS13_v2+1TB_PS" 53 // StandardDS13V22TBPS ... 54 StandardDS13V22TBPS AzureSkuName = "Standard_DS13_v2+2TB_PS" 55 // StandardDS14V23TBPS ... 56 StandardDS14V23TBPS AzureSkuName = "Standard_DS14_v2+3TB_PS" 57 // StandardDS14V24TBPS ... 58 StandardDS14V24TBPS AzureSkuName = "Standard_DS14_v2+4TB_PS" 59 // StandardL16s ... 60 StandardL16s AzureSkuName = "Standard_L16s" 61 // StandardL4s ... 62 StandardL4s AzureSkuName = "Standard_L4s" 63 // StandardL8s ... 64 StandardL8s AzureSkuName = "Standard_L8s" 65) 66 67// PossibleAzureSkuNameValues returns an array of possible values for the AzureSkuName const type. 68func PossibleAzureSkuNameValues() []AzureSkuName { 69 return []AzureSkuName{DevNoSLAStandardD11V2, StandardD11V2, StandardD12V2, StandardD13V2, StandardD14V2, StandardDS13V21TBPS, StandardDS13V22TBPS, StandardDS14V23TBPS, StandardDS14V24TBPS, StandardL16s, StandardL4s, StandardL8s} 70} 71 72// AzureSkuTier enumerates the values for azure sku tier. 73type AzureSkuTier string 74 75const ( 76 // Basic ... 77 Basic AzureSkuTier = "Basic" 78 // Standard ... 79 Standard AzureSkuTier = "Standard" 80) 81 82// PossibleAzureSkuTierValues returns an array of possible values for the AzureSkuTier const type. 83func PossibleAzureSkuTierValues() []AzureSkuTier { 84 return []AzureSkuTier{Basic, Standard} 85} 86 87// ClusterPrincipalRole enumerates the values for cluster principal role. 88type ClusterPrincipalRole string 89 90const ( 91 // AllDatabasesAdmin ... 92 AllDatabasesAdmin ClusterPrincipalRole = "AllDatabasesAdmin" 93 // AllDatabasesViewer ... 94 AllDatabasesViewer ClusterPrincipalRole = "AllDatabasesViewer" 95) 96 97// PossibleClusterPrincipalRoleValues returns an array of possible values for the ClusterPrincipalRole const type. 98func PossibleClusterPrincipalRoleValues() []ClusterPrincipalRole { 99 return []ClusterPrincipalRole{AllDatabasesAdmin, AllDatabasesViewer} 100} 101 102// Compression enumerates the values for compression. 103type Compression string 104 105const ( 106 // CompressionGZip ... 107 CompressionGZip Compression = "GZip" 108 // CompressionNone ... 109 CompressionNone Compression = "None" 110) 111 112// PossibleCompressionValues returns an array of possible values for the Compression const type. 113func PossibleCompressionValues() []Compression { 114 return []Compression{CompressionGZip, CompressionNone} 115} 116 117// DatabasePrincipalRole enumerates the values for database principal role. 118type DatabasePrincipalRole string 119 120const ( 121 // Admin ... 122 Admin DatabasePrincipalRole = "Admin" 123 // Ingestor ... 124 Ingestor DatabasePrincipalRole = "Ingestor" 125 // Monitor ... 126 Monitor DatabasePrincipalRole = "Monitor" 127 // UnrestrictedViewers ... 128 UnrestrictedViewers DatabasePrincipalRole = "UnrestrictedViewers" 129 // User ... 130 User DatabasePrincipalRole = "User" 131 // Viewer ... 132 Viewer DatabasePrincipalRole = "Viewer" 133) 134 135// PossibleDatabasePrincipalRoleValues returns an array of possible values for the DatabasePrincipalRole const type. 136func PossibleDatabasePrincipalRoleValues() []DatabasePrincipalRole { 137 return []DatabasePrincipalRole{Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer} 138} 139 140// DatabasePrincipalType enumerates the values for database principal type. 141type DatabasePrincipalType string 142 143const ( 144 // DatabasePrincipalTypeApp ... 145 DatabasePrincipalTypeApp DatabasePrincipalType = "App" 146 // DatabasePrincipalTypeGroup ... 147 DatabasePrincipalTypeGroup DatabasePrincipalType = "Group" 148 // DatabasePrincipalTypeUser ... 149 DatabasePrincipalTypeUser DatabasePrincipalType = "User" 150) 151 152// PossibleDatabasePrincipalTypeValues returns an array of possible values for the DatabasePrincipalType const type. 153func PossibleDatabasePrincipalTypeValues() []DatabasePrincipalType { 154 return []DatabasePrincipalType{DatabasePrincipalTypeApp, DatabasePrincipalTypeGroup, DatabasePrincipalTypeUser} 155} 156 157// DefaultPrincipalsModificationKind enumerates the values for default principals modification kind. 158type DefaultPrincipalsModificationKind string 159 160const ( 161 // DefaultPrincipalsModificationKindNone ... 162 DefaultPrincipalsModificationKindNone DefaultPrincipalsModificationKind = "None" 163 // DefaultPrincipalsModificationKindReplace ... 164 DefaultPrincipalsModificationKindReplace DefaultPrincipalsModificationKind = "Replace" 165 // DefaultPrincipalsModificationKindUnion ... 166 DefaultPrincipalsModificationKindUnion DefaultPrincipalsModificationKind = "Union" 167) 168 169// PossibleDefaultPrincipalsModificationKindValues returns an array of possible values for the DefaultPrincipalsModificationKind const type. 170func PossibleDefaultPrincipalsModificationKindValues() []DefaultPrincipalsModificationKind { 171 return []DefaultPrincipalsModificationKind{DefaultPrincipalsModificationKindNone, DefaultPrincipalsModificationKindReplace, DefaultPrincipalsModificationKindUnion} 172} 173 174// EventGridDataFormat enumerates the values for event grid data format. 175type EventGridDataFormat string 176 177const ( 178 // AVRO ... 179 AVRO EventGridDataFormat = "AVRO" 180 // CSV ... 181 CSV EventGridDataFormat = "CSV" 182 // JSON ... 183 JSON EventGridDataFormat = "JSON" 184 // MULTIJSON ... 185 MULTIJSON EventGridDataFormat = "MULTIJSON" 186 // ORC ... 187 ORC EventGridDataFormat = "ORC" 188 // PARQUET ... 189 PARQUET EventGridDataFormat = "PARQUET" 190 // PSV ... 191 PSV EventGridDataFormat = "PSV" 192 // RAW ... 193 RAW EventGridDataFormat = "RAW" 194 // SCSV ... 195 SCSV EventGridDataFormat = "SCSV" 196 // SINGLEJSON ... 197 SINGLEJSON EventGridDataFormat = "SINGLEJSON" 198 // SOHSV ... 199 SOHSV EventGridDataFormat = "SOHSV" 200 // TSV ... 201 TSV EventGridDataFormat = "TSV" 202 // TSVE ... 203 TSVE EventGridDataFormat = "TSVE" 204 // TXT ... 205 TXT EventGridDataFormat = "TXT" 206) 207 208// PossibleEventGridDataFormatValues returns an array of possible values for the EventGridDataFormat const type. 209func PossibleEventGridDataFormatValues() []EventGridDataFormat { 210 return []EventGridDataFormat{AVRO, CSV, JSON, MULTIJSON, ORC, PARQUET, PSV, RAW, SCSV, SINGLEJSON, SOHSV, TSV, TSVE, TXT} 211} 212 213// EventHubDataFormat enumerates the values for event hub data format. 214type EventHubDataFormat string 215 216const ( 217 // EventHubDataFormatAVRO ... 218 EventHubDataFormatAVRO EventHubDataFormat = "AVRO" 219 // EventHubDataFormatCSV ... 220 EventHubDataFormatCSV EventHubDataFormat = "CSV" 221 // EventHubDataFormatJSON ... 222 EventHubDataFormatJSON EventHubDataFormat = "JSON" 223 // EventHubDataFormatMULTIJSON ... 224 EventHubDataFormatMULTIJSON EventHubDataFormat = "MULTIJSON" 225 // EventHubDataFormatORC ... 226 EventHubDataFormatORC EventHubDataFormat = "ORC" 227 // EventHubDataFormatPARQUET ... 228 EventHubDataFormatPARQUET EventHubDataFormat = "PARQUET" 229 // EventHubDataFormatPSV ... 230 EventHubDataFormatPSV EventHubDataFormat = "PSV" 231 // EventHubDataFormatRAW ... 232 EventHubDataFormatRAW EventHubDataFormat = "RAW" 233 // EventHubDataFormatSCSV ... 234 EventHubDataFormatSCSV EventHubDataFormat = "SCSV" 235 // EventHubDataFormatSINGLEJSON ... 236 EventHubDataFormatSINGLEJSON EventHubDataFormat = "SINGLEJSON" 237 // EventHubDataFormatSOHSV ... 238 EventHubDataFormatSOHSV EventHubDataFormat = "SOHSV" 239 // EventHubDataFormatTSV ... 240 EventHubDataFormatTSV EventHubDataFormat = "TSV" 241 // EventHubDataFormatTSVE ... 242 EventHubDataFormatTSVE EventHubDataFormat = "TSVE" 243 // EventHubDataFormatTXT ... 244 EventHubDataFormatTXT EventHubDataFormat = "TXT" 245) 246 247// PossibleEventHubDataFormatValues returns an array of possible values for the EventHubDataFormat const type. 248func PossibleEventHubDataFormatValues() []EventHubDataFormat { 249 return []EventHubDataFormat{EventHubDataFormatAVRO, EventHubDataFormatCSV, EventHubDataFormatJSON, EventHubDataFormatMULTIJSON, EventHubDataFormatORC, EventHubDataFormatPARQUET, EventHubDataFormatPSV, EventHubDataFormatRAW, EventHubDataFormatSCSV, EventHubDataFormatSINGLEJSON, EventHubDataFormatSOHSV, EventHubDataFormatTSV, EventHubDataFormatTSVE, EventHubDataFormatTXT} 250} 251 252// IdentityType enumerates the values for identity type. 253type IdentityType string 254 255const ( 256 // IdentityTypeNone ... 257 IdentityTypeNone IdentityType = "None" 258 // IdentityTypeSystemAssigned ... 259 IdentityTypeSystemAssigned IdentityType = "SystemAssigned" 260) 261 262// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. 263func PossibleIdentityTypeValues() []IdentityType { 264 return []IdentityType{IdentityTypeNone, IdentityTypeSystemAssigned} 265} 266 267// IotHubDataFormat enumerates the values for iot hub data format. 268type IotHubDataFormat string 269 270const ( 271 // IotHubDataFormatAVRO ... 272 IotHubDataFormatAVRO IotHubDataFormat = "AVRO" 273 // IotHubDataFormatCSV ... 274 IotHubDataFormatCSV IotHubDataFormat = "CSV" 275 // IotHubDataFormatJSON ... 276 IotHubDataFormatJSON IotHubDataFormat = "JSON" 277 // IotHubDataFormatMULTIJSON ... 278 IotHubDataFormatMULTIJSON IotHubDataFormat = "MULTIJSON" 279 // IotHubDataFormatORC ... 280 IotHubDataFormatORC IotHubDataFormat = "ORC" 281 // IotHubDataFormatPARQUET ... 282 IotHubDataFormatPARQUET IotHubDataFormat = "PARQUET" 283 // IotHubDataFormatPSV ... 284 IotHubDataFormatPSV IotHubDataFormat = "PSV" 285 // IotHubDataFormatRAW ... 286 IotHubDataFormatRAW IotHubDataFormat = "RAW" 287 // IotHubDataFormatSCSV ... 288 IotHubDataFormatSCSV IotHubDataFormat = "SCSV" 289 // IotHubDataFormatSINGLEJSON ... 290 IotHubDataFormatSINGLEJSON IotHubDataFormat = "SINGLEJSON" 291 // IotHubDataFormatSOHSV ... 292 IotHubDataFormatSOHSV IotHubDataFormat = "SOHSV" 293 // IotHubDataFormatTSV ... 294 IotHubDataFormatTSV IotHubDataFormat = "TSV" 295 // IotHubDataFormatTSVE ... 296 IotHubDataFormatTSVE IotHubDataFormat = "TSVE" 297 // IotHubDataFormatTXT ... 298 IotHubDataFormatTXT IotHubDataFormat = "TXT" 299) 300 301// PossibleIotHubDataFormatValues returns an array of possible values for the IotHubDataFormat const type. 302func PossibleIotHubDataFormatValues() []IotHubDataFormat { 303 return []IotHubDataFormat{IotHubDataFormatAVRO, IotHubDataFormatCSV, IotHubDataFormatJSON, IotHubDataFormatMULTIJSON, IotHubDataFormatORC, IotHubDataFormatPARQUET, IotHubDataFormatPSV, IotHubDataFormatRAW, IotHubDataFormatSCSV, IotHubDataFormatSINGLEJSON, IotHubDataFormatSOHSV, IotHubDataFormatTSV, IotHubDataFormatTSVE, IotHubDataFormatTXT} 304} 305 306// Kind enumerates the values for kind. 307type Kind string 308 309const ( 310 // KindDatabase ... 311 KindDatabase Kind = "Database" 312 // KindReadOnlyFollowing ... 313 KindReadOnlyFollowing Kind = "ReadOnlyFollowing" 314 // KindReadWrite ... 315 KindReadWrite Kind = "ReadWrite" 316) 317 318// PossibleKindValues returns an array of possible values for the Kind const type. 319func PossibleKindValues() []Kind { 320 return []Kind{KindDatabase, KindReadOnlyFollowing, KindReadWrite} 321} 322 323// KindBasicDataConnection enumerates the values for kind basic data connection. 324type KindBasicDataConnection string 325 326const ( 327 // KindDataConnection ... 328 KindDataConnection KindBasicDataConnection = "DataConnection" 329 // KindEventGrid ... 330 KindEventGrid KindBasicDataConnection = "EventGrid" 331 // KindEventHub ... 332 KindEventHub KindBasicDataConnection = "EventHub" 333 // KindIotHub ... 334 KindIotHub KindBasicDataConnection = "IotHub" 335) 336 337// PossibleKindBasicDataConnectionValues returns an array of possible values for the KindBasicDataConnection const type. 338func PossibleKindBasicDataConnectionValues() []KindBasicDataConnection { 339 return []KindBasicDataConnection{KindDataConnection, KindEventGrid, KindEventHub, KindIotHub} 340} 341 342// PrincipalsModificationKind enumerates the values for principals modification kind. 343type PrincipalsModificationKind string 344 345const ( 346 // PrincipalsModificationKindNone ... 347 PrincipalsModificationKindNone PrincipalsModificationKind = "None" 348 // PrincipalsModificationKindReplace ... 349 PrincipalsModificationKindReplace PrincipalsModificationKind = "Replace" 350 // PrincipalsModificationKindUnion ... 351 PrincipalsModificationKindUnion PrincipalsModificationKind = "Union" 352) 353 354// PossiblePrincipalsModificationKindValues returns an array of possible values for the PrincipalsModificationKind const type. 355func PossiblePrincipalsModificationKindValues() []PrincipalsModificationKind { 356 return []PrincipalsModificationKind{PrincipalsModificationKindNone, PrincipalsModificationKindReplace, PrincipalsModificationKindUnion} 357} 358 359// PrincipalType enumerates the values for principal type. 360type PrincipalType string 361 362const ( 363 // PrincipalTypeApp ... 364 PrincipalTypeApp PrincipalType = "App" 365 // PrincipalTypeGroup ... 366 PrincipalTypeGroup PrincipalType = "Group" 367 // PrincipalTypeUser ... 368 PrincipalTypeUser PrincipalType = "User" 369) 370 371// PossiblePrincipalTypeValues returns an array of possible values for the PrincipalType const type. 372func PossiblePrincipalTypeValues() []PrincipalType { 373 return []PrincipalType{PrincipalTypeApp, PrincipalTypeGroup, PrincipalTypeUser} 374} 375 376// ProvisioningState enumerates the values for provisioning state. 377type ProvisioningState string 378 379const ( 380 // Creating ... 381 Creating ProvisioningState = "Creating" 382 // Deleting ... 383 Deleting ProvisioningState = "Deleting" 384 // Failed ... 385 Failed ProvisioningState = "Failed" 386 // Moving ... 387 Moving ProvisioningState = "Moving" 388 // Running ... 389 Running ProvisioningState = "Running" 390 // Succeeded ... 391 Succeeded ProvisioningState = "Succeeded" 392) 393 394// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 395func PossibleProvisioningStateValues() []ProvisioningState { 396 return []ProvisioningState{Creating, Deleting, Failed, Moving, Running, Succeeded} 397} 398 399// Reason enumerates the values for reason. 400type Reason string 401 402const ( 403 // AlreadyExists ... 404 AlreadyExists Reason = "AlreadyExists" 405 // Invalid ... 406 Invalid Reason = "Invalid" 407) 408 409// PossibleReasonValues returns an array of possible values for the Reason const type. 410func PossibleReasonValues() []Reason { 411 return []Reason{AlreadyExists, Invalid} 412} 413 414// State enumerates the values for state. 415type State string 416 417const ( 418 // StateCreating ... 419 StateCreating State = "Creating" 420 // StateDeleted ... 421 StateDeleted State = "Deleted" 422 // StateDeleting ... 423 StateDeleting State = "Deleting" 424 // StateRunning ... 425 StateRunning State = "Running" 426 // StateStarting ... 427 StateStarting State = "Starting" 428 // StateStopped ... 429 StateStopped State = "Stopped" 430 // StateStopping ... 431 StateStopping State = "Stopping" 432 // StateUnavailable ... 433 StateUnavailable State = "Unavailable" 434 // StateUpdating ... 435 StateUpdating State = "Updating" 436) 437 438// PossibleStateValues returns an array of possible values for the State const type. 439func PossibleStateValues() []State { 440 return []State{StateCreating, StateDeleted, StateDeleting, StateRunning, StateStarting, StateStopped, StateStopping, StateUnavailable, StateUpdating} 441} 442 443// Type enumerates the values for type. 444type Type string 445 446const ( 447 // MicrosoftKustoclustersattachedDatabaseConfigurations ... 448 MicrosoftKustoclustersattachedDatabaseConfigurations Type = "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" 449 // MicrosoftKustoclustersdatabases ... 450 MicrosoftKustoclustersdatabases Type = "Microsoft.Kusto/clusters/databases" 451) 452 453// PossibleTypeValues returns an array of possible values for the Type const type. 454func PossibleTypeValues() []Type { 455 return []Type{MicrosoftKustoclustersattachedDatabaseConfigurations, MicrosoftKustoclustersdatabases} 456} 457