@azure/arm-search 3.2.0 → 3.3.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +1805 -777
  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/adminKeysGetSample.js +3 -3
  9. package/dist-esm/samples-dev/adminKeysRegenerateSample.js +1 -1
  10. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +39 -0
  13. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
  14. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +54 -0
  17. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +1 -0
  18. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +39 -0
  21. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
  22. package/dist-esm/samples-dev/operationsListSample.js +3 -3
  23. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  24. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  26. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
  27. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
  28. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +8 -8
  29. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +1 -1
  31. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -1
  32. package/dist-esm/samples-dev/queryKeysCreateSample.js +2 -2
  33. package/dist-esm/samples-dev/queryKeysCreateSample.js.map +1 -1
  34. package/dist-esm/samples-dev/queryKeysDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +3 -3
  36. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +1 -1
  37. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +1 -1
  38. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +81 -19
  39. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
  40. package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/servicesGetSample.js +1 -1
  42. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
  43. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +1 -1
  45. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +1 -1
  46. package/dist-esm/samples-dev/servicesUpdateSample.js +68 -18
  47. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +4 -4
  49. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +1 -1
  51. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +1 -1
  52. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +1 -1
  53. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +1 -1
  54. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +1 -1
  55. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +3 -3
  56. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +1 -1
  57. package/dist-esm/src/lroImpl.js +1 -1
  58. package/dist-esm/src/models/index.d.ts +508 -113
  59. package/dist-esm/src/models/index.d.ts.map +1 -1
  60. package/dist-esm/src/models/index.js +90 -12
  61. package/dist-esm/src/models/index.js.map +1 -1
  62. package/dist-esm/src/models/mappers.d.ts +19 -0
  63. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  64. package/dist-esm/src/models/mappers.js +1028 -411
  65. package/dist-esm/src/models/mappers.js.map +1 -1
  66. package/dist-esm/src/models/parameters.d.ts +2 -0
  67. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  68. package/dist-esm/src/models/parameters.js +85 -57
  69. package/dist-esm/src/models/parameters.js.map +1 -1
  70. package/dist-esm/src/operations/adminKeys.d.ts +5 -5
  71. package/dist-esm/src/operations/adminKeys.js +15 -15
  72. package/dist-esm/src/operations/adminKeys.js.map +1 -1
  73. package/dist-esm/src/operations/index.d.ts +1 -0
  74. package/dist-esm/src/operations/index.d.ts.map +1 -1
  75. package/dist-esm/src/operations/index.js +1 -0
  76. package/dist-esm/src/operations/index.js.map +1 -1
  77. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  78. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  79. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +289 -0
  80. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  81. package/dist-esm/src/operations/operations.js +5 -5
  82. package/dist-esm/src/operations/operations.js.map +1 -1
  83. package/dist-esm/src/operations/privateEndpointConnections.d.ts +19 -19
  84. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  85. package/dist-esm/src/operations/privateEndpointConnections.js +49 -49
  86. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  87. package/dist-esm/src/operations/privateLinkResources.d.ts +4 -4
  88. package/dist-esm/src/operations/privateLinkResources.js +10 -10
  89. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  90. package/dist-esm/src/operations/queryKeys.d.ts +12 -12
  91. package/dist-esm/src/operations/queryKeys.js +32 -32
  92. package/dist-esm/src/operations/queryKeys.js.map +1 -1
  93. package/dist-esm/src/operations/services.d.ts +17 -17
  94. package/dist-esm/src/operations/services.d.ts.map +1 -1
  95. package/dist-esm/src/operations/services.js +75 -75
  96. package/dist-esm/src/operations/services.js.map +1 -1
  97. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +21 -21
  98. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -1
  99. package/dist-esm/src/operations/sharedPrivateLinkResources.js +62 -62
  100. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -1
  101. package/dist-esm/src/operations/usages.d.ts +2 -2
  102. package/dist-esm/src/operations/usages.js +13 -13
  103. package/dist-esm/src/operations/usages.js.map +1 -1
  104. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +5 -5
  105. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  107. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  110. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  111. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  112. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  113. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -15
  114. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -2
  115. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +7 -7
  116. package/dist-esm/src/operationsInterfaces/services.d.ts +17 -17
  117. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +17 -17
  118. package/dist-esm/src/operationsInterfaces/usages.d.ts +1 -1
  119. package/dist-esm/src/pagingHelper.js.map +1 -1
  120. package/dist-esm/src/searchManagementClient.d.ts +3 -2
  121. package/dist-esm/src/searchManagementClient.d.ts.map +1 -1
  122. package/dist-esm/src/searchManagementClient.js +17 -15
  123. package/dist-esm/src/searchManagementClient.js.map +1 -1
  124. package/dist-esm/test/search_examples.js.map +1 -1
  125. package/package.json +12 -11
  126. package/review/arm-search.api.md +270 -6
  127. package/src/lroImpl.ts +3 -3
  128. package/src/models/index.ts +573 -140
  129. package/src/models/mappers.ts +1217 -561
  130. package/src/models/parameters.ts +90 -58
  131. package/src/operations/adminKeys.ts +22 -24
  132. package/src/operations/index.ts +1 -0
  133. package/src/operations/networkSecurityPerimeterConfigurations.ts +400 -0
  134. package/src/operations/operations.ts +10 -10
  135. package/src/operations/privateEndpointConnections.ts +74 -77
  136. package/src/operations/privateLinkResources.ts +21 -22
  137. package/src/operations/queryKeys.ts +52 -55
  138. package/src/operations/services.ts +118 -126
  139. package/src/operations/sharedPrivateLinkResources.ts +103 -108
  140. package/src/operations/usages.ts +24 -25
  141. package/src/operationsInterfaces/adminKeys.ts +8 -8
  142. package/src/operationsInterfaces/index.ts +1 -0
  143. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +90 -0
  144. package/src/operationsInterfaces/operations.ts +1 -1
  145. package/src/operationsInterfaces/privateEndpointConnections.ts +20 -20
  146. package/src/operationsInterfaces/privateLinkResources.ts +4 -4
  147. package/src/operationsInterfaces/queryKeys.ts +11 -11
  148. package/src/operationsInterfaces/services.ts +26 -26
  149. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +24 -24
  150. package/src/operationsInterfaces/usages.ts +3 -3
  151. package/src/pagingHelper.ts +1 -1
  152. package/src/searchManagementClient.ts +33 -28
  153. package/types/arm-search.d.ts +650 -171
  154. package/types/tsdoc-metadata.json +1 -1
