1 package media 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 // EntityNameUnavailabilityReason enumerates the values for entity name unavailability reason. 10 type EntityNameUnavailabilityReason string 11 12 const ( 13 // AlreadyExists ... 14 AlreadyExists EntityNameUnavailabilityReason = "AlreadyExists" 15 // Invalid ... 16 Invalid EntityNameUnavailabilityReason = "Invalid" 17 // None ... 18 None EntityNameUnavailabilityReason = "None" 19 ) 20 21 // PossibleEntityNameUnavailabilityReasonValues returns an array of possible values for the EntityNameUnavailabilityReason const type. 22 func PossibleEntityNameUnavailabilityReasonValues() []EntityNameUnavailabilityReason { 23 return []EntityNameUnavailabilityReason{AlreadyExists, Invalid, None} 24 } 25 26 // KeyType enumerates the values for key type. 27 type KeyType string 28 29 const ( 30 // Primary ... 31 Primary KeyType = "Primary" 32 // Secondary ... 33 Secondary KeyType = "Secondary" 34 ) 35 36 // PossibleKeyTypeValues returns an array of possible values for the KeyType const type. 37 func PossibleKeyTypeValues() []KeyType { 38 return []KeyType{Primary, Secondary} 39 } 40 41 // ResourceType enumerates the values for resource type. 42 type ResourceType string 43 44 const ( 45 // Mediaservices ... 46 Mediaservices ResourceType = "mediaservices" 47 ) 48 49 // PossibleResourceTypeValues returns an array of possible values for the ResourceType const type. 50 func PossibleResourceTypeValues() []ResourceType { 51 return []ResourceType{Mediaservices} 52 } 53