1package kusto 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// AzureScaleType enumerates the values for azure scale type. 10type AzureScaleType string 11 12const ( 13 // Automatic ... 14 Automatic AzureScaleType = "automatic" 15 // Manual ... 16 Manual AzureScaleType = "manual" 17 // None ... 18 None AzureScaleType = "none" 19) 20 21// PossibleAzureScaleTypeValues returns an array of possible values for the AzureScaleType const type. 22func PossibleAzureScaleTypeValues() []AzureScaleType { 23 return []AzureScaleType{Automatic, Manual, None} 24} 25 26// AzureSkuName enumerates the values for azure sku name. 27type AzureSkuName string 28 29const ( 30 // DevNoSLAStandardD11V2 ... 31 DevNoSLAStandardD11V2 AzureSkuName = "Dev(No SLA)_Standard_D11_v2" 32 // StandardD11V2 ... 33 StandardD11V2 AzureSkuName = "Standard_D11_v2" 34 // StandardD12V2 ... 35 StandardD12V2 AzureSkuName = "Standard_D12_v2" 36 // StandardD13V2 ... 37 StandardD13V2 AzureSkuName = "Standard_D13_v2" 38 // StandardD14V2 ... 39 StandardD14V2 AzureSkuName = "Standard_D14_v2" 40 // StandardDS13V21TBPS ... 41 StandardDS13V21TBPS AzureSkuName = "Standard_DS13_v2+1TB_PS" 42 // StandardDS13V22TBPS ... 43 StandardDS13V22TBPS AzureSkuName = "Standard_DS13_v2+2TB_PS" 44 // StandardDS14V23TBPS ... 45 StandardDS14V23TBPS AzureSkuName = "Standard_DS14_v2+3TB_PS" 46 // StandardDS14V24TBPS ... 47 StandardDS14V24TBPS AzureSkuName = "Standard_DS14_v2+4TB_PS" 48 // StandardL16s ... 49 StandardL16s AzureSkuName = "Standard_L16s" 50 // StandardL4s ... 51 StandardL4s AzureSkuName = "Standard_L4s" 52 // StandardL8s ... 53 StandardL8s AzureSkuName = "Standard_L8s" 54) 55 56// PossibleAzureSkuNameValues returns an array of possible values for the AzureSkuName const type. 57func PossibleAzureSkuNameValues() []AzureSkuName { 58 return []AzureSkuName{DevNoSLAStandardD11V2, StandardD11V2, StandardD12V2, StandardD13V2, StandardD14V2, StandardDS13V21TBPS, StandardDS13V22TBPS, StandardDS14V23TBPS, StandardDS14V24TBPS, StandardL16s, StandardL4s, StandardL8s} 59} 60 61// AzureSkuTier enumerates the values for azure sku tier. 62type AzureSkuTier string 63 64const ( 65 // Basic ... 66 Basic AzureSkuTier = "Basic" 67 // Standard ... 68 Standard AzureSkuTier = "Standard" 69) 70 71// PossibleAzureSkuTierValues returns an array of possible values for the AzureSkuTier const type. 72func PossibleAzureSkuTierValues() []AzureSkuTier { 73 return []AzureSkuTier{Basic, Standard} 74} 75 76// DatabasePrincipalRole enumerates the values for database principal role. 77type DatabasePrincipalRole string 78 79const ( 80 // Admin ... 81 Admin DatabasePrincipalRole = "Admin" 82 // Ingestor ... 83 Ingestor DatabasePrincipalRole = "Ingestor" 84 // Monitor ... 85 Monitor DatabasePrincipalRole = "Monitor" 86 // UnrestrictedViewers ... 87 UnrestrictedViewers DatabasePrincipalRole = "UnrestrictedViewers" 88 // User ... 89 User DatabasePrincipalRole = "User" 90 // Viewer ... 91 Viewer DatabasePrincipalRole = "Viewer" 92) 93 94// PossibleDatabasePrincipalRoleValues returns an array of possible values for the DatabasePrincipalRole const type. 95func PossibleDatabasePrincipalRoleValues() []DatabasePrincipalRole { 96 return []DatabasePrincipalRole{Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer} 97} 98 99// DatabasePrincipalType enumerates the values for database principal type. 100type DatabasePrincipalType string 101 102const ( 103 // DatabasePrincipalTypeApp ... 104 DatabasePrincipalTypeApp DatabasePrincipalType = "App" 105 // DatabasePrincipalTypeGroup ... 106 DatabasePrincipalTypeGroup DatabasePrincipalType = "Group" 107 // DatabasePrincipalTypeUser ... 108 DatabasePrincipalTypeUser DatabasePrincipalType = "User" 109) 110 111// PossibleDatabasePrincipalTypeValues returns an array of possible values for the DatabasePrincipalType const type. 112func PossibleDatabasePrincipalTypeValues() []DatabasePrincipalType { 113 return []DatabasePrincipalType{DatabasePrincipalTypeApp, DatabasePrincipalTypeGroup, DatabasePrincipalTypeUser} 114} 115 116// DataFormat enumerates the values for data format. 117type DataFormat string 118 119const ( 120 // AVRO ... 121 AVRO DataFormat = "AVRO" 122 // CSV ... 123 CSV DataFormat = "CSV" 124 // JSON ... 125 JSON DataFormat = "JSON" 126 // MULTIJSON ... 127 MULTIJSON DataFormat = "MULTIJSON" 128 // PSV ... 129 PSV DataFormat = "PSV" 130 // RAW ... 131 RAW DataFormat = "RAW" 132 // SCSV ... 133 SCSV DataFormat = "SCSV" 134 // SINGLEJSON ... 135 SINGLEJSON DataFormat = "SINGLEJSON" 136 // SOHSV ... 137 SOHSV DataFormat = "SOHSV" 138 // TSV ... 139 TSV DataFormat = "TSV" 140 // TXT ... 141 TXT DataFormat = "TXT" 142) 143 144// PossibleDataFormatValues returns an array of possible values for the DataFormat const type. 145func PossibleDataFormatValues() []DataFormat { 146 return []DataFormat{AVRO, CSV, JSON, MULTIJSON, PSV, RAW, SCSV, SINGLEJSON, SOHSV, TSV, TXT} 147} 148 149// Kind enumerates the values for kind. 150type Kind string 151 152const ( 153 // KindDataConnection ... 154 KindDataConnection Kind = "DataConnection" 155 // KindEventGrid ... 156 KindEventGrid Kind = "EventGrid" 157 // KindEventHub ... 158 KindEventHub Kind = "EventHub" 159) 160 161// PossibleKindValues returns an array of possible values for the Kind const type. 162func PossibleKindValues() []Kind { 163 return []Kind{KindDataConnection, KindEventGrid, KindEventHub} 164} 165 166// ProvisioningState enumerates the values for provisioning state. 167type ProvisioningState string 168 169const ( 170 // Creating ... 171 Creating ProvisioningState = "Creating" 172 // Deleting ... 173 Deleting ProvisioningState = "Deleting" 174 // Failed ... 175 Failed ProvisioningState = "Failed" 176 // Running ... 177 Running ProvisioningState = "Running" 178 // Succeeded ... 179 Succeeded ProvisioningState = "Succeeded" 180) 181 182// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 183func PossibleProvisioningStateValues() []ProvisioningState { 184 return []ProvisioningState{Creating, Deleting, Failed, Running, Succeeded} 185} 186 187// Reason enumerates the values for reason. 188type Reason string 189 190const ( 191 // AlreadyExists ... 192 AlreadyExists Reason = "AlreadyExists" 193 // Invalid ... 194 Invalid Reason = "Invalid" 195) 196 197// PossibleReasonValues returns an array of possible values for the Reason const type. 198func PossibleReasonValues() []Reason { 199 return []Reason{AlreadyExists, Invalid} 200} 201 202// State enumerates the values for state. 203type State string 204 205const ( 206 // StateCreating ... 207 StateCreating State = "Creating" 208 // StateDeleted ... 209 StateDeleted State = "Deleted" 210 // StateDeleting ... 211 StateDeleting State = "Deleting" 212 // StateRunning ... 213 StateRunning State = "Running" 214 // StateStarting ... 215 StateStarting State = "Starting" 216 // StateStopped ... 217 StateStopped State = "Stopped" 218 // StateStopping ... 219 StateStopping State = "Stopping" 220 // StateUnavailable ... 221 StateUnavailable State = "Unavailable" 222 // StateUpdating ... 223 StateUpdating State = "Updating" 224) 225 226// PossibleStateValues returns an array of possible values for the State const type. 227func PossibleStateValues() []State { 228 return []State{StateCreating, StateDeleted, StateDeleting, StateRunning, StateStarting, StateStopped, StateStopping, StateUnavailable, StateUpdating} 229} 230