@@ -0,0 +1,79 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { NetworkSecurityPerimeterConfigurations } from "../operationsInterfaces";
3
+ import { SearchManagementClient } from "../searchManagementClient";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams, NetworkSecurityPerimeterConfigurationsGetOptionalParams, NetworkSecurityPerimeterConfigurationsGetResponse, NetworkSecurityPerimeterConfigurationsReconcileOptionalParams, NetworkSecurityPerimeterConfigurationsReconcileResponse } from "../models";
6
+ /** Class containing NetworkSecurityPerimeterConfigurations operations. */
7
+ export declare class NetworkSecurityPerimeterConfigurationsImpl implements NetworkSecurityPerimeterConfigurations {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: SearchManagementClient);
14
+ /**
15
+ * Gets a list of network security perimeter configurations for a search service.
16
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
17
+ * obtain this value from the Azure Resource Manager API or the portal.
18
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
19
+ * resource group.
20
+ * @param options The options parameters.
21
+ */
22
+ listByService(resourceGroupName: string, searchServiceName: string, options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
23
+ private listByServicePagingPage;
24
+ private listByServicePagingAll;
25
+ /**
26
+ * Gets a list of network security perimeter configurations for a search service.
27
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
28
+ * obtain this value from the Azure Resource Manager API or the portal.
29
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
30
+ * resource group.
31
+ * @param options The options parameters.
32
+ */
33
+ private _listByService;
34
+ /**
35
+ * Gets a network security perimeter configuration.
36
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
37
+ * obtain this value from the Azure Resource Manager API or the portal.
38
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
39
+ * resource group.
40
+ * @param nspConfigName The network security configuration name.
41
+ * @param options The options parameters.
42
+ */
43
+ get(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;
44
+ /**
45
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
46
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
47
+ * service carries the latest configuration.
48
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
49
+ * obtain this value from the Azure Resource Manager API or the portal.
50
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
51
+ * resource group.
52
+ * @param nspConfigName The network security configuration name.
53
+ * @param options The options parameters.
54
+ */
55
+ beginReconcile(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>, NetworkSecurityPerimeterConfigurationsReconcileResponse>>;
56
+ /**
57
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
58
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
59
+ * service carries the latest configuration.
60
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
61
+ * obtain this value from the Azure Resource Manager API or the portal.
62
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
63
+ * resource group.
64
+ * @param nspConfigName The network security configuration name.
65
+ * @param options The options parameters.
66
+ */
67
+ beginReconcileAndWait(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;
68
+ /**
69
+ * ListByServiceNext
70
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
71
+ * obtain this value from the Azure Resource Manager API or the portal.
72
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
73
+ * resource group.
74
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
75
+ * @param options The options parameters.
76
+ */
77
+ private _listByServiceNext;
78
+ }
79
+ //# sourceMappingURL=networkSecurityPerimeterConfigurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkSecurityPerimeterConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,yBAAyB,CAAC;AAIjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,qCAAqC,EAErC,iEAAiE,EAEjE,uDAAuD,EACvD,iDAAiD,EACjD,6DAA6D,EAC7D,uDAAuD,EAExD,MAAM,WAAW,CAAC;AAGnB,0EAA0E;AAC1E,qBAAa,0CACX,YAAW,sCAAsC;IAEjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iEAAiE,GAC1E,0BAA0B,CAAC,qCAAqC,CAAC;YA2BrD,uBAAuB;YAiCvB,sBAAsB;IAcrC;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;IAO7D;;;;;;;;;;OAUG;IACG,cAAc,CAClB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uDAAuD,CAAC,EACvE,uDAAuD,CACxD,CACF;IAwDD;;;;;;;;;;OAUG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC;IAUnE;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
@@ -0,0 +1,289 @@
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 { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing NetworkSecurityPerimeterConfigurations operations. */
17
+ export class NetworkSecurityPerimeterConfigurationsImpl {
18
+ /**
19
+ * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Gets a list of network security perimeter configurations for a search service.
27
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
28
+ * obtain this value from the Azure Resource Manager API or the portal.
29
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
30
+ * resource group.
31
+ * @param options The options parameters.
32
+ */
33
+ listByService(resourceGroupName, searchServiceName, options) {
34
+ const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
35
+ return {
36
+ next() {
37
+ return iter.next();
38
+ },
39
+ [Symbol.asyncIterator]() {
40
+ return this;
41
+ },
42
+ byPage: (settings) => {
43
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
+ throw new Error("maxPageSize is not supported by this operation.");
45
+ }
46
+ return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
47
+ },
48
+ };
49
+ }
50
+ listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
51
+ return __asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
52
+ let result;
53
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
+ if (!continuationToken) {
55
+ result = yield __await(this._listByService(resourceGroupName, searchServiceName, options));
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ setContinuationToken(page, continuationToken);
59
+ yield yield __await(page);
60
+ }
61
+ while (continuationToken) {
62
+ result = yield __await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ setContinuationToken(page, continuationToken);
66
+ yield yield __await(page);
67
+ }
68
+ });
69
+ }
70
+ listByServicePagingAll(resourceGroupName, searchServiceName, options) {
71
+ return __asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
72
+ var _a, e_1, _b, _c;
73
+ try {
74
+ for (var _d = true, _e = __asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
75
+ _c = _f.value;
76
+ _d = false;
77
+ const page = _c;
78
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
79
+ }
80
+ }
81
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
+ finally {
83
+ try {
84
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
85
+ }
86
+ finally { if (e_1) throw e_1.error; }
87
+ }
88
+ });
89
+ }
90
+ /**
91
+ * Gets a list of network security perimeter configurations for a search service.
92
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
93
+ * obtain this value from the Azure Resource Manager API or the portal.
94
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
95
+ * resource group.
96
+ * @param options The options parameters.
97
+ */
98
+ _listByService(resourceGroupName, searchServiceName, options) {
99
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
100
+ }
101
+ /**
102
+ * Gets a network security perimeter configuration.
103
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
104
+ * obtain this value from the Azure Resource Manager API or the portal.
105
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
106
+ * resource group.
107
+ * @param nspConfigName The network security configuration name.
108
+ * @param options The options parameters.
109
+ */
110
+ get(resourceGroupName, searchServiceName, nspConfigName, options) {
111
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nspConfigName, options }, getOperationSpec);
112
+ }
113
+ /**
114
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
115
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
116
+ * service carries the latest configuration.
117
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
118
+ * obtain this value from the Azure Resource Manager API or the portal.
119
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
120
+ * resource group.
121
+ * @param nspConfigName The network security configuration name.
122
+ * @param options The options parameters.
123
+ */
124
+ beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options) {
125
+ return __awaiter(this, void 0, void 0, function* () {
126
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
127
+ return this.client.sendOperationRequest(args, spec);
128
+ });
129
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
130
+ var _a;
131
+ let currentRawResponse = undefined;
132
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
133
+ const callback = (rawResponse, flatResponse) => {
134
+ currentRawResponse = rawResponse;
135
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
136
+ };
137
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
138
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
139
+ return {
140
+ flatResponse,
141
+ rawResponse: {
142
+ statusCode: currentRawResponse.status,
143
+ body: currentRawResponse.parsedBody,
144
+ headers: currentRawResponse.headers.toJSON(),
145
+ },
146
+ };
147
+ });
148
+ const lro = createLroSpec({
149
+ sendOperationFn,
150
+ args: { resourceGroupName, searchServiceName, nspConfigName, options },
151
+ spec: reconcileOperationSpec,
152
+ });
153
+ const poller = yield createHttpPoller(lro, {
154
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
155
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
156
+ resourceLocationConfig: "location",
157
+ });
158
+ yield poller.poll();
159
+ return poller;
160
+ });
161
+ }
162
+ /**
163
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
164
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
165
+ * service carries the latest configuration.
166
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
167
+ * obtain this value from the Azure Resource Manager API or the portal.
168
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
169
+ * resource group.
170
+ * @param nspConfigName The network security configuration name.
171
+ * @param options The options parameters.
172
+ */
173
+ beginReconcileAndWait(resourceGroupName, searchServiceName, nspConfigName, options) {
174
+ return __awaiter(this, void 0, void 0, function* () {
175
+ const poller = yield this.beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options);
176
+ return poller.pollUntilDone();
177
+ });
178
+ }
179
+ /**
180
+ * ListByServiceNext
181
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
182
+ * obtain this value from the Azure Resource Manager API or the portal.
183
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
184
+ * resource group.
185
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
186
+ * @param options The options parameters.
187
+ */
188
+ _listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
189
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
190
+ }
191
+ }
192
+ // Operation Specifications
193
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
194
+ const listByServiceOperationSpec = {
195
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations",
196
+ httpMethod: "GET",
197
+ responses: {
198
+ 200: {
199
+ bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,
200
+ },
201
+ default: {
202
+ bodyMapper: Mappers.CloudError,
203
+ },
204
+ },
205
+ queryParameters: [Parameters.apiVersion],
206
+ urlParameters: [
207
+ Parameters.$host,
208
+ Parameters.resourceGroupName,
209
+ Parameters.searchServiceName,
210
+ Parameters.subscriptionId,
211
+ ],
212
+ headerParameters: [Parameters.accept],
213
+ serializer,
214
+ };
215
+ const getOperationSpec = {
216
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}",
217
+ httpMethod: "GET",
218
+ responses: {
219
+ 200: {
220
+ bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
221
+ },
222
+ default: {
223
+ bodyMapper: Mappers.CloudError,
224
+ },
225
+ },
226
+ queryParameters: [Parameters.apiVersion],
227
+ urlParameters: [
228
+ Parameters.$host,
229
+ Parameters.resourceGroupName,
230
+ Parameters.searchServiceName,
231
+ Parameters.subscriptionId,
232
+ Parameters.nspConfigName,
233
+ ],
234
+ headerParameters: [Parameters.accept],
235
+ serializer,
236
+ };
237
+ const reconcileOperationSpec = {
238
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}/reconcile",
239
+ httpMethod: "POST",
240
+ responses: {
241
+ 200: {
242
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
243
+ },
244
+ 201: {
245
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
246
+ },
247
+ 202: {
248
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
249
+ },
250
+ 204: {
251
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
252
+ },
253
+ default: {
254
+ bodyMapper: Mappers.CloudError,
255
+ },
256
+ },
257
+ queryParameters: [Parameters.apiVersion],
258
+ urlParameters: [
259
+ Parameters.$host,
260
+ Parameters.resourceGroupName,
261
+ Parameters.searchServiceName,
262
+ Parameters.subscriptionId,
263
+ Parameters.nspConfigName,
264
+ ],
265
+ headerParameters: [Parameters.accept],
266
+ serializer,
267
+ };
268
+ const listByServiceNextOperationSpec = {
269
+ path: "{nextLink}",
270
+ httpMethod: "GET",
271
+ responses: {
272
+ 200: {
273
+ bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,
274
+ },
275
+ default: {
276
+ bodyMapper: Mappers.CloudError,
277
+ },
278
+ },
279
+ urlParameters: [
280
+ Parameters.$host,
281
+ Parameters.resourceGroupName,
282
+ Parameters.searchServiceName,
283
+ Parameters.subscriptionId,
284
+ Parameters.nextLink,
285
+ ],
286
+ headerParameters: [Parameters.accept],
287
+ serializer,
288
+ };
289
+ //# sourceMappingURL=networkSecurityPerimeterConfigurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkSecurityPerimeterConfigurations.js","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAa3C,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAM,OAAO,0CAA0C;IAKrD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,iBAAyB,EACzB,OAA2E;QAE3E,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,uBAAuB,CACpC,iBAAyB,EACzB,iBA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,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,sDAAsD;SACjE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,sDAAsD;SACjE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,sDAAsD;SACjE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+CAA+C;SACpE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -37,7 +37,7 @@ export class OperationsImpl {
37
37
  throw new Error("maxPageSize is not supported by this operation.");
