1package signalr 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// FeatureFlags enumerates the values for feature flags. 21type FeatureFlags string 22 23const ( 24 // EnableConnectivityLogs ... 25 EnableConnectivityLogs FeatureFlags = "EnableConnectivityLogs" 26 // ServiceMode ... 27 ServiceMode FeatureFlags = "ServiceMode" 28) 29 30// PossibleFeatureFlagsValues returns an array of possible values for the FeatureFlags const type. 31func PossibleFeatureFlagsValues() []FeatureFlags { 32 return []FeatureFlags{EnableConnectivityLogs, ServiceMode} 33} 34 35// KeyType enumerates the values for key type. 36type KeyType string 37 38const ( 39 // Primary ... 40 Primary KeyType = "Primary" 41 // Secondary ... 42 Secondary KeyType = "Secondary" 43) 44 45// PossibleKeyTypeValues returns an array of possible values for the KeyType const type. 46func PossibleKeyTypeValues() []KeyType { 47 return []KeyType{Primary, Secondary} 48} 49 50// ProvisioningState enumerates the values for provisioning state. 51type ProvisioningState string 52 53const ( 54 // Canceled ... 55 Canceled ProvisioningState = "Canceled" 56 // Creating ... 57 Creating ProvisioningState = "Creating" 58 // Deleting ... 59 Deleting ProvisioningState = "Deleting" 60 // Failed ... 61 Failed ProvisioningState = "Failed" 62 // Moving ... 63 Moving ProvisioningState = "Moving" 64 // Running ... 65 Running ProvisioningState = "Running" 66 // Succeeded ... 67 Succeeded ProvisioningState = "Succeeded" 68 // Unknown ... 69 Unknown ProvisioningState = "Unknown" 70 // Updating ... 71 Updating ProvisioningState = "Updating" 72) 73 74// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 75func PossibleProvisioningStateValues() []ProvisioningState { 76 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Moving, Running, Succeeded, Unknown, Updating} 77} 78 79// SkuTier enumerates the values for sku tier. 80type SkuTier string 81 82const ( 83 // Basic ... 84 Basic SkuTier = "Basic" 85 // Free ... 86 Free SkuTier = "Free" 87 // Premium ... 88 Premium SkuTier = "Premium" 89 // Standard ... 90 Standard SkuTier = "Standard" 91) 92 93// PossibleSkuTierValues returns an array of possible values for the SkuTier const type. 94func PossibleSkuTierValues() []SkuTier { 95 return []SkuTier{Basic, Free, Premium, Standard} 96} 97