@azure/arm-domainservices 0.1.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -21
- package/README.md +98 -96
- package/dist/index.js +2502 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/domainServicesResourceProvider.d.ts +22 -0
- package/dist-esm/src/domainServicesResourceProvider.d.ts.map +1 -0
- package/dist-esm/src/domainServicesResourceProvider.js +55 -0
- package/dist-esm/src/domainServicesResourceProvider.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +768 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +98 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +27 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1015 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +13 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +117 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/domainServiceOperations.d.ts +32 -0
- package/dist-esm/src/operations/domainServiceOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/domainServiceOperations.js +120 -0
- package/dist-esm/src/operations/domainServiceOperations.js.map +1 -0
- package/dist-esm/src/operations/domainServices.d.ts +127 -0
- package/dist-esm/src/operations/domainServices.d.ts.map +1 -0
- package/dist-esm/src/operations/domainServices.js +520 -0
- package/dist-esm/src/operations/domainServices.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +5 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +12 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/ouContainerOperationGrp.d.ts +111 -0
- package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist-esm/src/operations/ouContainerOperationGrp.js +441 -0
- package/dist-esm/src/operations/ouContainerOperationGrp.js.map +1 -0
- package/dist-esm/src/operations/ouContainerOperations.d.ts +32 -0
- package/dist-esm/src/operations/ouContainerOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/ouContainerOperations.js +120 -0
- package/dist-esm/src/operations/ouContainerOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainServiceOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainServices.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/domainServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js +9 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -34
- package/review/arm-domainservices.api.md +591 -0
- package/rollup.config.js +184 -27
- package/src/domainServicesResourceProvider.ts +92 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +868 -0
- package/src/models/mappers.ts +1069 -0
- package/src/models/parameters.ts +136 -0
- package/src/operations/domainServiceOperations.ts +137 -0
- package/src/operations/domainServices.ts +690 -0
- package/{lib → src}/operations/index.ts +5 -5
- package/src/operations/ouContainerOperationGrp.ts +632 -0
- package/src/operations/ouContainerOperations.ts +137 -0
- package/src/operationsInterfaces/domainServiceOperations.ts +25 -0
- package/src/operationsInterfaces/domainServices.ts +154 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/ouContainerOperationGrp.ts +157 -0
- package/src/operationsInterfaces/ouContainerOperations.ts +25 -0
- package/tsconfig.json +4 -4
- package/types/arm-domainservices.d.ts +1062 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-domainservices.js +0 -1223
- package/dist/arm-domainservices.js.map +0 -1
- package/dist/arm-domainservices.min.js +0 -1
- package/dist/arm-domainservices.min.js.map +0 -1
- package/esm/domainservicesManagementClient.d.ts +0 -20
- package/esm/domainservicesManagementClient.d.ts.map +0 -1
- package/esm/domainservicesManagementClient.js +0 -35
- package/esm/domainservicesManagementClient.js.map +0 -1
- package/esm/domainservicesManagementClientContext.d.ts +0 -17
- package/esm/domainservicesManagementClientContext.d.ts.map +0 -1
- package/esm/domainservicesManagementClientContext.js +0 -57
- package/esm/domainservicesManagementClientContext.js.map +0 -1
- package/esm/models/domainServiceOperationsMappers.d.ts +0 -2
- package/esm/models/domainServiceOperationsMappers.d.ts.map +0 -1
- package/esm/models/domainServiceOperationsMappers.js +0 -11
- package/esm/models/domainServiceOperationsMappers.js.map +0 -1
- package/esm/models/domainServicesMappers.d.ts +0 -2
- package/esm/models/domainServicesMappers.d.ts.map +0 -1
- package/esm/models/domainServicesMappers.js +0 -11
- package/esm/models/domainServicesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -693
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -15
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -498
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -76
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/domainServiceOperations.d.ts +0 -46
- package/esm/operations/domainServiceOperations.d.ts.map +0 -1
- package/esm/operations/domainServiceOperations.js +0 -77
- package/esm/operations/domainServiceOperations.js.map +0 -1
- package/esm/operations/domainServices.d.ts +0 -189
- package/esm/operations/domainServices.d.ts.map +0 -1
- package/esm/operations/domainServices.js +0 -356
- package/esm/operations/domainServices.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/lib/domainservicesManagementClient.ts +0 -45
- package/lib/domainservicesManagementClientContext.ts +0 -63
- package/lib/models/domainServiceOperationsMappers.ts +0 -17
- package/lib/models/domainServicesMappers.ts +0 -23
- package/lib/models/index.ts +0 -736
- package/lib/models/mappers.ts +0 -526
- package/lib/models/parameters.ts +0 -78
- package/lib/operations/domainServiceOperations.ts +0 -123
- package/lib/operations/domainServices.ts +0 -513
@@ -1,1223 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
(function (global, factory) {
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
13
|
-
(factory((global.Azure = global.Azure || {}, global.Azure.ArmDomainservices = {}),global.msRestAzure,global.msRest));
|
14
|
-
}(this, (function (exports,msRestAzure,msRest) { 'use strict';
|
15
|
-
|
16
|
-
/*! *****************************************************************************
|
17
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
18
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
19
|
-
this file except in compliance with the License. You may obtain a copy of the
|
20
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
21
|
-
|
22
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
23
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
24
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
25
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
26
|
-
|
27
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
28
|
-
and limitations under the License.
|
29
|
-
***************************************************************************** */
|
30
|
-
/* global Reflect, Promise */
|
31
|
-
|
32
|
-
var extendStatics = function(d, b) {
|
33
|
-
extendStatics = Object.setPrototypeOf ||
|
34
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
35
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
36
|
-
return extendStatics(d, b);
|
37
|
-
};
|
38
|
-
|
39
|
-
function __extends(d, b) {
|
40
|
-
extendStatics(d, b);
|
41
|
-
function __() { this.constructor = d; }
|
42
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
43
|
-
}
|
44
|
-
|
45
|
-
var __assign = function() {
|
46
|
-
__assign = Object.assign || function __assign(t) {
|
47
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
48
|
-
s = arguments[i];
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
50
|
-
}
|
51
|
-
return t;
|
52
|
-
};
|
53
|
-
return __assign.apply(this, arguments);
|
54
|
-
};
|
55
|
-
|
56
|
-
/*
|
57
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
58
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
59
|
-
* license information.
|
60
|
-
*
|
61
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
62
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
63
|
-
* regenerated.
|
64
|
-
*/
|
65
|
-
|
66
|
-
var index = /*#__PURE__*/Object.freeze({
|
67
|
-
|
68
|
-
});
|
69
|
-
|
70
|
-
/*
|
71
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
72
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
73
|
-
* license information.
|
74
|
-
*
|
75
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
76
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
77
|
-
* regenerated.
|
78
|
-
*/
|
79
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
80
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
81
|
-
var Resource = {
|
82
|
-
serializedName: "Resource",
|
83
|
-
type: {
|
84
|
-
name: "Composite",
|
85
|
-
className: "Resource",
|
86
|
-
modelProperties: {
|
87
|
-
id: {
|
88
|
-
readOnly: true,
|
89
|
-
serializedName: "id",
|
90
|
-
type: {
|
91
|
-
name: "String"
|
92
|
-
}
|
93
|
-
},
|
94
|
-
name: {
|
95
|
-
readOnly: true,
|
96
|
-
serializedName: "name",
|
97
|
-
type: {
|
98
|
-
name: "String"
|
99
|
-
}
|
100
|
-
},
|
101
|
-
type: {
|
102
|
-
readOnly: true,
|
103
|
-
serializedName: "type",
|
104
|
-
type: {
|
105
|
-
name: "String"
|
106
|
-
}
|
107
|
-
},
|
108
|
-
location: {
|
109
|
-
serializedName: "location",
|
110
|
-
type: {
|
111
|
-
name: "String"
|
112
|
-
}
|
113
|
-
},
|
114
|
-
tags: {
|
115
|
-
serializedName: "tags",
|
116
|
-
type: {
|
117
|
-
name: "Dictionary",
|
118
|
-
value: {
|
119
|
-
type: {
|
120
|
-
name: "String"
|
121
|
-
}
|
122
|
-
}
|
123
|
-
}
|
124
|
-
},
|
125
|
-
etag: {
|
126
|
-
serializedName: "etag",
|
127
|
-
type: {
|
128
|
-
name: "String"
|
129
|
-
}
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
};
|
134
|
-
var LdapsSettings = {
|
135
|
-
serializedName: "LdapsSettings",
|
136
|
-
type: {
|
137
|
-
name: "Composite",
|
138
|
-
className: "LdapsSettings",
|
139
|
-
modelProperties: {
|
140
|
-
ldaps: {
|
141
|
-
serializedName: "ldaps",
|
142
|
-
type: {
|
143
|
-
name: "String"
|
144
|
-
}
|
145
|
-
},
|
146
|
-
pfxCertificate: {
|
147
|
-
serializedName: "pfxCertificate",
|
148
|
-
type: {
|
149
|
-
name: "String"
|
150
|
-
}
|
151
|
-
},
|
152
|
-
pfxCertificatePassword: {
|
153
|
-
serializedName: "pfxCertificatePassword",
|
154
|
-
type: {
|
155
|
-
name: "String"
|
156
|
-
}
|
157
|
-
},
|
158
|
-
publicCertificate: {
|
159
|
-
readOnly: true,
|
160
|
-
serializedName: "publicCertificate",
|
161
|
-
type: {
|
162
|
-
name: "String"
|
163
|
-
}
|
164
|
-
},
|
165
|
-
certificateThumbprint: {
|
166
|
-
readOnly: true,
|
167
|
-
serializedName: "certificateThumbprint",
|
168
|
-
type: {
|
169
|
-
name: "String"
|
170
|
-
}
|
171
|
-
},
|
172
|
-
certificateNotAfter: {
|
173
|
-
readOnly: true,
|
174
|
-
serializedName: "certificateNotAfter",
|
175
|
-
type: {
|
176
|
-
name: "DateTime"
|
177
|
-
}
|
178
|
-
},
|
179
|
-
externalAccess: {
|
180
|
-
serializedName: "externalAccess",
|
181
|
-
type: {
|
182
|
-
name: "String"
|
183
|
-
}
|
184
|
-
},
|
185
|
-
externalAccessIpAddress: {
|
186
|
-
readOnly: true,
|
187
|
-
serializedName: "externalAccessIpAddress",
|
188
|
-
type: {
|
189
|
-
name: "String"
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
};
|
195
|
-
var HealthMonitor = {
|
196
|
-
serializedName: "HealthMonitor",
|
197
|
-
type: {
|
198
|
-
name: "Composite",
|
199
|
-
className: "HealthMonitor",
|
200
|
-
modelProperties: {
|
201
|
-
id: {
|
202
|
-
readOnly: true,
|
203
|
-
serializedName: "id",
|
204
|
-
type: {
|
205
|
-
name: "String"
|
206
|
-
}
|
207
|
-
},
|
208
|
-
name: {
|
209
|
-
readOnly: true,
|
210
|
-
serializedName: "name",
|
211
|
-
type: {
|
212
|
-
name: "String"
|
213
|
-
}
|
214
|
-
},
|
215
|
-
details: {
|
216
|
-
readOnly: true,
|
217
|
-
serializedName: "details",
|
218
|
-
type: {
|
219
|
-
name: "String"
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
224
|
-
};
|
225
|
-
var HealthAlert = {
|
226
|
-
serializedName: "HealthAlert",
|
227
|
-
type: {
|
228
|
-
name: "Composite",
|
229
|
-
className: "HealthAlert",
|
230
|
-
modelProperties: {
|
231
|
-
id: {
|
232
|
-
readOnly: true,
|
233
|
-
serializedName: "id",
|
234
|
-
type: {
|
235
|
-
name: "String"
|
236
|
-
}
|
237
|
-
},
|
238
|
-
name: {
|
239
|
-
readOnly: true,
|
240
|
-
serializedName: "name",
|
241
|
-
type: {
|
242
|
-
name: "String"
|
243
|
-
}
|
244
|
-
},
|
245
|
-
issue: {
|
246
|
-
readOnly: true,
|
247
|
-
serializedName: "issue",
|
248
|
-
type: {
|
249
|
-
name: "String"
|
250
|
-
}
|
251
|
-
},
|
252
|
-
severity: {
|
253
|
-
readOnly: true,
|
254
|
-
serializedName: "severity",
|
255
|
-
type: {
|
256
|
-
name: "String"
|
257
|
-
}
|
258
|
-
},
|
259
|
-
raised: {
|
260
|
-
readOnly: true,
|
261
|
-
serializedName: "raised",
|
262
|
-
type: {
|
263
|
-
name: "DateTime"
|
264
|
-
}
|
265
|
-
},
|
266
|
-
lastDetected: {
|
267
|
-
readOnly: true,
|
268
|
-
serializedName: "lastDetected",
|
269
|
-
type: {
|
270
|
-
name: "DateTime"
|
271
|
-
}
|
272
|
-
},
|
273
|
-
resolutionUri: {
|
274
|
-
readOnly: true,
|
275
|
-
serializedName: "resolutionUri",
|
276
|
-
type: {
|
277
|
-
name: "String"
|
278
|
-
}
|
279
|
-
}
|
280
|
-
}
|
281
|
-
}
|
282
|
-
};
|
283
|
-
var NotificationSettings = {
|
284
|
-
serializedName: "NotificationSettings",
|
285
|
-
type: {
|
286
|
-
name: "Composite",
|
287
|
-
className: "NotificationSettings",
|
288
|
-
modelProperties: {
|
289
|
-
notifyGlobalAdmins: {
|
290
|
-
serializedName: "notifyGlobalAdmins",
|
291
|
-
type: {
|
292
|
-
name: "String"
|
293
|
-
}
|
294
|
-
},
|
295
|
-
notifyDcAdmins: {
|
296
|
-
serializedName: "notifyDcAdmins",
|
297
|
-
type: {
|
298
|
-
name: "String"
|
299
|
-
}
|
300
|
-
},
|
301
|
-
additionalRecipients: {
|
302
|
-
serializedName: "additionalRecipients",
|
303
|
-
type: {
|
304
|
-
name: "Sequence",
|
305
|
-
element: {
|
306
|
-
type: {
|
307
|
-
name: "String"
|
308
|
-
}
|
309
|
-
}
|
310
|
-
}
|
311
|
-
}
|
312
|
-
}
|
313
|
-
}
|
314
|
-
};
|
315
|
-
var DomainSecuritySettings = {
|
316
|
-
serializedName: "DomainSecuritySettings",
|
317
|
-
type: {
|
318
|
-
name: "Composite",
|
319
|
-
className: "DomainSecuritySettings",
|
320
|
-
modelProperties: {
|
321
|
-
ntlmV1: {
|
322
|
-
serializedName: "ntlmV1",
|
323
|
-
type: {
|
324
|
-
name: "String"
|
325
|
-
}
|
326
|
-
},
|
327
|
-
tlsV1: {
|
328
|
-
serializedName: "tlsV1",
|
329
|
-
type: {
|
330
|
-
name: "String"
|
331
|
-
}
|
332
|
-
},
|
333
|
-
syncNtlmPasswords: {
|
334
|
-
serializedName: "syncNtlmPasswords",
|
335
|
-
type: {
|
336
|
-
name: "String"
|
337
|
-
}
|
338
|
-
}
|
339
|
-
}
|
340
|
-
}
|
341
|
-
};
|
342
|
-
var DomainService = {
|
343
|
-
serializedName: "DomainService",
|
344
|
-
type: {
|
345
|
-
name: "Composite",
|
346
|
-
className: "DomainService",
|
347
|
-
modelProperties: __assign({}, Resource.type.modelProperties, { tenantId: {
|
348
|
-
readOnly: true,
|
349
|
-
serializedName: "properties.tenantId",
|
350
|
-
type: {
|
351
|
-
name: "String"
|
352
|
-
}
|
353
|
-
}, domainName: {
|
354
|
-
serializedName: "properties.domainName",
|
355
|
-
type: {
|
356
|
-
name: "String"
|
357
|
-
}
|
358
|
-
}, vnetSiteId: {
|
359
|
-
readOnly: true,
|
360
|
-
serializedName: "properties.vnetSiteId",
|
361
|
-
type: {
|
362
|
-
name: "String"
|
363
|
-
}
|
364
|
-
}, subnetId: {
|
365
|
-
serializedName: "properties.subnetId",
|
366
|
-
type: {
|
367
|
-
name: "String"
|
368
|
-
}
|
369
|
-
}, ldapsSettings: {
|
370
|
-
serializedName: "properties.ldapsSettings",
|
371
|
-
type: {
|
372
|
-
name: "Composite",
|
373
|
-
className: "LdapsSettings"
|
374
|
-
}
|
375
|
-
}, healthLastEvaluated: {
|
376
|
-
readOnly: true,
|
377
|
-
serializedName: "properties.healthLastEvaluated",
|
378
|
-
type: {
|
379
|
-
name: "DateTime"
|
380
|
-
}
|
381
|
-
}, healthMonitors: {
|
382
|
-
readOnly: true,
|
383
|
-
serializedName: "properties.healthMonitors",
|
384
|
-
type: {
|
385
|
-
name: "Sequence",
|
386
|
-
element: {
|
387
|
-
type: {
|
388
|
-
name: "Composite",
|
389
|
-
className: "HealthMonitor"
|
390
|
-
}
|
391
|
-
}
|
392
|
-
}
|
393
|
-
}, healthAlerts: {
|
394
|
-
readOnly: true,
|
395
|
-
serializedName: "properties.healthAlerts",
|
396
|
-
type: {
|
397
|
-
name: "Sequence",
|
398
|
-
element: {
|
399
|
-
type: {
|
400
|
-
name: "Composite",
|
401
|
-
className: "HealthAlert"
|
402
|
-
}
|
403
|
-
}
|
404
|
-
}
|
405
|
-
}, notificationSettings: {
|
406
|
-
serializedName: "properties.notificationSettings",
|
407
|
-
type: {
|
408
|
-
name: "Composite",
|
409
|
-
className: "NotificationSettings"
|
410
|
-
}
|
411
|
-
}, domainSecuritySettings: {
|
412
|
-
serializedName: "properties.domainSecuritySettings",
|
413
|
-
type: {
|
414
|
-
name: "Composite",
|
415
|
-
className: "DomainSecuritySettings"
|
416
|
-
}
|
417
|
-
}, filteredSync: {
|
418
|
-
serializedName: "properties.filteredSync",
|
419
|
-
type: {
|
420
|
-
name: "String"
|
421
|
-
}
|
422
|
-
}, domainControllerIpAddress: {
|
423
|
-
readOnly: true,
|
424
|
-
serializedName: "properties.domainControllerIpAddress",
|
425
|
-
type: {
|
426
|
-
name: "Sequence",
|
427
|
-
element: {
|
428
|
-
type: {
|
429
|
-
name: "String"
|
430
|
-
}
|
431
|
-
}
|
432
|
-
}
|
433
|
-
}, serviceStatus: {
|
434
|
-
readOnly: true,
|
435
|
-
serializedName: "properties.serviceStatus",
|
436
|
-
type: {
|
437
|
-
name: "String"
|
438
|
-
}
|
439
|
-
}, provisioningState: {
|
440
|
-
readOnly: true,
|
441
|
-
serializedName: "properties.provisioningState",
|
442
|
-
type: {
|
443
|
-
name: "String"
|
444
|
-
}
|
445
|
-
} })
|
446
|
-
}
|
447
|
-
};
|
448
|
-
var OperationDisplayInfo = {
|
449
|
-
serializedName: "OperationDisplayInfo",
|
450
|
-
type: {
|
451
|
-
name: "Composite",
|
452
|
-
className: "OperationDisplayInfo",
|
453
|
-
modelProperties: {
|
454
|
-
description: {
|
455
|
-
serializedName: "description",
|
456
|
-
type: {
|
457
|
-
name: "String"
|
458
|
-
}
|
459
|
-
},
|
460
|
-
operation: {
|
461
|
-
serializedName: "operation",
|
462
|
-
type: {
|
463
|
-
name: "String"
|
464
|
-
}
|
465
|
-
},
|
466
|
-
provider: {
|
467
|
-
serializedName: "provider",
|
468
|
-
type: {
|
469
|
-
name: "String"
|
470
|
-
}
|
471
|
-
},
|
472
|
-
resource: {
|
473
|
-
serializedName: "resource",
|
474
|
-
type: {
|
475
|
-
name: "String"
|
476
|
-
}
|
477
|
-
}
|
478
|
-
}
|
479
|
-
}
|
480
|
-
};
|
481
|
-
var OperationEntity = {
|
482
|
-
serializedName: "OperationEntity",
|
483
|
-
type: {
|
484
|
-
name: "Composite",
|
485
|
-
className: "OperationEntity",
|
486
|
-
modelProperties: {
|
487
|
-
name: {
|
488
|
-
serializedName: "name",
|
489
|
-
type: {
|
490
|
-
name: "String"
|
491
|
-
}
|
492
|
-
},
|
493
|
-
display: {
|
494
|
-
serializedName: "display",
|
495
|
-
type: {
|
496
|
-
name: "Composite",
|
497
|
-
className: "OperationDisplayInfo"
|
498
|
-
}
|
499
|
-
},
|
500
|
-
origin: {
|
501
|
-
serializedName: "origin",
|
502
|
-
type: {
|
503
|
-
name: "String"
|
504
|
-
}
|
505
|
-
}
|
506
|
-
}
|
507
|
-
}
|
508
|
-
};
|
509
|
-
var OperationEntityListResult = {
|
510
|
-
serializedName: "OperationEntityListResult",
|
511
|
-
type: {
|
512
|
-
name: "Composite",
|
513
|
-
className: "OperationEntityListResult",
|
514
|
-
modelProperties: {
|
515
|
-
value: {
|
516
|
-
serializedName: "",
|
517
|
-
type: {
|
518
|
-
name: "Sequence",
|
519
|
-
element: {
|
520
|
-
type: {
|
521
|
-
name: "Composite",
|
522
|
-
className: "OperationEntity"
|
523
|
-
}
|
524
|
-
}
|
525
|
-
}
|
526
|
-
},
|
527
|
-
nextLink: {
|
528
|
-
readOnly: true,
|
529
|
-
serializedName: "nextLink",
|
530
|
-
type: {
|
531
|
-
name: "String"
|
532
|
-
}
|
533
|
-
}
|
534
|
-
}
|
535
|
-
}
|
536
|
-
};
|
537
|
-
var DomainServiceListResult = {
|
538
|
-
serializedName: "DomainServiceListResult",
|
539
|
-
type: {
|
540
|
-
name: "Composite",
|
541
|
-
className: "DomainServiceListResult",
|
542
|
-
modelProperties: {
|
543
|
-
value: {
|
544
|
-
serializedName: "",
|
545
|
-
type: {
|
546
|
-
name: "Sequence",
|
547
|
-
element: {
|
548
|
-
type: {
|
549
|
-
name: "Composite",
|
550
|
-
className: "DomainService"
|
551
|
-
}
|
552
|
-
}
|
553
|
-
}
|
554
|
-
},
|
555
|
-
nextLink: {
|
556
|
-
readOnly: true,
|
557
|
-
serializedName: "nextLink",
|
558
|
-
type: {
|
559
|
-
name: "String"
|
560
|
-
}
|
561
|
-
}
|
562
|
-
}
|
563
|
-
}
|
564
|
-
};
|
565
|
-
|
566
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
567
|
-
CloudError: CloudError,
|
568
|
-
BaseResource: BaseResource,
|
569
|
-
Resource: Resource,
|
570
|
-
LdapsSettings: LdapsSettings,
|
571
|
-
HealthMonitor: HealthMonitor,
|
572
|
-
HealthAlert: HealthAlert,
|
573
|
-
NotificationSettings: NotificationSettings,
|
574
|
-
DomainSecuritySettings: DomainSecuritySettings,
|
575
|
-
DomainService: DomainService,
|
576
|
-
OperationDisplayInfo: OperationDisplayInfo,
|
577
|
-
OperationEntity: OperationEntity,
|
578
|
-
OperationEntityListResult: OperationEntityListResult,
|
579
|
-
DomainServiceListResult: DomainServiceListResult
|
580
|
-
});
|
581
|
-
|
582
|
-
/*
|
583
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
584
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
585
|
-
* license information.
|
586
|
-
*
|
587
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
588
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
589
|
-
* regenerated.
|
590
|
-
*/
|
591
|
-
|
592
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
593
|
-
OperationEntityListResult: OperationEntityListResult,
|
594
|
-
OperationEntity: OperationEntity,
|
595
|
-
OperationDisplayInfo: OperationDisplayInfo,
|
596
|
-
CloudError: CloudError
|
597
|
-
});
|
598
|
-
|
599
|
-
/*
|
600
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
601
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
602
|
-
* license information.
|
603
|
-
*
|
604
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
605
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
606
|
-
* regenerated.
|
607
|
-
*/
|
608
|
-
var acceptLanguage = {
|
609
|
-
parameterPath: "acceptLanguage",
|
610
|
-
mapper: {
|
611
|
-
serializedName: "accept-language",
|
612
|
-
defaultValue: 'en-US',
|
613
|
-
type: {
|
614
|
-
name: "String"
|
615
|
-
}
|
616
|
-
}
|
617
|
-
};
|
618
|
-
var apiVersion = {
|
619
|
-
parameterPath: "apiVersion",
|
620
|
-
mapper: {
|
621
|
-
required: true,
|
622
|
-
serializedName: "api-version",
|
623
|
-
type: {
|
624
|
-
name: "String"
|
625
|
-
}
|
626
|
-
}
|
627
|
-
};
|
628
|
-
var domainServiceName = {
|
629
|
-
parameterPath: "domainServiceName",
|
630
|
-
mapper: {
|
631
|
-
required: true,
|
632
|
-
serializedName: "domainServiceName",
|
633
|
-
type: {
|
634
|
-
name: "String"
|
635
|
-
}
|
636
|
-
}
|
637
|
-
};
|
638
|
-
var nextPageLink = {
|
639
|
-
parameterPath: "nextPageLink",
|
640
|
-
mapper: {
|
641
|
-
required: true,
|
642
|
-
serializedName: "nextLink",
|
643
|
-
type: {
|
644
|
-
name: "String"
|
645
|
-
}
|
646
|
-
},
|
647
|
-
skipEncoding: true
|
648
|
-
};
|
649
|
-
var resourceGroupName = {
|
650
|
-
parameterPath: "resourceGroupName",
|
651
|
-
mapper: {
|
652
|
-
required: true,
|
653
|
-
serializedName: "resourceGroupName",
|
654
|
-
constraints: {
|
655
|
-
MaxLength: 90,
|
656
|
-
MinLength: 1,
|
657
|
-
Pattern: /^[-\w\._\(\)]+$/
|
658
|
-
},
|
659
|
-
type: {
|
660
|
-
name: "String"
|
661
|
-
}
|
662
|
-
}
|
663
|
-
};
|
664
|
-
var subscriptionId = {
|
665
|
-
parameterPath: "subscriptionId",
|
666
|
-
mapper: {
|
667
|
-
required: true,
|
668
|
-
serializedName: "subscriptionId",
|
669
|
-
type: {
|
670
|
-
name: "String"
|
671
|
-
}
|
672
|
-
}
|
673
|
-
};
|
674
|
-
|
675
|
-
/*
|
676
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
677
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
678
|
-
* license information.
|
679
|
-
*
|
680
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
681
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
682
|
-
* regenerated.
|
683
|
-
*/
|
684
|
-
/** Class representing a DomainServiceOperations. */
|
685
|
-
var DomainServiceOperations = /** @class */ (function () {
|
686
|
-
/**
|
687
|
-
* Create a DomainServiceOperations.
|
688
|
-
* @param {DomainservicesManagementClientContext} client Reference to the service client.
|
689
|
-
*/
|
690
|
-
function DomainServiceOperations(client) {
|
691
|
-
this.client = client;
|
692
|
-
}
|
693
|
-
DomainServiceOperations.prototype.list = function (options, callback) {
|
694
|
-
return this.client.sendOperationRequest({
|
695
|
-
options: options
|
696
|
-
}, listOperationSpec, callback);
|
697
|
-
};
|
698
|
-
DomainServiceOperations.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
699
|
-
return this.client.sendOperationRequest({
|
700
|
-
nextPageLink: nextPageLink$$1,
|
701
|
-
options: options
|
702
|
-
}, listNextOperationSpec, callback);
|
703
|
-
};
|
704
|
-
return DomainServiceOperations;
|
705
|
-
}());
|
706
|
-
// Operation Specifications
|
707
|
-
var serializer = new msRest.Serializer(Mappers);
|
708
|
-
var listOperationSpec = {
|
709
|
-
httpMethod: "GET",
|
710
|
-
path: "providers/Microsoft.AAD/operations",
|
711
|
-
queryParameters: [
|
712
|
-
apiVersion
|
713
|
-
],
|
714
|
-
headerParameters: [
|
715
|
-
acceptLanguage
|
716
|
-
],
|
717
|
-
responses: {
|
718
|
-
200: {
|
719
|
-
bodyMapper: OperationEntityListResult
|
720
|
-
},
|
721
|
-
default: {
|
722
|
-
bodyMapper: CloudError
|
723
|
-
}
|
724
|
-
},
|
725
|
-
serializer: serializer
|
726
|
-
};
|
727
|
-
var listNextOperationSpec = {
|
728
|
-
httpMethod: "GET",
|
729
|
-
baseUrl: "https://management.azure.com",
|
730
|
-
path: "{nextLink}",
|
731
|
-
urlParameters: [
|
732
|
-
nextPageLink
|
733
|
-
],
|
734
|
-
headerParameters: [
|
735
|
-
acceptLanguage
|
736
|
-
],
|
737
|
-
responses: {
|
738
|
-
200: {
|
739
|
-
bodyMapper: OperationEntityListResult
|
740
|
-
},
|
741
|
-
default: {
|
742
|
-
bodyMapper: CloudError
|
743
|
-
}
|
744
|
-
},
|
745
|
-
serializer: serializer
|
746
|
-
};
|
747
|
-
|
748
|
-
/*
|
749
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
750
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
751
|
-
* license information.
|
752
|
-
*
|
753
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
754
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
755
|
-
* regenerated.
|
756
|
-
*/
|
757
|
-
|
758
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
759
|
-
DomainServiceListResult: DomainServiceListResult,
|
760
|
-
DomainService: DomainService,
|
761
|
-
Resource: Resource,
|
762
|
-
BaseResource: BaseResource,
|
763
|
-
LdapsSettings: LdapsSettings,
|
764
|
-
HealthMonitor: HealthMonitor,
|
765
|
-
HealthAlert: HealthAlert,
|
766
|
-
NotificationSettings: NotificationSettings,
|
767
|
-
DomainSecuritySettings: DomainSecuritySettings,
|
768
|
-
CloudError: CloudError
|
769
|
-
});
|
770
|
-
|
771
|
-
/*
|
772
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
773
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
774
|
-
* license information.
|
775
|
-
*
|
776
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
777
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
778
|
-
* regenerated.
|
779
|
-
*/
|
780
|
-
/** Class representing a DomainServices. */
|
781
|
-
var DomainServices = /** @class */ (function () {
|
782
|
-
/**
|
783
|
-
* Create a DomainServices.
|
784
|
-
* @param {DomainservicesManagementClientContext} client Reference to the service client.
|
785
|
-
*/
|
786
|
-
function DomainServices(client) {
|
787
|
-
this.client = client;
|
788
|
-
}
|
789
|
-
DomainServices.prototype.list = function (options, callback) {
|
790
|
-
return this.client.sendOperationRequest({
|
791
|
-
options: options
|
792
|
-
}, listOperationSpec$1, callback);
|
793
|
-
};
|
794
|
-
DomainServices.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
795
|
-
return this.client.sendOperationRequest({
|
796
|
-
resourceGroupName: resourceGroupName$$1,
|
797
|
-
options: options
|
798
|
-
}, listByResourceGroupOperationSpec, callback);
|
799
|
-
};
|
800
|
-
/**
|
801
|
-
* The Create Domain Service operation creates a new domain service with the specified parameters.
|
802
|
-
* If the specific service already exists, then any patchable properties will be updated and any
|
803
|
-
* immutable properties will remain unchanged.
|
804
|
-
* @summary Create or Update Domain Service (PUT Resource)
|
805
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
806
|
-
* is case insensitive.
|
807
|
-
* @param domainServiceName The name of the domain service.
|
808
|
-
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
809
|
-
* @param [options] The optional parameters
|
810
|
-
* @returns Promise<Models.DomainServicesCreateOrUpdateResponse>
|
811
|
-
*/
|
812
|
-
DomainServices.prototype.createOrUpdate = function (resourceGroupName$$1, domainServiceName$$1, domainService, options) {
|
813
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, domainServiceName$$1, domainService, options)
|
814
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
815
|
-
};
|
816
|
-
DomainServices.prototype.get = function (resourceGroupName$$1, domainServiceName$$1, options, callback) {
|
817
|
-
return this.client.sendOperationRequest({
|
818
|
-
resourceGroupName: resourceGroupName$$1,
|
819
|
-
domainServiceName: domainServiceName$$1,
|
820
|
-
options: options
|
821
|
-
}, getOperationSpec, callback);
|
822
|
-
};
|
823
|
-
/**
|
824
|
-
* The Delete Domain Service operation deletes an existing Domain Service.
|
825
|
-
* @summary Delete Domain Service (DELETE Resource)
|
826
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
827
|
-
* is case insensitive.
|
828
|
-
* @param domainServiceName The name of the domain service.
|
829
|
-
* @param [options] The optional parameters
|
830
|
-
* @returns Promise<Models.DomainServicesDeleteMethodResponse>
|
831
|
-
*/
|
832
|
-
DomainServices.prototype.deleteMethod = function (resourceGroupName$$1, domainServiceName$$1, options) {
|
833
|
-
return this.beginDeleteMethod(resourceGroupName$$1, domainServiceName$$1, options)
|
834
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
835
|
-
};
|
836
|
-
/**
|
837
|
-
* The Update Domain Service operation can be used to update the existing deployment. The update
|
838
|
-
* call only supports the properties listed in the PATCH body.
|
839
|
-
* @summary Update Domain Service (PATCH Resource)
|
840
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
841
|
-
* is case insensitive.
|
842
|
-
* @param domainServiceName The name of the domain service.
|
843
|
-
* @param domainService Properties supplied to the Update a Domain Service operation.
|
844
|
-
* @param [options] The optional parameters
|
845
|
-
* @returns Promise<Models.DomainServicesUpdateResponse>
|
846
|
-
*/
|
847
|
-
DomainServices.prototype.update = function (resourceGroupName$$1, domainServiceName$$1, domainService, options) {
|
848
|
-
return this.beginUpdate(resourceGroupName$$1, domainServiceName$$1, domainService, options)
|
849
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
850
|
-
};
|
851
|
-
/**
|
852
|
-
* The Create Domain Service operation creates a new domain service with the specified parameters.
|
853
|
-
* If the specific service already exists, then any patchable properties will be updated and any
|
854
|
-
* immutable properties will remain unchanged.
|
855
|
-
* @summary Create or Update Domain Service (PUT Resource)
|
856
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
857
|
-
* is case insensitive.
|
858
|
-
* @param domainServiceName The name of the domain service.
|
859
|
-
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
860
|
-
* @param [options] The optional parameters
|
861
|
-
* @returns Promise<msRestAzure.LROPoller>
|
862
|
-
*/
|
863
|
-
DomainServices.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, domainServiceName$$1, domainService, options) {
|
864
|
-
return this.client.sendLRORequest({
|
865
|
-
resourceGroupName: resourceGroupName$$1,
|
866
|
-
domainServiceName: domainServiceName$$1,
|
867
|
-
domainService: domainService,
|
868
|
-
options: options
|
869
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
870
|
-
};
|
871
|
-
/**
|
872
|
-
* The Delete Domain Service operation deletes an existing Domain Service.
|
873
|
-
* @summary Delete Domain Service (DELETE Resource)
|
874
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
875
|
-
* is case insensitive.
|
876
|
-
* @param domainServiceName The name of the domain service.
|
877
|
-
* @param [options] The optional parameters
|
878
|
-
* @returns Promise<msRestAzure.LROPoller>
|
879
|
-
*/
|
880
|
-
DomainServices.prototype.beginDeleteMethod = function (resourceGroupName$$1, domainServiceName$$1, options) {
|
881
|
-
return this.client.sendLRORequest({
|
882
|
-
resourceGroupName: resourceGroupName$$1,
|
883
|
-
domainServiceName: domainServiceName$$1,
|
884
|
-
options: options
|
885
|
-
}, beginDeleteMethodOperationSpec, options);
|
886
|
-
};
|
887
|
-
/**
|
888
|
-
* The Update Domain Service operation can be used to update the existing deployment. The update
|
889
|
-
* call only supports the properties listed in the PATCH body.
|
890
|
-
* @summary Update Domain Service (PATCH Resource)
|
891
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
892
|
-
* is case insensitive.
|
893
|
-
* @param domainServiceName The name of the domain service.
|
894
|
-
* @param domainService Properties supplied to the Update a Domain Service operation.
|
895
|
-
* @param [options] The optional parameters
|
896
|
-
* @returns Promise<msRestAzure.LROPoller>
|
897
|
-
*/
|
898
|
-
DomainServices.prototype.beginUpdate = function (resourceGroupName$$1, domainServiceName$$1, domainService, options) {
|
899
|
-
return this.client.sendLRORequest({
|
900
|
-
resourceGroupName: resourceGroupName$$1,
|
901
|
-
domainServiceName: domainServiceName$$1,
|
902
|
-
domainService: domainService,
|
903
|
-
options: options
|
904
|
-
}, beginUpdateOperationSpec, options);
|
905
|
-
};
|
906
|
-
DomainServices.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
907
|
-
return this.client.sendOperationRequest({
|
908
|
-
nextPageLink: nextPageLink$$1,
|
909
|
-
options: options
|
910
|
-
}, listNextOperationSpec$1, callback);
|
911
|
-
};
|
912
|
-
DomainServices.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
913
|
-
return this.client.sendOperationRequest({
|
914
|
-
nextPageLink: nextPageLink$$1,
|
915
|
-
options: options
|
916
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
917
|
-
};
|
918
|
-
return DomainServices;
|
919
|
-
}());
|
920
|
-
// Operation Specifications
|
921
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
922
|
-
var listOperationSpec$1 = {
|
923
|
-
httpMethod: "GET",
|
924
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices",
|
925
|
-
urlParameters: [
|
926
|
-
subscriptionId
|
927
|
-
],
|
928
|
-
queryParameters: [
|
929
|
-
apiVersion
|
930
|
-
],
|
931
|
-
headerParameters: [
|
932
|
-
acceptLanguage
|
933
|
-
],
|
934
|
-
responses: {
|
935
|
-
200: {
|
936
|
-
bodyMapper: DomainServiceListResult
|
937
|
-
},
|
938
|
-
default: {
|
939
|
-
bodyMapper: CloudError
|
940
|
-
}
|
941
|
-
},
|
942
|
-
serializer: serializer$1
|
943
|
-
};
|
944
|
-
var listByResourceGroupOperationSpec = {
|
945
|
-
httpMethod: "GET",
|
946
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices",
|
947
|
-
urlParameters: [
|
948
|
-
subscriptionId,
|
949
|
-
resourceGroupName
|
950
|
-
],
|
951
|
-
queryParameters: [
|
952
|
-
apiVersion
|
953
|
-
],
|
954
|
-
headerParameters: [
|
955
|
-
acceptLanguage
|
956
|
-
],
|
957
|
-
responses: {
|
958
|
-
200: {
|
959
|
-
bodyMapper: DomainServiceListResult
|
960
|
-
},
|
961
|
-
default: {
|
962
|
-
bodyMapper: CloudError
|
963
|
-
}
|
964
|
-
},
|
965
|
-
serializer: serializer$1
|
966
|
-
};
|
967
|
-
var getOperationSpec = {
|
968
|
-
httpMethod: "GET",
|
969
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
970
|
-
urlParameters: [
|
971
|
-
subscriptionId,
|
972
|
-
resourceGroupName,
|
973
|
-
domainServiceName
|
974
|
-
],
|
975
|
-
queryParameters: [
|
976
|
-
apiVersion
|
977
|
-
],
|
978
|
-
headerParameters: [
|
979
|
-
acceptLanguage
|
980
|
-
],
|
981
|
-
responses: {
|
982
|
-
200: {
|
983
|
-
bodyMapper: DomainService
|
984
|
-
},
|
985
|
-
default: {
|
986
|
-
bodyMapper: CloudError
|
987
|
-
}
|
988
|
-
},
|
989
|
-
serializer: serializer$1
|
990
|
-
};
|
991
|
-
var beginCreateOrUpdateOperationSpec = {
|
992
|
-
httpMethod: "PUT",
|
993
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
994
|
-
urlParameters: [
|
995
|
-
subscriptionId,
|
996
|
-
resourceGroupName,
|
997
|
-
domainServiceName
|
998
|
-
],
|
999
|
-
queryParameters: [
|
1000
|
-
apiVersion
|
1001
|
-
],
|
1002
|
-
headerParameters: [
|
1003
|
-
acceptLanguage
|
1004
|
-
],
|
1005
|
-
requestBody: {
|
1006
|
-
parameterPath: "domainService",
|
1007
|
-
mapper: __assign({}, DomainService, { required: true })
|
1008
|
-
},
|
1009
|
-
responses: {
|
1010
|
-
200: {
|
1011
|
-
bodyMapper: DomainService
|
1012
|
-
},
|
1013
|
-
201: {
|
1014
|
-
bodyMapper: DomainService
|
1015
|
-
},
|
1016
|
-
202: {
|
1017
|
-
bodyMapper: DomainService
|
1018
|
-
},
|
1019
|
-
default: {
|
1020
|
-
bodyMapper: CloudError
|
1021
|
-
}
|
1022
|
-
},
|
1023
|
-
serializer: serializer$1
|
1024
|
-
};
|
1025
|
-
var beginDeleteMethodOperationSpec = {
|
1026
|
-
httpMethod: "DELETE",
|
1027
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
1028
|
-
urlParameters: [
|
1029
|
-
subscriptionId,
|
1030
|
-
resourceGroupName,
|
1031
|
-
domainServiceName
|
1032
|
-
],
|
1033
|
-
queryParameters: [
|
1034
|
-
apiVersion
|
1035
|
-
],
|
1036
|
-
headerParameters: [
|
1037
|
-
acceptLanguage
|
1038
|
-
],
|
1039
|
-
responses: {
|
1040
|
-
202: {
|
1041
|
-
bodyMapper: DomainService
|
1042
|
-
},
|
1043
|
-
204: {},
|
1044
|
-
default: {
|
1045
|
-
bodyMapper: CloudError
|
1046
|
-
}
|
1047
|
-
},
|
1048
|
-
serializer: serializer$1
|
1049
|
-
};
|
1050
|
-
var beginUpdateOperationSpec = {
|
1051
|
-
httpMethod: "PATCH",
|
1052
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
1053
|
-
urlParameters: [
|
1054
|
-
subscriptionId,
|
1055
|
-
resourceGroupName,
|
1056
|
-
domainServiceName
|
1057
|
-
],
|
1058
|
-
queryParameters: [
|
1059
|
-
apiVersion
|
1060
|
-
],
|
1061
|
-
headerParameters: [
|
1062
|
-
acceptLanguage
|
1063
|
-
],
|
1064
|
-
requestBody: {
|
1065
|
-
parameterPath: "domainService",
|
1066
|
-
mapper: __assign({}, DomainService, { required: true })
|
1067
|
-
},
|
1068
|
-
responses: {
|
1069
|
-
200: {
|
1070
|
-
bodyMapper: DomainService
|
1071
|
-
},
|
1072
|
-
202: {
|
1073
|
-
bodyMapper: DomainService
|
1074
|
-
},
|
1075
|
-
default: {
|
1076
|
-
bodyMapper: CloudError
|
1077
|
-
}
|
1078
|
-
},
|
1079
|
-
serializer: serializer$1
|
1080
|
-
};
|
1081
|
-
var listNextOperationSpec$1 = {
|
1082
|
-
httpMethod: "GET",
|
1083
|
-
baseUrl: "https://management.azure.com",
|
1084
|
-
path: "{nextLink}",
|
1085
|
-
urlParameters: [
|
1086
|
-
nextPageLink
|
1087
|
-
],
|
1088
|
-
headerParameters: [
|
1089
|
-
acceptLanguage
|
1090
|
-
],
|
1091
|
-
responses: {
|
1092
|
-
200: {
|
1093
|
-
bodyMapper: DomainServiceListResult
|
1094
|
-
},
|
1095
|
-
default: {
|
1096
|
-
bodyMapper: CloudError
|
1097
|
-
}
|
1098
|
-
},
|
1099
|
-
serializer: serializer$1
|
1100
|
-
};
|
1101
|
-
var listByResourceGroupNextOperationSpec = {
|
1102
|
-
httpMethod: "GET",
|
1103
|
-
baseUrl: "https://management.azure.com",
|
1104
|
-
path: "{nextLink}",
|
1105
|
-
urlParameters: [
|
1106
|
-
nextPageLink
|
1107
|
-
],
|
1108
|
-
headerParameters: [
|
1109
|
-
acceptLanguage
|
1110
|
-
],
|
1111
|
-
responses: {
|
1112
|
-
200: {
|
1113
|
-
bodyMapper: DomainServiceListResult
|
1114
|
-
},
|
1115
|
-
default: {
|
1116
|
-
bodyMapper: CloudError
|
1117
|
-
}
|
1118
|
-
},
|
1119
|
-
serializer: serializer$1
|
1120
|
-
};
|
1121
|
-
|
1122
|
-
/*
|
1123
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
1124
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
1125
|
-
* license information.
|
1126
|
-
*
|
1127
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1128
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1129
|
-
* regenerated.
|
1130
|
-
*/
|
1131
|
-
|
1132
|
-
/*
|
1133
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
1134
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
1135
|
-
* license information.
|
1136
|
-
*
|
1137
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1138
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1139
|
-
* regenerated.
|
1140
|
-
*/
|
1141
|
-
var packageName = "@azure/arm-domainservices";
|
1142
|
-
var packageVersion = "0.1.0";
|
1143
|
-
var DomainservicesManagementClientContext = /** @class */ (function (_super) {
|
1144
|
-
__extends(DomainservicesManagementClientContext, _super);
|
1145
|
-
/**
|
1146
|
-
* Initializes a new instance of the DomainservicesManagementClient class.
|
1147
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
1148
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
1149
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
1150
|
-
* @param [options] The parameter options
|
1151
|
-
*/
|
1152
|
-
function DomainservicesManagementClientContext(credentials, subscriptionId, options) {
|
1153
|
-
var _this = this;
|
1154
|
-
if (credentials == undefined) {
|
1155
|
-
throw new Error('\'credentials\' cannot be null.');
|
1156
|
-
}
|
1157
|
-
if (subscriptionId == undefined) {
|
1158
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
1159
|
-
}
|
1160
|
-
if (!options) {
|
1161
|
-
options = {};
|
1162
|
-
}
|
1163
|
-
if (!options.userAgent) {
|
1164
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
1165
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
1166
|
-
}
|
1167
|
-
_this = _super.call(this, credentials, options) || this;
|
1168
|
-
_this.apiVersion = '2017-06-01';
|
1169
|
-
_this.acceptLanguage = 'en-US';
|
1170
|
-
_this.longRunningOperationRetryTimeout = 30;
|
1171
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
1172
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
1173
|
-
_this.credentials = credentials;
|
1174
|
-
_this.subscriptionId = subscriptionId;
|
1175
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
1176
|
-
_this.acceptLanguage = options.acceptLanguage;
|
1177
|
-
}
|
1178
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
1179
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
1180
|
-
}
|
1181
|
-
return _this;
|
1182
|
-
}
|
1183
|
-
return DomainservicesManagementClientContext;
|
1184
|
-
}(msRestAzure.AzureServiceClient));
|
1185
|
-
|
1186
|
-
/*
|
1187
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
1188
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
1189
|
-
* license information.
|
1190
|
-
*
|
1191
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1192
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1193
|
-
* regenerated.
|
1194
|
-
*/
|
1195
|
-
var DomainservicesManagementClient = /** @class */ (function (_super) {
|
1196
|
-
__extends(DomainservicesManagementClient, _super);
|
1197
|
-
/**
|
1198
|
-
* Initializes a new instance of the DomainservicesManagementClient class.
|
1199
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
1200
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
1201
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
1202
|
-
* @param [options] The parameter options
|
1203
|
-
*/
|
1204
|
-
function DomainservicesManagementClient(credentials, subscriptionId, options) {
|
1205
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
1206
|
-
_this.domainServiceOperations = new DomainServiceOperations(_this);
|
1207
|
-
_this.domainServices = new DomainServices(_this);
|
1208
|
-
return _this;
|
1209
|
-
}
|
1210
|
-
return DomainservicesManagementClient;
|
1211
|
-
}(DomainservicesManagementClientContext));
|
1212
|
-
|
1213
|
-
exports.DomainservicesManagementClient = DomainservicesManagementClient;
|
1214
|
-
exports.DomainservicesManagementClientContext = DomainservicesManagementClientContext;
|
1215
|
-
exports.DomainservicesManagementModels = index;
|
1216
|
-
exports.DomainservicesManagementMappers = mappers;
|
1217
|
-
exports.DomainServiceOperations = DomainServiceOperations;
|
1218
|
-
exports.DomainServices = DomainServices;
|
1219
|
-
|
1220
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
1221
|
-
|
1222
|
-
})));
|
1223
|
-
//# sourceMappingURL=arm-domainservices.js.map
|