@azure/arm-extendedlocation 1.0.0-beta.1 → 1.0.0-beta.2

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.
Files changed (129) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/LICENSE +1 -1
  3. package/README.md +23 -8
  4. package/dist/index.js +806 -83
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +42 -0
  11. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/customLocationsDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +34 -0
  19. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +1 -0
  20. package/dist-esm/samples-dev/customLocationsGetSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/customLocationsGetSample.js +31 -0
  23. package/dist-esm/samples-dev/customLocationsGetSample.js.map +1 -0
  24. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +44 -0
  27. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +1 -0
  28. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +43 -0
  31. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +1 -0
  32. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +45 -0
  35. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +1 -0
  36. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/customLocationsListOperationsSample.js +43 -0
  39. package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +1 -0
  40. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/customLocationsUpdateSample.js +34 -0
  43. package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +1 -0
  44. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +41 -0
  47. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +32 -0
  51. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +1 -0
  52. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +32 -0
  55. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +1 -0
  56. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +45 -0
  59. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +1 -0
  60. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +34 -0
  63. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +1 -0
  64. package/dist-esm/src/customLocationsManagementClient.d.ts +9 -3
  65. package/dist-esm/src/customLocationsManagementClient.d.ts.map +1 -1
  66. package/dist-esm/src/customLocationsManagementClient.js +81 -4
  67. package/dist-esm/src/customLocationsManagementClient.js.map +1 -1
  68. package/dist-esm/src/index.d.ts +0 -1
  69. package/dist-esm/src/index.d.ts.map +1 -1
  70. package/dist-esm/src/index.js +0 -1
  71. package/dist-esm/src/index.js.map +1 -1
  72. package/dist-esm/src/models/index.d.ts +172 -25
  73. package/dist-esm/src/models/index.d.ts.map +1 -1
  74. package/dist-esm/src/models/index.js +7 -0
  75. package/dist-esm/src/models/index.js.map +1 -1
  76. package/dist-esm/src/models/mappers.d.ts +8 -1
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  78. package/dist-esm/src/models/mappers.js +228 -29
  79. package/dist-esm/src/models/mappers.js.map +1 -1
  80. package/dist-esm/src/models/parameters.d.ts +7 -0
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  82. package/dist-esm/src/models/parameters.js +41 -2
  83. package/dist-esm/src/models/parameters.js.map +1 -1
  84. package/dist-esm/src/operations/customLocations.d.ts +12 -3
  85. package/dist-esm/src/operations/customLocations.d.ts.map +1 -1
  86. package/dist-esm/src/operations/customLocations.js +41 -2
  87. package/dist-esm/src/operations/customLocations.js.map +1 -1
  88. package/dist-esm/src/operations/index.d.ts +1 -0
  89. package/dist-esm/src/operations/index.d.ts.map +1 -1
  90. package/dist-esm/src/operations/index.js +1 -0
  91. package/dist-esm/src/operations/index.js.map +1 -1
  92. package/dist-esm/src/operations/resourceSyncRules.d.ts +97 -0
  93. package/dist-esm/src/operations/resourceSyncRules.d.ts.map +1 -0
  94. package/dist-esm/src/operations/resourceSyncRules.js +400 -0
  95. package/dist-esm/src/operations/resourceSyncRules.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/customLocations.d.ts +10 -1
  97. package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +1 -1
  98. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  99. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  100. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  101. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  102. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  103. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js +9 -0
  105. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +1 -0
  106. package/dist-esm/test/sampleTest.js +11 -13
  107. package/dist-esm/test/sampleTest.js.map +1 -1
  108. package/package.json +54 -25
  109. package/review/arm-extendedlocation.api.md +139 -27
  110. package/rollup.config.js +6 -72
  111. package/src/customLocationsManagementClient.ts +109 -5
  112. package/src/index.ts +0 -1
  113. package/src/models/index.ts +186 -26
  114. package/src/models/mappers.ts +243 -30
  115. package/src/models/parameters.ts +53 -2
  116. package/src/operations/customLocations.ts +57 -5
  117. package/src/operations/index.ts +1 -0
  118. package/src/operations/resourceSyncRules.ts +562 -0
  119. package/src/operationsInterfaces/customLocations.ts +18 -1
  120. package/src/operationsInterfaces/index.ts +1 -0
  121. package/src/operationsInterfaces/resourceSyncRules.ts +136 -0
  122. package/tsconfig.json +19 -5
  123. package/types/arm-extendedlocation.d.ts +257 -20
  124. package/types/tsdoc-metadata.json +1 -1
  125. package/dist-esm/src/customLocationsManagementClientContext.d.ts +0 -16
  126. package/dist-esm/src/customLocationsManagementClientContext.d.ts.map +0 -1
  127. package/dist-esm/src/customLocationsManagementClientContext.js +0 -49
  128. package/dist-esm/src/customLocationsManagementClientContext.js.map +0 -1
  129. package/src/customLocationsManagementClientContext.ts +0 -70
