1 package templatespecs 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 // CreatedByType enumerates the values for created by type. 10 type CreatedByType string 11 12 const ( 13 // Application ... 14 Application CreatedByType = "Application" 15 // Key ... 16 Key CreatedByType = "Key" 17 // ManagedIdentity ... 18 ManagedIdentity CreatedByType = "ManagedIdentity" 19 // User ... 20 User CreatedByType = "User" 21 ) 22 23 // PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type. 24 func PossibleCreatedByTypeValues() []CreatedByType { 25 return []CreatedByType{Application, Key, ManagedIdentity, User} 26 } 27 28 // Kind enumerates the values for kind. 29 type Kind string 30 31 const ( 32 // KindTemplate ... 33 KindTemplate Kind = "template" 34 // KindTemplateSpecArtifact ... 35 KindTemplateSpecArtifact Kind = "TemplateSpecArtifact" 36 ) 37 38 // PossibleKindValues returns an array of possible values for the Kind const type. 39 func PossibleKindValues() []Kind { 40 return []Kind{KindTemplate, KindTemplateSpecArtifact} 41 } 42 43 // TemplateSpecExpandKind enumerates the values for template spec expand kind. 44 type TemplateSpecExpandKind string 45 46 const ( 47 // Versions Includes version information with the Template Spec. 48 Versions TemplateSpecExpandKind = "versions" 49 ) 50 51 // PossibleTemplateSpecExpandKindValues returns an array of possible values for the TemplateSpecExpandKind const type. 52 func PossibleTemplateSpecExpandKindValues() []TemplateSpecExpandKind { 53 return []TemplateSpecExpandKind{Versions} 54 } 55