constants.go raw
1 //go:build go1.18
2 // +build go1.18
3
4 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // Licensed under the MIT License. See License.txt in the project root for license information.
6 // Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
7 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9 package armdns
10
11 const (
12 moduleName = "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dns/armdns"
13 moduleVersion = "v1.2.0"
14 )
15
16 type RecordType string
17
18 const (
19 RecordTypeA RecordType = "A"
20 RecordTypeAAAA RecordType = "AAAA"
21 RecordTypeCAA RecordType = "CAA"
22 RecordTypeCNAME RecordType = "CNAME"
23 RecordTypeMX RecordType = "MX"
24 RecordTypeNS RecordType = "NS"
25 RecordTypePTR RecordType = "PTR"
26 RecordTypeSOA RecordType = "SOA"
27 RecordTypeSRV RecordType = "SRV"
28 RecordTypeTXT RecordType = "TXT"
29 )
30
31 // PossibleRecordTypeValues returns the possible values for the RecordType const type.
32 func PossibleRecordTypeValues() []RecordType {
33 return []RecordType{
34 RecordTypeA,
35 RecordTypeAAAA,
36 RecordTypeCAA,
37 RecordTypeCNAME,
38 RecordTypeMX,
39 RecordTypeNS,
40 RecordTypePTR,
41 RecordTypeSOA,
42 RecordTypeSRV,
43 RecordTypeTXT,
44 }
45 }
46
47 // ZoneType - The type of this DNS zone (Public or Private).
48 type ZoneType string
49
50 const (
51 ZoneTypePrivate ZoneType = "Private"
52 ZoneTypePublic ZoneType = "Public"
53 )
54
55 // PossibleZoneTypeValues returns the possible values for the ZoneType const type.
56 func PossibleZoneTypeValues() []ZoneType {
57 return []ZoneType{
58 ZoneTypePrivate,
59 ZoneTypePublic,
60 }
61 }
62