@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
package/src/operations/usages.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
24
|
-
*
|
|
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
|
|
38
|
-
*
|
|
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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|
29
|
-
*
|
|
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
|
|
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
|
|
42
|
-
*
|
|
43
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
|
|
44
|
-
*
|
|
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
|
|
61
|
-
*
|
|
62
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
|
|
63
|
-
*
|
|
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
|
|
77
|
-
*
|
|
78
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
|
|
79
|
-
*
|
|
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
|
|
23
|
-
*
|
|
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
|
|
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
|
|
26
|
-
*
|
|
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
|
|
40
|
-
*
|
|
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
|
|
56
|
-
*
|
|
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
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
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
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
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
|
|
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
|
|
111
|
-
*
|
|
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
|
|
124
|
-
*
|
|
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
|
}
|