1package dns 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// RecordType enumerates the values for record type. 10type RecordType string 11 12const ( 13 // A ... 14 A RecordType = "A" 15 // AAAA ... 16 AAAA RecordType = "AAAA" 17 // CAA ... 18 CAA RecordType = "CAA" 19 // CNAME ... 20 CNAME RecordType = "CNAME" 21 // MX ... 22 MX RecordType = "MX" 23 // NS ... 24 NS RecordType = "NS" 25 // PTR ... 26 PTR RecordType = "PTR" 27 // SOA ... 28 SOA RecordType = "SOA" 29 // SRV ... 30 SRV RecordType = "SRV" 31 // TXT ... 32 TXT RecordType = "TXT" 33) 34 35// PossibleRecordTypeValues returns an array of possible values for the RecordType const type. 36func PossibleRecordTypeValues() []RecordType { 37 return []RecordType{A, AAAA, CAA, CNAME, MX, NS, PTR, SOA, SRV, TXT} 38} 39 40// ZoneType enumerates the values for zone type. 41type ZoneType string 42 43const ( 44 // Private ... 45 Private ZoneType = "Private" 46 // Public ... 47 Public ZoneType = "Public" 48) 49 50// PossibleZoneTypeValues returns an array of possible values for the ZoneType const type. 51func PossibleZoneTypeValues() []ZoneType { 52 return []ZoneType{Private, Public} 53} 54