@@ -0,0 +1,400 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing ResourceSyncRules operations. */
16
+ export class ResourceSyncRulesImpl {
17
+ /**
18
+ * Initialize a new instance of the class ResourceSyncRules class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
26
+ * of each Resource Sync Rule
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param resourceName Custom Locations name.
29
+ * @param options The options parameters.
30
+ */
31
+ listByCustomLocationID(resourceGroupName, resourceName, options) {
32
+ const iter = this.listByCustomLocationIDPagingAll(resourceGroupName, resourceName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: () => {
41
+ return this.listByCustomLocationIDPagingPage(resourceGroupName, resourceName, options);
42
+ }
43
+ };
44
+ }
45
+ listByCustomLocationIDPagingPage(resourceGroupName, resourceName, options) {
46
+ return __asyncGenerator(this, arguments, function* listByCustomLocationIDPagingPage_1() {
47
+ let result = yield __await(this._listByCustomLocationID(resourceGroupName, resourceName, options));
48
+ yield yield __await(result.value || []);
49
+ let continuationToken = result.nextLink;
50
+ while (continuationToken) {
51
+ result = yield __await(this._listByCustomLocationIDNext(resourceGroupName, resourceName, continuationToken, options));
52
+ continuationToken = result.nextLink;
53
+ yield yield __await(result.value || []);
54
+ }
55
+ });
56
+ }
57
+ listByCustomLocationIDPagingAll(resourceGroupName, resourceName, options) {
58
+ return __asyncGenerator(this, arguments, function* listByCustomLocationIDPagingAll_1() {
59
+ var e_1, _a;
60
+ try {
61
+ for (var _b = __asyncValues(this.listByCustomLocationIDPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
62
+ const page = _c.value;
63
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
64
+ }
65
+ }
66
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
+ finally {
68
+ try {
69
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
70
+ }
71
+ finally { if (e_1) throw e_1.error; }
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
77
+ * of each Resource Sync Rule
78
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
79
+ * @param resourceName Custom Locations name.
80
+ * @param options The options parameters.
81
+ */
82
+ _listByCustomLocationID(resourceGroupName, resourceName, options) {
83
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listByCustomLocationIDOperationSpec);
84
+ }
85
+ /**
86
+ * Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom
87
+ * Location resource name and Resource Sync Rule name.
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param resourceName Custom Locations name.
90
+ * @param childResourceName Resource Sync Rule name.
91
+ * @param options The options parameters.
92
+ */
93
+ get(resourceGroupName, resourceName, childResourceName, options) {
94
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, childResourceName, options }, getOperationSpec);
95
+ }
96
+ /**
97
+ * Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
98
+ * Group
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
100
+ * @param resourceName Custom Locations name.
101
+ * @param childResourceName Resource Sync Rule name.
102
+ * @param parameters Parameters supplied to create or update a Resource Sync Rule.
103
+ * @param options The options parameters.
104
+ */
105
+ beginCreateOrUpdate(resourceGroupName, resourceName, childResourceName, parameters, options) {
106
+ return __awaiter(this, void 0, void 0, function* () {
107
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
108
+ return this.client.sendOperationRequest(args, spec);
109
+ });
110
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
111
+ var _a;
112
+ let currentRawResponse = undefined;
113
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
114
+ const callback = (rawResponse, flatResponse) => {
115
+ currentRawResponse = rawResponse;
116
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
117
+ };
118
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
119
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
120
+ return {
121
+ flatResponse,
122
+ rawResponse: {
123
+ statusCode: currentRawResponse.status,
124
+ body: currentRawResponse.parsedBody,
125
+ headers: currentRawResponse.headers.toJSON()
126
+ }
127
+ };
128
+ });
129
+ const lro = new LroImpl(sendOperation, {
130
+ resourceGroupName,
131
+ resourceName,
132
+ childResourceName,
133
+ parameters,
134
+ options
135
+ }, createOrUpdateOperationSpec);
136
+ const poller = new LroEngine(lro, {
137
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
138
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
139
+ lroResourceLocationConfig: "azure-async-operation"
140
+ });
141
+ yield poller.poll();
142
+ return poller;
143
+ });
144
+ }
145
+ /**
146
+ * Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
147
+ * Group
148
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
149
+ * @param resourceName Custom Locations name.
150
+ * @param childResourceName Resource Sync Rule name.
151
+ * @param parameters Parameters supplied to create or update a Resource Sync Rule.
152
+ * @param options The options parameters.
153
+ */
154
+ beginCreateOrUpdateAndWait(resourceGroupName, resourceName, childResourceName, parameters, options) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, resourceName, childResourceName, parameters, options);
157
+ return poller.pollUntilDone();
158
+ });
159
+ }
160
+ /**
161
+ * Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource
162
+ * Name, Resource Group, and Subscription Id.
163
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
164
+ * @param resourceName Custom Locations name.
165
+ * @param childResourceName Resource Sync Rule name.
166
+ * @param options The options parameters.
167
+ */
168
+ delete(resourceGroupName, resourceName, childResourceName, options) {
169
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, childResourceName, options }, deleteOperationSpec);
170
+ }
171
+ /**
172
+ * Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
173
+ * Group, Subscription and Custom Location name.
174
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
+ * @param resourceName Custom Locations name.
176
+ * @param childResourceName Resource Sync Rule name.
177
+ * @param options The options parameters.
178
+ */
179
+ beginUpdate(resourceGroupName, resourceName, childResourceName, options) {
180
+ return __awaiter(this, void 0, void 0, function* () {
181
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
182
+ return this.client.sendOperationRequest(args, spec);
183
+ });
184
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
185
+ var _a;
186
+ let currentRawResponse = undefined;
187
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
188
+ const callback = (rawResponse, flatResponse) => {
189
+ currentRawResponse = rawResponse;
190
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
191
+ };
192
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
193
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
194
+ return {
195
+ flatResponse,
196
+ rawResponse: {
197
+ statusCode: currentRawResponse.status,
198
+ body: currentRawResponse.parsedBody,
199
+ headers: currentRawResponse.headers.toJSON()
200
+ }
201
+ };
202
+ });
203
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, childResourceName, options }, updateOperationSpec);
204
+ const poller = new LroEngine(lro, {
205
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
206
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
207
+ lroResourceLocationConfig: "azure-async-operation"
208
+ });
209
+ yield poller.poll();
210
+ return poller;
211
+ });
212
+ }
213
+ /**
214
+ * Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
215
+ * Group, Subscription and Custom Location name.
216
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
217
+ * @param resourceName Custom Locations name.
218
+ * @param childResourceName Resource Sync Rule name.
219
+ * @param options The options parameters.
220
+ */
221
+ beginUpdateAndWait(resourceGroupName, resourceName, childResourceName, options) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ const poller = yield this.beginUpdate(resourceGroupName, resourceName, childResourceName, options);
224
+ return poller.pollUntilDone();
225
+ });
226
+ }
227
+ /**
228
+ * ListByCustomLocationIDNext
229
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
230
+ * @param resourceName Custom Locations name.
231
+ * @param nextLink The nextLink from the previous successful call to the ListByCustomLocationID method.
232
+ * @param options The options parameters.
233
+ */
234
+ _listByCustomLocationIDNext(resourceGroupName, resourceName, nextLink, options) {
235
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listByCustomLocationIDNextOperationSpec);
236
+ }
237
+ }
238
+ // Operation Specifications
239
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
240
+ const listByCustomLocationIDOperationSpec = {
241
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules",
242
+ httpMethod: "GET",
243
+ responses: {
244
+ 200: {
245
+ bodyMapper: Mappers.ResourceSyncRuleListResult
246
+ },
247
+ default: {
248
+ bodyMapper: Mappers.ErrorResponse
249
+ }
250
+ },
251
+ queryParameters: [Parameters.apiVersion],
252
+ urlParameters: [
253
+ Parameters.$host,
254
+ Parameters.subscriptionId,
255
+ Parameters.resourceGroupName,
256
+ Parameters.resourceName
257
+ ],
258
+ headerParameters: [Parameters.accept],
259
+ serializer
260
+ };
261
+ const getOperationSpec = {
262
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
263
+ httpMethod: "GET",
264
+ responses: {
265
+ 200: {
266
+ bodyMapper: Mappers.ResourceSyncRule
267
+ },
268
+ default: {
269
+ bodyMapper: Mappers.ErrorResponse
270
+ }
271
+ },
272
+ queryParameters: [Parameters.apiVersion],
273
+ urlParameters: [
274
+ Parameters.$host,
275
+ Parameters.subscriptionId,
276
+ Parameters.resourceGroupName,
277
+ Parameters.resourceName,
278
+ Parameters.childResourceName
279
+ ],
280
+ headerParameters: [Parameters.accept],
281
+ serializer
282
+ };
283
+ const createOrUpdateOperationSpec = {
284
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
285
+ httpMethod: "PUT",
286
+ responses: {
287
+ 200: {
288
+ bodyMapper: Mappers.ResourceSyncRule
289
+ },
290
+ 201: {
291
+ bodyMapper: Mappers.ResourceSyncRule
292
+ },
293
+ 202: {
294
+ bodyMapper: Mappers.ResourceSyncRule
295
+ },
296
+ 204: {
297
+ bodyMapper: Mappers.ResourceSyncRule
298
+ },
299
+ default: {
300
+ bodyMapper: Mappers.ErrorResponse
301
+ }
302
+ },
303
+ requestBody: Parameters.parameters3,
304
+ queryParameters: [Parameters.apiVersion],
305
+ urlParameters: [
306
+ Parameters.$host,
307
+ Parameters.subscriptionId,
308
+ Parameters.resourceGroupName,
309
+ Parameters.resourceName,
310
+ Parameters.childResourceName
311
+ ],
312
+ headerParameters: [Parameters.accept, Parameters.contentType],
313
+ mediaType: "json",
314
+ serializer
315
+ };
316
+ const deleteOperationSpec = {
317
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
318
+ httpMethod: "DELETE",
319
+ responses: {
320
+ 200: {},
321
+ 204: {},
322
+ default: {
323
+ bodyMapper: Mappers.ErrorResponse
324
+ }
325
+ },
326
+ queryParameters: [Parameters.apiVersion],
327
+ urlParameters: [
328
+ Parameters.$host,
329
+ Parameters.subscriptionId,
330
+ Parameters.resourceGroupName,
331
+ Parameters.resourceName,
332
+ Parameters.childResourceName
333
+ ],
334
+ headerParameters: [Parameters.accept],
335
+ serializer
336
+ };
337
+ const updateOperationSpec = {
338
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
339
+ httpMethod: "PATCH",
340
+ responses: {
341
+ 200: {
342
+ bodyMapper: Mappers.ResourceSyncRule
343
+ },
344
+ 201: {
345
+ bodyMapper: Mappers.ResourceSyncRule
346
+ },
347
+ 202: {
348
+ bodyMapper: Mappers.ResourceSyncRule
349
+ },
350
+ 204: {
351
+ bodyMapper: Mappers.ResourceSyncRule
352
+ },
353
+ default: {
354
+ bodyMapper: Mappers.ErrorResponse
355
+ }
356
+ },
357
+ requestBody: {
358
+ parameterPath: {
359
+ tags: ["options", "tags"],
360
+ priority: ["options", "priority"],
361
+ selector: ["options", "selector"],
362
+ targetResourceGroup: ["options", "targetResourceGroup"]
363
+ },
364
+ mapper: Object.assign(Object.assign({}, Mappers.PatchableResourceSyncRule), { required: true })
365
+ },
366
+ queryParameters: [Parameters.apiVersion],
367
+ urlParameters: [
368
+ Parameters.$host,
369
+ Parameters.subscriptionId,
370
+ Parameters.resourceGroupName,
371
+ Parameters.resourceName,
372
+ Parameters.childResourceName
373
+ ],
374
+ headerParameters: [Parameters.accept, Parameters.contentType],
375
+ mediaType: "json",
376
+ serializer
377
+ };
378
+ const listByCustomLocationIDNextOperationSpec = {
379
+ path: "{nextLink}",
380
+ httpMethod: "GET",
381
+ responses: {
382
+ 200: {
383
+ bodyMapper: Mappers.ResourceSyncRuleListResult
384
+ },
385
+ default: {
386
+ bodyMapper: Mappers.ErrorResponse
387
+ }
388
+ },
389
+ queryParameters: [Parameters.apiVersion],
390
+ urlParameters: [
391
+ Parameters.$host,
392
+ Parameters.subscriptionId,
393
+ Parameters.resourceGroupName,
394
+ Parameters.resourceName,
395
+ Parameters.nextLink
396
+ ],
397
+ headerParameters: [Parameters.accept],
398
+ serializer
399
+ };
400
+ //# sourceMappingURL=resourceSyncRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceSyncRules.js","sourceRoot":"","sources":["../../../src/operations/resourceSyncRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,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Y;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { PollerLike, PollOperationState } from "@azure/core-lro";
3
- import { CustomLocationOperation, CustomLocationsListOperationsOptionalParams, CustomLocation, CustomLocationsListBySubscriptionOptionalParams, CustomLocationsListByResourceGroupOptionalParams, EnabledResourceType, CustomLocationsListEnabledResourceTypesOptionalParams, CustomLocationsGetOptionalParams, CustomLocationsGetResponse, CustomLocationsCreateOrUpdateOptionalParams, CustomLocationsCreateOrUpdateResponse, CustomLocationsDeleteOptionalParams, CustomLocationsUpdateOptionalParams, CustomLocationsUpdateResponse } from "../models";
3
+ import { CustomLocationOperation, CustomLocationsListOperationsOptionalParams, CustomLocation, CustomLocationsListBySubscriptionOptionalParams, CustomLocationsListByResourceGroupOptionalParams, EnabledResourceType, CustomLocationsListEnabledResourceTypesOptionalParams, CustomLocationsGetOptionalParams, CustomLocationsGetResponse, CustomLocationsCreateOrUpdateOptionalParams, CustomLocationsCreateOrUpdateResponse, CustomLocationsDeleteOptionalParams, CustomLocationsUpdateOptionalParams, CustomLocationsUpdateResponse, CustomLocationFindTargetResourceGroupProperties, CustomLocationsFindTargetResourceGroupOptionalParams, CustomLocationsFindTargetResourceGroupResponse } from "../models";
4
4
  /** Interface representing a CustomLocations. */
