...

Source file src/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns

     1  package 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.
    10  type RecordType string
    11  
    12  const (
    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.
    36  func 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.
    41  type ZoneType string
    42  
    43  const (
    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.
    51  func PossibleZoneTypeValues() []ZoneType {
    52  	return []ZoneType{Private, Public}
    53  }
    54  

View as plain text