1package azuredata 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// IdentityType enumerates the values for identity type. 21type IdentityType string 22 23const ( 24 // Application ... 25 Application IdentityType = "application" 26 // Key ... 27 Key IdentityType = "key" 28 // ManagedIdentity ... 29 ManagedIdentity IdentityType = "managedIdentity" 30 // User ... 31 User IdentityType = "user" 32) 33 34// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. 35func PossibleIdentityTypeValues() []IdentityType { 36 return []IdentityType{Application, Key, ManagedIdentity, User} 37} 38 39// OperationOrigin enumerates the values for operation origin. 40type OperationOrigin string 41 42const ( 43 // OperationOriginSystem ... 44 OperationOriginSystem OperationOrigin = "system" 45 // OperationOriginUser ... 46 OperationOriginUser OperationOrigin = "user" 47) 48 49// PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type. 50func PossibleOperationOriginValues() []OperationOrigin { 51 return []OperationOrigin{OperationOriginSystem, OperationOriginUser} 52} 53 54// ResourceIdentityType enumerates the values for resource identity type. 55type ResourceIdentityType string 56 57const ( 58 // SystemAssigned ... 59 SystemAssigned ResourceIdentityType = "SystemAssigned" 60) 61 62// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 63func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 64 return []ResourceIdentityType{SystemAssigned} 65} 66 67// SkuTier enumerates the values for sku tier. 68type SkuTier string 69 70const ( 71 // Basic ... 72 Basic SkuTier = "Basic" 73 // Free ... 74 Free SkuTier = "Free" 75 // Premium ... 76 Premium SkuTier = "Premium" 77 // Standard ... 78 Standard SkuTier = "Standard" 79) 80 81// PossibleSkuTierValues returns an array of possible values for the SkuTier const type. 82func PossibleSkuTierValues() []SkuTier { 83 return []SkuTier{Basic, Free, Premium, Standard} 84} 85