@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.
- package/CHANGELOG.md +53 -0
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +1805 -777
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/adminKeysGetSample.js +3 -3
- package/dist-esm/samples-dev/adminKeysRegenerateSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +54 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +3 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +8 -8
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -1
- package/dist-esm/samples-dev/queryKeysCreateSample.js +2 -2
- package/dist-esm/samples-dev/queryKeysCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/queryKeysDeleteSample.js +1 -1
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +3 -3
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +81 -19
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +68 -18
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +1 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +1 -1
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +3 -3
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +508 -113
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +90 -12
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1028 -411
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +85 -57
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/adminKeys.d.ts +5 -5
- package/dist-esm/src/operations/adminKeys.js +15 -15
- package/dist-esm/src/operations/adminKeys.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +289 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operations/operations.js +5 -5
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +19 -19
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +49 -49
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +4 -4
- package/dist-esm/src/operations/privateLinkResources.js +10 -10
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/queryKeys.d.ts +12 -12
- package/dist-esm/src/operations/queryKeys.js +32 -32
- package/dist-esm/src/operations/queryKeys.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts +17 -17
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +75 -75
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +21 -21
- package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/sharedPrivateLinkResources.js +62 -62
- package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/usages.d.ts +2 -2
- package/dist-esm/src/operations/usages.js +13 -13
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +5 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/services.d.ts +17 -17
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +17 -17
- package/dist-esm/src/operationsInterfaces/usages.d.ts +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/searchManagementClient.d.ts +3 -2
- package/dist-esm/src/searchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/searchManagementClient.js +17 -15
- package/dist-esm/src/searchManagementClient.js.map +1 -1
- package/dist-esm/test/search_examples.js.map +1 -1
- package/package.json +12 -11
- package/review/arm-search.api.md +270 -6
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +573 -140
- package/src/models/mappers.ts +1217 -561
- package/src/models/parameters.ts +90 -58
- package/src/operations/adminKeys.ts +22 -24
- package/src/operations/index.ts +1 -0
- package/src/operations/networkSecurityPerimeterConfigurations.ts +400 -0
- package/src/operations/operations.ts +10 -10
- package/src/operations/privateEndpointConnections.ts +74 -77
- package/src/operations/privateLinkResources.ts +21 -22
- package/src/operations/queryKeys.ts +52 -55
- package/src/operations/services.ts +118 -126
- package/src/operations/sharedPrivateLinkResources.ts +103 -108
- package/src/operations/usages.ts +24 -25
- package/src/operationsInterfaces/adminKeys.ts +8 -8
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +90 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +20 -20
- package/src/operationsInterfaces/privateLinkResources.ts +4 -4
- package/src/operationsInterfaces/queryKeys.ts +11 -11
- package/src/operationsInterfaces/services.ts +26 -26
- package/src/operationsInterfaces/sharedPrivateLinkResources.ts +24 -24
- package/src/operationsInterfaces/usages.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/src/searchManagementClient.ts +33 -28
- package/types/arm-search.d.ts +650 -171
- package/types/tsdoc-metadata.json +1 -1
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
QueryKeysCreateOptionalParams,
|
|
22
22
|
QueryKeysCreateResponse,
|
|
23
23
|
QueryKeysDeleteOptionalParams,
|
|
24
|
-
QueryKeysListBySearchServiceNextResponse
|
|
24
|
+
QueryKeysListBySearchServiceNextResponse,
|
|
25
25
|
} from "../models";
|
|
26
26
|
|
|
27
27
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -38,22 +38,22 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Returns the list of query API keys for the given Azure
|
|
41
|
+
* Returns the list of query API keys for the given Azure AI Search service.
|
|
42
42
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
43
43
|
* obtain this value from the Azure Resource Manager API or the portal.
|
|
44
|
-
* @param searchServiceName The name of the Azure
|
|
45
|
-
*
|
|
44
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
45
|
+
* resource group.
|
|
46
46
|
* @param options The options parameters.
|
|
47
47
|
*/
|
|
48
48
|
public listBySearchService(
|
|
49
49
|
resourceGroupName: string,
|
|
50
50
|
searchServiceName: string,
|
|
51
|
-
options?: QueryKeysListBySearchServiceOptionalParams
|
|
51
|
+
options?: QueryKeysListBySearchServiceOptionalParams,
|
|
52
52
|
): PagedAsyncIterableIterator<QueryKey> {
|
|
53
53
|
const iter = this.listBySearchServicePagingAll(
|
|
54
54
|
resourceGroupName,
|
|
55
55
|
searchServiceName,
|
|
56
|
-
options
|
|
56
|
+
options,
|
|
57
57
|
);
|
|
58
58
|
return {
|
|
59
59
|
next() {
|
|
@@ -70,9 +70,9 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
70
70
|
resourceGroupName,
|
|
71
71
|
searchServiceName,
|
|
72
72
|
options,
|
|
73
|
-
settings
|
|
73
|
+
settings,
|
|
74
74
|
);
|
|
75
|
-
}
|
|
75
|
+
},
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
80
80
|
resourceGroupName: string,
|
|
81
81
|
searchServiceName: string,
|
|
82
82
|
options?: QueryKeysListBySearchServiceOptionalParams,
|
|
83
|
-
settings?: PageSettings
|
|
83
|
+
settings?: PageSettings,
|
|
84
84
|
): AsyncIterableIterator<QueryKey[]> {
|
|
85
85
|
let result: QueryKeysListBySearchServiceResponse;
|
|
86
86
|
let continuationToken = settings?.continuationToken;
|
|
@@ -88,7 +88,7 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
88
88
|
result = await this._listBySearchService(
|
|
89
89
|
resourceGroupName,
|
|
90
90
|
searchServiceName,
|
|
91
|
-
options
|
|
91
|
+
options,
|
|
92
92
|
);
|
|
93
93
|
let page = result.value || [];
|
|
94
94
|
continuationToken = result.nextLink;
|
|
@@ -100,7 +100,7 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
100
100
|
resourceGroupName,
|
|
101
101
|
searchServiceName,
|
|
102
102
|
continuationToken,
|
|
103
|
-
options
|
|
103
|
+
options,
|
|
104
104
|
);
|
|
105
105
|
continuationToken = result.nextLink;
|
|
106
106
|
let page = result.value || [];
|
|
@@ -112,12 +112,12 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
112
112
|
private async *listBySearchServicePagingAll(
|
|
113
113
|
resourceGroupName: string,
|
|
114
114
|
searchServiceName: string,
|
|
115
|
-
options?: QueryKeysListBySearchServiceOptionalParams
|
|
115
|
+
options?: QueryKeysListBySearchServiceOptionalParams,
|
|
116
116
|
): AsyncIterableIterator<QueryKey> {
|
|
117
117
|
for await (const page of this.listBySearchServicePagingPage(
|
|
118
118
|
resourceGroupName,
|
|
119
119
|
searchServiceName,
|
|
120
|
-
options
|
|
120
|
+
options,
|
|
121
121
|
)) {
|
|
122
122
|
yield* page;
|
|
123
123
|
}
|
|
@@ -128,8 +128,8 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
128
128
|
* service.
|
|
129
129
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
130
130
|
* obtain this value from the Azure Resource Manager API or the portal.
|
|
131
|
-
* @param searchServiceName The name of the Azure
|
|
132
|
-
*
|
|
131
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
132
|
+
* resource group.
|
|
133
133
|
* @param name The name of the new query API key.
|
|
134
134
|
* @param options The options parameters.
|
|
135
135
|
*/
|
|
@@ -137,30 +137,30 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
137
137
|
resourceGroupName: string,
|
|
138
138
|
searchServiceName: string,
|
|
139
139
|
name: string,
|
|
140
|
-
options?: QueryKeysCreateOptionalParams
|
|
140
|
+
options?: QueryKeysCreateOptionalParams,
|
|
141
141
|
): Promise<QueryKeysCreateResponse> {
|
|
142
142
|
return this.client.sendOperationRequest(
|
|
143
143
|
{ resourceGroupName, searchServiceName, name, options },
|
|
144
|
-
createOperationSpec
|
|
144
|
+
createOperationSpec,
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Returns the list of query API keys for the given Azure
|
|
149
|
+
* Returns the list of query API keys for the given Azure AI Search service.
|
|
150
150
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
151
151
|
* obtain this value from the Azure Resource Manager API or the portal.
|
|
152
|
-
* @param searchServiceName The name of the Azure
|
|
153
|
-
*
|
|
152
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
153
|
+
* resource group.
|
|
154
154
|
* @param options The options parameters.
|
|
155
155
|
*/
|
|
156
156
|
private _listBySearchService(
|
|
157
157
|
resourceGroupName: string,
|
|
158
158
|
searchServiceName: string,
|
|
159
|
-
options?: QueryKeysListBySearchServiceOptionalParams
|
|
159
|
+
options?: QueryKeysListBySearchServiceOptionalParams,
|
|
160
160
|
): Promise<QueryKeysListBySearchServiceResponse> {
|
|
161
161
|
return this.client.sendOperationRequest(
|
|
162
162
|
{ resourceGroupName, searchServiceName, options },
|
|
163
|
-
listBySearchServiceOperationSpec
|
|
163
|
+
listBySearchServiceOperationSpec,
|
|
164
164
|
);
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -169,8 +169,8 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
169
169
|
* regenerating a query key is to delete and then recreate it.
|
|
170
170
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
171
171
|
* obtain this value from the Azure Resource Manager API or the portal.
|
|
172
|
-
* @param searchServiceName The name of the Azure
|
|
173
|
-
*
|
|
172
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
173
|
+
* resource group.
|
|
174
174
|
* @param key The query key to be deleted. Query keys are identified by value, not by name.
|
|
175
175
|
* @param options The options parameters.
|
|
176
176
|
*/
|
|
@@ -178,11 +178,11 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
178
178
|
resourceGroupName: string,
|
|
179
179
|
searchServiceName: string,
|
|
180
180
|
key: string,
|
|
181
|
-
options?: QueryKeysDeleteOptionalParams
|
|
181
|
+
options?: QueryKeysDeleteOptionalParams,
|
|
182
182
|
): Promise<void> {
|
|
183
183
|
return this.client.sendOperationRequest(
|
|
184
184
|
{ resourceGroupName, searchServiceName, key, options },
|
|
185
|
-
deleteOperationSpec
|
|
185
|
+
deleteOperationSpec,
|
|
186
186
|
);
|
|
187
187
|
}
|
|
188
188
|
|
|
@@ -190,8 +190,8 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
190
190
|
* ListBySearchServiceNext
|
|
191
191
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
192
192
|
* obtain this value from the Azure Resource Manager API or the portal.
|
|
193
|
-
* @param searchServiceName The name of the Azure
|
|
194
|
-
*
|
|
193
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
194
|
+
* resource group.
|
|
195
195
|
* @param nextLink The nextLink from the previous successful call to the ListBySearchService method.
|
|
196
196
|
* @param options The options parameters.
|
|
197
197
|
*/
|
|
@@ -199,11 +199,11 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
199
199
|
resourceGroupName: string,
|
|
200
200
|
searchServiceName: string,
|
|
201
201
|
nextLink: string,
|
|
202
|
-
options?: QueryKeysListBySearchServiceNextOptionalParams
|
|
202
|
+
options?: QueryKeysListBySearchServiceNextOptionalParams,
|
|
203
203
|
): Promise<QueryKeysListBySearchServiceNextResponse> {
|
|
204
204
|
return this.client.sendOperationRequest(
|
|
205
205
|
{ resourceGroupName, searchServiceName, nextLink, options },
|
|
206
|
-
listBySearchServiceNextOperationSpec
|
|
206
|
+
listBySearchServiceNextOperationSpec,
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
@@ -211,16 +211,15 @@ export class QueryKeysImpl implements QueryKeys {
|
|
|
211
211
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
212
212
|
|
|
213
213
|
const createOperationSpec: coreClient.OperationSpec = {
|
|
214
|
-
path:
|
|
215
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}",
|
|
214
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}",
|
|
216
215
|
httpMethod: "POST",
|
|
217
216
|
responses: {
|
|
218
217
|
200: {
|
|
219
|
-
bodyMapper: Mappers.QueryKey
|
|
218
|
+
bodyMapper: Mappers.QueryKey,
|
|
220
219
|
},
|
|
221
220
|
default: {
|
|
222
|
-
bodyMapper: Mappers.CloudError
|
|
223
|
-
}
|
|
221
|
+
bodyMapper: Mappers.CloudError,
|
|
222
|
+
},
|
|
224
223
|
},
|
|
225
224
|
queryParameters: [Parameters.apiVersion],
|
|
226
225
|
urlParameters: [
|
|
@@ -228,44 +227,42 @@ const createOperationSpec: coreClient.OperationSpec = {
|
|
|
228
227
|
Parameters.resourceGroupName,
|
|
229
228
|
Parameters.searchServiceName,
|
|
230
229
|
Parameters.subscriptionId,
|
|
231
|
-
Parameters.name
|
|
230
|
+
Parameters.name,
|
|
232
231
|
],
|
|
233
232
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
234
|
-
serializer
|
|
233
|
+
serializer,
|
|
235
234
|
};
|
|
236
235
|
const listBySearchServiceOperationSpec: coreClient.OperationSpec = {
|
|
237
|
-
path:
|
|
238
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys",
|
|
236
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys",
|
|
239
237
|
httpMethod: "POST",
|
|
240
238
|
responses: {
|
|
241
239
|
200: {
|
|
242
|
-
bodyMapper: Mappers.ListQueryKeysResult
|
|
240
|
+
bodyMapper: Mappers.ListQueryKeysResult,
|
|
243
241
|
},
|
|
244
242
|
default: {
|
|
245
|
-
bodyMapper: Mappers.CloudError
|
|
246
|
-
}
|
|
243
|
+
bodyMapper: Mappers.CloudError,
|
|
244
|
+
},
|
|
247
245
|
},
|
|
248
246
|
queryParameters: [Parameters.apiVersion],
|
|
249
247
|
urlParameters: [
|
|
250
248
|
Parameters.$host,
|
|
251
249
|
Parameters.resourceGroupName,
|
|
252
250
|
Parameters.searchServiceName,
|
|
253
|
-
Parameters.subscriptionId
|
|
251
|
+
Parameters.subscriptionId,
|
|
254
252
|
],
|
|
255
253
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
256
|
-
serializer
|
|
254
|
+
serializer,
|
|
257
255
|
};
|
|
258
256
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
259
|
-
path:
|
|
260
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}",
|
|
257
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}",
|
|
261
258
|
httpMethod: "DELETE",
|
|
262
259
|
responses: {
|
|
263
260
|
200: {},
|
|
264
261
|
204: {},
|
|
265
262
|
404: {},
|
|
266
263
|
default: {
|
|
267
|
-
bodyMapper: Mappers.CloudError
|
|
268
|
-
}
|
|
264
|
+
bodyMapper: Mappers.CloudError,
|
|
265
|
+
},
|
|
269
266
|
},
|
|
270
267
|
queryParameters: [Parameters.apiVersion],
|
|
271
268
|
urlParameters: [
|
|
@@ -273,29 +270,29 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
273
270
|
Parameters.resourceGroupName,
|
|
274
271
|
Parameters.searchServiceName,
|
|
275
272
|
Parameters.subscriptionId,
|
|
276
|
-
Parameters.key
|
|
273
|
+
Parameters.key,
|
|
277
274
|
],
|
|
278
275
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
279
|
-
serializer
|
|
276
|
+
serializer,
|
|
280
277
|
};
|
|
281
278
|
const listBySearchServiceNextOperationSpec: coreClient.OperationSpec = {
|
|
282
279
|
path: "{nextLink}",
|
|
283
280
|
httpMethod: "GET",
|
|
284
281
|
responses: {
|
|
285
282
|
200: {
|
|
286
|
-
bodyMapper: Mappers.ListQueryKeysResult
|
|
283
|
+
bodyMapper: Mappers.ListQueryKeysResult,
|
|
287
284
|
},
|
|
288
285
|
default: {
|
|
289
|
-
bodyMapper: Mappers.CloudError
|
|
290
|
-
}
|
|
286
|
+
bodyMapper: Mappers.CloudError,
|
|
287
|
+
},
|
|
291
288
|
},
|
|
292
289
|
urlParameters: [
|
|
293
290
|
Parameters.$host,
|
|
294
291
|
Parameters.resourceGroupName,
|
|
295
292
|
Parameters.searchServiceName,
|
|
296
293
|
Parameters.subscriptionId,
|
|
297
|
-
Parameters.nextLink
|
|
294
|
+
Parameters.nextLink,
|
|
298
295
|
],
|
|
299
296
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
300
|
-
serializer
|
|
297
|
+
serializer,
|
|
301
298
|
};
|