5
5
  export interface CustomLocations {
6
6
  /**
@@ -73,5 +73,14 @@ export interface CustomLocations {
73
73
  * @param options The options parameters.
74
74
  */
75
75
  update(resourceGroupName: string, resourceName: string, options?: CustomLocationsUpdateOptionalParams): Promise<CustomLocationsUpdateResponse>;
76
+ /**
77
+ * Returns the target resource group associated with the resource sync rules of the Custom Location
78
+ * that match the rules passed in with the Find Target Resource Group Request.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param resourceName Custom Locations name.
81
+ * @param parameters Parameters of the find target resource group request.
82
+ * @param options The options parameters.
83
+ */
84
+ findTargetResourceGroup(resourceGroupName: string, resourceName: string, parameters: CustomLocationFindTargetResourceGroupProperties, options?: CustomLocationsFindTargetResourceGroupOptionalParams): Promise<CustomLocationsFindTargetResourceGroupResponse>;
76
85
  }
77
86
  //# sourceMappingURL=customLocations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customLocations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/customLocations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,2CAA2C,EAC3C,cAAc,EACd,+CAA+C,EAC/C,gDAAgD,EAChD,mBAAmB,EACnB,qDAAqD,EACrD,gCAAgC,EAChC,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,mCAAmC,EACnC,mCAAmC,EACnC,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,cAAc,CACZ,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;OAIG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACnD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,qCAAqC,CAAC,EACzD,qCAAqC,CACtC,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC3C"}
