@azure/arm-domainservices 3.1.0 → 4.0.1-alpha.20220113.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  5. package/dist/index.js +2502 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/domainServicesResourceProvider.d.ts +22 -0
  10. package/dist-esm/src/domainServicesResourceProvider.d.ts.map +1 -0
  11. package/dist-esm/src/domainServicesResourceProvider.js +55 -0
  12. package/dist-esm/src/domainServicesResourceProvider.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +768 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +98 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +27 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/dist-esm/src/models/mappers.js +1015 -0
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +13 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +117 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/domainServiceOperations.d.ts +32 -0
  34. package/dist-esm/src/operations/domainServiceOperations.d.ts.map +1 -0
  35. package/dist-esm/src/operations/domainServiceOperations.js +120 -0
  36. package/dist-esm/src/operations/domainServiceOperations.js.map +1 -0
  37. package/dist-esm/src/operations/domainServices.d.ts +127 -0
  38. package/dist-esm/src/operations/domainServices.d.ts.map +1 -0
  39. package/dist-esm/src/operations/domainServices.js +520 -0
  40. package/dist-esm/src/operations/domainServices.js.map +1 -0
  41. package/dist-esm/src/operations/index.d.ts +5 -0
  42. package/dist-esm/src/operations/index.d.ts.map +1 -0
  43. package/dist-esm/src/operations/index.js +12 -0
  44. package/dist-esm/src/operations/index.js.map +1 -0
  45. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts +111 -0
  46. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +1 -0
  47. package/dist-esm/src/operations/ouContainerOperationGrp.js +441 -0
  48. package/dist-esm/src/operations/ouContainerOperationGrp.js.map +1 -0
  49. package/dist-esm/src/operations/ouContainerOperations.d.ts +32 -0
  50. package/dist-esm/src/operations/ouContainerOperations.d.ts.map +1 -0
  51. package/dist-esm/src/operations/ouContainerOperations.js +120 -0
  52. package/dist-esm/src/operations/ouContainerOperations.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  54. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js +9 -0
  56. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/domainServices.d.ts +87 -0
  58. package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/domainServices.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/domainServices.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  62. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  64. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  66. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  67. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js +9 -0
  68. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  70. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js +9 -0
  72. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +1 -0
  73. package/dist-esm/test/sampleTest.d.ts +2 -0
  74. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  75. package/dist-esm/test/sampleTest.js +40 -0
  76. package/dist-esm/test/sampleTest.js.map +1 -0
  77. package/package.json +71 -25
  78. package/review/arm-domainservices.api.md +591 -0
  79. package/rollup.config.js +184 -27
  80. package/src/domainServicesResourceProvider.ts +92 -0
  81. package/src/index.ts +12 -0
  82. package/src/lroImpl.ts +34 -0
  83. package/src/models/index.ts +868 -0
  84. package/src/models/mappers.ts +1069 -0
  85. package/src/models/parameters.ts +136 -0
  86. package/src/operations/domainServiceOperations.ts +137 -0
  87. package/src/operations/domainServices.ts +690 -0
  88. package/{lib → src}/operations/index.ts +5 -5
  89. package/src/operations/ouContainerOperationGrp.ts +632 -0
  90. package/src/operations/ouContainerOperations.ts +137 -0
  91. package/src/operationsInterfaces/domainServiceOperations.ts +25 -0
  92. package/src/operationsInterfaces/domainServices.ts +154 -0
  93. package/src/operationsInterfaces/index.ts +12 -0
  94. package/src/operationsInterfaces/ouContainerOperationGrp.ts +157 -0
  95. package/src/operationsInterfaces/ouContainerOperations.ts +25 -0
  96. package/tsconfig.json +4 -4
  97. package/types/arm-domainservices.d.ts +1062 -0
  98. package/types/tsdoc-metadata.json +11 -0
  99. package/dist/arm-domainservices.js +0 -1223
  100. package/dist/arm-domainservices.js.map +0 -1
  101. package/dist/arm-domainservices.min.js +0 -1
  102. package/dist/arm-domainservices.min.js.map +0 -1
  103. package/esm/domainservicesManagementClient.d.ts +0 -20
  104. package/esm/domainservicesManagementClient.d.ts.map +0 -1
  105. package/esm/domainservicesManagementClient.js +0 -35
  106. package/esm/domainservicesManagementClient.js.map +0 -1
  107. package/esm/domainservicesManagementClientContext.d.ts +0 -17
  108. package/esm/domainservicesManagementClientContext.d.ts.map +0 -1
  109. package/esm/domainservicesManagementClientContext.js +0 -57
  110. package/esm/domainservicesManagementClientContext.js.map +0 -1
  111. package/esm/models/domainServiceOperationsMappers.d.ts +0 -2
  112. package/esm/models/domainServiceOperationsMappers.d.ts.map +0 -1
  113. package/esm/models/domainServiceOperationsMappers.js +0 -11
  114. package/esm/models/domainServiceOperationsMappers.js.map +0 -1
  115. package/esm/models/domainServicesMappers.d.ts +0 -2
  116. package/esm/models/domainServicesMappers.d.ts.map +0 -1
  117. package/esm/models/domainServicesMappers.js +0 -11
  118. package/esm/models/domainServicesMappers.js.map +0 -1
  119. package/esm/models/index.d.ts +0 -693
  120. package/esm/models/index.d.ts.map +0 -1
  121. package/esm/models/index.js +0 -10
  122. package/esm/models/index.js.map +0 -1
  123. package/esm/models/mappers.d.ts +0 -15
  124. package/esm/models/mappers.d.ts.map +0 -1
  125. package/esm/models/mappers.js +0 -498
  126. package/esm/models/mappers.js.map +0 -1
  127. package/esm/models/parameters.d.ts +0 -8
  128. package/esm/models/parameters.d.ts.map +0 -1
  129. package/esm/models/parameters.js +0 -76
  130. package/esm/models/parameters.js.map +0 -1
  131. package/esm/operations/domainServiceOperations.d.ts +0 -46
  132. package/esm/operations/domainServiceOperations.d.ts.map +0 -1
  133. package/esm/operations/domainServiceOperations.js +0 -77
  134. package/esm/operations/domainServiceOperations.js.map +0 -1
  135. package/esm/operations/domainServices.d.ts +0 -189
  136. package/esm/operations/domainServices.d.ts.map +0 -1
  137. package/esm/operations/domainServices.js +0 -356
  138. package/esm/operations/domainServices.js.map +0 -1
  139. package/esm/operations/index.d.ts +0 -3
  140. package/esm/operations/index.d.ts.map +0 -1
  141. package/esm/operations/index.js +0 -12
  142. package/esm/operations/index.js.map +0 -1
  143. package/lib/domainservicesManagementClient.ts +0 -45
  144. package/lib/domainservicesManagementClientContext.ts +0 -63
  145. package/lib/models/domainServiceOperationsMappers.ts +0 -17
  146. package/lib/models/domainServicesMappers.ts +0 -23
  147. package/lib/models/index.ts +0 -736
  148. package/lib/models/mappers.ts +0 -526
  149. package/lib/models/parameters.ts +0 -78
  150. package/lib/operations/domainServiceOperations.ts +0 -123
  151. package/lib/operations/domainServices.ts +0 -513