38
38
  }
39
39
  return this.listPagingPage(options, settings);
40
- }
40
+ },
41
41
  };
42
42
  }
43
43
  listPagingPage(options, _settings) {
@@ -82,15 +82,15 @@ const listOperationSpec = {
82
82
  httpMethod: "GET",
83
83
  responses: {
84
84
  200: {
85
- bodyMapper: Mappers.OperationListResult
85
+ bodyMapper: Mappers.OperationListResult,
86
86
  },
87
87
  default: {
88
- bodyMapper: Mappers.CloudError
89
- }
88
+ bodyMapper: Mappers.CloudError,
89
+ },
90
90
  },
91
91
  queryParameters: [Parameters.apiVersion],
92
92
  urlParameters: [Parameters.$host],
93
93
  headerParameters: [Parameters.accept],
94
- serializer
94
+ serializer,
95
95
  };
96
96
  //# sourceMappingURL=operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC,EACtC,SAAwB;;YAExB,IAAI,MAA8B,CAAC;YACnC,MAAM,GAAG,cAAM,IAAI,CAAC,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AAA;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,wCAAwC;IAC9C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -14,21 +14,21 @@ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointCo
14
14
  * Gets a list of all private endpoint connections in the given service.
15
15
  * @param resourceGroupName The name of the resource group within the current subscription. You can
