@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
@@ -18,7 +18,7 @@ import {
18
18
  UsagesListBySubscriptionNextOptionalParams,
19
19
  UsagesListBySubscriptionOptionalParams,
20
20
  UsagesListBySubscriptionResponse,
21
- UsagesListBySubscriptionNextResponse
21
+ UsagesListBySubscriptionNextResponse,
22
22
  } from "../models";
23
23
 
24
24
  /// <reference lib="esnext.asynciterable" />
@@ -35,13 +35,13 @@ export class UsagesImpl implements Usages {
35
35
  }
36
36
 
37
37
  /**
38
- * Gets a list of all Search quota usages in the given subscription.
38
+ * Get a list of all Azure AI Search quota usages across the subscription.
39
39
  * @param location The unique location name for a Microsoft Azure geographic region.
40
40
  * @param options The options parameters.
41
41
  */
42
42
  public listBySubscription(
43
43
  location: string,
44
- options?: UsagesListBySubscriptionOptionalParams
44
+ options?: UsagesListBySubscriptionOptionalParams,
45
45
  ): PagedAsyncIterableIterator<QuotaUsageResult> {
46
46
  const iter = this.listBySubscriptionPagingAll(location, options);
47
47
  return {
@@ -56,14 +56,14 @@ export class UsagesImpl implements Usages {
56
56
  throw new Error("maxPageSize is not supported by this operation.");
57
57
  }
58
58
  return this.listBySubscriptionPagingPage(location, options, settings);
59
- }
59
+ },
60
60
  };
61
61
  }
62
62
 
63
63
  private async *listBySubscriptionPagingPage(
64
64
  location: string,
65
65
  options?: UsagesListBySubscriptionOptionalParams,
66
- settings?: PageSettings
66
+ settings?: PageSettings,
67
67
  ): AsyncIterableIterator<QuotaUsageResult[]> {
68
68
  let result: UsagesListBySubscriptionResponse;
69
69
  let continuationToken = settings?.continuationToken;
@@ -78,7 +78,7 @@ export class UsagesImpl implements Usages {
78
78
  result = await this._listBySubscriptionNext(
79
79
  location,
80
80
  continuationToken,
81
- options
81
+ options,
82
82
  );
83
83
  continuationToken = result.nextLink;
84
84
  let page = result.value || [];
@@ -89,28 +89,28 @@ export class UsagesImpl implements Usages {
89
89
 
90
90
  private async *listBySubscriptionPagingAll(
91
91
  location: string,
92
- options?: UsagesListBySubscriptionOptionalParams
92
+ options?: UsagesListBySubscriptionOptionalParams,
93
93
  ): AsyncIterableIterator<QuotaUsageResult> {
94
94
  for await (const page of this.listBySubscriptionPagingPage(
95
95
  location,
96
- options
96
+ options,
97
97
  )) {
98
98
  yield* page;
99
99
  }
100
100
  }
101
101
 
102
102
  /**
103
- * Gets a list of all Search quota usages in the given subscription.
103
+ * Get a list of all Azure AI Search quota usages across the subscription.
104
104
  * @param location The unique location name for a Microsoft Azure geographic region.
105
105
  * @param options The options parameters.
106
106
  */
107
107
  private _listBySubscription(
108
108
  location: string,
109
- options?: UsagesListBySubscriptionOptionalParams
109
+ options?: UsagesListBySubscriptionOptionalParams,
110
110
  ): Promise<UsagesListBySubscriptionResponse> {
111
111
  return this.client.sendOperationRequest(
112
112
  { location, options },
113
- listBySubscriptionOperationSpec
113
+ listBySubscriptionOperationSpec,
114
114
  );
115
115
  }
116
116
 
@@ -123,11 +123,11 @@ export class UsagesImpl implements Usages {
123
123
  private _listBySubscriptionNext(
124
124
  location: string,
125
125
  nextLink: string,
126
- options?: UsagesListBySubscriptionNextOptionalParams
126
+ options?: UsagesListBySubscriptionNextOptionalParams,
127
127
  ): Promise<UsagesListBySubscriptionNextResponse> {
128
128
  return this.client.sendOperationRequest(
129
129
  { location, nextLink, options },
130
- listBySubscriptionNextOperationSpec
130
+ listBySubscriptionNextOperationSpec,
131
131
  );
132
132
  }
133
133
  }
@@ -135,43 +135,42 @@ export class UsagesImpl implements Usages {
135
135
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
136
136
 
137
137
  const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
138
- path:
139
- "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages",
138
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages",
140
139
  httpMethod: "GET",
141
140
  responses: {
142
141
  200: {
143
- bodyMapper: Mappers.QuotaUsagesListResult
142
+ bodyMapper: Mappers.QuotaUsagesListResult,
144
143
  },
145
144
  default: {
146
- bodyMapper: Mappers.CloudError
147
- }
145
+ bodyMapper: Mappers.CloudError,
146
+ },
148
147
  },
149
148
  queryParameters: [Parameters.apiVersion],
150
149
  urlParameters: [
151
150
  Parameters.$host,
152
151
  Parameters.subscriptionId,
153
- Parameters.location
152
+ Parameters.location,
154
153
  ],
155
154
  headerParameters: [Parameters.accept, Parameters.clientRequestId],
156
- serializer
155
+ serializer,
157
156
  };
158
157
  const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
159
158
  path: "{nextLink}",
160
159
  httpMethod: "GET",
161
160
  responses: {
162
161
  200: {
163
- bodyMapper: Mappers.QuotaUsagesListResult
162
+ bodyMapper: Mappers.QuotaUsagesListResult,
164
163
  },
165
164
  default: {
166
- bodyMapper: Mappers.CloudError
167
- }
165
+ bodyMapper: Mappers.CloudError,
166
+ },
168
167
  },
169
168
  urlParameters: [
170
169
  Parameters.$host,
171
170
  Parameters.subscriptionId,
172
171
  Parameters.nextLink,
173
- Parameters.location
172
+ Parameters.location,
174
173
  ],
175
174
  headerParameters: [Parameters.accept, Parameters.clientRequestId],
176
- serializer
175
+ serializer,
177
176
  };
