1package privatedns 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// ProvisioningState enumerates the values for provisioning state. 21type ProvisioningState string 22 23const ( 24 // Canceled ... 25 Canceled ProvisioningState = "Canceled" 26 // Creating ... 27 Creating ProvisioningState = "Creating" 28 // Deleting ... 29 Deleting ProvisioningState = "Deleting" 30 // Failed ... 31 Failed ProvisioningState = "Failed" 32 // Succeeded ... 33 Succeeded ProvisioningState = "Succeeded" 34 // Updating ... 35 Updating ProvisioningState = "Updating" 36) 37 38// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 39func PossibleProvisioningStateValues() []ProvisioningState { 40 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Succeeded, Updating} 41} 42 43// RecordType enumerates the values for record type. 44type RecordType string 45 46const ( 47 // A ... 48 A RecordType = "A" 49 // AAAA ... 50 AAAA RecordType = "AAAA" 51 // CNAME ... 52 CNAME RecordType = "CNAME" 53 // MX ... 54 MX RecordType = "MX" 55 // PTR ... 56 PTR RecordType = "PTR" 57 // SOA ... 58 SOA RecordType = "SOA" 59 // SRV ... 60 SRV RecordType = "SRV" 61 // TXT ... 62 TXT RecordType = "TXT" 63) 64 65// PossibleRecordTypeValues returns an array of possible values for the RecordType const type. 66func PossibleRecordTypeValues() []RecordType { 67 return []RecordType{A, AAAA, CNAME, MX, PTR, SOA, SRV, TXT} 68} 69 70// VirtualNetworkLinkState enumerates the values for virtual network link state. 71type VirtualNetworkLinkState string 72 73const ( 74 // Completed ... 75 Completed VirtualNetworkLinkState = "Completed" 76 // InProgress ... 77 InProgress VirtualNetworkLinkState = "InProgress" 78) 79 80// PossibleVirtualNetworkLinkStateValues returns an array of possible values for the VirtualNetworkLinkState const type. 81func PossibleVirtualNetworkLinkStateValues() []VirtualNetworkLinkState { 82 return []VirtualNetworkLinkState{Completed, InProgress} 83} 84