16
16
  * obtain this value from the Azure Resource Manager API or the portal.
17
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
18
- * specified resource group.
17
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
18
+ * resource group.
19
19
  * @param options The options parameters.
20
20
  */
21
21
  listByService(resourceGroupName: string, searchServiceName: string, options?: PrivateEndpointConnectionsListByServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
22
22
  private listByServicePagingPage;
23
23
  private listByServicePagingAll;
24
24
  /**
25
- * Updates a Private Endpoint connection to the search service in the given resource group.
25
+ * Updates a private endpoint connection to the search service in the given resource group.
26
26
  * @param resourceGroupName The name of the resource group within the current subscription. You can
27
27
  * obtain this value from the Azure Resource Manager API or the portal.
28
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
29
- * specified resource group.
30
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
31
- * Cognitive Search service with the specified resource group.
28
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
29
+ * resource group.
30
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
31
+ * Search service with the specified resource group.
32
32
  * @param privateEndpointConnection The definition of the private endpoint connection to update.
33
33
  * @param options The options parameters.
34
34
  */
@@ -38,10 +38,10 @@ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointCo
38
38
  * group.
39
39
  * @param resourceGroupName The name of the resource group within the current subscription. You can
40
40
  * obtain this value from the Azure Resource Manager API or the portal.
41
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
42
- * specified resource group.
43
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
44
- * Cognitive Search service with the specified resource group.
41
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
42
+ * resource group.
43
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
44
+ * Search service with the specified resource group.
45
45
  * @param options The options parameters.
46
46
  */
47
47
  get(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
@@ -49,10 +49,10 @@ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointCo
49
49
  * Disconnects the private endpoint connection and deletes it from the search service.
50
50
  * @param resourceGroupName The name of the resource group within the current subscription. You can
51
51
  * obtain this value from the Azure Resource Manager API or the portal.
52
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
53
- * specified resource group.
54
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
55
- * Cognitive Search service with the specified resource group.
52
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
53
+ * resource group.
54
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
55
+ * Search service with the specified resource group.
56
56
  * @param options The options parameters.
57
57
  */
58
58
  delete(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
@@ -60,8 +60,8 @@ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointCo
60
60
  * Gets a list of all private endpoint connections in the given service.
61
61
  * @param resourceGroupName The name of the resource group within the current subscription. You can
62
62
  * obtain this value from the Azure Resource Manager API or the portal.
63
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
64
- * specified resource group.
63
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
64
+ * resource group.
65
65
  * @param options The options parameters.
66
66
  */
67
67
  private _listByService;
@@ -69,8 +69,8 @@ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointCo
69
69
  * ListByServiceNext
70
70
  * @param resourceGroupName The name of the resource group within the current subscription. You can
71
71
  * obtain this value from the Azure Resource Manager API or the portal.
72
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
73
- * specified resource group.
72
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
73
+ * resource group.
74
74
  * @param nextLink The nextLink from the previous successful call to the ListByService method.
75
75
  * @param options The options parameters.
76
76
  */
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,yBAAyB,EAEzB,qDAAqD,EAErD,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EAEzC,MAAM,WAAW,CAAC;AAGnB,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC;YA2BzC,uBAAuB;YAiCvB,sBAAsB;IAcrC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAYpD;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,yBAAyB,EAEzB,qDAAqD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