@@ -11,31 +11,31 @@ import {
11
11
  AdminKeysGetResponse,
12
12
  AdminKeyKind,
13
13
  AdminKeysRegenerateOptionalParams,
14
- AdminKeysRegenerateResponse
14
+ AdminKeysRegenerateResponse,
15
15
  } from "../models";
16
16
 
17
17
  /** Interface representing a AdminKeys. */
18
18
  export interface AdminKeys {
19
19
  /**
20
- * Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
20
+ * Gets the primary and secondary admin API keys for the specified Azure AI Search service.
21
21
  * @param resourceGroupName The name of the resource group within the current subscription. You can
22
22
  * obtain this value from the Azure Resource Manager API or the portal.
23
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
24
- * specified resource group.
23
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
24
+ * resource group.
25
25
  * @param options The options parameters.
26
26
  */
27
27
  get(
28
28
  resourceGroupName: string,
29
29
  searchServiceName: string,
30
- options?: AdminKeysGetOptionalParams
30
+ options?: AdminKeysGetOptionalParams,
31
31
  ): Promise<AdminKeysGetResponse>;
32
32
  /**
33
33
  * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a
34
34
  * time.
35
35
  * @param resourceGroupName The name of the resource group within the current subscription. You can
36
36
  * obtain this value from the Azure Resource Manager API or the portal.
37
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
38
- * specified resource group.
37
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
38
+ * resource group.
39
39
  * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
40
40
  * @param options The options parameters.
41
41
  */
@@ -43,6 +43,6 @@ export interface AdminKeys {
43
43
  resourceGroupName: string,
44
44
  searchServiceName: string,
45
45
  keyKind: AdminKeyKind,
46
- options?: AdminKeysRegenerateOptionalParams
46
+ options?: AdminKeysRegenerateOptionalParams,
47
47
  ): Promise<AdminKeysRegenerateResponse>;
48
48
  }
@@ -14,3 +14,4 @@ export * from "./privateLinkResources";
14
14
  export * from "./privateEndpointConnections";
15
15
  export * from "./sharedPrivateLinkResources";
