@azure/arm-dns 5.1.1-alpha.20241024.1 → 5.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -10
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1371 -579
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js +15 -8
- package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js.map +1 -1
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js +38 -0
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsGetSample.js +38 -0
- package/dist-esm/samples-dev/dnssecConfigsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js +54 -0
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js.map +1 -0
- package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +213 -79
- package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/recordSetsDeleteSample.js +124 -57
- package/dist-esm/samples-dev/recordSetsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/recordSetsGetSample.js +107 -40
- package/dist-esm/samples-dev/recordSetsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js +12 -5
- package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js.map +1 -1
- package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js +11 -4
- package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js.map +1 -1
- package/dist-esm/samples-dev/recordSetsListByTypeSample.js +166 -54
- package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/recordSetsUpdateSample.js +110 -40
- package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/zonesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/zonesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/zonesGetSample.js +11 -4
- package/dist-esm/samples-dev/zonesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/zonesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/zonesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/zonesListSample.js +10 -3
- package/dist-esm/samples-dev/zonesListSample.js.map +1 -1
- package/dist-esm/samples-dev/zonesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/zonesUpdateSample.js.map +1 -1
- package/dist-esm/src/dnsManagementClient.d.ts +3 -3
- package/dist-esm/src/dnsManagementClient.d.ts.map +1 -1
- package/dist-esm/src/dnsManagementClient.js +13 -12
- package/dist-esm/src/dnsManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +256 -32
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +13 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +692 -262
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -6
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +106 -96
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dnsResourceReferenceOperations.js +5 -5
- package/dist-esm/src/operations/dnsResourceReferenceOperations.js.map +1 -1
- package/dist-esm/src/operations/dnssecConfigs.d.ts +74 -0
- package/dist-esm/src/operations/dnssecConfigs.d.ts.map +1 -0
- package/dist-esm/src/operations/dnssecConfigs.js +348 -0
- package/dist-esm/src/operations/dnssecConfigs.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/recordSets.d.ts +22 -22
- package/dist-esm/src/operations/recordSets.js +87 -102
- package/dist-esm/src/operations/recordSets.js.map +1 -1
- package/dist-esm/src/operations/zones.d.ts +10 -10
- package/dist-esm/src/operations/zones.d.ts.map +1 -1
- package/dist-esm/src/operations/zones.js +66 -64
- package/dist-esm/src/operations/zones.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dnssecConfigs.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnssecConfigs.js +9 -0
- package/dist-esm/src/operationsInterfaces/dnssecConfigs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/recordSets.d.ts +14 -14
- package/dist-esm/src/operationsInterfaces/zones.d.ts +8 -8
- package/dist-esm/src/operationsInterfaces/zones.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/dns_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/dns_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/dns_operations_test.spec.js +114 -0
- package/dist-esm/test/dns_operations_test.spec.js.map +1 -0
- package/package.json +31 -31
- package/review/arm-dns.api.md +157 -12
- package/src/dnsManagementClient.ts +25 -22
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +290 -44
- package/src/models/mappers.ts +706 -263
- package/src/models/parameters.ts +113 -103
- package/src/operations/dnsResourceReferenceOperations.ts +11 -11
- package/src/operations/dnssecConfigs.ts +468 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/recordSets.ts +138 -160
- package/src/operations/zones.ts +107 -111
- package/src/operationsInterfaces/dnsResourceReferenceOperations.ts +2 -2
- package/src/operationsInterfaces/dnssecConfigs.ts +95 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/recordSets.ts +22 -22
- package/src/operationsInterfaces/zones.ts +15 -15
- package/src/pagingHelper.ts +5 -5
- package/types/arm-dns.d.ts +338 -46
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -36,11 +36,11 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRest
|
|
|
36
36
|
*/
|
|
37
37
|
const pageMap = new WeakMap();
|
|
38
38
|
/**
|
|
39
|
-
* Given
|
|
40
|
-
* continuation token that can be used to begin paging from
|
|
39
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
+
* returns a continuation token that can be used to begin paging from
|
|
41
41
|
* that point later.
|
|
42
|
-
* @param page
|
|
43
|
-
* @returns The continuation token that can be passed into byPage().
|
|
42
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
44
|
*/
|
|
45
45
|
function getContinuationToken(page) {
|
|
46
46
|
var _a;
|
|
@@ -66,6 +66,297 @@ function setContinuationToken(page, continuationToken) {
|
|
|
66
66
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
67
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
68
|
*/
|
|
69
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
70
|
+
exports.KnownCreatedByType = void 0;
|
|
71
|
+
(function (KnownCreatedByType) {
|
|
72
|
+
/** User */
|
|
73
|
+
KnownCreatedByType["User"] = "User";
|
|
74
|
+
/** Application */
|
|
75
|
+
KnownCreatedByType["Application"] = "Application";
|
|
76
|
+
/** ManagedIdentity */
|
|
77
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
78
|
+
/** Key */
|
|
79
|
+
KnownCreatedByType["Key"] = "Key";
|
|
80
|
+
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* Copyright (c) Microsoft Corporation.
|
|
84
|
+
* Licensed under the MIT License.
|
|
85
|
+
*
|
|
86
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
87
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
88
|
+
*/
|
|
89
|
+
const DnssecConfig = {
|
|
90
|
+
type: {
|
|
91
|
+
name: "Composite",
|
|
92
|
+
className: "DnssecConfig",
|
|
93
|
+
modelProperties: {
|
|
94
|
+
id: {
|
|
95
|
+
serializedName: "id",
|
|
96
|
+
readOnly: true,
|
|
97
|
+
type: {
|
|
98
|
+
name: "String",
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
name: {
|
|
102
|
+
serializedName: "name",
|
|
103
|
+
readOnly: true,
|
|
104
|
+
type: {
|
|
105
|
+
name: "String",
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
type: {
|
|
109
|
+
serializedName: "type",
|
|
110
|
+
readOnly: true,
|
|
111
|
+
type: {
|
|
112
|
+
name: "String",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
etag: {
|
|
116
|
+
serializedName: "etag",
|
|
117
|
+
type: {
|
|
118
|
+
name: "String",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
systemData: {
|
|
122
|
+
serializedName: "systemData",
|
|
123
|
+
type: {
|
|
124
|
+
name: "Composite",
|
|
125
|
+
className: "SystemData",
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
provisioningState: {
|
|
129
|
+
serializedName: "properties.provisioningState",
|
|
130
|
+
readOnly: true,
|
|
131
|
+
type: {
|
|
132
|
+
name: "String",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
signingKeys: {
|
|
136
|
+
serializedName: "properties.signingKeys",
|
|
137
|
+
readOnly: true,
|
|
138
|
+
type: {
|
|
139
|
+
name: "Sequence",
|
|
140
|
+
element: {
|
|
141
|
+
type: {
|
|
142
|
+
name: "Composite",
|
|
143
|
+
className: "SigningKey",
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
const SigningKey = {
|
|
152
|
+
type: {
|
|
153
|
+
name: "Composite",
|
|
154
|
+
className: "SigningKey",
|
|
155
|
+
modelProperties: {
|
|
156
|
+
delegationSignerInfo: {
|
|
157
|
+
serializedName: "delegationSignerInfo",
|
|
158
|
+
readOnly: true,
|
|
159
|
+
type: {
|
|
160
|
+
name: "Sequence",
|
|
161
|
+
element: {
|
|
162
|
+
type: {
|
|
163
|
+
name: "Composite",
|
|
164
|
+
className: "DelegationSignerInfo",
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
flags: {
|
|
170
|
+
serializedName: "flags",
|
|
171
|
+
readOnly: true,
|
|
172
|
+
type: {
|
|
173
|
+
name: "Number",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
keyTag: {
|
|
177
|
+
serializedName: "keyTag",
|
|
178
|
+
readOnly: true,
|
|
179
|
+
type: {
|
|
180
|
+
name: "Number",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
protocol: {
|
|
184
|
+
serializedName: "protocol",
|
|
185
|
+
readOnly: true,
|
|
186
|
+
type: {
|
|
187
|
+
name: "Number",
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
publicKey: {
|
|
191
|
+
serializedName: "publicKey",
|
|
192
|
+
readOnly: true,
|
|
193
|
+
type: {
|
|
194
|
+
name: "String",
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
securityAlgorithmType: {
|
|
198
|
+
serializedName: "securityAlgorithmType",
|
|
199
|
+
readOnly: true,
|
|
200
|
+
type: {
|
|
201
|
+
name: "Number",
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
const DelegationSignerInfo = {
|
|
208
|
+
type: {
|
|
209
|
+
name: "Composite",
|
|
210
|
+
className: "DelegationSignerInfo",
|
|
211
|
+
modelProperties: {
|
|
212
|
+
digestAlgorithmType: {
|
|
213
|
+
serializedName: "digestAlgorithmType",
|
|
214
|
+
readOnly: true,
|
|
215
|
+
type: {
|
|
216
|
+
name: "Number",
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
digestValue: {
|
|
220
|
+
serializedName: "digestValue",
|
|
221
|
+
readOnly: true,
|
|
222
|
+
type: {
|
|
223
|
+
name: "String",
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
record: {
|
|
227
|
+
serializedName: "record",
|
|
228
|
+
readOnly: true,
|
|
229
|
+
type: {
|
|
230
|
+
name: "String",
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
};
|
|
236
|
+
const SystemData = {
|
|
237
|
+
type: {
|
|
238
|
+
name: "Composite",
|
|
239
|
+
className: "SystemData",
|
|
240
|
+
modelProperties: {
|
|
241
|
+
createdBy: {
|
|
242
|
+
serializedName: "createdBy",
|
|
243
|
+
type: {
|
|
244
|
+
name: "String",
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
createdByType: {
|
|
248
|
+
serializedName: "createdByType",
|
|
249
|
+
type: {
|
|
250
|
+
name: "String",
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
createdAt: {
|
|
254
|
+
serializedName: "createdAt",
|
|
255
|
+
type: {
|
|
256
|
+
name: "DateTime",
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
lastModifiedBy: {
|
|
260
|
+
serializedName: "lastModifiedBy",
|
|
261
|
+
type: {
|
|
262
|
+
name: "String",
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
lastModifiedByType: {
|
|
266
|
+
serializedName: "lastModifiedByType",
|
|
267
|
+
type: {
|
|
268
|
+
name: "String",
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
lastModifiedAt: {
|
|
272
|
+
serializedName: "lastModifiedAt",
|
|
273
|
+
type: {
|
|
274
|
+
name: "DateTime",
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
};
|
|
280
|
+
const CloudError = {
|
|
281
|
+
type: {
|
|
282
|
+
name: "Composite",
|
|
283
|
+
className: "CloudError",
|
|
284
|
+
modelProperties: {
|
|
285
|
+
error: {
|
|
286
|
+
serializedName: "error",
|
|
287
|
+
type: {
|
|
288
|
+
name: "Composite",
|
|
289
|
+
className: "CloudErrorBody",
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
};
|
|
295
|
+
const CloudErrorBody = {
|
|
296
|
+
type: {
|
|
297
|
+
name: "Composite",
|
|
298
|
+
className: "CloudErrorBody",
|
|
299
|
+
modelProperties: {
|
|
300
|
+
code: {
|
|
301
|
+
serializedName: "code",
|
|
302
|
+
type: {
|
|
303
|
+
name: "String",
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
message: {
|
|
307
|
+
serializedName: "message",
|
|
308
|
+
type: {
|
|
309
|
+
name: "String",
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
target: {
|
|
313
|
+
serializedName: "target",
|
|
314
|
+
type: {
|
|
315
|
+
name: "String",
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
details: {
|
|
319
|
+
serializedName: "details",
|
|
320
|
+
type: {
|
|
321
|
+
name: "Sequence",
|
|
322
|
+
element: {
|
|
323
|
+
type: {
|
|
324
|
+
name: "Composite",
|
|
325
|
+
className: "CloudErrorBody",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
};
|
|
333
|
+
const DnssecConfigListResult = {
|
|
334
|
+
type: {
|
|
335
|
+
name: "Composite",
|
|
336
|
+
className: "DnssecConfigListResult",
|
|
337
|
+
modelProperties: {
|
|
338
|
+
value: {
|
|
339
|
+
serializedName: "value",
|
|
340
|
+
type: {
|
|
341
|
+
name: "Sequence",
|
|
342
|
+
element: {
|
|
343
|
+
type: {
|
|
344
|
+
name: "Composite",
|
|
345
|
+
className: "DnssecConfig",
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
nextLink: {
|
|
351
|
+
serializedName: "nextLink",
|
|
352
|
+
readOnly: true,
|
|
353
|
+
type: {
|
|
354
|
+
name: "String",
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
};
|
|
69
360
|
const RecordSet = {
|
|
70
361
|
type: {
|
|
71
362
|
name: "Composite",
|
|
@@ -75,62 +366,69 @@ const RecordSet = {
|
|
|
75
366
|
serializedName: "id",
|
|
76
367
|
readOnly: true,
|
|
77
368
|
type: {
|
|
78
|
-
name: "String"
|
|
79
|
-
}
|
|
369
|
+
name: "String",
|
|
370
|
+
},
|
|
80
371
|
},
|
|
81
372
|
name: {
|
|
82
373
|
serializedName: "name",
|
|
83
374
|
readOnly: true,
|
|
84
375
|
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
376
|
+
name: "String",
|
|
377
|
+
},
|
|
87
378
|
},
|
|
88
379
|
type: {
|
|
89
380
|
serializedName: "type",
|
|
90
381
|
readOnly: true,
|
|
91
382
|
type: {
|
|
92
|
-
name: "String"
|
|
93
|
-
}
|
|
383
|
+
name: "String",
|
|
384
|
+
},
|
|
94
385
|
},
|
|
95
386
|
etag: {
|
|
96
387
|
serializedName: "etag",
|
|
97
388
|
type: {
|
|
98
|
-
name: "String"
|
|
99
|
-
}
|
|
389
|
+
name: "String",
|
|
390
|
+
},
|
|
100
391
|
},
|
|
101
392
|
metadata: {
|
|
102
393
|
serializedName: "properties.metadata",
|
|
103
394
|
type: {
|
|
104
395
|
name: "Dictionary",
|
|
105
|
-
value: { type: { name: "String" } }
|
|
106
|
-
}
|
|
396
|
+
value: { type: { name: "String" } },
|
|
397
|
+
},
|
|
107
398
|
},
|
|
108
399
|
ttl: {
|
|
109
400
|
serializedName: "properties.TTL",
|
|
110
401
|
type: {
|
|
111
|
-
name: "Number"
|
|
112
|
-
}
|
|
402
|
+
name: "Number",
|
|
403
|
+
},
|
|
113
404
|
},
|
|
114
405
|
fqdn: {
|
|
115
406
|
serializedName: "properties.fqdn",
|
|
116
407
|
readOnly: true,
|
|
117
408
|
type: {
|
|
118
|
-
name: "String"
|
|
119
|
-
}
|
|
409
|
+
name: "String",
|
|
410
|
+
},
|
|
120
411
|
},
|
|
121
412
|
provisioningState: {
|
|
122
413
|
serializedName: "properties.provisioningState",
|
|
123
414
|
readOnly: true,
|
|
124
415
|
type: {
|
|
125
|
-
name: "String"
|
|
126
|
-
}
|
|
416
|
+
name: "String",
|
|
417
|
+
},
|
|
127
418
|
},
|
|
128
419
|
targetResource: {
|
|
129
420
|
serializedName: "properties.targetResource",
|
|
130
421
|
type: {
|
|
131
422
|
name: "Composite",
|
|
132
|
-
className: "SubResource"
|
|
133
|
-
}
|
|
423
|
+
className: "SubResource",
|
|
424
|
+
},
|
|
425
|
+
},
|
|
426
|
+
trafficManagementProfile: {
|
|
427
|
+
serializedName: "properties.trafficManagementProfile",
|
|
428
|
+
type: {
|
|
429
|
+
name: "Composite",
|
|
430
|
+
className: "SubResource",
|
|
431
|
+
},
|
|
134
432
|
},
|
|
135
433
|
aRecords: {
|
|
136
434
|
serializedName: "properties.ARecords",
|
|
@@ -139,10 +437,10 @@ const RecordSet = {
|
|
|
139
437
|
element: {
|
|
140
438
|
type: {
|
|
141
439
|
name: "Composite",
|
|
142
|
-
className: "ARecord"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
440
|
+
className: "ARecord",
|
|
441
|
+
},
|
|
442
|
+
},
|
|
443
|
+
},
|
|
146
444
|
},
|
|
147
445
|
aaaaRecords: {
|
|
148
446
|
serializedName: "properties.AAAARecords",
|
|
@@ -151,10 +449,10 @@ const RecordSet = {
|
|
|
151
449
|
element: {
|
|
152
450
|
type: {
|
|
153
451
|
name: "Composite",
|
|
154
|
-
className: "AaaaRecord"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
452
|
+
className: "AaaaRecord",
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
},
|
|
158
456
|
},
|
|
159
457
|
mxRecords: {
|
|
160
458
|
serializedName: "properties.MXRecords",
|
|
@@ -163,10 +461,10 @@ const RecordSet = {
|
|
|
163
461
|
element: {
|
|
164
462
|
type: {
|
|
165
463
|
name: "Composite",
|
|
166
|
-
className: "MxRecord"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
464
|
+
className: "MxRecord",
|
|
465
|
+
},
|
|
466
|
+
},
|
|
467
|
+
},
|
|
170
468
|
},
|
|
171
469
|
nsRecords: {
|
|
172
470
|
serializedName: "properties.NSRecords",
|
|
@@ -175,10 +473,10 @@ const RecordSet = {
|
|
|
175
473
|
element: {
|
|
176
474
|
type: {
|
|
177
475
|
name: "Composite",
|
|
178
|
-
className: "NsRecord"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
476
|
+
className: "NsRecord",
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
},
|
|
182
480
|
},
|
|
183
481
|
ptrRecords: {
|
|
184
482
|
serializedName: "properties.PTRRecords",
|
|
@@ -187,10 +485,10 @@ const RecordSet = {
|
|
|
187
485
|
element: {
|
|
188
486
|
type: {
|
|
189
487
|
name: "Composite",
|
|
190
|
-
className: "PtrRecord"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
488
|
+
className: "PtrRecord",
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
194
492
|
},
|
|
195
493
|
srvRecords: {
|
|
196
494
|
serializedName: "properties.SRVRecords",
|
|
@@ -199,10 +497,10 @@ const RecordSet = {
|
|
|
199
497
|
element: {
|
|
200
498
|
type: {
|
|
201
499
|
name: "Composite",
|
|
202
|
-
className: "SrvRecord"
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
500
|
+
className: "SrvRecord",
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
},
|
|
206
504
|
},
|
|
207
505
|
txtRecords: {
|
|
208
506
|
serializedName: "properties.TXTRecords",
|
|
@@ -211,24 +509,24 @@ const RecordSet = {
|
|
|
211
509
|
element: {
|
|
212
510
|
type: {
|
|
213
511
|
name: "Composite",
|
|
214
|
-
className: "TxtRecord"
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
512
|
+
className: "TxtRecord",
|
|
513
|
+
},
|
|
514
|
+
},
|
|
515
|
+
},
|
|
218
516
|
},
|
|
219
517
|
cnameRecord: {
|
|
220
518
|
serializedName: "properties.CNAMERecord",
|
|
221
519
|
type: {
|
|
222
520
|
name: "Composite",
|
|
223
|
-
className: "CnameRecord"
|
|
224
|
-
}
|
|
521
|
+
className: "CnameRecord",
|
|
522
|
+
},
|
|
225
523
|
},
|
|
226
524
|
soaRecord: {
|
|
227
525
|
serializedName: "properties.SOARecord",
|
|
228
526
|
type: {
|
|
229
527
|
name: "Composite",
|
|
230
|
-
className: "SoaRecord"
|
|
231
|
-
}
|
|
528
|
+
className: "SoaRecord",
|
|
529
|
+
},
|
|
232
530
|
},
|
|
233
531
|
caaRecords: {
|
|
234
532
|
serializedName: "properties.caaRecords",
|
|
@@ -237,13 +535,49 @@ const RecordSet = {
|
|
|
237
535
|
element: {
|
|
238
536
|
type: {
|
|
239
537
|
name: "Composite",
|
|
240
|
-
className: "CaaRecord"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
538
|
+
className: "CaaRecord",
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
},
|
|
543
|
+
dsRecords: {
|
|
544
|
+
serializedName: "properties.DSRecords",
|
|
545
|
+
type: {
|
|
546
|
+
name: "Sequence",
|
|
547
|
+
element: {
|
|
548
|
+
type: {
|
|
549
|
+
name: "Composite",
|
|
550
|
+
className: "DsRecord",
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
tlsaRecords: {
|
|
556
|
+
serializedName: "properties.TLSARecords",
|
|
557
|
+
type: {
|
|
558
|
+
name: "Sequence",
|
|
559
|
+
element: {
|
|
560
|
+
type: {
|
|
561
|
+
name: "Composite",
|
|
562
|
+
className: "TlsaRecord",
|
|
563
|
+
},
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
},
|
|
567
|
+
naptrRecords: {
|
|
568
|
+
serializedName: "properties.NAPTRRecords",
|
|
569
|
+
type: {
|
|
570
|
+
name: "Sequence",
|
|
571
|
+
element: {
|
|
572
|
+
type: {
|
|
573
|
+
name: "Composite",
|
|
574
|
+
className: "NaptrRecord",
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
},
|
|
247
581
|
};
|
|
248
582
|
const SubResource = {
|
|
249
583
|
type: {
|
|
@@ -253,11 +587,11 @@ const SubResource = {
|
|
|
253
587
|
id: {
|
|
254
588
|
serializedName: "id",
|
|
255
589
|
type: {
|
|
256
|
-
name: "String"
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
590
|
+
name: "String",
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
},
|
|
261
595
|
};
|
|
262
596
|
const ARecord = {
|
|
263
597
|
type: {
|
|
@@ -267,11 +601,11 @@ const ARecord = {
|
|
|
267
601
|
ipv4Address: {
|
|
268
602
|
serializedName: "ipv4Address",
|
|
269
603
|
type: {
|
|
270
|
-
name: "String"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
604
|
+
name: "String",
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
},
|
|
275
609
|
};
|
|
276
610
|
const AaaaRecord = {
|
|
277
611
|
type: {
|
|
@@ -281,11 +615,11 @@ const AaaaRecord = {
|
|
|
281
615
|
ipv6Address: {
|
|
282
616
|
serializedName: "ipv6Address",
|
|
283
617
|
type: {
|
|
284
|
-
name: "String"
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
618
|
+
name: "String",
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
},
|
|
289
623
|
};
|
|
290
624
|
const MxRecord = {
|
|
291
625
|
type: {
|
|
@@ -295,17 +629,17 @@ const MxRecord = {
|
|
|
295
629
|
preference: {
|
|
296
630
|
serializedName: "preference",
|
|
297
631
|
type: {
|
|
298
|
-
name: "Number"
|
|
299
|
-
}
|
|
632
|
+
name: "Number",
|
|
633
|
+
},
|
|
300
634
|
},
|
|
301
635
|
exchange: {
|
|
302
636
|
serializedName: "exchange",
|
|
303
637
|
type: {
|
|
304
|
-
name: "String"
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
638
|
+
name: "String",
|
|
639
|
+
},
|
|
640
|
+
},
|
|
641
|
+
},
|
|
642
|
+
},
|
|
309
643
|
};
|
|
310
644
|
const NsRecord = {
|
|
311
645
|
type: {
|
|
@@ -315,11 +649,11 @@ const NsRecord = {
|
|
|
315
649
|
nsdname: {
|
|
316
650
|
serializedName: "nsdname",
|
|
317
651
|
type: {
|
|
318
|
-
name: "String"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
652
|
+
name: "String",
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
},
|
|
323
657
|
};
|
|
324
658
|
const PtrRecord = {
|
|
325
659
|
type: {
|
|
@@ -329,11 +663,11 @@ const PtrRecord = {
|
|
|
329
663
|
ptrdname: {
|
|
330
664
|
serializedName: "ptrdname",
|
|
331
665
|
type: {
|
|
332
|
-
name: "String"
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
}
|
|
666
|
+
name: "String",
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
},
|
|
337
671
|
};
|
|
338
672
|
const SrvRecord = {
|
|
339
673
|
type: {
|
|
@@ -343,29 +677,29 @@ const SrvRecord = {
|
|
|
343
677
|
priority: {
|
|
344
678
|
serializedName: "priority",
|
|
345
679
|
type: {
|
|
346
|
-
name: "Number"
|
|
347
|
-
}
|
|
680
|
+
name: "Number",
|
|
681
|
+
},
|
|
348
682
|
},
|
|
349
683
|
weight: {
|
|
350
684
|
serializedName: "weight",
|
|
351
685
|
type: {
|
|
352
|
-
name: "Number"
|
|
353
|
-
}
|
|
686
|
+
name: "Number",
|
|
687
|
+
},
|
|
354
688
|
},
|
|
355
689
|
port: {
|
|
356
690
|
serializedName: "port",
|
|
357
691
|
type: {
|
|
358
|
-
name: "Number"
|
|
359
|
-
}
|
|
692
|
+
name: "Number",
|
|
693
|
+
},
|
|
360
694
|
},
|
|
361
695
|
target: {
|
|
362
696
|
serializedName: "target",
|
|
363
697
|
type: {
|
|
364
|
-
name: "String"
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
698
|
+
name: "String",
|
|
699
|
+
},
|
|
700
|
+
},
|
|
701
|
+
},
|
|
702
|
+
},
|
|
369
703
|
};
|
|
370
704
|
const TxtRecord = {
|
|
371
705
|
type: {
|
|
@@ -378,13 +712,13 @@ const TxtRecord = {
|
|
|
378
712
|
name: "Sequence",
|
|
379
713
|
element: {
|
|
380
714
|
type: {
|
|
381
|
-
name: "String"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
715
|
+
name: "String",
|
|
716
|
+
},
|
|
717
|
+
},
|
|
718
|
+
},
|
|
719
|
+
},
|
|
720
|
+
},
|
|
721
|
+
},
|
|
388
722
|
};
|
|
389
723
|
const CnameRecord = {
|
|
390
724
|
type: {
|
|
@@ -394,11 +728,11 @@ const CnameRecord = {
|
|
|
394
728
|
cname: {
|
|
395
729
|
serializedName: "cname",
|
|
396
730
|
type: {
|
|
397
|
-
name: "String"
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
731
|
+
name: "String",
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
},
|
|
402
736
|
};
|
|
403
737
|
const SoaRecord = {
|
|
404
738
|
type: {
|
|
@@ -408,47 +742,47 @@ const SoaRecord = {
|
|
|
408
742
|
host: {
|
|
409
743
|
serializedName: "host",
|
|
410
744
|
type: {
|
|
411
|
-
name: "String"
|
|
412
|
-
}
|
|
745
|
+
name: "String",
|
|
746
|
+
},
|
|
413
747
|
},
|
|
414
748
|
email: {
|
|
415
749
|
serializedName: "email",
|
|
416
750
|
type: {
|
|
417
|
-
name: "String"
|
|
418
|
-
}
|
|
751
|
+
name: "String",
|
|
752
|
+
},
|
|
419
753
|
},
|
|
420
754
|
serialNumber: {
|
|
421
755
|
serializedName: "serialNumber",
|
|
422
756
|
type: {
|
|
423
|
-
name: "Number"
|
|
424
|
-
}
|
|
757
|
+
name: "Number",
|
|
758
|
+
},
|
|
425
759
|
},
|
|
426
760
|
refreshTime: {
|
|
427
761
|
serializedName: "refreshTime",
|
|
428
762
|
type: {
|
|
429
|
-
name: "Number"
|
|
430
|
-
}
|
|
763
|
+
name: "Number",
|
|
764
|
+
},
|
|
431
765
|
},
|
|
432
766
|
retryTime: {
|
|
433
767
|
serializedName: "retryTime",
|
|
434
768
|
type: {
|
|
435
|
-
name: "Number"
|
|
436
|
-
}
|
|
769
|
+
name: "Number",
|
|
770
|
+
},
|
|
437
771
|
},
|
|
438
772
|
expireTime: {
|
|
439
773
|
serializedName: "expireTime",
|
|
440
774
|
type: {
|
|
441
|
-
name: "Number"
|
|
442
|
-
}
|
|
775
|
+
name: "Number",
|
|
776
|
+
},
|
|
443
777
|
},
|
|
444
778
|
minimumTtl: {
|
|
445
779
|
serializedName: "minimumTTL",
|
|
446
780
|
type: {
|
|
447
|
-
name: "Number"
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
781
|
+
name: "Number",
|
|
782
|
+
},
|
|
783
|
+
},
|
|
784
|
+
},
|
|
785
|
+
},
|
|
452
786
|
};
|
|
453
787
|
const CaaRecord = {
|
|
454
788
|
type: {
|
|
@@ -458,76 +792,146 @@ const CaaRecord = {
|
|
|
458
792
|
flags: {
|
|
459
793
|
serializedName: "flags",
|
|
460
794
|
type: {
|
|
461
|
-
name: "Number"
|
|
462
|
-
}
|
|
795
|
+
name: "Number",
|
|
796
|
+
},
|
|
463
797
|
},
|
|
464
798
|
tag: {
|
|
465
799
|
serializedName: "tag",
|
|
466
800
|
type: {
|
|
467
|
-
name: "String"
|
|
468
|
-
}
|
|
801
|
+
name: "String",
|
|
802
|
+
},
|
|
469
803
|
},
|
|
470
804
|
value: {
|
|
471
805
|
serializedName: "value",
|
|
472
806
|
type: {
|
|
473
|
-
name: "String"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
807
|
+
name: "String",
|
|
808
|
+
},
|
|
809
|
+
},
|
|
810
|
+
},
|
|
811
|
+
},
|
|
478
812
|
};
|
|
479
|
-
const
|
|
813
|
+
const DsRecord = {
|
|
480
814
|
type: {
|
|
481
815
|
name: "Composite",
|
|
482
|
-
className: "
|
|
816
|
+
className: "DsRecord",
|
|
483
817
|
modelProperties: {
|
|
484
|
-
|
|
485
|
-
serializedName: "
|
|
818
|
+
keyTag: {
|
|
819
|
+
serializedName: "keyTag",
|
|
820
|
+
type: {
|
|
821
|
+
name: "Number",
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
algorithm: {
|
|
825
|
+
serializedName: "algorithm",
|
|
826
|
+
type: {
|
|
827
|
+
name: "Number",
|
|
828
|
+
},
|
|
829
|
+
},
|
|
830
|
+
digest: {
|
|
831
|
+
serializedName: "digest",
|
|
486
832
|
type: {
|
|
487
833
|
name: "Composite",
|
|
488
|
-
className: "
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
834
|
+
className: "Digest",
|
|
835
|
+
},
|
|
836
|
+
},
|
|
837
|
+
},
|
|
838
|
+
},
|
|
493
839
|
};
|
|
494
|
-
const
|
|
840
|
+
const Digest = {
|
|
495
841
|
type: {
|
|
496
842
|
name: "Composite",
|
|
497
|
-
className: "
|
|
843
|
+
className: "Digest",
|
|
498
844
|
modelProperties: {
|
|
499
|
-
|
|
500
|
-
serializedName: "
|
|
845
|
+
algorithmType: {
|
|
846
|
+
serializedName: "algorithmType",
|
|
501
847
|
type: {
|
|
502
|
-
name: "
|
|
503
|
-
}
|
|
848
|
+
name: "Number",
|
|
849
|
+
},
|
|
504
850
|
},
|
|
505
|
-
|
|
506
|
-
serializedName: "
|
|
851
|
+
value: {
|
|
852
|
+
serializedName: "value",
|
|
507
853
|
type: {
|
|
508
|
-
name: "String"
|
|
509
|
-
}
|
|
854
|
+
name: "String",
|
|
855
|
+
},
|
|
510
856
|
},
|
|
511
|
-
|
|
512
|
-
|
|
857
|
+
},
|
|
858
|
+
},
|
|
859
|
+
};
|
|
860
|
+
const TlsaRecord = {
|
|
861
|
+
type: {
|
|
862
|
+
name: "Composite",
|
|
863
|
+
className: "TlsaRecord",
|
|
864
|
+
modelProperties: {
|
|
865
|
+
usage: {
|
|
866
|
+
serializedName: "usage",
|
|
513
867
|
type: {
|
|
514
|
-
name: "
|
|
515
|
-
}
|
|
868
|
+
name: "Number",
|
|
869
|
+
},
|
|
516
870
|
},
|
|
517
|
-
|
|
518
|
-
serializedName: "
|
|
871
|
+
selector: {
|
|
872
|
+
serializedName: "selector",
|
|
519
873
|
type: {
|
|
520
|
-
name: "
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
|
|
874
|
+
name: "Number",
|
|
875
|
+
},
|
|
876
|
+
},
|
|
877
|
+
matchingType: {
|
|
878
|
+
serializedName: "matchingType",
|
|
879
|
+
type: {
|
|
880
|
+
name: "Number",
|
|
881
|
+
},
|
|
882
|
+
},
|
|
883
|
+
certAssociationData: {
|
|
884
|
+
serializedName: "certAssociationData",
|
|
885
|
+
type: {
|
|
886
|
+
name: "String",
|
|
887
|
+
},
|
|
888
|
+
},
|
|
889
|
+
},
|
|
890
|
+
},
|
|
891
|
+
};
|
|
892
|
+
const NaptrRecord = {
|
|
893
|
+
type: {
|
|
894
|
+
name: "Composite",
|
|
895
|
+
className: "NaptrRecord",
|
|
896
|
+
modelProperties: {
|
|
897
|
+
order: {
|
|
898
|
+
serializedName: "order",
|
|
899
|
+
type: {
|
|
900
|
+
name: "Number",
|
|
901
|
+
},
|
|
902
|
+
},
|
|
903
|
+
preference: {
|
|
904
|
+
serializedName: "preference",
|
|
905
|
+
type: {
|
|
906
|
+
name: "Number",
|
|
907
|
+
},
|
|
908
|
+
},
|
|
909
|
+
flags: {
|
|
910
|
+
serializedName: "flags",
|
|
911
|
+
type: {
|
|
912
|
+
name: "String",
|
|
913
|
+
},
|
|
914
|
+
},
|
|
915
|
+
services: {
|
|
916
|
+
serializedName: "services",
|
|
917
|
+
type: {
|
|
918
|
+
name: "String",
|
|
919
|
+
},
|
|
920
|
+
},
|
|
921
|
+
regexp: {
|
|
922
|
+
serializedName: "regexp",
|
|
923
|
+
type: {
|
|
924
|
+
name: "String",
|
|
925
|
+
},
|
|
926
|
+
},
|
|
927
|
+
replacement: {
|
|
928
|
+
serializedName: "replacement",
|
|
929
|
+
type: {
|
|
930
|
+
name: "String",
|
|
931
|
+
},
|
|
932
|
+
},
|
|
933
|
+
},
|
|
934
|
+
},
|
|
531
935
|
};
|
|
532
936
|
const RecordSetListResult = {
|
|
533
937
|
type: {
|
|
@@ -541,20 +945,20 @@ const RecordSetListResult = {
|
|
|
541
945
|
element: {
|
|
542
946
|
type: {
|
|
543
947
|
name: "Composite",
|
|
544
|
-
className: "RecordSet"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
948
|
+
className: "RecordSet",
|
|
949
|
+
},
|
|
950
|
+
},
|
|
951
|
+
},
|
|
548
952
|
},
|
|
549
953
|
nextLink: {
|
|
550
954
|
serializedName: "nextLink",
|
|
551
955
|
readOnly: true,
|
|
552
956
|
type: {
|
|
553
|
-
name: "String"
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
957
|
+
name: "String",
|
|
958
|
+
},
|
|
959
|
+
},
|
|
960
|
+
},
|
|
961
|
+
},
|
|
558
962
|
};
|
|
559
963
|
const Resource = {
|
|
560
964
|
type: {
|
|
@@ -565,39 +969,39 @@ const Resource = {
|
|
|
565
969
|
serializedName: "id",
|
|
566
970
|
readOnly: true,
|
|
567
971
|
type: {
|
|
568
|
-
name: "String"
|
|
569
|
-
}
|
|
972
|
+
name: "String",
|
|
973
|
+
},
|
|
570
974
|
},
|
|
571
975
|
name: {
|
|
572
976
|
serializedName: "name",
|
|
573
977
|
readOnly: true,
|
|
574
978
|
type: {
|
|
575
|
-
name: "String"
|
|
576
|
-
}
|
|
979
|
+
name: "String",
|
|
980
|
+
},
|
|
577
981
|
},
|
|
578
982
|
type: {
|
|
579
983
|
serializedName: "type",
|
|
580
984
|
readOnly: true,
|
|
581
985
|
type: {
|
|
582
|
-
name: "String"
|
|
583
|
-
}
|
|
986
|
+
name: "String",
|
|
987
|
+
},
|
|
584
988
|
},
|
|
585
989
|
location: {
|
|
586
990
|
serializedName: "location",
|
|
587
991
|
required: true,
|
|
588
992
|
type: {
|
|
589
|
-
name: "String"
|
|
590
|
-
}
|
|
993
|
+
name: "String",
|
|
994
|
+
},
|
|
591
995
|
},
|
|
592
996
|
tags: {
|
|
593
997
|
serializedName: "tags",
|
|
594
998
|
type: {
|
|
595
999
|
name: "Dictionary",
|
|
596
|
-
value: { type: { name: "String" } }
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
1000
|
+
value: { type: { name: "String" } },
|
|
1001
|
+
},
|
|
1002
|
+
},
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
601
1005
|
};
|
|
602
1006
|
const ZoneUpdate = {
|
|
603
1007
|
type: {
|
|
@@ -608,11 +1012,11 @@ const ZoneUpdate = {
|
|
|
608
1012
|
serializedName: "tags",
|
|
609
1013
|
type: {
|
|
610
1014
|
name: "Dictionary",
|
|
611
|
-
value: { type: { name: "String" } }
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
1015
|
+
value: { type: { name: "String" } },
|
|
1016
|
+
},
|
|
1017
|
+
},
|
|
1018
|
+
},
|
|
1019
|
+
},
|
|
616
1020
|
};
|
|
617
1021
|
const ZoneListResult = {
|
|
618
1022
|
type: {
|
|
@@ -626,20 +1030,20 @@ const ZoneListResult = {
|
|
|
626
1030
|
element: {
|
|
627
1031
|
type: {
|
|
628
1032
|
name: "Composite",
|
|
629
|
-
className: "Zone"
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
}
|
|
1033
|
+
className: "Zone",
|
|
1034
|
+
},
|
|
1035
|
+
},
|
|
1036
|
+
},
|
|
633
1037
|
},
|
|
634
1038
|
nextLink: {
|
|
635
1039
|
serializedName: "nextLink",
|
|
636
1040
|
readOnly: true,
|
|
637
1041
|
type: {
|
|
638
|
-
name: "String"
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
1042
|
+
name: "String",
|
|
1043
|
+
},
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
643
1047
|
};
|
|
644
1048
|
const DnsResourceReferenceRequest = {
|
|
645
1049
|
type: {
|
|
@@ -653,13 +1057,13 @@ const DnsResourceReferenceRequest = {
|
|
|
653
1057
|
element: {
|
|
654
1058
|
type: {
|
|
655
1059
|
name: "Composite",
|
|
656
|
-
className: "SubResource"
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
1060
|
+
className: "SubResource",
|
|
1061
|
+
},
|
|
1062
|
+
},
|
|
1063
|
+
},
|
|
1064
|
+
},
|
|
1065
|
+
},
|
|
1066
|
+
},
|
|
663
1067
|
};
|
|
664
1068
|
const DnsResourceReferenceResult = {
|
|
665
1069
|
type: {
|
|
@@ -673,13 +1077,13 @@ const DnsResourceReferenceResult = {
|
|
|
673
1077
|
element: {
|
|
674
1078
|
type: {
|
|
675
1079
|
name: "Composite",
|
|
676
|
-
className: "DnsResourceReference"
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
1080
|
+
className: "DnsResourceReference",
|
|
1081
|
+
},
|
|
1082
|
+
},
|
|
1083
|
+
},
|
|
1084
|
+
},
|
|
1085
|
+
},
|
|
1086
|
+
},
|
|
683
1087
|
};
|
|
684
1088
|
const DnsResourceReference = {
|
|
685
1089
|
type: {
|
|
@@ -693,20 +1097,20 @@ const DnsResourceReference = {
|
|
|
693
1097
|
element: {
|
|
694
1098
|
type: {
|
|
695
1099
|
name: "Composite",
|
|
696
|
-
className: "SubResource"
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
1100
|
+
className: "SubResource",
|
|
1101
|
+
},
|
|
1102
|
+
},
|
|
1103
|
+
},
|
|
700
1104
|
},
|
|
701
1105
|
targetResource: {
|
|
702
1106
|
serializedName: "targetResource",
|
|
703
1107
|
type: {
|
|
704
1108
|
name: "Composite",
|
|
705
|
-
className: "SubResource"
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
}
|
|
1109
|
+
className: "SubResource",
|
|
1110
|
+
},
|
|
1111
|
+
},
|
|
1112
|
+
},
|
|
1113
|
+
},
|
|
710
1114
|
};
|
|
711
1115
|
const RecordSetUpdateParameters = {
|
|
712
1116
|
type: {
|
|
@@ -717,11 +1121,11 @@ const RecordSetUpdateParameters = {
|
|
|
717
1121
|
serializedName: "RecordSet",
|
|
718
1122
|
type: {
|
|
719
1123
|
name: "Composite",
|
|
720
|
-
className: "RecordSet"
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
1124
|
+
className: "RecordSet",
|
|
1125
|
+
},
|
|
1126
|
+
},
|
|
1127
|
+
},
|
|
1128
|
+
},
|
|
725
1129
|
};
|
|
726
1130
|
const Zone = {
|
|
727
1131
|
type: {
|
|
@@ -730,26 +1134,32 @@ const Zone = {
|
|
|
730
1134
|
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { etag: {
|
|
731
1135
|
serializedName: "etag",
|
|
732
1136
|
type: {
|
|
733
|
-
name: "String"
|
|
734
|
-
}
|
|
1137
|
+
name: "String",
|
|
1138
|
+
},
|
|
1139
|
+
}, systemData: {
|
|
1140
|
+
serializedName: "systemData",
|
|
1141
|
+
type: {
|
|
1142
|
+
name: "Composite",
|
|
1143
|
+
className: "SystemData",
|
|
1144
|
+
},
|
|
735
1145
|
}, maxNumberOfRecordSets: {
|
|
736
1146
|
serializedName: "properties.maxNumberOfRecordSets",
|
|
737
1147
|
readOnly: true,
|
|
738
1148
|
type: {
|
|
739
|
-
name: "Number"
|
|
740
|
-
}
|
|
1149
|
+
name: "Number",
|
|
1150
|
+
},
|
|
741
1151
|
}, maxNumberOfRecordsPerRecordSet: {
|
|
742
1152
|
serializedName: "properties.maxNumberOfRecordsPerRecordSet",
|
|
743
1153
|
readOnly: true,
|
|
744
1154
|
type: {
|
|
745
|
-
name: "Number"
|
|
746
|
-
}
|
|
1155
|
+
name: "Number",
|
|
1156
|
+
},
|
|
747
1157
|
}, numberOfRecordSets: {
|
|
748
1158
|
serializedName: "properties.numberOfRecordSets",
|
|
749
1159
|
readOnly: true,
|
|
750
1160
|
type: {
|
|
751
|
-
name: "Number"
|
|
752
|
-
}
|
|
1161
|
+
name: "Number",
|
|
1162
|
+
},
|
|
753
1163
|
}, nameServers: {
|
|
754
1164
|
serializedName: "properties.nameServers",
|
|
755
1165
|
readOnly: true,
|
|
@@ -757,17 +1167,17 @@ const Zone = {
|
|
|
757
1167
|
name: "Sequence",
|
|
758
1168
|
element: {
|
|
759
1169
|
type: {
|
|
760
|
-
name: "String"
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
}
|
|
1170
|
+
name: "String",
|
|
1171
|
+
},
|
|
1172
|
+
},
|
|
1173
|
+
},
|
|
764
1174
|
}, zoneType: {
|
|
765
1175
|
defaultValue: "Public",
|
|
766
1176
|
serializedName: "properties.zoneType",
|
|
767
1177
|
type: {
|
|
768
1178
|
name: "Enum",
|
|
769
|
-
allowedValues: ["Public", "Private"]
|
|
770
|
-
}
|
|
1179
|
+
allowedValues: ["Public", "Private"],
|
|
1180
|
+
},
|
|
771
1181
|
}, registrationVirtualNetworks: {
|
|
772
1182
|
serializedName: "properties.registrationVirtualNetworks",
|
|
773
1183
|
type: {
|
|
@@ -775,10 +1185,10 @@ const Zone = {
|
|
|
775
1185
|
element: {
|
|
776
1186
|
type: {
|
|
777
1187
|
name: "Composite",
|
|
778
|
-
className: "SubResource"
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
1188
|
+
className: "SubResource",
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
},
|
|
782
1192
|
}, resolutionVirtualNetworks: {
|
|
783
1193
|
serializedName: "properties.resolutionVirtualNetworks",
|
|
784
1194
|
type: {
|
|
@@ -786,12 +1196,52 @@ const Zone = {
|
|
|
786
1196
|
element: {
|
|
787
1197
|
type: {
|
|
788
1198
|
name: "Composite",
|
|
789
|
-
className: "SubResource"
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
|
|
1199
|
+
className: "SubResource",
|
|
1200
|
+
},
|
|
1201
|
+
},
|
|
1202
|
+
},
|
|
1203
|
+
}, signingKeys: {
|
|
1204
|
+
serializedName: "properties.signingKeys",
|
|
1205
|
+
readOnly: true,
|
|
1206
|
+
type: {
|
|
1207
|
+
name: "Sequence",
|
|
1208
|
+
element: {
|
|
1209
|
+
type: {
|
|
1210
|
+
name: "Composite",
|
|
1211
|
+
className: "SigningKey",
|
|
1212
|
+
},
|
|
1213
|
+
},
|
|
1214
|
+
},
|
|
1215
|
+
} }),
|
|
1216
|
+
},
|
|
1217
|
+
};
|
|
1218
|
+
const DnssecConfigsDeleteHeaders = {
|
|
1219
|
+
type: {
|
|
1220
|
+
name: "Composite",
|
|
1221
|
+
className: "DnssecConfigsDeleteHeaders",
|
|
1222
|
+
modelProperties: {
|
|
1223
|
+
location: {
|
|
1224
|
+
serializedName: "location",
|
|
1225
|
+
type: {
|
|
1226
|
+
name: "String",
|
|
1227
|
+
},
|
|
1228
|
+
},
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1231
|
+
};
|
|
1232
|
+
const ZonesDeleteHeaders = {
|
|
1233
|
+
type: {
|
|
1234
|
+
name: "Composite",
|
|
1235
|
+
className: "ZonesDeleteHeaders",
|
|
1236
|
+
modelProperties: {
|
|
1237
|
+
location: {
|
|
1238
|
+
serializedName: "location",
|
|
1239
|
+
type: {
|
|
1240
|
+
name: "String",
|
|
1241
|
+
},
|
|
1242
|
+
},
|
|
1243
|
+
},
|
|
1244
|
+
},
|
|
795
1245
|
};
|
|
796
1246
|
|
|
797
1247
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -802,23 +1252,34 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
802
1252
|
CloudError: CloudError,
|
|
803
1253
|
CloudErrorBody: CloudErrorBody,
|
|
804
1254
|
CnameRecord: CnameRecord,
|
|
1255
|
+
DelegationSignerInfo: DelegationSignerInfo,
|
|
1256
|
+
Digest: Digest,
|
|
805
1257
|
DnsResourceReference: DnsResourceReference,
|
|
806
1258
|
DnsResourceReferenceRequest: DnsResourceReferenceRequest,
|
|
807
1259
|
DnsResourceReferenceResult: DnsResourceReferenceResult,
|
|
1260
|
+
DnssecConfig: DnssecConfig,
|
|
1261
|
+
DnssecConfigListResult: DnssecConfigListResult,
|
|
1262
|
+
DnssecConfigsDeleteHeaders: DnssecConfigsDeleteHeaders,
|
|
1263
|
+
DsRecord: DsRecord,
|
|
808
1264
|
MxRecord: MxRecord,
|
|
1265
|
+
NaptrRecord: NaptrRecord,
|
|
809
1266
|
NsRecord: NsRecord,
|
|
810
1267
|
PtrRecord: PtrRecord,
|
|
811
1268
|
RecordSet: RecordSet,
|
|
812
1269
|
RecordSetListResult: RecordSetListResult,
|
|
813
1270
|
RecordSetUpdateParameters: RecordSetUpdateParameters,
|
|
814
1271
|
Resource: Resource,
|
|
1272
|
+
SigningKey: SigningKey,
|
|
815
1273
|
SoaRecord: SoaRecord,
|
|
816
1274
|
SrvRecord: SrvRecord,
|
|
817
1275
|
SubResource: SubResource,
|
|
1276
|
+
SystemData: SystemData,
|
|
1277
|
+
TlsaRecord: TlsaRecord,
|
|
818
1278
|
TxtRecord: TxtRecord,
|
|
819
1279
|
Zone: Zone,
|
|
820
1280
|
ZoneListResult: ZoneListResult,
|
|
821
|
-
ZoneUpdate: ZoneUpdate
|
|
1281
|
+
ZoneUpdate: ZoneUpdate,
|
|
1282
|
+
ZonesDeleteHeaders: ZonesDeleteHeaders
|
|
822
1283
|
});
|
|
823
1284
|
|
|
824
1285
|
/*
|
|
@@ -828,21 +1289,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
828
1289
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
829
1290
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
830
1291
|
*/
|
|
831
|
-
const contentType = {
|
|
832
|
-
parameterPath: ["options", "contentType"],
|
|
833
|
-
mapper: {
|
|
834
|
-
defaultValue: "application/json",
|
|
835
|
-
isConstant: true,
|
|
836
|
-
serializedName: "Content-Type",
|
|
837
|
-
type: {
|
|
838
|
-
name: "String"
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
};
|
|
842
|
-
const parameters = {
|
|
843
|
-
parameterPath: "parameters",
|
|
844
|
-
mapper: RecordSet
|
|
845
|
-
};
|
|
846
1292
|
const accept = {
|
|
847
1293
|
parameterPath: "accept",
|
|
848
1294
|
mapper: {
|
|
@@ -850,9 +1296,9 @@ const accept = {
|
|
|
850
1296
|
isConstant: true,
|
|
851
1297
|
serializedName: "Accept",
|
|
852
1298
|
type: {
|
|
853
|
-
name: "String"
|
|
854
|
-
}
|
|
855
|
-
}
|
|
1299
|
+
name: "String",
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
856
1302
|
};
|
|
857
1303
|
const $host = {
|
|
858
1304
|
parameterPath: "$host",
|
|
@@ -860,20 +1306,24 @@ const $host = {
|
|
|
860
1306
|
serializedName: "$host",
|
|
861
1307
|
required: true,
|
|
862
1308
|
type: {
|
|
863
|
-
name: "String"
|
|
864
|
-
}
|
|
1309
|
+
name: "String",
|
|
1310
|
+
},
|
|
865
1311
|
},
|
|
866
|
-
skipEncoding: true
|
|
1312
|
+
skipEncoding: true,
|
|
867
1313
|
};
|
|
868
1314
|
const resourceGroupName = {
|
|
869
1315
|
parameterPath: "resourceGroupName",
|
|
870
1316
|
mapper: {
|
|
1317
|
+
constraints: {
|
|
1318
|
+
MaxLength: 90,
|
|
1319
|
+
MinLength: 1,
|
|
1320
|
+
},
|
|
871
1321
|
serializedName: "resourceGroupName",
|
|
872
1322
|
required: true,
|
|
873
1323
|
type: {
|
|
874
|
-
name: "String"
|
|
875
|
-
}
|
|
876
|
-
}
|
|
1324
|
+
name: "String",
|
|
1325
|
+
},
|
|
1326
|
+
},
|
|
877
1327
|
};
|
|
878
1328
|
const zoneName = {
|
|
879
1329
|
parameterPath: "zoneName",
|
|
@@ -881,9 +1331,77 @@ const zoneName = {
|
|
|
881
1331
|
serializedName: "zoneName",
|
|
882
1332
|
required: true,
|
|
883
1333
|
type: {
|
|
884
|
-
name: "String"
|
|
885
|
-
}
|
|
886
|
-
}
|
|
1334
|
+
name: "String",
|
|
1335
|
+
},
|
|
1336
|
+
},
|
|
1337
|
+
};
|
|
1338
|
+
const ifMatch = {
|
|
1339
|
+
parameterPath: ["options", "ifMatch"],
|
|
1340
|
+
mapper: {
|
|
1341
|
+
serializedName: "If-Match",
|
|
1342
|
+
type: {
|
|
1343
|
+
name: "String",
|
|
1344
|
+
},
|
|
1345
|
+
},
|
|
1346
|
+
};
|
|
1347
|
+
const ifNoneMatch = {
|
|
1348
|
+
parameterPath: ["options", "ifNoneMatch"],
|
|
1349
|
+
mapper: {
|
|
1350
|
+
serializedName: "If-None-Match",
|
|
1351
|
+
type: {
|
|
1352
|
+
name: "String",
|
|
1353
|
+
},
|
|
1354
|
+
},
|
|
1355
|
+
};
|
|
1356
|
+
const apiVersion = {
|
|
1357
|
+
parameterPath: "apiVersion",
|
|
1358
|
+
mapper: {
|
|
1359
|
+
defaultValue: "2023-07-01-preview",
|
|
1360
|
+
isConstant: true,
|
|
1361
|
+
serializedName: "api-version",
|
|
1362
|
+
type: {
|
|
1363
|
+
name: "String",
|
|
1364
|
+
},
|
|
1365
|
+
},
|
|
1366
|
+
};
|
|
1367
|
+
const subscriptionId = {
|
|
1368
|
+
parameterPath: "subscriptionId",
|
|
1369
|
+
mapper: {
|
|
1370
|
+
constraints: {
|
|
1371
|
+
MinLength: 1,
|
|
1372
|
+
},
|
|
1373
|
+
serializedName: "subscriptionId",
|
|
1374
|
+
required: true,
|
|
1375
|
+
type: {
|
|
1376
|
+
name: "String",
|
|
1377
|
+
},
|
|
1378
|
+
},
|
|
1379
|
+
};
|
|
1380
|
+
const nextLink = {
|
|
1381
|
+
parameterPath: "nextLink",
|
|
1382
|
+
mapper: {
|
|
1383
|
+
serializedName: "nextLink",
|
|
1384
|
+
required: true,
|
|
1385
|
+
type: {
|
|
1386
|
+
name: "String",
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1389
|
+
skipEncoding: true,
|
|
1390
|
+
};
|
|
1391
|
+
const contentType = {
|
|
1392
|
+
parameterPath: ["options", "contentType"],
|
|
1393
|
+
mapper: {
|
|
1394
|
+
defaultValue: "application/json",
|
|
1395
|
+
isConstant: true,
|
|
1396
|
+
serializedName: "Content-Type",
|
|
1397
|
+
type: {
|
|
1398
|
+
name: "String",
|
|
1399
|
+
},
|
|
1400
|
+
},
|
|
1401
|
+
};
|
|
1402
|
+
const parameters = {
|
|
1403
|
+
parameterPath: "parameters",
|
|
1404
|
+
mapper: RecordSet,
|
|
887
1405
|
};
|
|
888
1406
|
const relativeRecordSetName = {
|
|
889
1407
|
parameterPath: "relativeRecordSetName",
|
|
@@ -891,10 +1409,10 @@ const relativeRecordSetName = {
|
|
|
891
1409
|
serializedName: "relativeRecordSetName",
|
|
892
1410
|
required: true,
|
|
893
1411
|
type: {
|
|
894
|
-
name: "String"
|
|
895
|
-
}
|
|
1412
|
+
name: "String",
|
|
1413
|
+
},
|
|
896
1414
|
},
|
|
897
|
-
skipEncoding: true
|
|
1415
|
+
skipEncoding: true,
|
|
898
1416
|
};
|
|
899
1417
|
const recordType = {
|
|
900
1418
|
parameterPath: "recordType",
|
|
@@ -913,99 +1431,413 @@ const recordType = {
|
|
|
913
1431
|
"PTR",
|
|
914
1432
|
"SOA",
|
|
915
1433
|
"SRV",
|
|
916
|
-
"TXT"
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
1434
|
+
"TXT",
|
|
1435
|
+
"TLSA",
|
|
1436
|
+
"DS",
|
|
1437
|
+
"NAPTR",
|
|
1438
|
+
],
|
|
1439
|
+
},
|
|
1440
|
+
},
|
|
920
1441
|
};
|
|
921
|
-
const
|
|
922
|
-
parameterPath: ["options", "
|
|
1442
|
+
const top = {
|
|
1443
|
+
parameterPath: ["options", "top"],
|
|
923
1444
|
mapper: {
|
|
924
|
-
serializedName: "
|
|
1445
|
+
serializedName: "$top",
|
|
925
1446
|
type: {
|
|
926
|
-
name: "
|
|
927
|
-
}
|
|
928
|
-
}
|
|
1447
|
+
name: "Number",
|
|
1448
|
+
},
|
|
1449
|
+
},
|
|
929
1450
|
};
|
|
930
|
-
const
|
|
931
|
-
parameterPath: "
|
|
1451
|
+
const recordsetnamesuffix = {
|
|
1452
|
+
parameterPath: ["options", "recordsetnamesuffix"],
|
|
932
1453
|
mapper: {
|
|
933
|
-
|
|
934
|
-
isConstant: true,
|
|
935
|
-
serializedName: "api-version",
|
|
1454
|
+
serializedName: "$recordsetnamesuffix",
|
|
936
1455
|
type: {
|
|
937
|
-
name: "String"
|
|
938
|
-
}
|
|
939
|
-
}
|
|
1456
|
+
name: "String",
|
|
1457
|
+
},
|
|
1458
|
+
},
|
|
940
1459
|
};
|
|
941
|
-
const
|
|
942
|
-
parameterPath: "
|
|
1460
|
+
const recordSetNameSuffix = {
|
|
1461
|
+
parameterPath: ["options", "recordSetNameSuffix"],
|
|
943
1462
|
mapper: {
|
|
944
|
-
serializedName: "
|
|
945
|
-
required: true,
|
|
1463
|
+
serializedName: "$recordsetnamesuffix",
|
|
946
1464
|
type: {
|
|
947
|
-
name: "String"
|
|
948
|
-
}
|
|
949
|
-
}
|
|
1465
|
+
name: "String",
|
|
1466
|
+
},
|
|
1467
|
+
},
|
|
950
1468
|
};
|
|
951
|
-
const
|
|
952
|
-
parameterPath:
|
|
953
|
-
mapper:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1469
|
+
const parameters1 = {
|
|
1470
|
+
parameterPath: "parameters",
|
|
1471
|
+
mapper: Zone,
|
|
1472
|
+
};
|
|
1473
|
+
const parameters2 = {
|
|
1474
|
+
parameterPath: "parameters",
|
|
1475
|
+
mapper: ZoneUpdate,
|
|
1476
|
+
};
|
|
1477
|
+
const parameters3 = {
|
|
1478
|
+
parameterPath: "parameters",
|
|
1479
|
+
mapper: DnsResourceReferenceRequest,
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
/*
|
|
1483
|
+
* Copyright (c) Microsoft Corporation.
|
|
1484
|
+
* Licensed under the MIT License.
|
|
1485
|
+
*
|
|
1486
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1487
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1488
|
+
*/
|
|
1489
|
+
function createLroSpec(inputs) {
|
|
1490
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
1491
|
+
return {
|
|
1492
|
+
requestMethod: spec.httpMethod,
|
|
1493
|
+
requestPath: spec.path,
|
|
1494
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
1495
|
+
sendPollRequest: (path, options) => {
|
|
1496
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
1497
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
1498
|
+
},
|
|
1499
|
+
};
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/*
|
|
1503
|
+
* Copyright (c) Microsoft Corporation.
|
|
1504
|
+
* Licensed under the MIT License.
|
|
1505
|
+
*
|
|
1506
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1507
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1508
|
+
*/
|
|
1509
|
+
/// <reference lib="esnext.asynciterable" />
|
|
1510
|
+
/** Class containing DnssecConfigs operations. */
|
|
1511
|
+
class DnssecConfigsImpl {
|
|
1512
|
+
/**
|
|
1513
|
+
* Initialize a new instance of the class DnssecConfigs class.
|
|
1514
|
+
* @param client Reference to the service client
|
|
1515
|
+
*/
|
|
1516
|
+
constructor(client) {
|
|
1517
|
+
this.client = client;
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Lists the DNSSEC configurations in a DNS zone.
|
|
1521
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1522
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1523
|
+
* @param options The options parameters.
|
|
1524
|
+
*/
|
|
1525
|
+
listByDnsZone(resourceGroupName, zoneName, options) {
|
|
1526
|
+
const iter = this.listByDnsZonePagingAll(resourceGroupName, zoneName, options);
|
|
1527
|
+
return {
|
|
1528
|
+
next() {
|
|
1529
|
+
return iter.next();
|
|
1530
|
+
},
|
|
1531
|
+
[Symbol.asyncIterator]() {
|
|
1532
|
+
return this;
|
|
1533
|
+
},
|
|
1534
|
+
byPage: (settings) => {
|
|
1535
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1536
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
1537
|
+
}
|
|
1538
|
+
return this.listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings);
|
|
1539
|
+
},
|
|
1540
|
+
};
|
|
1541
|
+
}
|
|
1542
|
+
listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
1543
|
+
return tslib.__asyncGenerator(this, arguments, function* listByDnsZonePagingPage_1() {
|
|
1544
|
+
let result;
|
|
1545
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
1546
|
+
if (!continuationToken) {
|
|
1547
|
+
result = yield tslib.__await(this._listByDnsZone(resourceGroupName, zoneName, options));
|
|
1548
|
+
let page = result.value || [];
|
|
1549
|
+
continuationToken = result.nextLink;
|
|
1550
|
+
setContinuationToken(page, continuationToken);
|
|
1551
|
+
yield yield tslib.__await(page);
|
|
1552
|
+
}
|
|
1553
|
+
while (continuationToken) {
|
|
1554
|
+
result = yield tslib.__await(this._listByDnsZoneNext(resourceGroupName, zoneName, continuationToken, options));
|
|
1555
|
+
continuationToken = result.nextLink;
|
|
1556
|
+
let page = result.value || [];
|
|
1557
|
+
setContinuationToken(page, continuationToken);
|
|
1558
|
+
yield yield tslib.__await(page);
|
|
1559
|
+
}
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
listByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
1563
|
+
return tslib.__asyncGenerator(this, arguments, function* listByDnsZonePagingAll_1() {
|
|
1564
|
+
var _a, e_1, _b, _c;
|
|
1565
|
+
try {
|
|
1566
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDnsZonePagingPage(resourceGroupName, zoneName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1567
|
+
_c = _f.value;
|
|
1568
|
+
_d = false;
|
|
1569
|
+
const page = _c;
|
|
1570
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1574
|
+
finally {
|
|
1575
|
+
try {
|
|
1576
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1577
|
+
}
|
|
1578
|
+
finally { if (e_1) throw e_1.error; }
|
|
1579
|
+
}
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Creates or updates the DNSSEC configuration on a DNS zone.
|
|
1584
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1585
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1586
|
+
* @param options The options parameters.
|
|
1587
|
+
*/
|
|
1588
|
+
beginCreateOrUpdate(resourceGroupName, zoneName, options) {
|
|
1589
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1590
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1591
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1592
|
+
});
|
|
1593
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1594
|
+
var _a;
|
|
1595
|
+
let currentRawResponse = undefined;
|
|
1596
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1597
|
+
const callback = (rawResponse, flatResponse) => {
|
|
1598
|
+
currentRawResponse = rawResponse;
|
|
1599
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1600
|
+
};
|
|
1601
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1602
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1603
|
+
return {
|
|
1604
|
+
flatResponse,
|
|
1605
|
+
rawResponse: {
|
|
1606
|
+
statusCode: currentRawResponse.status,
|
|
1607
|
+
body: currentRawResponse.parsedBody,
|
|
1608
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1609
|
+
},
|
|
1610
|
+
};
|
|
1611
|
+
});
|
|
1612
|
+
const lro = createLroSpec({
|
|
1613
|
+
sendOperationFn,
|
|
1614
|
+
args: { resourceGroupName, zoneName, options },
|
|
1615
|
+
spec: createOrUpdateOperationSpec$2,
|
|
1616
|
+
});
|
|
1617
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
1618
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1619
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1620
|
+
});
|
|
1621
|
+
yield poller.poll();
|
|
1622
|
+
return poller;
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
/**
|
|
1626
|
+
* Creates or updates the DNSSEC configuration on a DNS zone.
|
|
1627
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1628
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1629
|
+
* @param options The options parameters.
|
|
1630
|
+
*/
|
|
1631
|
+
beginCreateOrUpdateAndWait(resourceGroupName, zoneName, options) {
|
|
1632
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1633
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, zoneName, options);
|
|
1634
|
+
return poller.pollUntilDone();
|
|
1635
|
+
});
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
* Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
|
|
1639
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1640
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1641
|
+
* @param options The options parameters.
|
|
1642
|
+
*/
|
|
1643
|
+
beginDelete(resourceGroupName, zoneName, options) {
|
|
1644
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1645
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1646
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1647
|
+
});
|
|
1648
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1649
|
+
var _a;
|
|
1650
|
+
let currentRawResponse = undefined;
|
|
1651
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1652
|
+
const callback = (rawResponse, flatResponse) => {
|
|
1653
|
+
currentRawResponse = rawResponse;
|
|
1654
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1655
|
+
};
|
|
1656
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1657
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1658
|
+
return {
|
|
1659
|
+
flatResponse,
|
|
1660
|
+
rawResponse: {
|
|
1661
|
+
statusCode: currentRawResponse.status,
|
|
1662
|
+
body: currentRawResponse.parsedBody,
|
|
1663
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1664
|
+
},
|
|
1665
|
+
};
|
|
1666
|
+
});
|
|
1667
|
+
const lro = createLroSpec({
|
|
1668
|
+
sendOperationFn,
|
|
1669
|
+
args: { resourceGroupName, zoneName, options },
|
|
1670
|
+
spec: deleteOperationSpec$2,
|
|
1671
|
+
});
|
|
1672
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
1673
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1674
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1675
|
+
});
|
|
1676
|
+
yield poller.poll();
|
|
1677
|
+
return poller;
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
|
|
1682
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1683
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1684
|
+
* @param options The options parameters.
|
|
1685
|
+
*/
|
|
1686
|
+
beginDeleteAndWait(resourceGroupName, zoneName, options) {
|
|
1687
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1688
|
+
const poller = yield this.beginDelete(resourceGroupName, zoneName, options);
|
|
1689
|
+
return poller.pollUntilDone();
|
|
1690
|
+
});
|
|
958
1691
|
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
}
|
|
1692
|
+
/**
|
|
1693
|
+
* Gets the DNSSEC configuration.
|
|
1694
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1695
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1696
|
+
* @param options The options parameters.
|
|
1697
|
+
*/
|
|
1698
|
+
get(resourceGroupName, zoneName, options) {
|
|
1699
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, getOperationSpec$2);
|
|
967
1700
|
}
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Lists the DNSSEC configurations in a DNS zone.
|
|
1703
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1704
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1705
|
+
* @param options The options parameters.
|
|
1706
|
+
*/
|
|
1707
|
+
_listByDnsZone(resourceGroupName, zoneName, options) {
|
|
1708
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, listByDnsZoneOperationSpec$1);
|
|
976
1709
|
}
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
1710
|
+
/**
|
|
1711
|
+
* ListByDnsZoneNext
|
|
1712
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1713
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1714
|
+
* @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.
|
|
1715
|
+
* @param options The options parameters.
|
|
1716
|
+
*/
|
|
1717
|
+
_listByDnsZoneNext(resourceGroupName, zoneName, nextLink, options) {
|
|
1718
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, nextLink, options }, listByDnsZoneNextOperationSpec$1);
|
|
985
1719
|
}
|
|
1720
|
+
}
|
|
1721
|
+
// Operation Specifications
|
|
1722
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1723
|
+
const createOrUpdateOperationSpec$2 = {
|
|
1724
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default",
|
|
1725
|
+
httpMethod: "PUT",
|
|
1726
|
+
responses: {
|
|
1727
|
+
200: {
|
|
1728
|
+
bodyMapper: DnssecConfig,
|
|
1729
|
+
},
|
|
1730
|
+
201: {
|
|
1731
|
+
bodyMapper: DnssecConfig,
|
|
1732
|
+
},
|
|
1733
|
+
202: {
|
|
1734
|
+
bodyMapper: DnssecConfig,
|
|
1735
|
+
},
|
|
1736
|
+
204: {
|
|
1737
|
+
bodyMapper: DnssecConfig,
|
|
1738
|
+
},
|
|
1739
|
+
default: {
|
|
1740
|
+
bodyMapper: CloudError,
|
|
1741
|
+
},
|
|
1742
|
+
},
|
|
1743
|
+
queryParameters: [apiVersion],
|
|
1744
|
+
urlParameters: [
|
|
1745
|
+
$host,
|
|
1746
|
+
resourceGroupName,
|
|
1747
|
+
zoneName,
|
|
1748
|
+
subscriptionId,
|
|
1749
|
+
],
|
|
1750
|
+
headerParameters: [
|
|
1751
|
+
accept,
|
|
1752
|
+
ifMatch,
|
|
1753
|
+
ifNoneMatch,
|
|
1754
|
+
],
|
|
1755
|
+
serializer: serializer$3,
|
|
986
1756
|
};
|
|
987
|
-
const
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
}
|
|
1757
|
+
const deleteOperationSpec$2 = {
|
|
1758
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default",
|
|
1759
|
+
httpMethod: "DELETE",
|
|
1760
|
+
responses: {
|
|
1761
|
+
200: {},
|
|
1762
|
+
201: {},
|
|
1763
|
+
202: {},
|
|
1764
|
+
204: {},
|
|
1765
|
+
default: {
|
|
1766
|
+
bodyMapper: CloudError,
|
|
1767
|
+
},
|
|
995
1768
|
},
|
|
996
|
-
|
|
1769
|
+
queryParameters: [apiVersion],
|
|
1770
|
+
urlParameters: [
|
|
1771
|
+
$host,
|
|
1772
|
+
resourceGroupName,
|
|
1773
|
+
zoneName,
|
|
1774
|
+
subscriptionId,
|
|
1775
|
+
],
|
|
1776
|
+
headerParameters: [accept, ifMatch],
|
|
1777
|
+
serializer: serializer$3,
|
|
997
1778
|
};
|
|
998
|
-
const
|
|
999
|
-
|
|
1000
|
-
|
|
1779
|
+
const getOperationSpec$2 = {
|
|
1780
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default",
|
|
1781
|
+
httpMethod: "GET",
|
|
1782
|
+
responses: {
|
|
1783
|
+
200: {
|
|
1784
|
+
bodyMapper: DnssecConfig,
|
|
1785
|
+
},
|
|
1786
|
+
default: {
|
|
1787
|
+
bodyMapper: CloudError,
|
|
1788
|
+
},
|
|
1789
|
+
},
|
|
1790
|
+
queryParameters: [apiVersion],
|
|
1791
|
+
urlParameters: [
|
|
1792
|
+
$host,
|
|
1793
|
+
resourceGroupName,
|
|
1794
|
+
zoneName,
|
|
1795
|
+
subscriptionId,
|
|
1796
|
+
],
|
|
1797
|
+
headerParameters: [accept],
|
|
1798
|
+
serializer: serializer$3,
|
|
1001
1799
|
};
|
|
1002
|
-
const
|
|
1003
|
-
|
|
1004
|
-
|
|
1800
|
+
const listByDnsZoneOperationSpec$1 = {
|
|
1801
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs",
|
|
1802
|
+
httpMethod: "GET",
|
|
1803
|
+
responses: {
|
|
1804
|
+
200: {
|
|
1805
|
+
bodyMapper: DnssecConfigListResult,
|
|
1806
|
+
},
|
|
1807
|
+
default: {
|
|
1808
|
+
bodyMapper: CloudError,
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1811
|
+
queryParameters: [apiVersion],
|
|
1812
|
+
urlParameters: [
|
|
1813
|
+
$host,
|
|
1814
|
+
resourceGroupName,
|
|
1815
|
+
zoneName,
|
|
1816
|
+
subscriptionId,
|
|
1817
|
+
],
|
|
1818
|
+
headerParameters: [accept],
|
|
1819
|
+
serializer: serializer$3,
|
|
1005
1820
|
};
|
|
1006
|
-
const
|
|
1007
|
-
|
|
1008
|
-
|
|
1821
|
+
const listByDnsZoneNextOperationSpec$1 = {
|
|
1822
|
+
path: "{nextLink}",
|
|
1823
|
+
httpMethod: "GET",
|
|
1824
|
+
responses: {
|
|
1825
|
+
200: {
|
|
1826
|
+
bodyMapper: DnssecConfigListResult,
|
|
1827
|
+
},
|
|
1828
|
+
default: {
|
|
1829
|
+
bodyMapper: CloudError,
|
|
1830
|
+
},
|
|
1831
|
+
},
|
|
1832
|
+
urlParameters: [
|
|
1833
|
+
$host,
|
|
1834
|
+
resourceGroupName,
|
|
1835
|
+
zoneName,
|
|
1836
|
+
subscriptionId,
|
|
1837
|
+
nextLink,
|
|
1838
|
+
],
|
|
1839
|
+
headerParameters: [accept],
|
|
1840
|
+
serializer: serializer$3,
|
|
1009
1841
|
};
|
|
1010
1842
|
|
|
1011
1843
|
/*
|
|
@@ -1027,9 +1859,9 @@ class RecordSetsImpl {
|
|
|
1027
1859
|
}
|
|
1028
1860
|
/**
|
|
1029
1861
|
* Lists the record sets of a specified type in a DNS zone.
|
|
1030
|
-
* @param resourceGroupName The name of the resource group.
|
|
1862
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1031
1863
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1032
|
-
* @param recordType The type of record
|
|
1864
|
+
* @param recordType The type of DNS record in this record set.
|
|
1033
1865
|
* @param options The options parameters.
|
|
1034
1866
|
*/
|
|
1035
1867
|
listByType(resourceGroupName, zoneName, recordType, options) {
|
|
@@ -1046,7 +1878,7 @@ class RecordSetsImpl {
|
|
|
1046
1878
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1047
1879
|
}
|
|
1048
1880
|
return this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings);
|
|
1049
|
-
}
|
|
1881
|
+
},
|
|
1050
1882
|
};
|
|
1051
1883
|
}
|
|
1052
1884
|
listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings) {
|
|
@@ -1091,7 +1923,7 @@ class RecordSetsImpl {
|
|
|
1091
1923
|
}
|
|
1092
1924
|
/**
|
|
1093
1925
|
* Lists all record sets in a DNS zone.
|
|
1094
|
-
* @param resourceGroupName The name of the resource group.
|
|
1926
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1095
1927
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1096
1928
|
* @param options The options parameters.
|
|
1097
1929
|
*/
|
|
@@ -1109,7 +1941,7 @@ class RecordSetsImpl {
|
|
|
1109
1941
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1110
1942
|
}
|
|
1111
1943
|
return this.listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings);
|
|
1112
|
-
}
|
|
1944
|
+
},
|
|
1113
1945
|
};
|
|
1114
1946
|
}
|
|
1115
1947
|
listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
@@ -1154,7 +1986,7 @@ class RecordSetsImpl {
|
|
|
1154
1986
|
}
|
|
1155
1987
|
/**
|
|
1156
1988
|
* Lists all record sets in a DNS zone.
|
|
1157
|
-
* @param resourceGroupName The name of the resource group.
|
|
1989
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1158
1990
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1159
1991
|
* @param options The options parameters.
|
|
1160
1992
|
*/
|
|
@@ -1172,7 +2004,7 @@ class RecordSetsImpl {
|
|
|
1172
2004
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1173
2005
|
}
|
|
1174
2006
|
return this.listAllByDnsZonePagingPage(resourceGroupName, zoneName, options, settings);
|
|
1175
|
-
}
|
|
2007
|
+
},
|
|
1176
2008
|
};
|
|
1177
2009
|
}
|
|
1178
2010
|
listAllByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
@@ -1217,7 +2049,7 @@ class RecordSetsImpl {
|
|
|
1217
2049
|
}
|
|
1218
2050
|
/**
|
|
1219
2051
|
* Updates a record set within a DNS zone.
|
|
1220
|
-
* @param resourceGroupName The name of the resource group.
|
|
2052
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1221
2053
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1222
2054
|
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
1223
2055
|
* @param recordType The type of DNS record in this record set.
|
|
@@ -1231,16 +2063,16 @@ class RecordSetsImpl {
|
|
|
1231
2063
|
relativeRecordSetName,
|
|
1232
2064
|
recordType,
|
|
1233
2065
|
parameters,
|
|
1234
|
-
options
|
|
2066
|
+
options,
|
|
1235
2067
|
}, updateOperationSpec$1);
|
|
1236
2068
|
}
|
|
1237
2069
|
/**
|
|
1238
|
-
* Creates or updates a record set within a DNS zone.
|
|
1239
|
-
*
|
|
2070
|
+
* Creates or updates a record set within a DNS zone. Record sets of type SOA can be updated but not
|
|
2071
|
+
* created (they are created when the DNS zone is created).
|
|
2072
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1240
2073
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1241
2074
|
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
1242
|
-
* @param recordType The type of DNS record in this record set.
|
|
1243
|
-
* but not created (they are created when the DNS zone is created).
|
|
2075
|
+
* @param recordType The type of DNS record in this record set.
|
|
1244
2076
|
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
1245
2077
|
* @param options The options parameters.
|
|
1246
2078
|
*/
|
|
@@ -1251,16 +2083,16 @@ class RecordSetsImpl {
|
|
|
1251
2083
|
relativeRecordSetName,
|
|
1252
2084
|
recordType,
|
|
1253
2085
|
parameters,
|
|
1254
|
-
options
|
|
2086
|
+
options,
|
|
1255
2087
|
}, createOrUpdateOperationSpec$1);
|
|
1256
2088
|
}
|
|
1257
2089
|
/**
|
|
1258
|
-
* Deletes a record set from a DNS zone. This operation cannot be undone.
|
|
1259
|
-
*
|
|
2090
|
+
* Deletes a record set from a DNS zone. This operation cannot be undone. Record sets of type SOA
|
|
2091
|
+
* cannot be deleted (they are deleted when the DNS zone is deleted).
|
|
2092
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1260
2093
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1261
2094
|
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
1262
|
-
* @param recordType The type of DNS record in this record set.
|
|
1263
|
-
* deleted (they are deleted when the DNS zone is deleted).
|
|
2095
|
+
* @param recordType The type of DNS record in this record set.
|
|
1264
2096
|
* @param options The options parameters.
|
|
1265
2097
|
*/
|
|
1266
2098
|
delete(resourceGroupName, zoneName, relativeRecordSetName, recordType, options) {
|
|
@@ -1269,12 +2101,12 @@ class RecordSetsImpl {
|
|
|
1269
2101
|
zoneName,
|
|
1270
2102
|
relativeRecordSetName,
|
|
1271
2103
|
recordType,
|
|
1272
|
-
options
|
|
2104
|
+
options,
|
|
1273
2105
|
}, deleteOperationSpec$1);
|
|
1274
2106
|
}
|
|
1275
2107
|
/**
|
|
1276
2108
|
* Gets a record set.
|
|
1277
|
-
* @param resourceGroupName The name of the resource group.
|
|
2109
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1278
2110
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1279
2111
|
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
1280
2112
|
* @param recordType The type of DNS record in this record set.
|
|
@@ -1286,14 +2118,14 @@ class RecordSetsImpl {
|
|
|
1286
2118
|
zoneName,
|
|
1287
2119
|
relativeRecordSetName,
|
|
1288
2120
|
recordType,
|
|
1289
|
-
options
|
|
2121
|
+
options,
|
|
1290
2122
|
}, getOperationSpec$1);
|
|
1291
2123
|
}
|
|
1292
2124
|
/**
|
|
1293
2125
|
* Lists the record sets of a specified type in a DNS zone.
|
|
1294
|
-
* @param resourceGroupName The name of the resource group.
|
|
2126
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1295
2127
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1296
|
-
* @param recordType The type of record
|
|
2128
|
+
* @param recordType The type of DNS record in this record set.
|
|
1297
2129
|
* @param options The options parameters.
|
|
1298
2130
|
*/
|
|
1299
2131
|
_listByType(resourceGroupName, zoneName, recordType, options) {
|
|
@@ -1301,7 +2133,7 @@ class RecordSetsImpl {
|
|
|
1301
2133
|
}
|
|
1302
2134
|
/**
|
|
1303
2135
|
* Lists all record sets in a DNS zone.
|
|
1304
|
-
* @param resourceGroupName The name of the resource group.
|
|
2136
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1305
2137
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1306
2138
|
* @param options The options parameters.
|
|
1307
2139
|
*/
|
|
@@ -1310,7 +2142,7 @@ class RecordSetsImpl {
|
|
|
1310
2142
|
}
|
|
1311
2143
|
/**
|
|
1312
2144
|
* Lists all record sets in a DNS zone.
|
|
1313
|
-
* @param resourceGroupName The name of the resource group.
|
|
2145
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1314
2146
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1315
2147
|
* @param options The options parameters.
|
|
1316
2148
|
*/
|
|
@@ -1319,9 +2151,9 @@ class RecordSetsImpl {
|
|
|
1319
2151
|
}
|
|
1320
2152
|
/**
|
|
1321
2153
|
* ListByTypeNext
|
|
1322
|
-
* @param resourceGroupName The name of the resource group.
|
|
2154
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1323
2155
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1324
|
-
* @param recordType The type of record
|
|
2156
|
+
* @param recordType The type of DNS record in this record set.
|
|
1325
2157
|
* @param nextLink The nextLink from the previous successful call to the ListByType method.
|
|
1326
2158
|
* @param options The options parameters.
|
|
1327
2159
|
*/
|
|
@@ -1330,7 +2162,7 @@ class RecordSetsImpl {
|
|
|
1330
2162
|
}
|
|
1331
2163
|
/**
|
|
1332
2164
|
* ListByDnsZoneNext
|
|
1333
|
-
* @param resourceGroupName The name of the resource group.
|
|
2165
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1334
2166
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1335
2167
|
* @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.
|
|
1336
2168
|
* @param options The options parameters.
|
|
@@ -1340,7 +2172,7 @@ class RecordSetsImpl {
|
|
|
1340
2172
|
}
|
|
1341
2173
|
/**
|
|
1342
2174
|
* ListAllByDnsZoneNext
|
|
1343
|
-
* @param resourceGroupName The name of the resource group.
|
|
2175
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1344
2176
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1345
2177
|
* @param nextLink The nextLink from the previous successful call to the ListAllByDnsZone method.
|
|
1346
2178
|
* @param options The options parameters.
|
|
@@ -1356,11 +2188,11 @@ const updateOperationSpec$1 = {
|
|
|
1356
2188
|
httpMethod: "PATCH",
|
|
1357
2189
|
responses: {
|
|
1358
2190
|
200: {
|
|
1359
|
-
bodyMapper: RecordSet
|
|
2191
|
+
bodyMapper: RecordSet,
|
|
1360
2192
|
},
|
|
1361
2193
|
default: {
|
|
1362
|
-
bodyMapper: CloudError
|
|
1363
|
-
}
|
|
2194
|
+
bodyMapper: CloudError,
|
|
2195
|
+
},
|
|
1364
2196
|
},
|
|
1365
2197
|
requestBody: parameters,
|
|
1366
2198
|
queryParameters: [apiVersion],
|
|
@@ -1368,31 +2200,31 @@ const updateOperationSpec$1 = {
|
|
|
1368
2200
|
$host,
|
|
1369
2201
|
resourceGroupName,
|
|
1370
2202
|
zoneName,
|
|
2203
|
+
subscriptionId,
|
|
1371
2204
|
relativeRecordSetName,
|
|
1372
2205
|
recordType,
|
|
1373
|
-
subscriptionId
|
|
1374
2206
|
],
|
|
1375
2207
|
headerParameters: [
|
|
1376
|
-
contentType,
|
|
1377
2208
|
accept,
|
|
1378
|
-
ifMatch
|
|
2209
|
+
ifMatch,
|
|
2210
|
+
contentType,
|
|
1379
2211
|
],
|
|
1380
2212
|
mediaType: "json",
|
|
1381
|
-
serializer: serializer$2
|
|
2213
|
+
serializer: serializer$2,
|
|
1382
2214
|
};
|
|
1383
2215
|
const createOrUpdateOperationSpec$1 = {
|
|
1384
2216
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
1385
2217
|
httpMethod: "PUT",
|
|
1386
2218
|
responses: {
|
|
1387
2219
|
200: {
|
|
1388
|
-
bodyMapper: RecordSet
|
|
2220
|
+
bodyMapper: RecordSet,
|
|
1389
2221
|
},
|
|
1390
2222
|
201: {
|
|
1391
|
-
bodyMapper: RecordSet
|
|
2223
|
+
bodyMapper: RecordSet,
|
|
1392
2224
|
},
|
|
1393
2225
|
default: {
|
|
1394
|
-
bodyMapper: CloudError
|
|
1395
|
-
}
|
|
2226
|
+
bodyMapper: CloudError,
|
|
2227
|
+
},
|
|
1396
2228
|
},
|
|
1397
2229
|
requestBody: parameters,
|
|
1398
2230
|
queryParameters: [apiVersion],
|
|
@@ -1400,18 +2232,18 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
1400
2232
|
$host,
|
|
1401
2233
|
resourceGroupName,
|
|
1402
2234
|
zoneName,
|
|
2235
|
+
subscriptionId,
|
|
1403
2236
|
relativeRecordSetName,
|
|
1404
2237
|
recordType,
|
|
1405
|
-
subscriptionId
|
|
1406
2238
|
],
|
|
1407
2239
|
headerParameters: [
|
|
1408
|
-
contentType,
|
|
1409
2240
|
accept,
|
|
1410
2241
|
ifMatch,
|
|
1411
|
-
ifNoneMatch
|
|
2242
|
+
ifNoneMatch,
|
|
2243
|
+
contentType,
|
|
1412
2244
|
],
|
|
1413
2245
|
mediaType: "json",
|
|
1414
|
-
serializer: serializer$2
|
|
2246
|
+
serializer: serializer$2,
|
|
1415
2247
|
};
|
|
1416
2248
|
const deleteOperationSpec$1 = {
|
|
1417
2249
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
@@ -1420,228 +2252,185 @@ const deleteOperationSpec$1 = {
|
|
|
1420
2252
|
200: {},
|
|
1421
2253
|
204: {},
|
|
1422
2254
|
default: {
|
|
1423
|
-
bodyMapper: CloudError
|
|
1424
|
-
}
|
|
2255
|
+
bodyMapper: CloudError,
|
|
2256
|
+
},
|
|
1425
2257
|
},
|
|
1426
2258
|
queryParameters: [apiVersion],
|
|
1427
2259
|
urlParameters: [
|
|
1428
2260
|
$host,
|
|
1429
2261
|
resourceGroupName,
|
|
1430
2262
|
zoneName,
|
|
2263
|
+
subscriptionId,
|
|
1431
2264
|
relativeRecordSetName,
|
|
1432
2265
|
recordType,
|
|
1433
|
-
subscriptionId
|
|
1434
2266
|
],
|
|
1435
2267
|
headerParameters: [accept, ifMatch],
|
|
1436
|
-
serializer: serializer$2
|
|
2268
|
+
serializer: serializer$2,
|
|
1437
2269
|
};
|
|
1438
2270
|
const getOperationSpec$1 = {
|
|
1439
2271
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}",
|
|
1440
2272
|
httpMethod: "GET",
|
|
1441
2273
|
responses: {
|
|
1442
2274
|
200: {
|
|
1443
|
-
bodyMapper: RecordSet
|
|
2275
|
+
bodyMapper: RecordSet,
|
|
1444
2276
|
},
|
|
1445
2277
|
default: {
|
|
1446
|
-
bodyMapper: CloudError
|
|
1447
|
-
}
|
|
2278
|
+
bodyMapper: CloudError,
|
|
2279
|
+
},
|
|
1448
2280
|
},
|
|
1449
2281
|
queryParameters: [apiVersion],
|
|
1450
2282
|
urlParameters: [
|
|
1451
2283
|
$host,
|
|
1452
2284
|
resourceGroupName,
|
|
1453
2285
|
zoneName,
|
|
2286
|
+
subscriptionId,
|
|
1454
2287
|
relativeRecordSetName,
|
|
1455
2288
|
recordType,
|
|
1456
|
-
subscriptionId
|
|
1457
2289
|
],
|
|
1458
2290
|
headerParameters: [accept],
|
|
1459
|
-
serializer: serializer$2
|
|
2291
|
+
serializer: serializer$2,
|
|
1460
2292
|
};
|
|
1461
2293
|
const listByTypeOperationSpec = {
|
|
1462
2294
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}",
|
|
1463
2295
|
httpMethod: "GET",
|
|
1464
2296
|
responses: {
|
|
1465
2297
|
200: {
|
|
1466
|
-
bodyMapper: RecordSetListResult
|
|
2298
|
+
bodyMapper: RecordSetListResult,
|
|
1467
2299
|
},
|
|
1468
2300
|
default: {
|
|
1469
|
-
bodyMapper: CloudError
|
|
1470
|
-
}
|
|
2301
|
+
bodyMapper: CloudError,
|
|
2302
|
+
},
|
|
1471
2303
|
},
|
|
1472
2304
|
queryParameters: [
|
|
1473
2305
|
apiVersion,
|
|
1474
2306
|
top,
|
|
1475
|
-
recordsetnamesuffix
|
|
2307
|
+
recordsetnamesuffix,
|
|
1476
2308
|
],
|
|
1477
2309
|
urlParameters: [
|
|
1478
2310
|
$host,
|
|
1479
2311
|
resourceGroupName,
|
|
1480
2312
|
zoneName,
|
|
2313
|
+
subscriptionId,
|
|
1481
2314
|
recordType,
|
|
1482
|
-
subscriptionId
|
|
1483
2315
|
],
|
|
1484
2316
|
headerParameters: [accept],
|
|
1485
|
-
serializer: serializer$2
|
|
2317
|
+
serializer: serializer$2,
|
|
1486
2318
|
};
|
|
1487
2319
|
const listByDnsZoneOperationSpec = {
|
|
1488
2320
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets",
|
|
1489
2321
|
httpMethod: "GET",
|
|
1490
2322
|
responses: {
|
|
1491
2323
|
200: {
|
|
1492
|
-
bodyMapper: RecordSetListResult
|
|
2324
|
+
bodyMapper: RecordSetListResult,
|
|
1493
2325
|
},
|
|
1494
2326
|
default: {
|
|
1495
|
-
bodyMapper: CloudError
|
|
1496
|
-
}
|
|
2327
|
+
bodyMapper: CloudError,
|
|
2328
|
+
},
|
|
1497
2329
|
},
|
|
1498
2330
|
queryParameters: [
|
|
1499
2331
|
apiVersion,
|
|
1500
2332
|
top,
|
|
1501
|
-
recordsetnamesuffix
|
|
2333
|
+
recordsetnamesuffix,
|
|
1502
2334
|
],
|
|
1503
2335
|
urlParameters: [
|
|
1504
2336
|
$host,
|
|
1505
2337
|
resourceGroupName,
|
|
1506
2338
|
zoneName,
|
|
1507
|
-
subscriptionId
|
|
2339
|
+
subscriptionId,
|
|
1508
2340
|
],
|
|
1509
2341
|
headerParameters: [accept],
|
|
1510
|
-
serializer: serializer$2
|
|
2342
|
+
serializer: serializer$2,
|
|
1511
2343
|
};
|
|
1512
2344
|
const listAllByDnsZoneOperationSpec = {
|
|
1513
2345
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all",
|
|
1514
2346
|
httpMethod: "GET",
|
|
1515
2347
|
responses: {
|
|
1516
2348
|
200: {
|
|
1517
|
-
bodyMapper: RecordSetListResult
|
|
2349
|
+
bodyMapper: RecordSetListResult,
|
|
1518
2350
|
},
|
|
1519
2351
|
default: {
|
|
1520
|
-
bodyMapper: CloudError
|
|
1521
|
-
}
|
|
2352
|
+
bodyMapper: CloudError,
|
|
2353
|
+
},
|
|
1522
2354
|
},
|
|
1523
2355
|
queryParameters: [
|
|
1524
2356
|
apiVersion,
|
|
1525
2357
|
top,
|
|
1526
|
-
recordSetNameSuffix
|
|
2358
|
+
recordSetNameSuffix,
|
|
1527
2359
|
],
|
|
1528
2360
|
urlParameters: [
|
|
1529
2361
|
$host,
|
|
1530
2362
|
resourceGroupName,
|
|
1531
2363
|
zoneName,
|
|
1532
|
-
subscriptionId
|
|
2364
|
+
subscriptionId,
|
|
1533
2365
|
],
|
|
1534
2366
|
headerParameters: [accept],
|
|
1535
|
-
serializer: serializer$2
|
|
2367
|
+
serializer: serializer$2,
|
|
1536
2368
|
};
|
|
1537
2369
|
const listByTypeNextOperationSpec = {
|
|
1538
2370
|
path: "{nextLink}",
|
|
1539
2371
|
httpMethod: "GET",
|
|
1540
2372
|
responses: {
|
|
1541
2373
|
200: {
|
|
1542
|
-
bodyMapper: RecordSetListResult
|
|
2374
|
+
bodyMapper: RecordSetListResult,
|
|
1543
2375
|
},
|
|
1544
2376
|
default: {
|
|
1545
|
-
bodyMapper: CloudError
|
|
1546
|
-
}
|
|
2377
|
+
bodyMapper: CloudError,
|
|
2378
|
+
},
|
|
1547
2379
|
},
|
|
1548
|
-
queryParameters: [
|
|
1549
|
-
apiVersion,
|
|
1550
|
-
top,
|
|
1551
|
-
recordsetnamesuffix
|
|
1552
|
-
],
|
|
1553
2380
|
urlParameters: [
|
|
1554
2381
|
$host,
|
|
1555
2382
|
resourceGroupName,
|
|
1556
2383
|
zoneName,
|
|
1557
|
-
recordType,
|
|
1558
2384
|
subscriptionId,
|
|
1559
|
-
nextLink
|
|
2385
|
+
nextLink,
|
|
2386
|
+
recordType,
|
|
1560
2387
|
],
|
|
1561
2388
|
headerParameters: [accept],
|
|
1562
|
-
serializer: serializer$2
|
|
2389
|
+
serializer: serializer$2,
|
|
1563
2390
|
};
|
|
1564
2391
|
const listByDnsZoneNextOperationSpec = {
|
|
1565
2392
|
path: "{nextLink}",
|
|
1566
2393
|
httpMethod: "GET",
|
|
1567
2394
|
responses: {
|
|
1568
2395
|
200: {
|
|
1569
|
-
bodyMapper: RecordSetListResult
|
|
2396
|
+
bodyMapper: RecordSetListResult,
|
|
1570
2397
|
},
|
|
1571
2398
|
default: {
|
|
1572
|
-
bodyMapper: CloudError
|
|
1573
|
-
}
|
|
2399
|
+
bodyMapper: CloudError,
|
|
2400
|
+
},
|
|
1574
2401
|
},
|
|
1575
|
-
queryParameters: [
|
|
1576
|
-
apiVersion,
|
|
1577
|
-
top,
|
|
1578
|
-
recordsetnamesuffix
|
|
1579
|
-
],
|
|
1580
2402
|
urlParameters: [
|
|
1581
2403
|
$host,
|
|
1582
2404
|
resourceGroupName,
|
|
1583
2405
|
zoneName,
|
|
1584
2406
|
subscriptionId,
|
|
1585
|
-
nextLink
|
|
2407
|
+
nextLink,
|
|
1586
2408
|
],
|
|
1587
2409
|
headerParameters: [accept],
|
|
1588
|
-
serializer: serializer$2
|
|
2410
|
+
serializer: serializer$2,
|
|
1589
2411
|
};
|
|
1590
2412
|
const listAllByDnsZoneNextOperationSpec = {
|
|
1591
2413
|
path: "{nextLink}",
|
|
1592
2414
|
httpMethod: "GET",
|
|
1593
2415
|
responses: {
|
|
1594
2416
|
200: {
|
|
1595
|
-
bodyMapper: RecordSetListResult
|
|
2417
|
+
bodyMapper: RecordSetListResult,
|
|
1596
2418
|
},
|
|
1597
2419
|
default: {
|
|
1598
|
-
bodyMapper: CloudError
|
|
1599
|
-
}
|
|
2420
|
+
bodyMapper: CloudError,
|
|
2421
|
+
},
|
|
1600
2422
|
},
|
|
1601
|
-
queryParameters: [
|
|
1602
|
-
apiVersion,
|
|
1603
|
-
top,
|
|
1604
|
-
recordSetNameSuffix
|
|
1605
|
-
],
|
|
1606
2423
|
urlParameters: [
|
|
1607
2424
|
$host,
|
|
1608
2425
|
resourceGroupName,
|
|
1609
2426
|
zoneName,
|
|
1610
2427
|
subscriptionId,
|
|
1611
|
-
nextLink
|
|
2428
|
+
nextLink,
|
|
1612
2429
|
],
|
|
1613
2430
|
headerParameters: [accept],
|
|
1614
|
-
serializer: serializer$2
|
|
2431
|
+
serializer: serializer$2,
|
|
1615
2432
|
};
|
|
1616
2433
|
|
|
1617
|
-
/*
|
|
1618
|
-
* Copyright (c) Microsoft Corporation.
|
|
1619
|
-
* Licensed under the MIT License.
|
|
1620
|
-
*
|
|
1621
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1622
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1623
|
-
*/
|
|
1624
|
-
class LroImpl {
|
|
1625
|
-
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
1626
|
-
this.sendOperationFn = sendOperationFn;
|
|
1627
|
-
this.args = args;
|
|
1628
|
-
this.spec = spec;
|
|
1629
|
-
this.requestPath = requestPath;
|
|
1630
|
-
this.requestMethod = requestMethod;
|
|
1631
|
-
}
|
|
1632
|
-
sendInitialRequest() {
|
|
1633
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1634
|
-
return this.sendOperationFn(this.args, this.spec);
|
|
1635
|
-
});
|
|
1636
|
-
}
|
|
1637
|
-
sendPollRequest(path) {
|
|
1638
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1639
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
1640
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
2434
|
/*
|
|
1646
2435
|
* Copyright (c) Microsoft Corporation.
|
|
1647
2436
|
* Licensed under the MIT License.
|
|
@@ -1661,7 +2450,7 @@ class ZonesImpl {
|
|
|
1661
2450
|
}
|
|
1662
2451
|
/**
|
|
1663
2452
|
* Lists the DNS zones within a resource group.
|
|
1664
|
-
* @param resourceGroupName The name of the resource group.
|
|
2453
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1665
2454
|
* @param options The options parameters.
|
|
1666
2455
|
*/
|
|
1667
2456
|
listByResourceGroup(resourceGroupName, options) {
|
|
@@ -1678,7 +2467,7 @@ class ZonesImpl {
|
|
|
1678
2467
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1679
2468
|
}
|
|
1680
2469
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
1681
|
-
}
|
|
2470
|
+
},
|
|
1682
2471
|
};
|
|
1683
2472
|
}
|
|
1684
2473
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
@@ -1739,7 +2528,7 @@ class ZonesImpl {
|
|
|
1739
2528
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1740
2529
|
}
|
|
1741
2530
|
return this.listPagingPage(options, settings);
|
|
1742
|
-
}
|
|
2531
|
+
},
|
|
1743
2532
|
};
|
|
1744
2533
|
}
|
|
1745
2534
|
listPagingPage(options, settings) {
|
|
@@ -1784,7 +2573,7 @@ class ZonesImpl {
|
|
|
1784
2573
|
}
|
|
1785
2574
|
/**
|
|
1786
2575
|
* Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
|
1787
|
-
* @param resourceGroupName The name of the resource group.
|
|
2576
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1788
2577
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1789
2578
|
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
1790
2579
|
* @param options The options parameters.
|
|
@@ -1795,7 +2584,7 @@ class ZonesImpl {
|
|
|
1795
2584
|
/**
|
|
1796
2585
|
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
1797
2586
|
* be undone.
|
|
1798
|
-
* @param resourceGroupName The name of the resource group.
|
|
2587
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1799
2588
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1800
2589
|
* @param options The options parameters.
|
|
1801
2590
|
*/
|
|
@@ -1804,7 +2593,7 @@ class ZonesImpl {
|
|
|
1804
2593
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1805
2594
|
return this.client.sendOperationRequest(args, spec);
|
|
1806
2595
|
});
|
|
1807
|
-
const
|
|
2596
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1808
2597
|
var _a;
|
|
1809
2598
|
let currentRawResponse = undefined;
|
|
1810
2599
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -1819,14 +2608,18 @@ class ZonesImpl {
|
|
|
1819
2608
|
rawResponse: {
|
|
1820
2609
|
statusCode: currentRawResponse.status,
|
|
1821
2610
|
body: currentRawResponse.parsedBody,
|
|
1822
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1823
|
-
}
|
|
2611
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2612
|
+
},
|
|
1824
2613
|
};
|
|
1825
2614
|
});
|
|
1826
|
-
const lro =
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
2615
|
+
const lro = createLroSpec({
|
|
2616
|
+
sendOperationFn,
|
|
2617
|
+
args: { resourceGroupName, zoneName, options },
|
|
2618
|
+
spec: deleteOperationSpec,
|
|
2619
|
+
});
|
|
2620
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2621
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2622
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1830
2623
|
});
|
|
1831
2624
|
yield poller.poll();
|
|
1832
2625
|
return poller;
|
|
@@ -1835,7 +2628,7 @@ class ZonesImpl {
|
|
|
1835
2628
|
/**
|
|
1836
2629
|
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
1837
2630
|
* be undone.
|
|
1838
|
-
* @param resourceGroupName The name of the resource group.
|
|
2631
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1839
2632
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1840
2633
|
* @param options The options parameters.
|
|
1841
2634
|
*/
|
|
@@ -1847,7 +2640,7 @@ class ZonesImpl {
|
|
|
1847
2640
|
}
|
|
1848
2641
|
/**
|
|
1849
2642
|
* Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
|
|
1850
|
-
* @param resourceGroupName The name of the resource group.
|
|
2643
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1851
2644
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1852
2645
|
* @param options The options parameters.
|
|
1853
2646
|
*/
|
|
@@ -1856,7 +2649,7 @@ class ZonesImpl {
|
|
|
1856
2649
|
}
|
|
1857
2650
|
/**
|
|
1858
2651
|
* Updates a DNS zone. Does not modify DNS records within the zone.
|
|
1859
|
-
* @param resourceGroupName The name of the resource group.
|
|
2652
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1860
2653
|
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
1861
2654
|
* @param parameters Parameters supplied to the Update operation.
|
|
1862
2655
|
* @param options The options parameters.
|
|
@@ -1866,7 +2659,7 @@ class ZonesImpl {
|
|
|
1866
2659
|
}
|
|
1867
2660
|
/**
|
|
1868
2661
|
* Lists the DNS zones within a resource group.
|
|
1869
|
-
* @param resourceGroupName The name of the resource group.
|
|
2662
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1870
2663
|
* @param options The options parameters.
|
|
1871
2664
|
*/
|
|
1872
2665
|
_listByResourceGroup(resourceGroupName, options) {
|
|
@@ -1881,7 +2674,7 @@ class ZonesImpl {
|
|
|
1881
2674
|
}
|
|
1882
2675
|
/**
|
|
1883
2676
|
* ListByResourceGroupNext
|
|
1884
|
-
* @param resourceGroupName The name of the resource group.
|
|
2677
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1885
2678
|
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
1886
2679
|
* @param options The options parameters.
|
|
1887
2680
|
*/
|
|
@@ -1904,14 +2697,14 @@ const createOrUpdateOperationSpec = {
|
|
|
1904
2697
|
httpMethod: "PUT",
|
|
1905
2698
|
responses: {
|
|
1906
2699
|
200: {
|
|
1907
|
-
bodyMapper: Zone
|
|
2700
|
+
bodyMapper: Zone,
|
|
1908
2701
|
},
|
|
1909
2702
|
201: {
|
|
1910
|
-
bodyMapper: Zone
|
|
2703
|
+
bodyMapper: Zone,
|
|
1911
2704
|
},
|
|
1912
2705
|
default: {
|
|
1913
|
-
bodyMapper: CloudError
|
|
1914
|
-
}
|
|
2706
|
+
bodyMapper: CloudError,
|
|
2707
|
+
},
|
|
1915
2708
|
},
|
|
1916
2709
|
requestBody: parameters1,
|
|
1917
2710
|
queryParameters: [apiVersion],
|
|
@@ -1919,16 +2712,16 @@ const createOrUpdateOperationSpec = {
|
|
|
1919
2712
|
$host,
|
|
1920
2713
|
resourceGroupName,
|
|
1921
2714
|
zoneName,
|
|
1922
|
-
subscriptionId
|
|
2715
|
+
subscriptionId,
|
|
1923
2716
|
],
|
|
1924
2717
|
headerParameters: [
|
|
1925
|
-
contentType,
|
|
1926
2718
|
accept,
|
|
1927
2719
|
ifMatch,
|
|
1928
|
-
ifNoneMatch
|
|
2720
|
+
ifNoneMatch,
|
|
2721
|
+
contentType,
|
|
1929
2722
|
],
|
|
1930
2723
|
mediaType: "json",
|
|
1931
|
-
serializer: serializer$1
|
|
2724
|
+
serializer: serializer$1,
|
|
1932
2725
|
};
|
|
1933
2726
|
const deleteOperationSpec = {
|
|
1934
2727
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
@@ -1939,50 +2732,50 @@ const deleteOperationSpec = {
|
|
|
1939
2732
|
202: {},
|
|
1940
2733
|
204: {},
|
|
1941
2734
|
default: {
|
|
1942
|
-
bodyMapper: CloudError
|
|
1943
|
-
}
|
|
2735
|
+
bodyMapper: CloudError,
|
|
2736
|
+
},
|
|
1944
2737
|
},
|
|
1945
2738
|
queryParameters: [apiVersion],
|
|
1946
2739
|
urlParameters: [
|
|
1947
2740
|
$host,
|
|
1948
2741
|
resourceGroupName,
|
|
1949
2742
|
zoneName,
|
|
1950
|
-
subscriptionId
|
|
2743
|
+
subscriptionId,
|
|
1951
2744
|
],
|
|
1952
2745
|
headerParameters: [accept, ifMatch],
|
|
1953
|
-
serializer: serializer$1
|
|
2746
|
+
serializer: serializer$1,
|
|
1954
2747
|
};
|
|
1955
2748
|
const getOperationSpec = {
|
|
1956
2749
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
1957
2750
|
httpMethod: "GET",
|
|
1958
2751
|
responses: {
|
|
1959
2752
|
200: {
|
|
1960
|
-
bodyMapper: Zone
|
|
2753
|
+
bodyMapper: Zone,
|
|
1961
2754
|
},
|
|
1962
2755
|
default: {
|
|
1963
|
-
bodyMapper: CloudError
|
|
1964
|
-
}
|
|
2756
|
+
bodyMapper: CloudError,
|
|
2757
|
+
},
|
|
1965
2758
|
},
|
|
1966
2759
|
queryParameters: [apiVersion],
|
|
1967
2760
|
urlParameters: [
|
|
1968
2761
|
$host,
|
|
1969
2762
|
resourceGroupName,
|
|
1970
2763
|
zoneName,
|
|
1971
|
-
subscriptionId
|
|
2764
|
+
subscriptionId,
|
|
1972
2765
|
],
|
|
1973
2766
|
headerParameters: [accept],
|
|
1974
|
-
serializer: serializer$1
|
|
2767
|
+
serializer: serializer$1,
|
|
1975
2768
|
};
|
|
1976
2769
|
const updateOperationSpec = {
|
|
1977
2770
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
1978
2771
|
httpMethod: "PATCH",
|
|
1979
2772
|
responses: {
|
|
1980
2773
|
200: {
|
|
1981
|
-
bodyMapper: Zone
|
|
2774
|
+
bodyMapper: Zone,
|
|
1982
2775
|
},
|
|
1983
2776
|
default: {
|
|
1984
|
-
bodyMapper: CloudError
|
|
1985
|
-
}
|
|
2777
|
+
bodyMapper: CloudError,
|
|
2778
|
+
},
|
|
1986
2779
|
},
|
|
1987
2780
|
requestBody: parameters2,
|
|
1988
2781
|
queryParameters: [apiVersion],
|
|
@@ -1990,92 +2783,90 @@ const updateOperationSpec = {
|
|
|
1990
2783
|
$host,
|
|
1991
2784
|
resourceGroupName,
|
|
1992
2785
|
zoneName,
|
|
1993
|
-
subscriptionId
|
|
2786
|
+
subscriptionId,
|
|
1994
2787
|
],
|
|
1995
2788
|
headerParameters: [
|
|
1996
|
-
contentType,
|
|
1997
2789
|
accept,
|
|
1998
|
-
ifMatch
|
|
2790
|
+
ifMatch,
|
|
2791
|
+
contentType,
|
|
1999
2792
|
],
|
|
2000
2793
|
mediaType: "json",
|
|
2001
|
-
serializer: serializer$1
|
|
2794
|
+
serializer: serializer$1,
|
|
2002
2795
|
};
|
|
2003
2796
|
const listByResourceGroupOperationSpec = {
|
|
2004
2797
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones",
|
|
2005
2798
|
httpMethod: "GET",
|
|
2006
2799
|
responses: {
|
|
2007
2800
|
200: {
|
|
2008
|
-
bodyMapper: ZoneListResult
|
|
2801
|
+
bodyMapper: ZoneListResult,
|
|
2009
2802
|
},
|
|
2010
2803
|
default: {
|
|
2011
|
-
bodyMapper: CloudError
|
|
2012
|
-
}
|
|
2804
|
+
bodyMapper: CloudError,
|
|
2805
|
+
},
|
|
2013
2806
|
},
|
|
2014
2807
|
queryParameters: [apiVersion, top],
|
|
2015
2808
|
urlParameters: [
|
|
2016
2809
|
$host,
|
|
2017
2810
|
resourceGroupName,
|
|
2018
|
-
subscriptionId
|
|
2811
|
+
subscriptionId,
|
|
2019
2812
|
],
|
|
2020
2813
|
headerParameters: [accept],
|
|
2021
|
-
serializer: serializer$1
|
|
2814
|
+
serializer: serializer$1,
|
|
2022
2815
|
};
|
|
2023
2816
|
const listOperationSpec = {
|
|
2024
2817
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones",
|
|
2025
2818
|
httpMethod: "GET",
|
|
2026
2819
|
responses: {
|
|
2027
2820
|
200: {
|
|
2028
|
-
bodyMapper: ZoneListResult
|
|
2821
|
+
bodyMapper: ZoneListResult,
|
|
2029
2822
|
},
|
|
2030
2823
|
default: {
|
|
2031
|
-
bodyMapper: CloudError
|
|
2032
|
-
}
|
|
2824
|
+
bodyMapper: CloudError,
|
|
2825
|
+
},
|
|
2033
2826
|
},
|
|
2034
2827
|
queryParameters: [apiVersion, top],
|
|
2035
2828
|
urlParameters: [$host, subscriptionId],
|
|
2036
2829
|
headerParameters: [accept],
|
|
2037
|
-
serializer: serializer$1
|
|
2830
|
+
serializer: serializer$1,
|
|
2038
2831
|
};
|
|
2039
2832
|
const listByResourceGroupNextOperationSpec = {
|
|
2040
2833
|
path: "{nextLink}",
|
|
2041
2834
|
httpMethod: "GET",
|
|
2042
2835
|
responses: {
|
|
2043
2836
|
200: {
|
|
2044
|
-
bodyMapper: ZoneListResult
|
|
2837
|
+
bodyMapper: ZoneListResult,
|
|
2045
2838
|
},
|
|
2046
2839
|
default: {
|
|
2047
|
-
bodyMapper: CloudError
|
|
2048
|
-
}
|
|
2840
|
+
bodyMapper: CloudError,
|
|
2841
|
+
},
|
|
2049
2842
|
},
|
|
2050
|
-
queryParameters: [apiVersion, top],
|
|
2051
2843
|
urlParameters: [
|
|
2052
2844
|
$host,
|
|
2053
2845
|
resourceGroupName,
|
|
2054
2846
|
subscriptionId,
|
|
2055
|
-
nextLink
|
|
2847
|
+
nextLink,
|
|
2056
2848
|
],
|
|
2057
2849
|
headerParameters: [accept],
|
|
2058
|
-
serializer: serializer$1
|
|
2850
|
+
serializer: serializer$1,
|
|
2059
2851
|
};
|
|
2060
2852
|
const listNextOperationSpec = {
|
|
2061
2853
|
path: "{nextLink}",
|
|
2062
2854
|
httpMethod: "GET",
|
|
2063
2855
|
responses: {
|
|
2064
2856
|
200: {
|
|
2065
|
-
bodyMapper: ZoneListResult
|
|
2857
|
+
bodyMapper: ZoneListResult,
|
|
2066
2858
|
},
|
|
2067
2859
|
default: {
|
|
2068
|
-
bodyMapper: CloudError
|
|
2069
|
-
}
|
|
2860
|
+
bodyMapper: CloudError,
|
|
2861
|
+
},
|
|
2070
2862
|
},
|
|
2071
|
-
queryParameters: [apiVersion, top],
|
|
2072
2863
|
urlParameters: [
|
|
2073
2864
|
$host,
|
|
2074
2865
|
subscriptionId,
|
|
2075
|
-
nextLink
|
|
2866
|
+
nextLink,
|
|
2076
2867
|
],
|
|
2077
2868
|
headerParameters: [accept],
|
|
2078
|
-
serializer: serializer$1
|
|
2869
|
+
serializer: serializer$1,
|
|
2079
2870
|
};
|
|
2080
2871
|
|
|
2081
2872
|
/*
|
|
@@ -2110,18 +2901,18 @@ const getByTargetResourcesOperationSpec = {
|
|
|
2110
2901
|
httpMethod: "POST",
|
|
2111
2902
|
responses: {
|
|
2112
2903
|
200: {
|
|
2113
|
-
bodyMapper: DnsResourceReferenceResult
|
|
2904
|
+
bodyMapper: DnsResourceReferenceResult,
|
|
2114
2905
|
},
|
|
2115
2906
|
default: {
|
|
2116
|
-
bodyMapper: CloudError
|
|
2117
|
-
}
|
|
2907
|
+
bodyMapper: CloudError,
|
|
2908
|
+
},
|
|
2118
2909
|
},
|
|
2119
2910
|
requestBody: parameters3,
|
|
2120
2911
|
queryParameters: [apiVersion],
|
|
2121
2912
|
urlParameters: [$host, subscriptionId],
|
|
2122
|
-
headerParameters: [
|
|
2913
|
+
headerParameters: [accept, contentType],
|
|
2123
2914
|
mediaType: "json",
|
|
2124
|
-
serializer
|
|
2915
|
+
serializer,
|
|
2125
2916
|
};
|
|
2126
2917
|
|
|
2127
2918
|
/*
|
|
@@ -2135,8 +2926,7 @@ class DnsManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2135
2926
|
/**
|
|
2136
2927
|
* Initializes a new instance of the DnsManagementClient class.
|
|
2137
2928
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2138
|
-
* @param subscriptionId
|
|
2139
|
-
* Azure subscription.
|
|
2929
|
+
* @param subscriptionId The ID of the target subscription.
|
|
2140
2930
|
* @param options The parameter options
|
|
2141
2931
|
*/
|
|
2142
2932
|
constructor(credentials, subscriptionId, options) {
|
|
@@ -2153,14 +2943,14 @@ class DnsManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2153
2943
|
}
|
|
2154
2944
|
const defaults = {
|
|
2155
2945
|
requestContentType: "application/json; charset=utf-8",
|
|
2156
|
-
credential: credentials
|
|
2946
|
+
credential: credentials,
|
|
2157
2947
|
};
|
|
2158
|
-
const packageDetails = `azsdk-js-arm-dns/5.
|
|
2948
|
+
const packageDetails = `azsdk-js-arm-dns/5.2.0-beta.1`;
|
|
2159
2949
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2160
2950
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2161
2951
|
: `${packageDetails}`;
|
|
2162
2952
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2163
|
-
userAgentPrefix
|
|
2953
|
+
userAgentPrefix,
|
|
2164
2954
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
2165
2955
|
super(optionsWithDefaults);
|
|
2166
2956
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -2174,24 +2964,26 @@ class DnsManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2174
2964
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
2175
2965
|
!bearerTokenAuthenticationPolicyFound) {
|
|
2176
2966
|
this.pipeline.removePolicy({
|
|
2177
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
2967
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
2178
2968
|
});
|
|
2179
2969
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
2180
2970
|
credential: credentials,
|
|
2181
2971
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
2182
2972
|
challengeCallbacks: {
|
|
2183
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
2184
|
-
}
|
|
2973
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
2974
|
+
},
|
|
2185
2975
|
}));
|
|
2186
2976
|
}
|
|
2187
2977
|
// Parameter assignments
|
|
2188
2978
|
this.subscriptionId = subscriptionId;
|
|
2189
2979
|
// Assigning values to Constant parameters
|
|
2190
2980
|
this.$host = options.$host || "https://management.azure.com";
|
|
2191
|
-
this.apiVersion = options.apiVersion || "
|
|
2981
|
+
this.apiVersion = options.apiVersion || "2023-07-01-preview";
|
|
2982
|
+
this.dnssecConfigs = new DnssecConfigsImpl(this);
|
|
2192
2983
|
this.recordSets = new RecordSetsImpl(this);
|
|
2193
2984
|
this.zones = new ZonesImpl(this);
|
|
2194
|
-
this.dnsResourceReferenceOperations =
|
|
2985
|
+
this.dnsResourceReferenceOperations =
|
|
2986
|
+
new DnsResourceReferenceOperationsImpl(this);
|
|
2195
2987
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
2196
2988
|
}
|
|
2197
2989
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -2217,7 +3009,7 @@ class DnsManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2217
3009
|
}
|
|
2218
3010
|
return next(request);
|
|
2219
3011
|
});
|
|
2220
|
-
}
|
|
3012
|
+
},
|
|
2221
3013
|
};
|
|
2222
3014
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
2223
3015
|
}
|