1
+ {"version":3,"file":"customLocations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/customLocations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CA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,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;;OAOG;IACH,uBAAuB,CACrB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,+CAA+C,EAC3D,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;CAC5D"}
@@ -1,2 +1,3 @@
1
1
  export * from "./customLocations";
2
+ export * from "./resourceSyncRules";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -6,4 +6,5 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  export * from "./customLocations";
9
+ export * from "./resourceSyncRules";
9
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,71 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { ResourceSyncRule, ResourceSyncRulesListByCustomLocationIDOptionalParams, ResourceSyncRulesGetOptionalParams, ResourceSyncRulesGetResponse, ResourceSyncRulesCreateOrUpdateOptionalParams, ResourceSyncRulesCreateOrUpdateResponse, ResourceSyncRulesDeleteOptionalParams, ResourceSyncRulesUpdateOptionalParams, ResourceSyncRulesUpdateResponse } from "../models";
4
+ /** Interface representing a ResourceSyncRules. */
5
+ export interface ResourceSyncRules {
6
+ /**
7
+ * Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
8
+ * of each Resource Sync Rule
9
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
10
+ * @param resourceName Custom Locations name.
11
+ * @param options The options parameters.
12
+ */
13
+ listByCustomLocationID(resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams): PagedAsyncIterableIterator<ResourceSyncRule>;
14
+ /**
15
+ * Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom
16
+ * Location resource name and Resource Sync Rule name.
17
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
18
+ * @param resourceName Custom Locations name.
19
+ * @param childResourceName Resource Sync Rule name.
20
+ * @param options The options parameters.
21
+ */
22
+ get(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams): Promise<ResourceSyncRulesGetResponse>;
23
+ /**
24
+ * Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
25
+ * Group
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param resourceName Custom Locations name.
28
+ * @param childResourceName Resource Sync Rule name.
29
+ * @param parameters Parameters supplied to create or update a Resource Sync Rule.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRulesCreateOrUpdateResponse>, ResourceSyncRulesCreateOrUpdateResponse>>;
33
+ /**
34
+ * Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
35
+ * Group
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param resourceName Custom Locations name.
38
+ * @param childResourceName Resource Sync Rule name.
39
+ * @param parameters Parameters supplied to create or update a Resource Sync Rule.
40
+ * @param options The options parameters.
41
+ */
42
+ beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<ResourceSyncRulesCreateOrUpdateResponse>;
43
+ /**
44
+ * Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource
45
+ * Name, Resource Group, and Subscription Id.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param resourceName Custom Locations name.
48
+ * @param childResourceName Resource Sync Rule name.
49
+ * @param options The options parameters.
50
+ */
51
+ delete(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams): Promise<void>;
52
+ /**
53
+ * Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
54
+ * Group, Subscription and Custom Location name.
55
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
+ * @param resourceName Custom Locations name.
57
+ * @param childResourceName Resource Sync Rule name.
58
+ * @param options The options parameters.
59
+ */
60
+ beginUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRulesUpdateResponse>, ResourceSyncRulesUpdateResponse>>;
61
+ /**
62
+ * Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
63
+ * Group, Subscription and Custom Location name.
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param resourceName Custom Locations name.
66
+ * @param childResourceName Resource Sync Rule name.
67
+ * @param options The options parameters.
68
+ */
69
+ beginUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<ResourceSyncRulesUpdateResponse>;
70
+ }
71
+ //# sourceMappingURL=resourceSyncRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceSyncRules.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/resourceSyncRules.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,gBAAgB,EAChB,qDAAqD,EACrD,kCAAkC,EAClC,4BAA4B,EAC5B,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EACrC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAChD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,E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* Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=resourceSyncRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceSyncRules.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/resourceSyncRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -6,24 +6,22 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __awaiter } from "tslib";
9
- import { record } from "@azure-tools/test-recorder";
10
- const recorderEnvSetup = {
11
- replaceableVariables: {
12
- AZURE_CLIENT_ID: "azure_client_id",
13
- AZURE_CLIENT_SECRET: "azure_client_secret",
14
- AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
15
- SUBSCRIPTION_ID: "azure_subscription_id"
16
- },
17
- customizationsOnRecordings: [
18
- (recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
19
- ],
20
- queryParametersToSkip: []
9
+ import { Recorder } from "@azure-tools/test-recorder";
10
+ const replaceableVariables = {
11
+ AZURE_CLIENT_ID: "azure_client_id",
12
+ AZURE_CLIENT_SECRET: "azure_client_secret",
13
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
14
+ SUBSCRIPTION_ID: "azure_subscription_id"
15
+ };
16
+ const recorderOptions = {
17
+ envSetupForPlayback: replaceableVariables
21
18
  };
22
19
  describe("My test", () => {
23
20
  let recorder;
24
21
  beforeEach(function () {
25
22
  return __awaiter(this, void 0, void 0, function* () {
26
- recorder = record(this, recorderEnvSetup);
23
+ recorder = new Recorder(this.currentTest);
24
+ yield recorder.start(recorderOptions);
27
25
  });
28
26
  });
29
27
  afterEach(function () {
@@ -1 +1 @@
1
- {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG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