16
16
  export * from "./usages";
17
+ export * from "./networkSecurityPerimeterConfigurations";
@@ -0,0 +1,90 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ NetworkSecurityPerimeterConfiguration,
13
+ NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,
14
+ NetworkSecurityPerimeterConfigurationsGetOptionalParams,
15
+ NetworkSecurityPerimeterConfigurationsGetResponse,
16
+ NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,
17
+ NetworkSecurityPerimeterConfigurationsReconcileResponse,
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a NetworkSecurityPerimeterConfigurations. */
22
+ export interface NetworkSecurityPerimeterConfigurations {
23
+ /**
24
+ * Gets a list of network security perimeter configurations for a search service.
25
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
26
+ * obtain this value from the Azure Resource Manager API or the portal.
27
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
28
+ * resource group.
29
+ * @param options The options parameters.
30
+ */
31
+ listByService(
32
+ resourceGroupName: string,
33
+ searchServiceName: string,
34
+ options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,
35
+ ): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
36
+ /**
37
+ * Gets a network security perimeter configuration.
38
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
39
+ * obtain this value from the Azure Resource Manager API or the portal.
40
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
41
+ * resource group.
42
+ * @param nspConfigName The network security configuration name.
43
+ * @param options The options parameters.
44
+ */
45
+ get(
46
+ resourceGroupName: string,
47
+ searchServiceName: string,
48
+ nspConfigName: string,
49
+ options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams,
50
+ ): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;
51
+ /**
52
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
53
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
54
+ * service carries the latest configuration.
55
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
56
+ * obtain this value from the Azure Resource Manager API or the portal.
57
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
58
+ * resource group.
59
+ * @param nspConfigName The network security configuration name.
60
+ * @param options The options parameters.
61
+ */
62
+ beginReconcile(
63
+ resourceGroupName: string,
64
+ searchServiceName: string,
65
+ nspConfigName: string,
66
+ options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,
67
+ ): Promise<
68
+ SimplePollerLike<
69
+ OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>,
70
+ NetworkSecurityPerimeterConfigurationsReconcileResponse
71
+ >
72
+ >;
73
+ /**
74
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
75
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
76
+ * service carries the latest configuration.
77
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
78
+ * obtain this value from the Azure Resource Manager API or the portal.
79
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
80
+ * resource group.
81
+ * @param nspConfigName The network security configuration name.
82
+ * @param options The options parameters.
83
+ */
84
+ beginReconcileAndWait(
85
+ resourceGroupName: string,
86
+ searchServiceName: string,
87
+ nspConfigName: string,
88
+ options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,
89
+ ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;
90
+ }
@@ -17,6 +17,6 @@ export interface Operations {
17
17
  * @param options The options parameters.
18
18
  */
19
19
  list(
20
- options?: OperationsListOptionalParams
20
+ options?: OperationsListOptionalParams,
21
21
  ): PagedAsyncIterableIterator<Operation>;
22
22
  }
@@ -15,7 +15,7 @@ import {
15
15
  PrivateEndpointConnectionsGetOptionalParams,
16
16
  PrivateEndpointConnectionsGetResponse,
17
17
  PrivateEndpointConnectionsDeleteOptionalParams,
18
- PrivateEndpointConnectionsDeleteResponse
18
+ PrivateEndpointConnectionsDeleteResponse,
19
19
  } from "../models";
20
20
 
21
21
  /// <reference lib="esnext.asynciterable" />
@@ -25,23 +25,23 @@ export interface PrivateEndpointConnections {
25
25
  * Gets a list of all private endpoint connections in the given service.
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.
28
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
29
+ * resource group.
30
30
  * @param options The options parameters.
31
31
  */
32
32
  listByService(
33
33
  resourceGroupName: string,
34
34
  searchServiceName: string,
35
- options?: PrivateEndpointConnectionsListByServiceOptionalParams
35
+ options?: PrivateEndpointConnectionsListByServiceOptionalParams,
36
36
  ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
37
37
  /**
38
- * Updates a Private Endpoint connection to the search service in the given resource group.
38
+ * Updates a private endpoint connection to the search service in the given resource 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 privateEndpointConnection The definition of the private endpoint connection to update.
46
46
  * @param options The options parameters.
47
47
  */
@@ -50,39 +50,39 @@ export interface PrivateEndpointConnections {
50
50
  searchServiceName: string,
51
51
  privateEndpointConnectionName: string,
52
52
  privateEndpointConnection: PrivateEndpointConnection,
53
- options?: PrivateEndpointConnectionsUpdateOptionalParams
53
+ options?: PrivateEndpointConnectionsUpdateOptionalParams,
54
54
  ): Promise<PrivateEndpointConnectionsUpdateResponse>;
55
55
  /**
56
56
  * Gets the details of the private endpoint connection to the search service in the given resource
57
57
  * group.
58
58
  * @param resourceGroupName The name of the resource group within the current subscription. You can
59
59
  * obtain this value from the Azure Resource Manager API or the portal.
60
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
61
- * specified resource group.
62
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
63
- * Cognitive Search service with the specified resource group.
60
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
61
+ * resource group.
62
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
63
+ * Search service with the specified resource group.
64
64
  * @param options The options parameters.
65
65
  */
66
66
  get(
67
67
  resourceGroupName: string,
68
68
  searchServiceName: string,
69
69
  privateEndpointConnectionName: string,
70
- options?: PrivateEndpointConnectionsGetOptionalParams
70
+ options?: PrivateEndpointConnectionsGetOptionalParams,
71
71
  ): Promise<PrivateEndpointConnectionsGetResponse>;
72
72
  /**
73
73
  * Disconnects the private endpoint connection and deletes it from the search service.
74
74
  * @param resourceGroupName The name of the resource group within the current subscription. You can
75
75
  * obtain this value from the Azure Resource Manager API or the portal.
76
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
77
- * specified resource group.
78
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
79
- * Cognitive Search service with the specified resource group.
76
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
77
+ * resource group.
78
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
79
+ * Search service with the specified resource group.
80
80
  * @param options The options parameters.
81
81
  */
82
82
  delete(
83
83
  resourceGroupName: string,
84
84
  searchServiceName: string,
85
85
  privateEndpointConnectionName: string,
86
- options?: PrivateEndpointConnectionsDeleteOptionalParams
86
+ options?: PrivateEndpointConnectionsDeleteOptionalParams,
87
87
  ): Promise<PrivateEndpointConnectionsDeleteResponse>;
88
88
  }
@@ -9,7 +9,7 @@
9
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
10
  import {
11
11
  PrivateLinkResource,
12
- PrivateLinkResourcesListSupportedOptionalParams
12
+ PrivateLinkResourcesListSupportedOptionalParams,
13
13
  } from "../models";
14
14
 
15
15
  /// <reference lib="esnext.asynciterable" />
@@ -19,13 +19,13 @@ export interface PrivateLinkResources {
19
19
  * Gets a list of all supported private link resource types for the given service.
20
20
  * @param resourceGroupName The name of the resource group within the current subscription. You can
21
21
  * obtain this value from the Azure Resource Manager API or the portal.
22
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
23
- * specified resource group.
22
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
23
+ * resource group.
24
24
  * @param options The options parameters.
25
25
  */
26
26
  listSupported(
27
27
  resourceGroupName: string,
28
28
  searchServiceName: string,
29
- options?: PrivateLinkResourcesListSupportedOptionalParams
29
+ options?: PrivateLinkResourcesListSupportedOptionalParams,
30
30
  ): PagedAsyncIterableIterator<PrivateLinkResource>;
31
31
  }
@@ -12,32 +12,32 @@ import {
12
12
  QueryKeysListBySearchServiceOptionalParams,
13
13
  QueryKeysCreateOptionalParams,
14
14
  QueryKeysCreateResponse,
15
- QueryKeysDeleteOptionalParams
15
+ QueryKeysDeleteOptionalParams,
16
16
  } from "../models";
17
17
 
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Interface representing a QueryKeys. */
20
20
  export interface QueryKeys {
21
21
  /**
22
- * Returns the list of query API keys for the given Azure Cognitive Search service.
22
+ * Returns the list of query API keys for the given Azure AI Search service.
23
23
  * @param resourceGroupName The name of the resource group within the current subscription. You can
24
24
  * obtain this value from the Azure Resource Manager API or the portal.
25
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
26
- * specified resource group.
25
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
26
+ * resource group.
27
27
  * @param options The options parameters.
28
28
  */
29
29
  listBySearchService(
30
30
  resourceGroupName: string,
31
31
  searchServiceName: string,
32
- options?: QueryKeysListBySearchServiceOptionalParams
32
+ options?: QueryKeysListBySearchServiceOptionalParams,
33
33
  ): PagedAsyncIterableIterator<QueryKey>;
34
34
  /**
35
35
  * Generates a new query key for the specified search service. You can create up to 50 query keys per
36
36
  * service.
37
37
  * @param resourceGroupName The name of the resource group within the current subscription. You can
38
38
  * obtain this value from the Azure Resource Manager API or the portal.
39
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
40
- * specified resource group.
39
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
40
+ * resource group.
41
41
  * @param name The name of the new query API key.
42
42
  * @param options The options parameters.
43
43
  */
@@ -45,15 +45,15 @@ export interface QueryKeys {
45
45
  resourceGroupName: string,
46
46
  searchServiceName: string,
47
47
  name: string,
48
- options?: QueryKeysCreateOptionalParams
48
+ options?: QueryKeysCreateOptionalParams,
49
49
  ): Promise<QueryKeysCreateResponse>;
50
50
  /**
51
51
  * Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for
52
52
  * regenerating a query key is to delete and then recreate it.
53
53
  * @param resourceGroupName The name of the resource group within the current subscription. You can
54
54
  * obtain this value from the Azure Resource Manager API or the portal.
55
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
56
- * specified resource group.
55
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
56
+ * resource group.
57
57
  * @param key The query key to be deleted. Query keys are identified by value, not by name.
58
58
  * @param options The options parameters.
59
59
  */
@@ -61,6 +61,6 @@ export interface QueryKeys {
61
61
  resourceGroupName: string,
62
62
  searchServiceName: string,
63
63
  key: string,
64
- options?: QueryKeysDeleteOptionalParams
64
+ options?: QueryKeysDeleteOptionalParams,
65
65
  ): Promise<void>;
66
66
  }
@@ -21,7 +21,7 @@ import {
21
21
  ServicesGetResponse,
22
22
  ServicesDeleteOptionalParams,
23
23
  ServicesCheckNameAvailabilityOptionalParams,
24
- ServicesCheckNameAvailabilityResponse
24
+ ServicesCheckNameAvailabilityResponse,
25
25
  } from "../models";
26
26
 
27
27
  /// <reference lib="esnext.asynciterable" />
@@ -35,26 +35,26 @@ export interface Services {
35
35
  */
36
36
  listByResourceGroup(
37
37
  resourceGroupName: string,
38
- options?: ServicesListByResourceGroupOptionalParams
38
+ options?: ServicesListByResourceGroupOptionalParams,
39
39
  ): PagedAsyncIterableIterator<SearchService>;
40
40
  /**
41
41
  * Gets a list of all Search services in the given subscription.
42
42
  * @param options The options parameters.
43
43
  */
44
44
  listBySubscription(
45
- options?: ServicesListBySubscriptionOptionalParams
45
+ options?: ServicesListBySubscriptionOptionalParams,
46
46
  ): PagedAsyncIterableIterator<SearchService>;
47
47
  /**
48
48
  * Creates or updates a search service in the given resource group. If the search service already
49
49
  * exists, all properties will be updated with the given values.
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 to create or update. Search
53
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the first
54
- * two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60
55
- * characters in length. Search service names must be globally unique since they are part of the
56
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
57
- * service is created.
52
+ * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
53
+ * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
54
+ * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
55
+ * length. Search service names must be globally unique since they are part of the service URI
56
+ * (https://<name>.search.windows.net). You cannot change the service name after the service is
57
+ * created.
58
58
  * @param service The definition of the search service to create or update.
59
59
  * @param options The options parameters.
60
60
  */
@@ -62,7 +62,7 @@ export interface Services {
62
62
  resourceGroupName: string,
63
63
  searchServiceName: string,
64
64
  service: SearchService,
65
- options?: ServicesCreateOrUpdateOptionalParams
65
+ options?: ServicesCreateOrUpdateOptionalParams,
66
66
  ): Promise<
67
67
  SimplePollerLike<
68
68
  OperationState<ServicesCreateOrUpdateResponse>,
@@ -74,12 +74,12 @@ export interface Services {
74
74
  * exists, all properties will be updated with the given values.
75
75
  * @param resourceGroupName The name of the resource group within the current subscription. You can
76
76
  * obtain this value from the Azure Resource Manager API or the portal.
77
- * @param searchServiceName The name of the Azure Cognitive Search service to create or update. Search
78
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the first
79
- * two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60
80
- * characters in length. Search service names must be globally unique since they are part of the
81
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
82
- * service is created.
77
+ * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
78
+ * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
79
+ * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
80
+ * length. Search service names must be globally unique since they are part of the service URI
81
+ * (https://<name>.search.windows.net). You cannot change the service name after the service is
82
+ * created.
83
83
  * @param service The definition of the search service to create or update.
84
84
  * @param options The options parameters.
85
85
  */
@@ -87,13 +87,13 @@ export interface Services {
87
87
  resourceGroupName: string,
88
88
  searchServiceName: string,
89
89
  service: SearchService,
90
- options?: ServicesCreateOrUpdateOptionalParams
90
+ options?: ServicesCreateOrUpdateOptionalParams,
91
91
  ): Promise<ServicesCreateOrUpdateResponse>;
92
92
  /**
93
93
  * Updates an existing search service in the given resource group.
94
94
  * @param resourceGroupName The name of the resource group within the current subscription. You can
95
95
  * obtain this value from the Azure Resource Manager API or the portal.
96
- * @param searchServiceName The name of the Azure Cognitive Search service to update.
96
+ * @param searchServiceName The name of the Azure AI Search service to update.
97
97
  * @param service The definition of the search service to update.
98
98
  * @param options The options parameters.
99
99
  */
@@ -101,33 +101,33 @@ export interface Services {
101
101
  resourceGroupName: string,
102
102
  searchServiceName: string,
103
103
  service: SearchServiceUpdate,
104
- options?: ServicesUpdateOptionalParams
104
+ options?: ServicesUpdateOptionalParams,
105
105
  ): Promise<ServicesUpdateResponse>;
106
106
  /**
107
107
  * Gets the search service with the given name in the given resource group.
108
108
  * @param resourceGroupName The name of the resource group within the current subscription. You can
109
109
  * obtain this value from the Azure Resource Manager API or the portal.
110
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
111
- * specified resource group.
110
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
111
+ * resource group.
112
112
  * @param options The options parameters.
113
113
  */
114
114
  get(
115
115
  resourceGroupName: string,
116
116
  searchServiceName: string,
117
- options?: ServicesGetOptionalParams
117
+ options?: ServicesGetOptionalParams,
118
118
  ): Promise<ServicesGetResponse>;
119
119
  /**
120
120
  * Deletes a search service in the given resource group, along with its associated resources.
121
121
  * @param resourceGroupName The name of the resource group within the current subscription. You can
122
122
  * obtain this value from the Azure Resource Manager API or the portal.
123
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
124
- * specified resource group.
123
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
124
+ * resource group.
125
125
  * @param options The options parameters.
126
126
  */
127
127
  delete(
128
128
  resourceGroupName: string,
129
129
  searchServiceName: string,
130
- options?: ServicesDeleteOptionalParams
130
+ options?: ServicesDeleteOptionalParams,
131
131
  ): Promise<void>;
132
132
  /**
133
133
  * Checks whether or not the given search service name is available for use. Search service names must
@@ -139,6 +139,6 @@ export interface Services {
139
139
  */
140
140
  checkNameAvailability(
141
141
  name: string,
142
- options?: ServicesCheckNameAvailabilityOptionalParams
142
+ options?: ServicesCheckNameAvailabilityOptionalParams,
143
143
  ): Promise<ServicesCheckNameAvailabilityResponse>;
144
144
  }