-
Notifications
You must be signed in to change notification settings - Fork 821
/
models.go
183 lines (169 loc) · 7.92 KB
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
// +build go1.9
// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
package dns
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type HTTPStatusCode = original.HTTPStatusCode
const (
Accepted HTTPStatusCode = original.Accepted
Ambiguous HTTPStatusCode = original.Ambiguous
BadGateway HTTPStatusCode = original.BadGateway
BadRequest HTTPStatusCode = original.BadRequest
Conflict HTTPStatusCode = original.Conflict
Continue HTTPStatusCode = original.Continue
Created HTTPStatusCode = original.Created
ExpectationFailed HTTPStatusCode = original.ExpectationFailed
Forbidden HTTPStatusCode = original.Forbidden
Found HTTPStatusCode = original.Found
GatewayTimeout HTTPStatusCode = original.GatewayTimeout
Gone HTTPStatusCode = original.Gone
HTTPVersionNotSupported HTTPStatusCode = original.HTTPVersionNotSupported
InternalServerError HTTPStatusCode = original.InternalServerError
LengthRequired HTTPStatusCode = original.LengthRequired
MethodNotAllowed HTTPStatusCode = original.MethodNotAllowed
Moved HTTPStatusCode = original.Moved
MovedPermanently HTTPStatusCode = original.MovedPermanently
MultipleChoices HTTPStatusCode = original.MultipleChoices
NoContent HTTPStatusCode = original.NoContent
NonAuthoritativeInformation HTTPStatusCode = original.NonAuthoritativeInformation
NotAcceptable HTTPStatusCode = original.NotAcceptable
NotFound HTTPStatusCode = original.NotFound
NotImplemented HTTPStatusCode = original.NotImplemented
NotModified HTTPStatusCode = original.NotModified
OK HTTPStatusCode = original.OK
PartialContent HTTPStatusCode = original.PartialContent
PaymentRequired HTTPStatusCode = original.PaymentRequired
PreconditionFailed HTTPStatusCode = original.PreconditionFailed
ProxyAuthenticationRequired HTTPStatusCode = original.ProxyAuthenticationRequired
Redirect HTTPStatusCode = original.Redirect
RedirectKeepVerb HTTPStatusCode = original.RedirectKeepVerb
RedirectMethod HTTPStatusCode = original.RedirectMethod
RequestedRangeNotSatisfiable HTTPStatusCode = original.RequestedRangeNotSatisfiable
RequestEntityTooLarge HTTPStatusCode = original.RequestEntityTooLarge
RequestTimeout HTTPStatusCode = original.RequestTimeout
RequestURITooLong HTTPStatusCode = original.RequestURITooLong
ResetContent HTTPStatusCode = original.ResetContent
SeeOther HTTPStatusCode = original.SeeOther
ServiceUnavailable HTTPStatusCode = original.ServiceUnavailable
SwitchingProtocols HTTPStatusCode = original.SwitchingProtocols
TemporaryRedirect HTTPStatusCode = original.TemporaryRedirect
Unauthorized HTTPStatusCode = original.Unauthorized
UnsupportedMediaType HTTPStatusCode = original.UnsupportedMediaType
Unused HTTPStatusCode = original.Unused
UpgradeRequired HTTPStatusCode = original.UpgradeRequired
UseProxy HTTPStatusCode = original.UseProxy
)
type OperationStatus = original.OperationStatus
const (
Failed OperationStatus = original.Failed
InProgress OperationStatus = original.InProgress
Succeeded OperationStatus = original.Succeeded
)
type RecordType = original.RecordType
const (
A RecordType = original.A
AAAA RecordType = original.AAAA
CNAME RecordType = original.CNAME
MX RecordType = original.MX
NS RecordType = original.NS
PTR RecordType = original.PTR
SOA RecordType = original.SOA
SRV RecordType = original.SRV
TXT RecordType = original.TXT
)
type ARecord = original.ARecord
type AaaaRecord = original.AaaaRecord
type AzureEntityResource = original.AzureEntityResource
type BaseClient = original.BaseClient
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CnameRecord = original.CnameRecord
type MxRecord = original.MxRecord
type NsRecord = original.NsRecord
type ProxyResource = original.ProxyResource
type PtrRecord = original.PtrRecord
type RecordSet = original.RecordSet
type RecordSetListResult = original.RecordSetListResult
type RecordSetListResultIterator = original.RecordSetListResultIterator
type RecordSetListResultPage = original.RecordSetListResultPage
type RecordSetProperties = original.RecordSetProperties
type RecordSetUpdateParameters = original.RecordSetUpdateParameters
type RecordSetsClient = original.RecordSetsClient
type Resource = original.Resource
type SoaRecord = original.SoaRecord
type SrvRecord = original.SrvRecord
type SubResource = original.SubResource
type TrackedResource = original.TrackedResource
type TxtRecord = original.TxtRecord
type Zone = original.Zone
type ZoneDeleteResult = original.ZoneDeleteResult
type ZoneListResult = original.ZoneListResult
type ZoneListResultIterator = original.ZoneListResultIterator
type ZoneListResultPage = original.ZoneListResultPage
type ZoneProperties = original.ZoneProperties
type ZonesClient = original.ZonesClient
type ZonesDeleteFuture = original.ZonesDeleteFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewRecordSetListResultIterator(page RecordSetListResultPage) RecordSetListResultIterator {
return original.NewRecordSetListResultIterator(page)
}
func NewRecordSetListResultPage(getNextPage func(context.Context, RecordSetListResult) (RecordSetListResult, error)) RecordSetListResultPage {
return original.NewRecordSetListResultPage(getNextPage)
}
func NewRecordSetsClient(subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClient(subscriptionID)
}
func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewZoneListResultIterator(page ZoneListResultPage) ZoneListResultIterator {
return original.NewZoneListResultIterator(page)
}
func NewZoneListResultPage(getNextPage func(context.Context, ZoneListResult) (ZoneListResult, error)) ZoneListResultPage {
return original.NewZoneListResultPage(getNextPage)
}
func NewZonesClient(subscriptionID string) ZonesClient {
return original.NewZonesClient(subscriptionID)
}
func NewZonesClientWithBaseURI(baseURI string, subscriptionID string) ZonesClient {
return original.NewZonesClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
return original.PossibleHTTPStatusCodeValues()
}
func PossibleOperationStatusValues() []OperationStatus {
return original.PossibleOperationStatusValues()
}
func PossibleRecordTypeValues() []RecordType {
return original.PossibleRecordTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}