@@ -1,513 +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
-
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
- import * as Models from "../models";
14
- import * as Mappers from "../models/domainServicesMappers";
15
- import * as Parameters from "../models/parameters";
16
- import { DomainservicesManagementClientContext } from "../domainservicesManagementClientContext";
17
-
18
- /** Class representing a DomainServices. */
19
- export class DomainServices {
20
- private readonly client: DomainservicesManagementClientContext;
21
-
22
- /**
23
- * Create a DomainServices.
24
- * @param {DomainservicesManagementClientContext} client Reference to the service client.
25
- */
26
- constructor(client: DomainservicesManagementClientContext) {
27
- this.client = client;
28
- }
29
-
30
- /**
31
- * The List Domain Services in Subscription operation lists all the domain services available under
32
- * the given subscription (and across all resource groups within that subscription).
33
- * @summary List Domain Services in Subscription (GET Resources)
34
- * @param [options] The optional parameters
35
- * @returns Promise<Models.DomainServicesListResponse>
36
- */
37
- list(options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesListResponse>;
38
- /**
39
- * @param callback The callback
40
- */
41
- list(callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
42
- /**
43
- * @param options The optional parameters
44
- * @param callback The callback
45
- */
46
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
47
- list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DomainServiceListResult>, callback?: msRest.ServiceCallback<Models.DomainServiceListResult>): Promise<Models.DomainServicesListResponse> {
48
- return this.client.sendOperationRequest(
49
- {
50
- options
51
- },
52
- listOperationSpec,
53
- callback) as Promise<Models.DomainServicesListResponse>;
54
- }
55
-
56
- /**
57
- * The List Domain Services in Resource Group operation lists all the domain services available
58
- * under the given resource group.
59
- * @summary List Domain Services in Resource Group (GET Resources)
60
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
61
- * is case insensitive.
62
- * @param [options] The optional parameters
63
- * @returns Promise<Models.DomainServicesListByResourceGroupResponse>
64
- */
65
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesListByResourceGroupResponse>;
66
- /**
67
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
68
- * is case insensitive.
69
- * @param callback The callback
70
- */
71
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
72
- /**
73
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
74
- * is case insensitive.
75
- * @param options The optional parameters
76
- * @param callback The callback
77
- */
78
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
79
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DomainServiceListResult>, callback?: msRest.ServiceCallback<Models.DomainServiceListResult>): Promise<Models.DomainServicesListByResourceGroupResponse> {
80
- return this.client.sendOperationRequest(
81
- {
82
- resourceGroupName,
83
- options
84
- },
85
- listByResourceGroupOperationSpec,
86
- callback) as Promise<Models.DomainServicesListByResourceGroupResponse>;
87
- }
88
-
89
- /**
90
- * The Create Domain Service operation creates a new domain service with the specified parameters.
91
- * If the specific service already exists, then any patchable properties will be updated and any
92
- * immutable properties will remain unchanged.
93
- * @summary Create or Update Domain Service (PUT Resource)
94
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
95
- * is case insensitive.
96
- * @param domainServiceName The name of the domain service.
97
- * @param domainService Properties supplied to the Create or Update a Domain Service operation.
98
- * @param [options] The optional parameters
99
- * @returns Promise<Models.DomainServicesCreateOrUpdateResponse>
100
- */
101
- createOrUpdate(resourceGroupName: string, domainServiceName: string, domainService: Models.DomainService, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesCreateOrUpdateResponse> {
102
- return this.beginCreateOrUpdate(resourceGroupName,domainServiceName,domainService,options)
103
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DomainServicesCreateOrUpdateResponse>;
104
- }
105
-
106
- /**
107
- * The Get Domain Service operation retrieves a json representation of the Domain Service.
108
- * @summary Get Domain Service (GET Resources)
109
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
110
- * is case insensitive.
111
- * @param domainServiceName The name of the domain service.
112
- * @param [options] The optional parameters
113
- * @returns Promise<Models.DomainServicesGetResponse>
114
- */
115
- get(resourceGroupName: string, domainServiceName: string, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesGetResponse>;
116
- /**
117
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
118
- * is case insensitive.
119
- * @param domainServiceName The name of the domain service.
120
- * @param callback The callback
121
- */
122
- get(resourceGroupName: string, domainServiceName: string, callback: msRest.ServiceCallback<Models.DomainService>): void;
123
- /**
124
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
125
- * is case insensitive.
126
- * @param domainServiceName The name of the domain service.
127
- * @param options The optional parameters
128
- * @param callback The callback
129
- */
130
- get(resourceGroupName: string, domainServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DomainService>): void;
131
- get(resourceGroupName: string, domainServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DomainService>, callback?: msRest.ServiceCallback<Models.DomainService>): Promise<Models.DomainServicesGetResponse> {
132
- return this.client.sendOperationRequest(
133
- {
134
- resourceGroupName,
135
- domainServiceName,
136
- options
137
- },
138
- getOperationSpec,
139
- callback) as Promise<Models.DomainServicesGetResponse>;
140
- }
141
-
142
- /**
143
- * The Delete Domain Service operation deletes an existing Domain Service.
144
- * @summary Delete Domain Service (DELETE Resource)
145
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
146
- * is case insensitive.
147
- * @param domainServiceName The name of the domain service.
148
- * @param [options] The optional parameters
149
- * @returns Promise<Models.DomainServicesDeleteMethodResponse>
150
- */
151
- deleteMethod(resourceGroupName: string, domainServiceName: string, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesDeleteMethodResponse> {
152
- return this.beginDeleteMethod(resourceGroupName,domainServiceName,options)
153
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DomainServicesDeleteMethodResponse>;
154
- }
155
-
156
- /**
157
- * The Update Domain Service operation can be used to update the existing deployment. The update
158
- * call only supports the properties listed in the PATCH body.
159
- * @summary Update Domain Service (PATCH Resource)
160
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
161
- * is case insensitive.
162
- * @param domainServiceName The name of the domain service.
163
- * @param domainService Properties supplied to the Update a Domain Service operation.
164
- * @param [options] The optional parameters
165
- * @returns Promise<Models.DomainServicesUpdateResponse>
166
- */
167
- update(resourceGroupName: string, domainServiceName: string, domainService: Models.DomainService, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesUpdateResponse> {
168
- return this.beginUpdate(resourceGroupName,domainServiceName,domainService,options)
169
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DomainServicesUpdateResponse>;
170
- }
171
-
172
- /**
173
- * The Create Domain Service operation creates a new domain service with the specified parameters.
174
- * If the specific service already exists, then any patchable properties will be updated and any
175
- * immutable properties will remain unchanged.
176
- * @summary Create or Update Domain Service (PUT Resource)
177
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
178
- * is case insensitive.
179
- * @param domainServiceName The name of the domain service.
180
- * @param domainService Properties supplied to the Create or Update a Domain Service operation.
181
- * @param [options] The optional parameters
182
- * @returns Promise<msRestAzure.LROPoller>
183
- */
184
- beginCreateOrUpdate(resourceGroupName: string, domainServiceName: string, domainService: Models.DomainService, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
185
- return this.client.sendLRORequest(
186
- {
187
- resourceGroupName,
188
- domainServiceName,
189
- domainService,
190
- options
191
- },
192
- beginCreateOrUpdateOperationSpec,
193
- options);
194
- }
195
-
196
- /**
197
- * The Delete Domain Service operation deletes an existing Domain Service.
198
- * @summary Delete Domain Service (DELETE Resource)
199
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
200
- * is case insensitive.
201
- * @param domainServiceName The name of the domain service.
202
- * @param [options] The optional parameters
203
- * @returns Promise<msRestAzure.LROPoller>
204
- */
205
- beginDeleteMethod(resourceGroupName: string, domainServiceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
206
- return this.client.sendLRORequest(
207
- {
208
- resourceGroupName,
209
- domainServiceName,
210
- options
211
- },
212
- beginDeleteMethodOperationSpec,
213
- options);
214
- }
215
-
216
- /**
217
- * The Update Domain Service operation can be used to update the existing deployment. The update
218
- * call only supports the properties listed in the PATCH body.
219
- * @summary Update Domain Service (PATCH Resource)
220
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
221
- * is case insensitive.
222
- * @param domainServiceName The name of the domain service.
223
- * @param domainService Properties supplied to the Update a Domain Service operation.
224
- * @param [options] The optional parameters
225
- * @returns Promise<msRestAzure.LROPoller>
226
- */
227
- beginUpdate(resourceGroupName: string, domainServiceName: string, domainService: Models.DomainService, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
228
- return this.client.sendLRORequest(
229
- {
230
- resourceGroupName,
231
- domainServiceName,
232
- domainService,
233
- options
234
- },
235
- beginUpdateOperationSpec,
236
- options);
237
- }
238
-
239
- /**
240
- * The List Domain Services in Subscription operation lists all the domain services available under
241
- * the given subscription (and across all resource groups within that subscription).
242
- * @summary List Domain Services in Subscription (GET Resources)
243
- * @param nextPageLink The NextLink from the previous successful call to List operation.
244
- * @param [options] The optional parameters
245
- * @returns Promise<Models.DomainServicesListNextResponse>
246
- */
247
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesListNextResponse>;
248
- /**
249
- * @param nextPageLink The NextLink from the previous successful call to List operation.
250
- * @param callback The callback
251
- */
252
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
253
- /**
254
- * @param nextPageLink The NextLink from the previous successful call to List operation.
255
- * @param options The optional parameters
256
- * @param callback The callback
257
- */
258
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
259
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DomainServiceListResult>, callback?: msRest.ServiceCallback<Models.DomainServiceListResult>): Promise<Models.DomainServicesListNextResponse> {
260
- return this.client.sendOperationRequest(
261
- {
262
- nextPageLink,
263
- options
264
- },
265
- listNextOperationSpec,
266
- callback) as Promise<Models.DomainServicesListNextResponse>;
267
- }
268
-
269
- /**
270
- * The List Domain Services in Resource Group operation lists all the domain services available
271
- * under the given resource group.
272
- * @summary List Domain Services in Resource Group (GET Resources)
273
- * @param nextPageLink The NextLink from the previous successful call to List operation.
274
- * @param [options] The optional parameters
275
- * @returns Promise<Models.DomainServicesListByResourceGroupNextResponse>
276
- */
277
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DomainServicesListByResourceGroupNextResponse>;
278
- /**
279
- * @param nextPageLink The NextLink from the previous successful call to List operation.
280
- * @param callback The callback
281
- */
282
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
283
- /**
284
- * @param nextPageLink The NextLink from the previous successful call to List operation.
285
- * @param options The optional parameters
286
- * @param callback The callback
287
- */
288
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DomainServiceListResult>): void;
289
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DomainServiceListResult>, callback?: msRest.ServiceCallback<Models.DomainServiceListResult>): Promise<Models.DomainServicesListByResourceGroupNextResponse> {
290
- return this.client.sendOperationRequest(
291
- {
292
- nextPageLink,
293
- options
294
- },
295
- listByResourceGroupNextOperationSpec,
296
- callback) as Promise<Models.DomainServicesListByResourceGroupNextResponse>;
297
- }
298
- }
299
-
300
- // Operation Specifications
301
- const serializer = new msRest.Serializer(Mappers);
302
- const listOperationSpec: msRest.OperationSpec = {
303
- httpMethod: "GET",
304
- path: "subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices",
305
- urlParameters: [
306
- Parameters.subscriptionId
307
- ],
308
- queryParameters: [
309
- Parameters.apiVersion
310
- ],
311
- headerParameters: [
312
- Parameters.acceptLanguage
313
- ],
314
- responses: {
315
- 200: {
316
- bodyMapper: Mappers.DomainServiceListResult
317
- },
318
- default: {
319
- bodyMapper: Mappers.CloudError
320
- }
321
- },
322
- serializer
323
- };
324
-
325
- const listByResourceGroupOperationSpec: msRest.OperationSpec = {
326
- httpMethod: "GET",
327
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices",
328
- urlParameters: [
329
- Parameters.subscriptionId,
330
- Parameters.resourceGroupName
331
- ],
332
- queryParameters: [
333
- Parameters.apiVersion
334
- ],
335
- headerParameters: [
336
- Parameters.acceptLanguage
337
- ],
338
- responses: {
339
- 200: {
340
- bodyMapper: Mappers.DomainServiceListResult
341
- },
342
- default: {
343
- bodyMapper: Mappers.CloudError
344
- }
345
- },
346
- serializer
347
- };
348
-
349
- const getOperationSpec: msRest.OperationSpec = {
350
- httpMethod: "GET",
351
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
352
- urlParameters: [
353
- Parameters.subscriptionId,
354
- Parameters.resourceGroupName,
355
- Parameters.domainServiceName
356
- ],
357
- queryParameters: [
358
- Parameters.apiVersion
359
- ],
360
- headerParameters: [
361
- Parameters.acceptLanguage
362
- ],
363
- responses: {
364
- 200: {
365
- bodyMapper: Mappers.DomainService
366
- },
367
- default: {
368
- bodyMapper: Mappers.CloudError
369
- }
370
- },
371
- serializer
372
- };
373
-
374
- const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
375
- httpMethod: "PUT",
376
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
377
- urlParameters: [
378
- Parameters.subscriptionId,
379
- Parameters.resourceGroupName,
380
- Parameters.domainServiceName
381
- ],
382
- queryParameters: [
383
- Parameters.apiVersion
384
- ],
385
- headerParameters: [
386
- Parameters.acceptLanguage
387
- ],
388
- requestBody: {
389
- parameterPath: "domainService",
390
- mapper: {
391
- ...Mappers.DomainService,
392
- required: true
393
- }
394
- },
395
- responses: {
396
- 200: {
397
- bodyMapper: Mappers.DomainService
398
- },
399
- 201: {
400
- bodyMapper: Mappers.DomainService
401
- },
402
- 202: {
403
- bodyMapper: Mappers.DomainService
404
- },
405
- default: {
406
- bodyMapper: Mappers.CloudError
407
- }
408
- },
409
- serializer
410
- };
411
-
412
- const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
413
- httpMethod: "DELETE",
414
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
415
- urlParameters: [
416
- Parameters.subscriptionId,
417
- Parameters.resourceGroupName,
418
- Parameters.domainServiceName
419
- ],
420
- queryParameters: [
421
- Parameters.apiVersion
422
- ],
423
- headerParameters: [
424
- Parameters.acceptLanguage
425
- ],
426
- responses: {
427
- 202: {
428
- bodyMapper: Mappers.DomainService
429
- },
430
- 204: {},
431
- default: {
432
- bodyMapper: Mappers.CloudError
433
- }
434
- },
435
- serializer
436
- };
437
-
438
- const beginUpdateOperationSpec: msRest.OperationSpec = {
439
- httpMethod: "PATCH",
440
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
441
- urlParameters: [
442
- Parameters.subscriptionId,
443
- Parameters.resourceGroupName,
444
- Parameters.domainServiceName
445
- ],
446
- queryParameters: [
447
- Parameters.apiVersion
448
- ],
449
- headerParameters: [
450
- Parameters.acceptLanguage
451
- ],
452
- requestBody: {
453
- parameterPath: "domainService",
454
- mapper: {
455
- ...Mappers.DomainService,
456
- required: true
457
- }
458
- },
459
- responses: {
460
- 200: {
461
- bodyMapper: Mappers.DomainService
462
- },
463
- 202: {
464
- bodyMapper: Mappers.DomainService
465
- },
466
- default: {
467
- bodyMapper: Mappers.CloudError
468
- }
469
- },
470
- serializer
471
- };
472
-
473
- const listNextOperationSpec: msRest.OperationSpec = {
474
- httpMethod: "GET",
475
- baseUrl: "https://management.azure.com",
476
- path: "{nextLink}",
477
- urlParameters: [
478
- Parameters.nextPageLink
479
- ],
480
- headerParameters: [
481
- Parameters.acceptLanguage
482
- ],
483
- responses: {
484
- 200: {
485
- bodyMapper: Mappers.DomainServiceListResult
486
- },
487
- default: {
488
- bodyMapper: Mappers.CloudError
489
- }
490
- },
491
- serializer
492
- };
493
-
494
- const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
495
- httpMethod: "GET",
496
- baseUrl: "https://management.azure.com",
497
- path: "{nextLink}",
498
- urlParameters: [
499
- Parameters.nextPageLink
500
- ],
501
- headerParameters: [
502
- Parameters.acceptLanguage
503
- ],
504
- responses: {
505
- 200: {
506
- bodyMapper: Mappers.DomainServiceListResult
507
- },
508
- default: {
509
- bodyMapper: Mappers.CloudError
510
- }
511
- },
512
- serializer
513
- };