@azure/arm-search 2.0.0 → 3.0.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 +14 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -78
- package/dist/index.js +2926 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/adminKeysMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +692 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +21 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +35 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +503 -558
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +22 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +92 -47
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/adminKeys.d.ts +33 -0
- package/dist-esm/src/operations/adminKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/adminKeys.js +90 -0
- package/dist-esm/src/operations/adminKeys.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +79 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +273 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +34 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +103 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/queryKeys.d.ts +66 -0
- package/dist-esm/src/operations/queryKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/queryKeys.js +213 -0
- package/dist-esm/src/operations/queryKeys.js.map +1 -0
- package/dist-esm/src/operations/services.d.ts +123 -0
- package/dist-esm/src/operations/services.d.ts.map +1 -0
- package/dist-esm/src/operations/services.js +475 -0
- package/dist-esm/src/operations/services.js.map +1 -0
- package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/sharedPrivateLinkResources.js +379 -0
- package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/{src/models/adminKeysMappers.ts → dist-esm/src/operationsInterfaces/adminKeys.js} +2 -5
- package/dist-esm/src/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +15 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/models/queryKeysMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -6
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -7
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/queryKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts +85 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/services.js} +2 -1
- package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/searchManagementClient.d.ts +25 -0
- package/dist-esm/src/searchManagementClient.d.ts.map +1 -0
- package/dist-esm/src/searchManagementClient.js +58 -0
- package/dist-esm/src/searchManagementClient.js.map +1 -0
- package/dist-esm/test/search_examples.d.ts +4 -0
- package/dist-esm/test/search_examples.d.ts.map +1 -0
- package/dist-esm/test/search_examples.js +163 -0
- package/dist-esm/test/search_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-search.api.md +600 -0
- package/rollup.config.js +181 -30
- package/{esm/models/queryKeysMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +563 -1357
- package/src/models/mappers.ts +516 -575
- package/src/models/parameters.ts +122 -48
- package/src/operations/adminKeys.ts +65 -109
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +64 -39
- package/src/operations/privateEndpointConnections.ts +223 -235
- package/src/operations/privateLinkResources.ts +100 -54
- package/src/operations/queryKeys.ts +192 -190
- package/src/operations/services.ts +423 -409
- package/src/operations/sharedPrivateLinkResources.ts +390 -232
- package/src/operationsInterfaces/adminKeys.ts +48 -0
- package/src/operationsInterfaces/index.ts +15 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +88 -0
- package/src/operationsInterfaces/privateLinkResources.ts +31 -0
- package/src/operationsInterfaces/queryKeys.ts +66 -0
- package/src/operationsInterfaces/services.ts +144 -0
- package/src/operationsInterfaces/sharedPrivateLinkResources.ts +131 -0
- package/src/searchManagementClient.ts +90 -46
- package/tsconfig.json +3 -3
- package/types/arm-search.d.ts +1104 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-search.js +0 -2737
- package/dist/arm-search.js.map +0 -1
- package/dist/arm-search.min.js +0 -1
- package/dist/arm-search.min.js.map +0 -1
- package/esm/models/adminKeysMappers.d.ts +0 -2
- package/esm/models/adminKeysMappers.d.ts.map +0 -1
- package/esm/models/adminKeysMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1499
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -38
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -14
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/queryKeysMappers.d.ts +0 -2
- package/esm/models/queryKeysMappers.d.ts.map +0 -1
- package/esm/models/queryKeysMappers.js.map +0 -1
- package/esm/models/servicesMappers.d.ts +0 -2
- package/esm/models/servicesMappers.d.ts.map +0 -1
- package/esm/models/servicesMappers.js +0 -9
- package/esm/models/servicesMappers.js.map +0 -1
- package/esm/models/sharedPrivateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/sharedPrivateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/sharedPrivateLinkResourcesMappers.js +0 -9
- package/esm/models/sharedPrivateLinkResourcesMappers.js.map +0 -1
- package/esm/operations/adminKeys.d.ts +0 -74
- package/esm/operations/adminKeys.d.ts.map +0 -1
- package/esm/operations/adminKeys.js +0 -92
- package/esm/operations/adminKeys.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -161
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -197
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -40
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -58
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/queryKeys.d.ts +0 -120
- package/esm/operations/queryKeys.d.ts.map +0 -1
- package/esm/operations/queryKeys.js +0 -156
- package/esm/operations/queryKeys.js.map +0 -1
- package/esm/operations/services.d.ts +0 -225
- package/esm/operations/services.d.ts.map +0 -1
- package/esm/operations/services.js +0 -355
- package/esm/operations/services.js.map +0 -1
- package/esm/operations/sharedPrivateLinkResources.d.ts +0 -147
- package/esm/operations/sharedPrivateLinkResources.d.ts.map +0 -1
- package/esm/operations/sharedPrivateLinkResources.js +0 -255
- package/esm/operations/sharedPrivateLinkResources.js.map +0 -1
- package/esm/searchManagementClient.d.ts +0 -31
- package/esm/searchManagementClient.d.ts.map +0 -1
- package/esm/searchManagementClient.js +0 -44
- package/esm/searchManagementClient.js.map +0 -1
- package/esm/searchManagementClientContext.d.ts +0 -23
- package/esm/searchManagementClientContext.d.ts.map +0 -1
- package/esm/searchManagementClientContext.js +0 -61
- package/esm/searchManagementClientContext.js.map +0 -1
- package/src/models/privateEndpointConnectionsMappers.ts +0 -33
- package/src/models/privateLinkResourcesMappers.ts +0 -33
- package/src/models/servicesMappers.ts +0 -35
- package/src/models/sharedPrivateLinkResourcesMappers.ts +0 -33
- package/src/searchManagementClientContext.ts +0 -68
package/dist/arm-search.js
DELETED
|
@@ -1,2737 +0,0 @@
|
|
|
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
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmSearch = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var CheckNameAvailabilityInput = {
|
|
76
|
-
serializedName: "CheckNameAvailabilityInput",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "CheckNameAvailabilityInput",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
name: {
|
|
82
|
-
required: true,
|
|
83
|
-
serializedName: "name",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
type: {
|
|
89
|
-
required: true,
|
|
90
|
-
isConstant: true,
|
|
91
|
-
serializedName: "type",
|
|
92
|
-
defaultValue: 'searchServices',
|
|
93
|
-
type: {
|
|
94
|
-
name: "String"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
var CheckNameAvailabilityOutput = {
|
|
101
|
-
serializedName: "CheckNameAvailabilityOutput",
|
|
102
|
-
type: {
|
|
103
|
-
name: "Composite",
|
|
104
|
-
className: "CheckNameAvailabilityOutput",
|
|
105
|
-
modelProperties: {
|
|
106
|
-
isNameAvailable: {
|
|
107
|
-
readOnly: true,
|
|
108
|
-
serializedName: "nameAvailable",
|
|
109
|
-
type: {
|
|
110
|
-
name: "Boolean"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
reason: {
|
|
114
|
-
readOnly: true,
|
|
115
|
-
serializedName: "reason",
|
|
116
|
-
type: {
|
|
117
|
-
name: "String"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
message: {
|
|
121
|
-
readOnly: true,
|
|
122
|
-
serializedName: "message",
|
|
123
|
-
type: {
|
|
124
|
-
name: "String"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
var AdminKeyResult = {
|
|
131
|
-
serializedName: "AdminKeyResult",
|
|
132
|
-
type: {
|
|
133
|
-
name: "Composite",
|
|
134
|
-
className: "AdminKeyResult",
|
|
135
|
-
modelProperties: {
|
|
136
|
-
primaryKey: {
|
|
137
|
-
readOnly: true,
|
|
138
|
-
serializedName: "primaryKey",
|
|
139
|
-
type: {
|
|
140
|
-
name: "String"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
secondaryKey: {
|
|
144
|
-
readOnly: true,
|
|
145
|
-
serializedName: "secondaryKey",
|
|
146
|
-
type: {
|
|
147
|
-
name: "String"
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
var QueryKey = {
|
|
154
|
-
serializedName: "QueryKey",
|
|
155
|
-
type: {
|
|
156
|
-
name: "Composite",
|
|
157
|
-
className: "QueryKey",
|
|
158
|
-
modelProperties: {
|
|
159
|
-
name: {
|
|
160
|
-
readOnly: true,
|
|
161
|
-
serializedName: "name",
|
|
162
|
-
type: {
|
|
163
|
-
name: "String"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
key: {
|
|
167
|
-
readOnly: true,
|
|
168
|
-
serializedName: "key",
|
|
169
|
-
type: {
|
|
170
|
-
name: "String"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
};
|
|
176
|
-
var Sku = {
|
|
177
|
-
serializedName: "Sku",
|
|
178
|
-
type: {
|
|
179
|
-
name: "Composite",
|
|
180
|
-
className: "Sku",
|
|
181
|
-
modelProperties: {
|
|
182
|
-
name: {
|
|
183
|
-
serializedName: "name",
|
|
184
|
-
type: {
|
|
185
|
-
name: "Enum",
|
|
186
|
-
allowedValues: [
|
|
187
|
-
"free",
|
|
188
|
-
"basic",
|
|
189
|
-
"standard",
|
|
190
|
-
"standard2",
|
|
191
|
-
"standard3",
|
|
192
|
-
"storage_optimized_l1",
|
|
193
|
-
"storage_optimized_l2"
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
var PrivateEndpointConnectionPropertiesPrivateEndpoint = {
|
|
201
|
-
serializedName: "PrivateEndpointConnectionProperties_privateEndpoint",
|
|
202
|
-
type: {
|
|
203
|
-
name: "Composite",
|
|
204
|
-
className: "PrivateEndpointConnectionPropertiesPrivateEndpoint",
|
|
205
|
-
modelProperties: {
|
|
206
|
-
id: {
|
|
207
|
-
serializedName: "id",
|
|
208
|
-
type: {
|
|
209
|
-
name: "String"
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
var PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState = {
|
|
216
|
-
serializedName: "PrivateEndpointConnectionProperties_privateLinkServiceConnectionState",
|
|
217
|
-
type: {
|
|
218
|
-
name: "Composite",
|
|
219
|
-
className: "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState",
|
|
220
|
-
modelProperties: {
|
|
221
|
-
status: {
|
|
222
|
-
serializedName: "status",
|
|
223
|
-
type: {
|
|
224
|
-
name: "Enum",
|
|
225
|
-
allowedValues: [
|
|
226
|
-
"Pending",
|
|
227
|
-
"Approved",
|
|
228
|
-
"Rejected",
|
|
229
|
-
"Disconnected"
|
|
230
|
-
]
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
description: {
|
|
234
|
-
serializedName: "description",
|
|
235
|
-
type: {
|
|
236
|
-
name: "String"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
actionsRequired: {
|
|
240
|
-
serializedName: "actionsRequired",
|
|
241
|
-
defaultValue: 'None',
|
|
242
|
-
type: {
|
|
243
|
-
name: "String"
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
var PrivateEndpointConnectionProperties = {
|
|
250
|
-
serializedName: "PrivateEndpointConnectionProperties",
|
|
251
|
-
type: {
|
|
252
|
-
name: "Composite",
|
|
253
|
-
className: "PrivateEndpointConnectionProperties",
|
|
254
|
-
modelProperties: {
|
|
255
|
-
privateEndpoint: {
|
|
256
|
-
serializedName: "privateEndpoint",
|
|
257
|
-
type: {
|
|
258
|
-
name: "Composite",
|
|
259
|
-
className: "PrivateEndpointConnectionPropertiesPrivateEndpoint"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
privateLinkServiceConnectionState: {
|
|
263
|
-
serializedName: "privateLinkServiceConnectionState",
|
|
264
|
-
type: {
|
|
265
|
-
name: "Composite",
|
|
266
|
-
className: "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState"
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
var Resource = {
|
|
273
|
-
serializedName: "Resource",
|
|
274
|
-
type: {
|
|
275
|
-
name: "Composite",
|
|
276
|
-
className: "Resource",
|
|
277
|
-
modelProperties: {
|
|
278
|
-
id: {
|
|
279
|
-
readOnly: true,
|
|
280
|
-
serializedName: "id",
|
|
281
|
-
type: {
|
|
282
|
-
name: "String"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
name: {
|
|
286
|
-
readOnly: true,
|
|
287
|
-
serializedName: "name",
|
|
288
|
-
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
type: {
|
|
293
|
-
readOnly: true,
|
|
294
|
-
serializedName: "type",
|
|
295
|
-
type: {
|
|
296
|
-
name: "String"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
var PrivateEndpointConnection = {
|
|
303
|
-
serializedName: "PrivateEndpointConnection",
|
|
304
|
-
type: {
|
|
305
|
-
name: "Composite",
|
|
306
|
-
className: "PrivateEndpointConnection",
|
|
307
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: {
|
|
308
|
-
serializedName: "properties",
|
|
309
|
-
type: {
|
|
310
|
-
name: "Composite",
|
|
311
|
-
className: "PrivateEndpointConnectionProperties"
|
|
312
|
-
}
|
|
313
|
-
} })
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
var IpRule = {
|
|
317
|
-
serializedName: "IpRule",
|
|
318
|
-
type: {
|
|
319
|
-
name: "Composite",
|
|
320
|
-
className: "IpRule",
|
|
321
|
-
modelProperties: {
|
|
322
|
-
value: {
|
|
323
|
-
serializedName: "value",
|
|
324
|
-
type: {
|
|
325
|
-
name: "String"
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
var NetworkRuleSet = {
|
|
332
|
-
serializedName: "NetworkRuleSet",
|
|
333
|
-
type: {
|
|
334
|
-
name: "Composite",
|
|
335
|
-
className: "NetworkRuleSet",
|
|
336
|
-
modelProperties: {
|
|
337
|
-
ipRules: {
|
|
338
|
-
serializedName: "ipRules",
|
|
339
|
-
type: {
|
|
340
|
-
name: "Sequence",
|
|
341
|
-
element: {
|
|
342
|
-
type: {
|
|
343
|
-
name: "Composite",
|
|
344
|
-
className: "IpRule"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
var SharedPrivateLinkResourceProperties = {
|
|
353
|
-
serializedName: "SharedPrivateLinkResourceProperties",
|
|
354
|
-
type: {
|
|
355
|
-
name: "Composite",
|
|
356
|
-
className: "SharedPrivateLinkResourceProperties",
|
|
357
|
-
modelProperties: {
|
|
358
|
-
privateLinkResourceId: {
|
|
359
|
-
serializedName: "privateLinkResourceId",
|
|
360
|
-
type: {
|
|
361
|
-
name: "String"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
groupId: {
|
|
365
|
-
serializedName: "groupId",
|
|
366
|
-
type: {
|
|
367
|
-
name: "String"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
requestMessage: {
|
|
371
|
-
serializedName: "requestMessage",
|
|
372
|
-
type: {
|
|
373
|
-
name: "String"
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
resourceRegion: {
|
|
377
|
-
serializedName: "resourceRegion",
|
|
378
|
-
type: {
|
|
379
|
-
name: "String"
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
status: {
|
|
383
|
-
serializedName: "status",
|
|
384
|
-
type: {
|
|
385
|
-
name: "Enum",
|
|
386
|
-
allowedValues: [
|
|
387
|
-
"Pending",
|
|
388
|
-
"Approved",
|
|
389
|
-
"Rejected",
|
|
390
|
-
"Disconnected"
|
|
391
|
-
]
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
provisioningState: {
|
|
395
|
-
serializedName: "provisioningState",
|
|
396
|
-
type: {
|
|
397
|
-
name: "Enum",
|
|
398
|
-
allowedValues: [
|
|
399
|
-
"Updating",
|
|
400
|
-
"Deleting",
|
|
401
|
-
"Failed",
|
|
402
|
-
"Succeeded",
|
|
403
|
-
"Incomplete"
|
|
404
|
-
]
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
var SharedPrivateLinkResource = {
|
|
411
|
-
serializedName: "SharedPrivateLinkResource",
|
|
412
|
-
type: {
|
|
413
|
-
name: "Composite",
|
|
414
|
-
className: "SharedPrivateLinkResource",
|
|
415
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: {
|
|
416
|
-
serializedName: "properties",
|
|
417
|
-
type: {
|
|
418
|
-
name: "Composite",
|
|
419
|
-
className: "SharedPrivateLinkResourceProperties"
|
|
420
|
-
}
|
|
421
|
-
} })
|
|
422
|
-
}
|
|
423
|
-
};
|
|
424
|
-
var ShareablePrivateLinkResourceProperties = {
|
|
425
|
-
serializedName: "ShareablePrivateLinkResourceProperties",
|
|
426
|
-
type: {
|
|
427
|
-
name: "Composite",
|
|
428
|
-
className: "ShareablePrivateLinkResourceProperties",
|
|
429
|
-
modelProperties: {
|
|
430
|
-
type: {
|
|
431
|
-
readOnly: true,
|
|
432
|
-
serializedName: "type",
|
|
433
|
-
type: {
|
|
434
|
-
name: "String"
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
groupId: {
|
|
438
|
-
readOnly: true,
|
|
439
|
-
serializedName: "groupId",
|
|
440
|
-
type: {
|
|
441
|
-
name: "String"
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
description: {
|
|
445
|
-
readOnly: true,
|
|
446
|
-
serializedName: "description",
|
|
447
|
-
type: {
|
|
448
|
-
name: "String"
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
};
|
|
454
|
-
var ShareablePrivateLinkResourceType = {
|
|
455
|
-
serializedName: "ShareablePrivateLinkResourceType",
|
|
456
|
-
type: {
|
|
457
|
-
name: "Composite",
|
|
458
|
-
className: "ShareablePrivateLinkResourceType",
|
|
459
|
-
modelProperties: {
|
|
460
|
-
name: {
|
|
461
|
-
readOnly: true,
|
|
462
|
-
serializedName: "name",
|
|
463
|
-
type: {
|
|
464
|
-
name: "String"
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
properties: {
|
|
468
|
-
readOnly: true,
|
|
469
|
-
serializedName: "properties",
|
|
470
|
-
type: {
|
|
471
|
-
name: "Composite",
|
|
472
|
-
className: "ShareablePrivateLinkResourceProperties"
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
};
|
|
478
|
-
var PrivateLinkResourceProperties = {
|
|
479
|
-
serializedName: "PrivateLinkResourceProperties",
|
|
480
|
-
type: {
|
|
481
|
-
name: "Composite",
|
|
482
|
-
className: "PrivateLinkResourceProperties",
|
|
483
|
-
modelProperties: {
|
|
484
|
-
groupId: {
|
|
485
|
-
readOnly: true,
|
|
486
|
-
serializedName: "groupId",
|
|
487
|
-
type: {
|
|
488
|
-
name: "String"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
requiredMembers: {
|
|
492
|
-
readOnly: true,
|
|
493
|
-
serializedName: "requiredMembers",
|
|
494
|
-
type: {
|
|
495
|
-
name: "Sequence",
|
|
496
|
-
element: {
|
|
497
|
-
type: {
|
|
498
|
-
name: "String"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
requiredZoneNames: {
|
|
504
|
-
readOnly: true,
|
|
505
|
-
serializedName: "requiredZoneNames",
|
|
506
|
-
type: {
|
|
507
|
-
name: "Sequence",
|
|
508
|
-
element: {
|
|
509
|
-
type: {
|
|
510
|
-
name: "String"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
},
|
|
515
|
-
shareablePrivateLinkResourceTypes: {
|
|
516
|
-
readOnly: true,
|
|
517
|
-
serializedName: "shareablePrivateLinkResourceTypes",
|
|
518
|
-
type: {
|
|
519
|
-
name: "Sequence",
|
|
520
|
-
element: {
|
|
521
|
-
type: {
|
|
522
|
-
name: "Composite",
|
|
523
|
-
className: "ShareablePrivateLinkResourceType"
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
};
|
|
531
|
-
var PrivateLinkResource = {
|
|
532
|
-
serializedName: "PrivateLinkResource",
|
|
533
|
-
type: {
|
|
534
|
-
name: "Composite",
|
|
535
|
-
className: "PrivateLinkResource",
|
|
536
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: {
|
|
537
|
-
readOnly: true,
|
|
538
|
-
serializedName: "properties",
|
|
539
|
-
type: {
|
|
540
|
-
name: "Composite",
|
|
541
|
-
className: "PrivateLinkResourceProperties"
|
|
542
|
-
}
|
|
543
|
-
} })
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
var Identity = {
|
|
547
|
-
serializedName: "Identity",
|
|
548
|
-
type: {
|
|
549
|
-
name: "Composite",
|
|
550
|
-
className: "Identity",
|
|
551
|
-
modelProperties: {
|
|
552
|
-
principalId: {
|
|
553
|
-
readOnly: true,
|
|
554
|
-
serializedName: "principalId",
|
|
555
|
-
type: {
|
|
556
|
-
name: "String"
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
tenantId: {
|
|
560
|
-
readOnly: true,
|
|
561
|
-
serializedName: "tenantId",
|
|
562
|
-
type: {
|
|
563
|
-
name: "String"
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
type: {
|
|
567
|
-
required: true,
|
|
568
|
-
serializedName: "type",
|
|
569
|
-
type: {
|
|
570
|
-
name: "Enum",
|
|
571
|
-
allowedValues: [
|
|
572
|
-
"None",
|
|
573
|
-
"SystemAssigned"
|
|
574
|
-
]
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
};
|
|
580
|
-
var TrackedResource = {
|
|
581
|
-
serializedName: "TrackedResource",
|
|
582
|
-
type: {
|
|
583
|
-
name: "Composite",
|
|
584
|
-
className: "TrackedResource",
|
|
585
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
|
|
586
|
-
serializedName: "tags",
|
|
587
|
-
type: {
|
|
588
|
-
name: "Dictionary",
|
|
589
|
-
value: {
|
|
590
|
-
type: {
|
|
591
|
-
name: "String"
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
}, location: {
|
|
596
|
-
required: true,
|
|
597
|
-
serializedName: "location",
|
|
598
|
-
type: {
|
|
599
|
-
name: "String"
|
|
600
|
-
}
|
|
601
|
-
} })
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
var SearchService = {
|
|
605
|
-
serializedName: "SearchService",
|
|
606
|
-
type: {
|
|
607
|
-
name: "Composite",
|
|
608
|
-
className: "SearchService",
|
|
609
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { replicaCount: {
|
|
610
|
-
serializedName: "properties.replicaCount",
|
|
611
|
-
defaultValue: 1,
|
|
612
|
-
constraints: {
|
|
613
|
-
InclusiveMaximum: 12,
|
|
614
|
-
InclusiveMinimum: 1
|
|
615
|
-
},
|
|
616
|
-
type: {
|
|
617
|
-
name: "Number"
|
|
618
|
-
}
|
|
619
|
-
}, partitionCount: {
|
|
620
|
-
serializedName: "properties.partitionCount",
|
|
621
|
-
defaultValue: 1,
|
|
622
|
-
constraints: {
|
|
623
|
-
InclusiveMaximum: 12,
|
|
624
|
-
InclusiveMinimum: 1
|
|
625
|
-
},
|
|
626
|
-
type: {
|
|
627
|
-
name: "Number"
|
|
628
|
-
}
|
|
629
|
-
}, hostingMode: {
|
|
630
|
-
serializedName: "properties.hostingMode",
|
|
631
|
-
defaultValue: 'default',
|
|
632
|
-
type: {
|
|
633
|
-
name: "Enum",
|
|
634
|
-
allowedValues: [
|
|
635
|
-
"default",
|
|
636
|
-
"highDensity"
|
|
637
|
-
]
|
|
638
|
-
}
|
|
639
|
-
}, publicNetworkAccess: {
|
|
640
|
-
serializedName: "properties.publicNetworkAccess",
|
|
641
|
-
defaultValue: 'enabled',
|
|
642
|
-
type: {
|
|
643
|
-
name: "Enum",
|
|
644
|
-
allowedValues: [
|
|
645
|
-
"enabled",
|
|
646
|
-
"disabled"
|
|
647
|
-
]
|
|
648
|
-
}
|
|
649
|
-
}, status: {
|
|
650
|
-
readOnly: true,
|
|
651
|
-
serializedName: "properties.status",
|
|
652
|
-
type: {
|
|
653
|
-
name: "Enum",
|
|
654
|
-
allowedValues: [
|
|
655
|
-
"running",
|
|
656
|
-
"provisioning",
|
|
657
|
-
"deleting",
|
|
658
|
-
"degraded",
|
|
659
|
-
"disabled",
|
|
660
|
-
"error"
|
|
661
|
-
]
|
|
662
|
-
}
|
|
663
|
-
}, statusDetails: {
|
|
664
|
-
readOnly: true,
|
|
665
|
-
serializedName: "properties.statusDetails",
|
|
666
|
-
type: {
|
|
667
|
-
name: "String"
|
|
668
|
-
}
|
|
669
|
-
}, provisioningState: {
|
|
670
|
-
readOnly: true,
|
|
671
|
-
serializedName: "properties.provisioningState",
|
|
672
|
-
type: {
|
|
673
|
-
name: "Enum",
|
|
674
|
-
allowedValues: [
|
|
675
|
-
"succeeded",
|
|
676
|
-
"provisioning",
|
|
677
|
-
"failed"
|
|
678
|
-
]
|
|
679
|
-
}
|
|
680
|
-
}, networkRuleSet: {
|
|
681
|
-
serializedName: "properties.networkRuleSet",
|
|
682
|
-
type: {
|
|
683
|
-
name: "Composite",
|
|
684
|
-
className: "NetworkRuleSet"
|
|
685
|
-
}
|
|
686
|
-
}, privateEndpointConnections: {
|
|
687
|
-
readOnly: true,
|
|
688
|
-
serializedName: "properties.privateEndpointConnections",
|
|
689
|
-
type: {
|
|
690
|
-
name: "Sequence",
|
|
691
|
-
element: {
|
|
692
|
-
type: {
|
|
693
|
-
name: "Composite",
|
|
694
|
-
className: "PrivateEndpointConnection"
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}, sharedPrivateLinkResources: {
|
|
699
|
-
readOnly: true,
|
|
700
|
-
serializedName: "properties.sharedPrivateLinkResources",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Sequence",
|
|
703
|
-
element: {
|
|
704
|
-
type: {
|
|
705
|
-
name: "Composite",
|
|
706
|
-
className: "SharedPrivateLinkResource"
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}, sku: {
|
|
711
|
-
serializedName: "sku",
|
|
712
|
-
type: {
|
|
713
|
-
name: "Composite",
|
|
714
|
-
className: "Sku"
|
|
715
|
-
}
|
|
716
|
-
}, identity: {
|
|
717
|
-
serializedName: "identity",
|
|
718
|
-
type: {
|
|
719
|
-
name: "Composite",
|
|
720
|
-
className: "Identity"
|
|
721
|
-
}
|
|
722
|
-
} })
|
|
723
|
-
}
|
|
724
|
-
};
|
|
725
|
-
var SearchServiceUpdate = {
|
|
726
|
-
serializedName: "SearchServiceUpdate",
|
|
727
|
-
type: {
|
|
728
|
-
name: "Composite",
|
|
729
|
-
className: "SearchServiceUpdate",
|
|
730
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { replicaCount: {
|
|
731
|
-
serializedName: "properties.replicaCount",
|
|
732
|
-
defaultValue: 1,
|
|
733
|
-
constraints: {
|
|
734
|
-
InclusiveMaximum: 12,
|
|
735
|
-
InclusiveMinimum: 1
|
|
736
|
-
},
|
|
737
|
-
type: {
|
|
738
|
-
name: "Number"
|
|
739
|
-
}
|
|
740
|
-
}, partitionCount: {
|
|
741
|
-
serializedName: "properties.partitionCount",
|
|
742
|
-
defaultValue: 1,
|
|
743
|
-
constraints: {
|
|
744
|
-
InclusiveMaximum: 12,
|
|
745
|
-
InclusiveMinimum: 1
|
|
746
|
-
},
|
|
747
|
-
type: {
|
|
748
|
-
name: "Number"
|
|
749
|
-
}
|
|
750
|
-
}, hostingMode: {
|
|
751
|
-
serializedName: "properties.hostingMode",
|
|
752
|
-
defaultValue: 'default',
|
|
753
|
-
type: {
|
|
754
|
-
name: "Enum",
|
|
755
|
-
allowedValues: [
|
|
756
|
-
"default",
|
|
757
|
-
"highDensity"
|
|
758
|
-
]
|
|
759
|
-
}
|
|
760
|
-
}, publicNetworkAccess: {
|
|
761
|
-
serializedName: "properties.publicNetworkAccess",
|
|
762
|
-
defaultValue: 'enabled',
|
|
763
|
-
type: {
|
|
764
|
-
name: "Enum",
|
|
765
|
-
allowedValues: [
|
|
766
|
-
"enabled",
|
|
767
|
-
"disabled"
|
|
768
|
-
]
|
|
769
|
-
}
|
|
770
|
-
}, status: {
|
|
771
|
-
readOnly: true,
|
|
772
|
-
serializedName: "properties.status",
|
|
773
|
-
type: {
|
|
774
|
-
name: "Enum",
|
|
775
|
-
allowedValues: [
|
|
776
|
-
"running",
|
|
777
|
-
"provisioning",
|
|
778
|
-
"deleting",
|
|
779
|
-
"degraded",
|
|
780
|
-
"disabled",
|
|
781
|
-
"error"
|
|
782
|
-
]
|
|
783
|
-
}
|
|
784
|
-
}, statusDetails: {
|
|
785
|
-
readOnly: true,
|
|
786
|
-
serializedName: "properties.statusDetails",
|
|
787
|
-
type: {
|
|
788
|
-
name: "String"
|
|
789
|
-
}
|
|
790
|
-
}, provisioningState: {
|
|
791
|
-
readOnly: true,
|
|
792
|
-
serializedName: "properties.provisioningState",
|
|
793
|
-
type: {
|
|
794
|
-
name: "Enum",
|
|
795
|
-
allowedValues: [
|
|
796
|
-
"succeeded",
|
|
797
|
-
"provisioning",
|
|
798
|
-
"failed"
|
|
799
|
-
]
|
|
800
|
-
}
|
|
801
|
-
}, networkRuleSet: {
|
|
802
|
-
serializedName: "properties.networkRuleSet",
|
|
803
|
-
type: {
|
|
804
|
-
name: "Composite",
|
|
805
|
-
className: "NetworkRuleSet"
|
|
806
|
-
}
|
|
807
|
-
}, privateEndpointConnections: {
|
|
808
|
-
readOnly: true,
|
|
809
|
-
serializedName: "properties.privateEndpointConnections",
|
|
810
|
-
type: {
|
|
811
|
-
name: "Sequence",
|
|
812
|
-
element: {
|
|
813
|
-
type: {
|
|
814
|
-
name: "Composite",
|
|
815
|
-
className: "PrivateEndpointConnection"
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
}, sharedPrivateLinkResources: {
|
|
820
|
-
readOnly: true,
|
|
821
|
-
serializedName: "properties.sharedPrivateLinkResources",
|
|
822
|
-
type: {
|
|
823
|
-
name: "Sequence",
|
|
824
|
-
element: {
|
|
825
|
-
type: {
|
|
826
|
-
name: "Composite",
|
|
827
|
-
className: "SharedPrivateLinkResource"
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
}, sku: {
|
|
832
|
-
serializedName: "sku",
|
|
833
|
-
type: {
|
|
834
|
-
name: "Composite",
|
|
835
|
-
className: "Sku"
|
|
836
|
-
}
|
|
837
|
-
}, location: {
|
|
838
|
-
serializedName: "location",
|
|
839
|
-
type: {
|
|
840
|
-
name: "String"
|
|
841
|
-
}
|
|
842
|
-
}, tags: {
|
|
843
|
-
serializedName: "tags",
|
|
844
|
-
type: {
|
|
845
|
-
name: "Dictionary",
|
|
846
|
-
value: {
|
|
847
|
-
type: {
|
|
848
|
-
name: "String"
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}, identity: {
|
|
853
|
-
serializedName: "identity",
|
|
854
|
-
type: {
|
|
855
|
-
name: "Composite",
|
|
856
|
-
className: "Identity"
|
|
857
|
-
}
|
|
858
|
-
} })
|
|
859
|
-
}
|
|
860
|
-
};
|
|
861
|
-
var AsyncOperationResult = {
|
|
862
|
-
serializedName: "AsyncOperationResult",
|
|
863
|
-
type: {
|
|
864
|
-
name: "Composite",
|
|
865
|
-
className: "AsyncOperationResult",
|
|
866
|
-
modelProperties: {
|
|
867
|
-
status: {
|
|
868
|
-
serializedName: "status",
|
|
869
|
-
type: {
|
|
870
|
-
name: "String"
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
};
|
|
876
|
-
var OperationDisplay = {
|
|
877
|
-
serializedName: "Operation_display",
|
|
878
|
-
type: {
|
|
879
|
-
name: "Composite",
|
|
880
|
-
className: "OperationDisplay",
|
|
881
|
-
modelProperties: {
|
|
882
|
-
provider: {
|
|
883
|
-
readOnly: true,
|
|
884
|
-
serializedName: "provider",
|
|
885
|
-
type: {
|
|
886
|
-
name: "String"
|
|
887
|
-
}
|
|
888
|
-
},
|
|
889
|
-
operation: {
|
|
890
|
-
readOnly: true,
|
|
891
|
-
serializedName: "operation",
|
|
892
|
-
type: {
|
|
893
|
-
name: "String"
|
|
894
|
-
}
|
|
895
|
-
},
|
|
896
|
-
resource: {
|
|
897
|
-
readOnly: true,
|
|
898
|
-
serializedName: "resource",
|
|
899
|
-
type: {
|
|
900
|
-
name: "String"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
description: {
|
|
904
|
-
readOnly: true,
|
|
905
|
-
serializedName: "description",
|
|
906
|
-
type: {
|
|
907
|
-
name: "String"
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
};
|
|
913
|
-
var Operation = {
|
|
914
|
-
serializedName: "Operation",
|
|
915
|
-
type: {
|
|
916
|
-
name: "Composite",
|
|
917
|
-
className: "Operation",
|
|
918
|
-
modelProperties: {
|
|
919
|
-
name: {
|
|
920
|
-
readOnly: true,
|
|
921
|
-
serializedName: "name",
|
|
922
|
-
type: {
|
|
923
|
-
name: "String"
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
display: {
|
|
927
|
-
readOnly: true,
|
|
928
|
-
serializedName: "display",
|
|
929
|
-
type: {
|
|
930
|
-
name: "Composite",
|
|
931
|
-
className: "OperationDisplay"
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
};
|
|
937
|
-
var ProxyResource = {
|
|
938
|
-
serializedName: "ProxyResource",
|
|
939
|
-
type: {
|
|
940
|
-
name: "Composite",
|
|
941
|
-
className: "ProxyResource",
|
|
942
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
|
943
|
-
}
|
|
944
|
-
};
|
|
945
|
-
var AzureEntityResource = {
|
|
946
|
-
serializedName: "AzureEntityResource",
|
|
947
|
-
type: {
|
|
948
|
-
name: "Composite",
|
|
949
|
-
className: "AzureEntityResource",
|
|
950
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
|
|
951
|
-
readOnly: true,
|
|
952
|
-
serializedName: "etag",
|
|
953
|
-
type: {
|
|
954
|
-
name: "String"
|
|
955
|
-
}
|
|
956
|
-
} })
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
var SearchManagementRequestOptions = {
|
|
960
|
-
type: {
|
|
961
|
-
name: "Composite",
|
|
962
|
-
className: "SearchManagementRequestOptions",
|
|
963
|
-
modelProperties: {
|
|
964
|
-
clientRequestId: {
|
|
965
|
-
type: {
|
|
966
|
-
name: "Uuid"
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
var OperationListResult = {
|
|
973
|
-
serializedName: "OperationListResult",
|
|
974
|
-
type: {
|
|
975
|
-
name: "Composite",
|
|
976
|
-
className: "OperationListResult",
|
|
977
|
-
modelProperties: {
|
|
978
|
-
value: {
|
|
979
|
-
readOnly: true,
|
|
980
|
-
serializedName: "",
|
|
981
|
-
type: {
|
|
982
|
-
name: "Sequence",
|
|
983
|
-
element: {
|
|
984
|
-
type: {
|
|
985
|
-
name: "Composite",
|
|
986
|
-
className: "Operation"
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
};
|
|
994
|
-
var ListQueryKeysResult = {
|
|
995
|
-
serializedName: "ListQueryKeysResult",
|
|
996
|
-
type: {
|
|
997
|
-
name: "Composite",
|
|
998
|
-
className: "ListQueryKeysResult",
|
|
999
|
-
modelProperties: {
|
|
1000
|
-
value: {
|
|
1001
|
-
readOnly: true,
|
|
1002
|
-
serializedName: "",
|
|
1003
|
-
type: {
|
|
1004
|
-
name: "Sequence",
|
|
1005
|
-
element: {
|
|
1006
|
-
type: {
|
|
1007
|
-
name: "Composite",
|
|
1008
|
-
className: "QueryKey"
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
nextLink: {
|
|
1014
|
-
readOnly: true,
|
|
1015
|
-
serializedName: "nextLink",
|
|
1016
|
-
type: {
|
|
1017
|
-
name: "String"
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
};
|
|
1023
|
-
var SearchServiceListResult = {
|
|
1024
|
-
serializedName: "SearchServiceListResult",
|
|
1025
|
-
type: {
|
|
1026
|
-
name: "Composite",
|
|
1027
|
-
className: "SearchServiceListResult",
|
|
1028
|
-
modelProperties: {
|
|
1029
|
-
value: {
|
|
1030
|
-
readOnly: true,
|
|
1031
|
-
serializedName: "",
|
|
1032
|
-
type: {
|
|
1033
|
-
name: "Sequence",
|
|
1034
|
-
element: {
|
|
1035
|
-
type: {
|
|
1036
|
-
name: "Composite",
|
|
1037
|
-
className: "SearchService"
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
nextLink: {
|
|
1043
|
-
readOnly: true,
|
|
1044
|
-
serializedName: "nextLink",
|
|
1045
|
-
type: {
|
|
1046
|
-
name: "String"
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
};
|
|
1052
|
-
var PrivateLinkResourcesResult = {
|
|
1053
|
-
serializedName: "PrivateLinkResourcesResult",
|
|
1054
|
-
type: {
|
|
1055
|
-
name: "Composite",
|
|
1056
|
-
className: "PrivateLinkResourcesResult",
|
|
1057
|
-
modelProperties: {
|
|
1058
|
-
value: {
|
|
1059
|
-
readOnly: true,
|
|
1060
|
-
serializedName: "",
|
|
1061
|
-
type: {
|
|
1062
|
-
name: "Sequence",
|
|
1063
|
-
element: {
|
|
1064
|
-
type: {
|
|
1065
|
-
name: "Composite",
|
|
1066
|
-
className: "PrivateLinkResource"
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
};
|
|
1074
|
-
var PrivateEndpointConnectionListResult = {
|
|
1075
|
-
serializedName: "PrivateEndpointConnectionListResult",
|
|
1076
|
-
type: {
|
|
1077
|
-
name: "Composite",
|
|
1078
|
-
className: "PrivateEndpointConnectionListResult",
|
|
1079
|
-
modelProperties: {
|
|
1080
|
-
value: {
|
|
1081
|
-
readOnly: true,
|
|
1082
|
-
serializedName: "",
|
|
1083
|
-
type: {
|
|
1084
|
-
name: "Sequence",
|
|
1085
|
-
element: {
|
|
1086
|
-
type: {
|
|
1087
|
-
name: "Composite",
|
|
1088
|
-
className: "PrivateEndpointConnection"
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
nextLink: {
|
|
1094
|
-
readOnly: true,
|
|
1095
|
-
serializedName: "nextLink",
|
|
1096
|
-
type: {
|
|
1097
|
-
name: "String"
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
};
|
|
1103
|
-
var SharedPrivateLinkResourceListResult = {
|
|
1104
|
-
serializedName: "SharedPrivateLinkResourceListResult",
|
|
1105
|
-
type: {
|
|
1106
|
-
name: "Composite",
|
|
1107
|
-
className: "SharedPrivateLinkResourceListResult",
|
|
1108
|
-
modelProperties: {
|
|
1109
|
-
value: {
|
|
1110
|
-
readOnly: true,
|
|
1111
|
-
serializedName: "",
|
|
1112
|
-
type: {
|
|
1113
|
-
name: "Sequence",
|
|
1114
|
-
element: {
|
|
1115
|
-
type: {
|
|
1116
|
-
name: "Composite",
|
|
1117
|
-
className: "SharedPrivateLinkResource"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
},
|
|
1122
|
-
nextLink: {
|
|
1123
|
-
serializedName: "nextLink",
|
|
1124
|
-
type: {
|
|
1125
|
-
name: "String"
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
};
|
|
1131
|
-
|
|
1132
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1133
|
-
__proto__: null,
|
|
1134
|
-
CloudError: CloudError,
|
|
1135
|
-
BaseResource: BaseResource,
|
|
1136
|
-
CheckNameAvailabilityInput: CheckNameAvailabilityInput,
|
|
1137
|
-
CheckNameAvailabilityOutput: CheckNameAvailabilityOutput,
|
|
1138
|
-
AdminKeyResult: AdminKeyResult,
|
|
1139
|
-
QueryKey: QueryKey,
|
|
1140
|
-
Sku: Sku,
|
|
1141
|
-
PrivateEndpointConnectionPropertiesPrivateEndpoint: PrivateEndpointConnectionPropertiesPrivateEndpoint,
|
|
1142
|
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
1143
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
1144
|
-
Resource: Resource,
|
|
1145
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1146
|
-
IpRule: IpRule,
|
|
1147
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
1148
|
-
SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
|
|
1149
|
-
SharedPrivateLinkResource: SharedPrivateLinkResource,
|
|
1150
|
-
ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
|
|
1151
|
-
ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
|
|
1152
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
1153
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
1154
|
-
Identity: Identity,
|
|
1155
|
-
TrackedResource: TrackedResource,
|
|
1156
|
-
SearchService: SearchService,
|
|
1157
|
-
SearchServiceUpdate: SearchServiceUpdate,
|
|
1158
|
-
AsyncOperationResult: AsyncOperationResult,
|
|
1159
|
-
OperationDisplay: OperationDisplay,
|
|
1160
|
-
Operation: Operation,
|
|
1161
|
-
ProxyResource: ProxyResource,
|
|
1162
|
-
AzureEntityResource: AzureEntityResource,
|
|
1163
|
-
SearchManagementRequestOptions: SearchManagementRequestOptions,
|
|
1164
|
-
OperationListResult: OperationListResult,
|
|
1165
|
-
ListQueryKeysResult: ListQueryKeysResult,
|
|
1166
|
-
SearchServiceListResult: SearchServiceListResult,
|
|
1167
|
-
PrivateLinkResourcesResult: PrivateLinkResourcesResult,
|
|
1168
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1169
|
-
SharedPrivateLinkResourceListResult: SharedPrivateLinkResourceListResult
|
|
1170
|
-
});
|
|
1171
|
-
|
|
1172
|
-
/*
|
|
1173
|
-
* Copyright (c) Microsoft Corporation.
|
|
1174
|
-
* Licensed under the MIT License.
|
|
1175
|
-
*
|
|
1176
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1177
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1178
|
-
*/
|
|
1179
|
-
|
|
1180
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1181
|
-
__proto__: null,
|
|
1182
|
-
CloudError: CloudError,
|
|
1183
|
-
Operation: Operation,
|
|
1184
|
-
OperationDisplay: OperationDisplay,
|
|
1185
|
-
OperationListResult: OperationListResult
|
|
1186
|
-
});
|
|
1187
|
-
|
|
1188
|
-
/*
|
|
1189
|
-
* Copyright (c) Microsoft Corporation.
|
|
1190
|
-
* Licensed under the MIT License.
|
|
1191
|
-
*
|
|
1192
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1193
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1194
|
-
* regenerated.
|
|
1195
|
-
*/
|
|
1196
|
-
var acceptLanguage = {
|
|
1197
|
-
parameterPath: "acceptLanguage",
|
|
1198
|
-
mapper: {
|
|
1199
|
-
serializedName: "accept-language",
|
|
1200
|
-
defaultValue: 'en-US',
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
};
|
|
1206
|
-
var apiVersion = {
|
|
1207
|
-
parameterPath: "apiVersion",
|
|
1208
|
-
mapper: {
|
|
1209
|
-
required: true,
|
|
1210
|
-
serializedName: "api-version",
|
|
1211
|
-
type: {
|
|
1212
|
-
name: "String"
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
};
|
|
1216
|
-
var clientRequestId = {
|
|
1217
|
-
parameterPath: [
|
|
1218
|
-
"options",
|
|
1219
|
-
"searchManagementRequestOptions",
|
|
1220
|
-
"clientRequestId"
|
|
1221
|
-
],
|
|
1222
|
-
mapper: {
|
|
1223
|
-
serializedName: "x-ms-client-request-id",
|
|
1224
|
-
type: {
|
|
1225
|
-
name: "Uuid"
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
};
|
|
1229
|
-
var key = {
|
|
1230
|
-
parameterPath: "key",
|
|
1231
|
-
mapper: {
|
|
1232
|
-
required: true,
|
|
1233
|
-
serializedName: "key",
|
|
1234
|
-
type: {
|
|
1235
|
-
name: "String"
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
1239
|
-
var keyKind = {
|
|
1240
|
-
parameterPath: "keyKind",
|
|
1241
|
-
mapper: {
|
|
1242
|
-
required: true,
|
|
1243
|
-
serializedName: "keyKind",
|
|
1244
|
-
type: {
|
|
1245
|
-
name: "Enum",
|
|
1246
|
-
allowedValues: [
|
|
1247
|
-
"primary",
|
|
1248
|
-
"secondary"
|
|
1249
|
-
]
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
};
|
|
1253
|
-
var name = {
|
|
1254
|
-
parameterPath: "name",
|
|
1255
|
-
mapper: {
|
|
1256
|
-
required: true,
|
|
1257
|
-
serializedName: "name",
|
|
1258
|
-
type: {
|
|
1259
|
-
name: "String"
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
};
|
|
1263
|
-
var nextPageLink = {
|
|
1264
|
-
parameterPath: "nextPageLink",
|
|
1265
|
-
mapper: {
|
|
1266
|
-
required: true,
|
|
1267
|
-
serializedName: "nextLink",
|
|
1268
|
-
type: {
|
|
1269
|
-
name: "String"
|
|
1270
|
-
}
|
|
1271
|
-
},
|
|
1272
|
-
skipEncoding: true
|
|
1273
|
-
};
|
|
1274
|
-
var privateEndpointConnectionName = {
|
|
1275
|
-
parameterPath: "privateEndpointConnectionName",
|
|
1276
|
-
mapper: {
|
|
1277
|
-
required: true,
|
|
1278
|
-
serializedName: "privateEndpointConnectionName",
|
|
1279
|
-
type: {
|
|
1280
|
-
name: "String"
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
};
|
|
1284
|
-
var resourceGroupName = {
|
|
1285
|
-
parameterPath: "resourceGroupName",
|
|
1286
|
-
mapper: {
|
|
1287
|
-
required: true,
|
|
1288
|
-
serializedName: "resourceGroupName",
|
|
1289
|
-
type: {
|
|
1290
|
-
name: "String"
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
};
|
|
1294
|
-
var searchServiceName = {
|
|
1295
|
-
parameterPath: "searchServiceName",
|
|
1296
|
-
mapper: {
|
|
1297
|
-
required: true,
|
|
1298
|
-
serializedName: "searchServiceName",
|
|
1299
|
-
type: {
|
|
1300
|
-
name: "String"
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
};
|
|
1304
|
-
var sharedPrivateLinkResourceName = {
|
|
1305
|
-
parameterPath: "sharedPrivateLinkResourceName",
|
|
1306
|
-
mapper: {
|
|
1307
|
-
required: true,
|
|
1308
|
-
serializedName: "sharedPrivateLinkResourceName",
|
|
1309
|
-
type: {
|
|
1310
|
-
name: "String"
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
};
|
|
1314
|
-
var subscriptionId = {
|
|
1315
|
-
parameterPath: "subscriptionId",
|
|
1316
|
-
mapper: {
|
|
1317
|
-
required: true,
|
|
1318
|
-
serializedName: "subscriptionId",
|
|
1319
|
-
type: {
|
|
1320
|
-
name: "String"
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
};
|
|
1324
|
-
|
|
1325
|
-
/*
|
|
1326
|
-
* Copyright (c) Microsoft Corporation.
|
|
1327
|
-
* Licensed under the MIT License.
|
|
1328
|
-
*
|
|
1329
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1330
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1331
|
-
* regenerated.
|
|
1332
|
-
*/
|
|
1333
|
-
/** Class representing a Operations. */
|
|
1334
|
-
var Operations = /** @class */ (function () {
|
|
1335
|
-
/**
|
|
1336
|
-
* Create a Operations.
|
|
1337
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
1338
|
-
*/
|
|
1339
|
-
function Operations(client) {
|
|
1340
|
-
this.client = client;
|
|
1341
|
-
}
|
|
1342
|
-
Operations.prototype.list = function (options, callback) {
|
|
1343
|
-
return this.client.sendOperationRequest({
|
|
1344
|
-
options: options
|
|
1345
|
-
}, listOperationSpec, callback);
|
|
1346
|
-
};
|
|
1347
|
-
return Operations;
|
|
1348
|
-
}());
|
|
1349
|
-
// Operation Specifications
|
|
1350
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1351
|
-
var listOperationSpec = {
|
|
1352
|
-
httpMethod: "GET",
|
|
1353
|
-
path: "providers/Microsoft.Search/operations",
|
|
1354
|
-
queryParameters: [
|
|
1355
|
-
apiVersion
|
|
1356
|
-
],
|
|
1357
|
-
headerParameters: [
|
|
1358
|
-
acceptLanguage
|
|
1359
|
-
],
|
|
1360
|
-
responses: {
|
|
1361
|
-
200: {
|
|
1362
|
-
bodyMapper: OperationListResult
|
|
1363
|
-
},
|
|
1364
|
-
default: {
|
|
1365
|
-
bodyMapper: CloudError
|
|
1366
|
-
}
|
|
1367
|
-
},
|
|
1368
|
-
serializer: serializer
|
|
1369
|
-
};
|
|
1370
|
-
|
|
1371
|
-
/*
|
|
1372
|
-
* Copyright (c) Microsoft Corporation.
|
|
1373
|
-
* Licensed under the MIT License.
|
|
1374
|
-
*
|
|
1375
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1376
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1377
|
-
*/
|
|
1378
|
-
|
|
1379
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1380
|
-
__proto__: null,
|
|
1381
|
-
AdminKeyResult: AdminKeyResult,
|
|
1382
|
-
CloudError: CloudError
|
|
1383
|
-
});
|
|
1384
|
-
|
|
1385
|
-
/*
|
|
1386
|
-
* Copyright (c) Microsoft Corporation.
|
|
1387
|
-
* Licensed under the MIT License.
|
|
1388
|
-
*
|
|
1389
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1390
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1391
|
-
* regenerated.
|
|
1392
|
-
*/
|
|
1393
|
-
/** Class representing a AdminKeys. */
|
|
1394
|
-
var AdminKeys = /** @class */ (function () {
|
|
1395
|
-
/**
|
|
1396
|
-
* Create a AdminKeys.
|
|
1397
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
1398
|
-
*/
|
|
1399
|
-
function AdminKeys(client) {
|
|
1400
|
-
this.client = client;
|
|
1401
|
-
}
|
|
1402
|
-
AdminKeys.prototype.get = function (resourceGroupName, searchServiceName, options, callback) {
|
|
1403
|
-
return this.client.sendOperationRequest({
|
|
1404
|
-
resourceGroupName: resourceGroupName,
|
|
1405
|
-
searchServiceName: searchServiceName,
|
|
1406
|
-
options: options
|
|
1407
|
-
}, getOperationSpec, callback);
|
|
1408
|
-
};
|
|
1409
|
-
AdminKeys.prototype.regenerate = function (resourceGroupName, searchServiceName, keyKind, options, callback) {
|
|
1410
|
-
return this.client.sendOperationRequest({
|
|
1411
|
-
resourceGroupName: resourceGroupName,
|
|
1412
|
-
searchServiceName: searchServiceName,
|
|
1413
|
-
keyKind: keyKind,
|
|
1414
|
-
options: options
|
|
1415
|
-
}, regenerateOperationSpec, callback);
|
|
1416
|
-
};
|
|
1417
|
-
return AdminKeys;
|
|
1418
|
-
}());
|
|
1419
|
-
// Operation Specifications
|
|
1420
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1421
|
-
var getOperationSpec = {
|
|
1422
|
-
httpMethod: "POST",
|
|
1423
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys",
|
|
1424
|
-
urlParameters: [
|
|
1425
|
-
resourceGroupName,
|
|
1426
|
-
searchServiceName,
|
|
1427
|
-
subscriptionId
|
|
1428
|
-
],
|
|
1429
|
-
queryParameters: [
|
|
1430
|
-
apiVersion
|
|
1431
|
-
],
|
|
1432
|
-
headerParameters: [
|
|
1433
|
-
acceptLanguage,
|
|
1434
|
-
clientRequestId
|
|
1435
|
-
],
|
|
1436
|
-
responses: {
|
|
1437
|
-
200: {
|
|
1438
|
-
bodyMapper: AdminKeyResult
|
|
1439
|
-
},
|
|
1440
|
-
default: {
|
|
1441
|
-
bodyMapper: CloudError
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
serializer: serializer$1
|
|
1445
|
-
};
|
|
1446
|
-
var regenerateOperationSpec = {
|
|
1447
|
-
httpMethod: "POST",
|
|
1448
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}",
|
|
1449
|
-
urlParameters: [
|
|
1450
|
-
resourceGroupName,
|
|
1451
|
-
searchServiceName,
|
|
1452
|
-
keyKind,
|
|
1453
|
-
subscriptionId
|
|
1454
|
-
],
|
|
1455
|
-
queryParameters: [
|
|
1456
|
-
apiVersion
|
|
1457
|
-
],
|
|
1458
|
-
headerParameters: [
|
|
1459
|
-
acceptLanguage,
|
|
1460
|
-
clientRequestId
|
|
1461
|
-
],
|
|
1462
|
-
responses: {
|
|
1463
|
-
200: {
|
|
1464
|
-
bodyMapper: AdminKeyResult
|
|
1465
|
-
},
|
|
1466
|
-
default: {
|
|
1467
|
-
bodyMapper: CloudError
|
|
1468
|
-
}
|
|
1469
|
-
},
|
|
1470
|
-
serializer: serializer$1
|
|
1471
|
-
};
|
|
1472
|
-
|
|
1473
|
-
/*
|
|
1474
|
-
* Copyright (c) Microsoft Corporation.
|
|
1475
|
-
* Licensed under the MIT License.
|
|
1476
|
-
*
|
|
1477
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1478
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1479
|
-
*/
|
|
1480
|
-
|
|
1481
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1482
|
-
__proto__: null,
|
|
1483
|
-
CloudError: CloudError,
|
|
1484
|
-
ListQueryKeysResult: ListQueryKeysResult,
|
|
1485
|
-
QueryKey: QueryKey
|
|
1486
|
-
});
|
|
1487
|
-
|
|
1488
|
-
/*
|
|
1489
|
-
* Copyright (c) Microsoft Corporation.
|
|
1490
|
-
* Licensed under the MIT License.
|
|
1491
|
-
*
|
|
1492
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1493
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1494
|
-
* regenerated.
|
|
1495
|
-
*/
|
|
1496
|
-
/** Class representing a QueryKeys. */
|
|
1497
|
-
var QueryKeys = /** @class */ (function () {
|
|
1498
|
-
/**
|
|
1499
|
-
* Create a QueryKeys.
|
|
1500
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
1501
|
-
*/
|
|
1502
|
-
function QueryKeys(client) {
|
|
1503
|
-
this.client = client;
|
|
1504
|
-
}
|
|
1505
|
-
QueryKeys.prototype.create = function (resourceGroupName, searchServiceName, name, options, callback) {
|
|
1506
|
-
return this.client.sendOperationRequest({
|
|
1507
|
-
resourceGroupName: resourceGroupName,
|
|
1508
|
-
searchServiceName: searchServiceName,
|
|
1509
|
-
name: name,
|
|
1510
|
-
options: options
|
|
1511
|
-
}, createOperationSpec, callback);
|
|
1512
|
-
};
|
|
1513
|
-
QueryKeys.prototype.listBySearchService = function (resourceGroupName, searchServiceName, options, callback) {
|
|
1514
|
-
return this.client.sendOperationRequest({
|
|
1515
|
-
resourceGroupName: resourceGroupName,
|
|
1516
|
-
searchServiceName: searchServiceName,
|
|
1517
|
-
options: options
|
|
1518
|
-
}, listBySearchServiceOperationSpec, callback);
|
|
1519
|
-
};
|
|
1520
|
-
QueryKeys.prototype.deleteMethod = function (resourceGroupName, searchServiceName, key, options, callback) {
|
|
1521
|
-
return this.client.sendOperationRequest({
|
|
1522
|
-
resourceGroupName: resourceGroupName,
|
|
1523
|
-
searchServiceName: searchServiceName,
|
|
1524
|
-
key: key,
|
|
1525
|
-
options: options
|
|
1526
|
-
}, deleteMethodOperationSpec, callback);
|
|
1527
|
-
};
|
|
1528
|
-
QueryKeys.prototype.listBySearchServiceNext = function (nextPageLink, options, callback) {
|
|
1529
|
-
return this.client.sendOperationRequest({
|
|
1530
|
-
nextPageLink: nextPageLink,
|
|
1531
|
-
options: options
|
|
1532
|
-
}, listBySearchServiceNextOperationSpec, callback);
|
|
1533
|
-
};
|
|
1534
|
-
return QueryKeys;
|
|
1535
|
-
}());
|
|
1536
|
-
// Operation Specifications
|
|
1537
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1538
|
-
var createOperationSpec = {
|
|
1539
|
-
httpMethod: "POST",
|
|
1540
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}",
|
|
1541
|
-
urlParameters: [
|
|
1542
|
-
resourceGroupName,
|
|
1543
|
-
searchServiceName,
|
|
1544
|
-
name,
|
|
1545
|
-
subscriptionId
|
|
1546
|
-
],
|
|
1547
|
-
queryParameters: [
|
|
1548
|
-
apiVersion
|
|
1549
|
-
],
|
|
1550
|
-
headerParameters: [
|
|
1551
|
-
acceptLanguage,
|
|
1552
|
-
clientRequestId
|
|
1553
|
-
],
|
|
1554
|
-
responses: {
|
|
1555
|
-
200: {
|
|
1556
|
-
bodyMapper: QueryKey
|
|
1557
|
-
},
|
|
1558
|
-
default: {
|
|
1559
|
-
bodyMapper: CloudError
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
serializer: serializer$2
|
|
1563
|
-
};
|
|
1564
|
-
var listBySearchServiceOperationSpec = {
|
|
1565
|
-
httpMethod: "POST",
|
|
1566
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys",
|
|
1567
|
-
urlParameters: [
|
|
1568
|
-
resourceGroupName,
|
|
1569
|
-
searchServiceName,
|
|
1570
|
-
subscriptionId
|
|
1571
|
-
],
|
|
1572
|
-
queryParameters: [
|
|
1573
|
-
apiVersion
|
|
1574
|
-
],
|
|
1575
|
-
headerParameters: [
|
|
1576
|
-
acceptLanguage,
|
|
1577
|
-
clientRequestId
|
|
1578
|
-
],
|
|
1579
|
-
responses: {
|
|
1580
|
-
200: {
|
|
1581
|
-
bodyMapper: ListQueryKeysResult
|
|
1582
|
-
},
|
|
1583
|
-
default: {
|
|
1584
|
-
bodyMapper: CloudError
|
|
1585
|
-
}
|
|
1586
|
-
},
|
|
1587
|
-
serializer: serializer$2
|
|
1588
|
-
};
|
|
1589
|
-
var deleteMethodOperationSpec = {
|
|
1590
|
-
httpMethod: "DELETE",
|
|
1591
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}",
|
|
1592
|
-
urlParameters: [
|
|
1593
|
-
resourceGroupName,
|
|
1594
|
-
searchServiceName,
|
|
1595
|
-
key,
|
|
1596
|
-
subscriptionId
|
|
1597
|
-
],
|
|
1598
|
-
queryParameters: [
|
|
1599
|
-
apiVersion
|
|
1600
|
-
],
|
|
1601
|
-
headerParameters: [
|
|
1602
|
-
acceptLanguage,
|
|
1603
|
-
clientRequestId
|
|
1604
|
-
],
|
|
1605
|
-
responses: {
|
|
1606
|
-
200: {},
|
|
1607
|
-
204: {},
|
|
1608
|
-
404: {},
|
|
1609
|
-
default: {
|
|
1610
|
-
bodyMapper: CloudError
|
|
1611
|
-
}
|
|
1612
|
-
},
|
|
1613
|
-
serializer: serializer$2
|
|
1614
|
-
};
|
|
1615
|
-
var listBySearchServiceNextOperationSpec = {
|
|
1616
|
-
httpMethod: "POST",
|
|
1617
|
-
baseUrl: "https://management.azure.com",
|
|
1618
|
-
path: "{nextLink}",
|
|
1619
|
-
urlParameters: [
|
|
1620
|
-
nextPageLink
|
|
1621
|
-
],
|
|
1622
|
-
queryParameters: [
|
|
1623
|
-
apiVersion
|
|
1624
|
-
],
|
|
1625
|
-
headerParameters: [
|
|
1626
|
-
acceptLanguage,
|
|
1627
|
-
clientRequestId
|
|
1628
|
-
],
|
|
1629
|
-
responses: {
|
|
1630
|
-
200: {
|
|
1631
|
-
bodyMapper: ListQueryKeysResult
|
|
1632
|
-
},
|
|
1633
|
-
default: {
|
|
1634
|
-
bodyMapper: CloudError
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
serializer: serializer$2
|
|
1638
|
-
};
|
|
1639
|
-
|
|
1640
|
-
/*
|
|
1641
|
-
* Copyright (c) Microsoft Corporation.
|
|
1642
|
-
* Licensed under the MIT License.
|
|
1643
|
-
*
|
|
1644
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1645
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1646
|
-
*/
|
|
1647
|
-
|
|
1648
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1649
|
-
__proto__: null,
|
|
1650
|
-
AzureEntityResource: AzureEntityResource,
|
|
1651
|
-
BaseResource: BaseResource,
|
|
1652
|
-
CheckNameAvailabilityInput: CheckNameAvailabilityInput,
|
|
1653
|
-
CheckNameAvailabilityOutput: CheckNameAvailabilityOutput,
|
|
1654
|
-
CloudError: CloudError,
|
|
1655
|
-
Identity: Identity,
|
|
1656
|
-
IpRule: IpRule,
|
|
1657
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
1658
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1659
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
1660
|
-
PrivateEndpointConnectionPropertiesPrivateEndpoint: PrivateEndpointConnectionPropertiesPrivateEndpoint,
|
|
1661
|
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
1662
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
1663
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
1664
|
-
ProxyResource: ProxyResource,
|
|
1665
|
-
Resource: Resource,
|
|
1666
|
-
SearchService: SearchService,
|
|
1667
|
-
SearchServiceListResult: SearchServiceListResult,
|
|
1668
|
-
SearchServiceUpdate: SearchServiceUpdate,
|
|
1669
|
-
ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
|
|
1670
|
-
ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
|
|
1671
|
-
SharedPrivateLinkResource: SharedPrivateLinkResource,
|
|
1672
|
-
SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
|
|
1673
|
-
Sku: Sku,
|
|
1674
|
-
TrackedResource: TrackedResource
|
|
1675
|
-
});
|
|
1676
|
-
|
|
1677
|
-
/*
|
|
1678
|
-
* Copyright (c) Microsoft Corporation.
|
|
1679
|
-
* Licensed under the MIT License.
|
|
1680
|
-
*
|
|
1681
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1682
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1683
|
-
* regenerated.
|
|
1684
|
-
*/
|
|
1685
|
-
/** Class representing a Services. */
|
|
1686
|
-
var Services = /** @class */ (function () {
|
|
1687
|
-
/**
|
|
1688
|
-
* Create a Services.
|
|
1689
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
1690
|
-
*/
|
|
1691
|
-
function Services(client) {
|
|
1692
|
-
this.client = client;
|
|
1693
|
-
}
|
|
1694
|
-
/**
|
|
1695
|
-
* Creates or updates a search service in the given resource group. If the search service already
|
|
1696
|
-
* exists, all properties will be updated with the given values.
|
|
1697
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
1698
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1699
|
-
* @param searchServiceName The name of the Azure Cognitive Search service to create or update.
|
|
1700
|
-
* Search service names must only contain lowercase letters, digits or dashes, cannot use dash as
|
|
1701
|
-
* the first two or last one characters, cannot contain consecutive dashes, and must be between 2
|
|
1702
|
-
* and 60 characters in length. Search service names must be globally unique since they are part of
|
|
1703
|
-
* the service URI (https://<name>.search.windows.net). You cannot change the service name after
|
|
1704
|
-
* the service is created.
|
|
1705
|
-
* @param service The definition of the search service to create or update.
|
|
1706
|
-
* @param [options] The optional parameters
|
|
1707
|
-
* @returns Promise<Models.ServicesCreateOrUpdateResponse>
|
|
1708
|
-
*/
|
|
1709
|
-
Services.prototype.createOrUpdate = function (resourceGroupName, searchServiceName, service, options) {
|
|
1710
|
-
return this.beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options)
|
|
1711
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1712
|
-
};
|
|
1713
|
-
Services.prototype.update = function (resourceGroupName, searchServiceName, service, options, callback) {
|
|
1714
|
-
return this.client.sendOperationRequest({
|
|
1715
|
-
resourceGroupName: resourceGroupName,
|
|
1716
|
-
searchServiceName: searchServiceName,
|
|
1717
|
-
service: service,
|
|
1718
|
-
options: options
|
|
1719
|
-
}, updateOperationSpec, callback);
|
|
1720
|
-
};
|
|
1721
|
-
Services.prototype.get = function (resourceGroupName, searchServiceName, options, callback) {
|
|
1722
|
-
return this.client.sendOperationRequest({
|
|
1723
|
-
resourceGroupName: resourceGroupName,
|
|
1724
|
-
searchServiceName: searchServiceName,
|
|
1725
|
-
options: options
|
|
1726
|
-
}, getOperationSpec$1, callback);
|
|
1727
|
-
};
|
|
1728
|
-
Services.prototype.deleteMethod = function (resourceGroupName, searchServiceName, options, callback) {
|
|
1729
|
-
return this.client.sendOperationRequest({
|
|
1730
|
-
resourceGroupName: resourceGroupName,
|
|
1731
|
-
searchServiceName: searchServiceName,
|
|
1732
|
-
options: options
|
|
1733
|
-
}, deleteMethodOperationSpec$1, callback);
|
|
1734
|
-
};
|
|
1735
|
-
Services.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
1736
|
-
return this.client.sendOperationRequest({
|
|
1737
|
-
resourceGroupName: resourceGroupName,
|
|
1738
|
-
options: options
|
|
1739
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1740
|
-
};
|
|
1741
|
-
Services.prototype.listBySubscription = function (options, callback) {
|
|
1742
|
-
return this.client.sendOperationRequest({
|
|
1743
|
-
options: options
|
|
1744
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
1745
|
-
};
|
|
1746
|
-
Services.prototype.checkNameAvailability = function (name, options, callback) {
|
|
1747
|
-
return this.client.sendOperationRequest({
|
|
1748
|
-
name: name,
|
|
1749
|
-
options: options
|
|
1750
|
-
}, checkNameAvailabilityOperationSpec, callback);
|
|
1751
|
-
};
|
|
1752
|
-
/**
|
|
1753
|
-
* Creates or updates a search service in the given resource group. If the search service already
|
|
1754
|
-
* exists, all properties will be updated with the given values.
|
|
1755
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
1756
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
1757
|
-
* @param searchServiceName The name of the Azure Cognitive Search service to create or update.
|
|
1758
|
-
* Search service names must only contain lowercase letters, digits or dashes, cannot use dash as
|
|
1759
|
-
* the first two or last one characters, cannot contain consecutive dashes, and must be between 2
|
|
1760
|
-
* and 60 characters in length. Search service names must be globally unique since they are part of
|
|
1761
|
-
* the service URI (https://<name>.search.windows.net). You cannot change the service name after
|
|
1762
|
-
* the service is created.
|
|
1763
|
-
* @param service The definition of the search service to create or update.
|
|
1764
|
-
* @param [options] The optional parameters
|
|
1765
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1766
|
-
*/
|
|
1767
|
-
Services.prototype.beginCreateOrUpdate = function (resourceGroupName, searchServiceName, service, options) {
|
|
1768
|
-
return this.client.sendLRORequest({
|
|
1769
|
-
resourceGroupName: resourceGroupName,
|
|
1770
|
-
searchServiceName: searchServiceName,
|
|
1771
|
-
service: service,
|
|
1772
|
-
options: options
|
|
1773
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1774
|
-
};
|
|
1775
|
-
Services.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1776
|
-
return this.client.sendOperationRequest({
|
|
1777
|
-
nextPageLink: nextPageLink,
|
|
1778
|
-
options: options
|
|
1779
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1780
|
-
};
|
|
1781
|
-
Services.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
1782
|
-
return this.client.sendOperationRequest({
|
|
1783
|
-
nextPageLink: nextPageLink,
|
|
1784
|
-
options: options
|
|
1785
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
1786
|
-
};
|
|
1787
|
-
return Services;
|
|
1788
|
-
}());
|
|
1789
|
-
// Operation Specifications
|
|
1790
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
1791
|
-
var updateOperationSpec = {
|
|
1792
|
-
httpMethod: "PATCH",
|
|
1793
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
1794
|
-
urlParameters: [
|
|
1795
|
-
resourceGroupName,
|
|
1796
|
-
searchServiceName,
|
|
1797
|
-
subscriptionId
|
|
1798
|
-
],
|
|
1799
|
-
queryParameters: [
|
|
1800
|
-
apiVersion
|
|
1801
|
-
],
|
|
1802
|
-
headerParameters: [
|
|
1803
|
-
acceptLanguage,
|
|
1804
|
-
clientRequestId
|
|
1805
|
-
],
|
|
1806
|
-
requestBody: {
|
|
1807
|
-
parameterPath: "service",
|
|
1808
|
-
mapper: __assign(__assign({}, SearchServiceUpdate), { required: true })
|
|
1809
|
-
},
|
|
1810
|
-
responses: {
|
|
1811
|
-
200: {
|
|
1812
|
-
bodyMapper: SearchService
|
|
1813
|
-
},
|
|
1814
|
-
default: {
|
|
1815
|
-
bodyMapper: CloudError
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
serializer: serializer$3
|
|
1819
|
-
};
|
|
1820
|
-
var getOperationSpec$1 = {
|
|
1821
|
-
httpMethod: "GET",
|
|
1822
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
1823
|
-
urlParameters: [
|
|
1824
|
-
resourceGroupName,
|
|
1825
|
-
searchServiceName,
|
|
1826
|
-
subscriptionId
|
|
1827
|
-
],
|
|
1828
|
-
queryParameters: [
|
|
1829
|
-
apiVersion
|
|
1830
|
-
],
|
|
1831
|
-
headerParameters: [
|
|
1832
|
-
acceptLanguage,
|
|
1833
|
-
clientRequestId
|
|
1834
|
-
],
|
|
1835
|
-
responses: {
|
|
1836
|
-
200: {
|
|
1837
|
-
bodyMapper: SearchService
|
|
1838
|
-
},
|
|
1839
|
-
default: {
|
|
1840
|
-
bodyMapper: CloudError
|
|
1841
|
-
}
|
|
1842
|
-
},
|
|
1843
|
-
serializer: serializer$3
|
|
1844
|
-
};
|
|
1845
|
-
var deleteMethodOperationSpec$1 = {
|
|
1846
|
-
httpMethod: "DELETE",
|
|
1847
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
1848
|
-
urlParameters: [
|
|
1849
|
-
resourceGroupName,
|
|
1850
|
-
searchServiceName,
|
|
1851
|
-
subscriptionId
|
|
1852
|
-
],
|
|
1853
|
-
queryParameters: [
|
|
1854
|
-
apiVersion
|
|
1855
|
-
],
|
|
1856
|
-
headerParameters: [
|
|
1857
|
-
acceptLanguage,
|
|
1858
|
-
clientRequestId
|
|
1859
|
-
],
|
|
1860
|
-
responses: {
|
|
1861
|
-
200: {},
|
|
1862
|
-
204: {},
|
|
1863
|
-
404: {},
|
|
1864
|
-
default: {
|
|
1865
|
-
bodyMapper: CloudError
|
|
1866
|
-
}
|
|
1867
|
-
},
|
|
1868
|
-
serializer: serializer$3
|
|
1869
|
-
};
|
|
1870
|
-
var listByResourceGroupOperationSpec = {
|
|
1871
|
-
httpMethod: "GET",
|
|
1872
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices",
|
|
1873
|
-
urlParameters: [
|
|
1874
|
-
resourceGroupName,
|
|
1875
|
-
subscriptionId
|
|
1876
|
-
],
|
|
1877
|
-
queryParameters: [
|
|
1878
|
-
apiVersion
|
|
1879
|
-
],
|
|
1880
|
-
headerParameters: [
|
|
1881
|
-
acceptLanguage,
|
|
1882
|
-
clientRequestId
|
|
1883
|
-
],
|
|
1884
|
-
responses: {
|
|
1885
|
-
200: {
|
|
1886
|
-
bodyMapper: SearchServiceListResult
|
|
1887
|
-
},
|
|
1888
|
-
default: {
|
|
1889
|
-
bodyMapper: CloudError
|
|
1890
|
-
}
|
|
1891
|
-
},
|
|
1892
|
-
serializer: serializer$3
|
|
1893
|
-
};
|
|
1894
|
-
var listBySubscriptionOperationSpec = {
|
|
1895
|
-
httpMethod: "GET",
|
|
1896
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices",
|
|
1897
|
-
urlParameters: [
|
|
1898
|
-
subscriptionId
|
|
1899
|
-
],
|
|
1900
|
-
queryParameters: [
|
|
1901
|
-
apiVersion
|
|
1902
|
-
],
|
|
1903
|
-
headerParameters: [
|
|
1904
|
-
acceptLanguage,
|
|
1905
|
-
clientRequestId
|
|
1906
|
-
],
|
|
1907
|
-
responses: {
|
|
1908
|
-
200: {
|
|
1909
|
-
bodyMapper: SearchServiceListResult
|
|
1910
|
-
},
|
|
1911
|
-
default: {
|
|
1912
|
-
bodyMapper: CloudError
|
|
1913
|
-
}
|
|
1914
|
-
},
|
|
1915
|
-
serializer: serializer$3
|
|
1916
|
-
};
|
|
1917
|
-
var checkNameAvailabilityOperationSpec = {
|
|
1918
|
-
httpMethod: "POST",
|
|
1919
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability",
|
|
1920
|
-
urlParameters: [
|
|
1921
|
-
subscriptionId
|
|
1922
|
-
],
|
|
1923
|
-
queryParameters: [
|
|
1924
|
-
apiVersion
|
|
1925
|
-
],
|
|
1926
|
-
headerParameters: [
|
|
1927
|
-
acceptLanguage,
|
|
1928
|
-
clientRequestId
|
|
1929
|
-
],
|
|
1930
|
-
requestBody: {
|
|
1931
|
-
parameterPath: {
|
|
1932
|
-
name: "name"
|
|
1933
|
-
},
|
|
1934
|
-
mapper: __assign(__assign({}, CheckNameAvailabilityInput), { required: true })
|
|
1935
|
-
},
|
|
1936
|
-
responses: {
|
|
1937
|
-
200: {
|
|
1938
|
-
bodyMapper: CheckNameAvailabilityOutput
|
|
1939
|
-
},
|
|
1940
|
-
default: {
|
|
1941
|
-
bodyMapper: CloudError
|
|
1942
|
-
}
|
|
1943
|
-
},
|
|
1944
|
-
serializer: serializer$3
|
|
1945
|
-
};
|
|
1946
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1947
|
-
httpMethod: "PUT",
|
|
1948
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
1949
|
-
urlParameters: [
|
|
1950
|
-
resourceGroupName,
|
|
1951
|
-
searchServiceName,
|
|
1952
|
-
subscriptionId
|
|
1953
|
-
],
|
|
1954
|
-
queryParameters: [
|
|
1955
|
-
apiVersion
|
|
1956
|
-
],
|
|
1957
|
-
headerParameters: [
|
|
1958
|
-
acceptLanguage,
|
|
1959
|
-
clientRequestId
|
|
1960
|
-
],
|
|
1961
|
-
requestBody: {
|
|
1962
|
-
parameterPath: "service",
|
|
1963
|
-
mapper: __assign(__assign({}, SearchService), { required: true })
|
|
1964
|
-
},
|
|
1965
|
-
responses: {
|
|
1966
|
-
200: {
|
|
1967
|
-
bodyMapper: SearchService
|
|
1968
|
-
},
|
|
1969
|
-
201: {
|
|
1970
|
-
bodyMapper: SearchService
|
|
1971
|
-
},
|
|
1972
|
-
default: {
|
|
1973
|
-
bodyMapper: CloudError
|
|
1974
|
-
}
|
|
1975
|
-
},
|
|
1976
|
-
serializer: serializer$3
|
|
1977
|
-
};
|
|
1978
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1979
|
-
httpMethod: "GET",
|
|
1980
|
-
baseUrl: "https://management.azure.com",
|
|
1981
|
-
path: "{nextLink}",
|
|
1982
|
-
urlParameters: [
|
|
1983
|
-
nextPageLink
|
|
1984
|
-
],
|
|
1985
|
-
queryParameters: [
|
|
1986
|
-
apiVersion
|
|
1987
|
-
],
|
|
1988
|
-
headerParameters: [
|
|
1989
|
-
acceptLanguage,
|
|
1990
|
-
clientRequestId
|
|
1991
|
-
],
|
|
1992
|
-
responses: {
|
|
1993
|
-
200: {
|
|
1994
|
-
bodyMapper: SearchServiceListResult
|
|
1995
|
-
},
|
|
1996
|
-
default: {
|
|
1997
|
-
bodyMapper: CloudError
|
|
1998
|
-
}
|
|
1999
|
-
},
|
|
2000
|
-
serializer: serializer$3
|
|
2001
|
-
};
|
|
2002
|
-
var listBySubscriptionNextOperationSpec = {
|
|
2003
|
-
httpMethod: "GET",
|
|
2004
|
-
baseUrl: "https://management.azure.com",
|
|
2005
|
-
path: "{nextLink}",
|
|
2006
|
-
urlParameters: [
|
|
2007
|
-
nextPageLink
|
|
2008
|
-
],
|
|
2009
|
-
queryParameters: [
|
|
2010
|
-
apiVersion
|
|
2011
|
-
],
|
|
2012
|
-
headerParameters: [
|
|
2013
|
-
acceptLanguage,
|
|
2014
|
-
clientRequestId
|
|
2015
|
-
],
|
|
2016
|
-
responses: {
|
|
2017
|
-
200: {
|
|
2018
|
-
bodyMapper: SearchServiceListResult
|
|
2019
|
-
},
|
|
2020
|
-
default: {
|
|
2021
|
-
bodyMapper: CloudError
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
serializer: serializer$3
|
|
2025
|
-
};
|
|
2026
|
-
|
|
2027
|
-
/*
|
|
2028
|
-
* Copyright (c) Microsoft Corporation.
|
|
2029
|
-
* Licensed under the MIT License.
|
|
2030
|
-
*
|
|
2031
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2032
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2033
|
-
*/
|
|
2034
|
-
|
|
2035
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
2036
|
-
__proto__: null,
|
|
2037
|
-
AzureEntityResource: AzureEntityResource,
|
|
2038
|
-
BaseResource: BaseResource,
|
|
2039
|
-
CloudError: CloudError,
|
|
2040
|
-
Identity: Identity,
|
|
2041
|
-
IpRule: IpRule,
|
|
2042
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2043
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2044
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2045
|
-
PrivateEndpointConnectionPropertiesPrivateEndpoint: PrivateEndpointConnectionPropertiesPrivateEndpoint,
|
|
2046
|
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
2047
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2048
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2049
|
-
PrivateLinkResourcesResult: PrivateLinkResourcesResult,
|
|
2050
|
-
ProxyResource: ProxyResource,
|
|
2051
|
-
Resource: Resource,
|
|
2052
|
-
SearchService: SearchService,
|
|
2053
|
-
SearchServiceUpdate: SearchServiceUpdate,
|
|
2054
|
-
ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
|
|
2055
|
-
ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
|
|
2056
|
-
SharedPrivateLinkResource: SharedPrivateLinkResource,
|
|
2057
|
-
SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
|
|
2058
|
-
Sku: Sku,
|
|
2059
|
-
TrackedResource: TrackedResource
|
|
2060
|
-
});
|
|
2061
|
-
|
|
2062
|
-
/*
|
|
2063
|
-
* Copyright (c) Microsoft Corporation.
|
|
2064
|
-
* Licensed under the MIT License.
|
|
2065
|
-
*
|
|
2066
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2067
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2068
|
-
* regenerated.
|
|
2069
|
-
*/
|
|
2070
|
-
/** Class representing a PrivateLinkResources. */
|
|
2071
|
-
var PrivateLinkResources = /** @class */ (function () {
|
|
2072
|
-
/**
|
|
2073
|
-
* Create a PrivateLinkResources.
|
|
2074
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
2075
|
-
*/
|
|
2076
|
-
function PrivateLinkResources(client) {
|
|
2077
|
-
this.client = client;
|
|
2078
|
-
}
|
|
2079
|
-
PrivateLinkResources.prototype.listSupported = function (resourceGroupName, searchServiceName, options, callback) {
|
|
2080
|
-
return this.client.sendOperationRequest({
|
|
2081
|
-
resourceGroupName: resourceGroupName,
|
|
2082
|
-
searchServiceName: searchServiceName,
|
|
2083
|
-
options: options
|
|
2084
|
-
}, listSupportedOperationSpec, callback);
|
|
2085
|
-
};
|
|
2086
|
-
return PrivateLinkResources;
|
|
2087
|
-
}());
|
|
2088
|
-
// Operation Specifications
|
|
2089
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
|
2090
|
-
var listSupportedOperationSpec = {
|
|
2091
|
-
httpMethod: "GET",
|
|
2092
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateLinkResources",
|
|
2093
|
-
urlParameters: [
|
|
2094
|
-
subscriptionId,
|
|
2095
|
-
resourceGroupName,
|
|
2096
|
-
searchServiceName
|
|
2097
|
-
],
|
|
2098
|
-
queryParameters: [
|
|
2099
|
-
apiVersion
|
|
2100
|
-
],
|
|
2101
|
-
headerParameters: [
|
|
2102
|
-
acceptLanguage,
|
|
2103
|
-
clientRequestId
|
|
2104
|
-
],
|
|
2105
|
-
responses: {
|
|
2106
|
-
200: {
|
|
2107
|
-
bodyMapper: PrivateLinkResourcesResult
|
|
2108
|
-
},
|
|
2109
|
-
default: {
|
|
2110
|
-
bodyMapper: CloudError
|
|
2111
|
-
}
|
|
2112
|
-
},
|
|
2113
|
-
serializer: serializer$4
|
|
2114
|
-
};
|
|
2115
|
-
|
|
2116
|
-
/*
|
|
2117
|
-
* Copyright (c) Microsoft Corporation.
|
|
2118
|
-
* Licensed under the MIT License.
|
|
2119
|
-
*
|
|
2120
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2121
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2122
|
-
*/
|
|
2123
|
-
|
|
2124
|
-
var Mappers$5 = /*#__PURE__*/Object.freeze({
|
|
2125
|
-
__proto__: null,
|
|
2126
|
-
AzureEntityResource: AzureEntityResource,
|
|
2127
|
-
BaseResource: BaseResource,
|
|
2128
|
-
CloudError: CloudError,
|
|
2129
|
-
Identity: Identity,
|
|
2130
|
-
IpRule: IpRule,
|
|
2131
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2132
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2133
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
2134
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2135
|
-
PrivateEndpointConnectionPropertiesPrivateEndpoint: PrivateEndpointConnectionPropertiesPrivateEndpoint,
|
|
2136
|
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
2137
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2138
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2139
|
-
ProxyResource: ProxyResource,
|
|
2140
|
-
Resource: Resource,
|
|
2141
|
-
SearchService: SearchService,
|
|
2142
|
-
SearchServiceUpdate: SearchServiceUpdate,
|
|
2143
|
-
ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
|
|
2144
|
-
ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
|
|
2145
|
-
SharedPrivateLinkResource: SharedPrivateLinkResource,
|
|
2146
|
-
SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
|
|
2147
|
-
Sku: Sku,
|
|
2148
|
-
TrackedResource: TrackedResource
|
|
2149
|
-
});
|
|
2150
|
-
|
|
2151
|
-
/*
|
|
2152
|
-
* Copyright (c) Microsoft Corporation.
|
|
2153
|
-
* Licensed under the MIT License.
|
|
2154
|
-
*
|
|
2155
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2156
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2157
|
-
* regenerated.
|
|
2158
|
-
*/
|
|
2159
|
-
/** Class representing a PrivateEndpointConnections. */
|
|
2160
|
-
var PrivateEndpointConnections = /** @class */ (function () {
|
|
2161
|
-
/**
|
|
2162
|
-
* Create a PrivateEndpointConnections.
|
|
2163
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
2164
|
-
*/
|
|
2165
|
-
function PrivateEndpointConnections(client) {
|
|
2166
|
-
this.client = client;
|
|
2167
|
-
}
|
|
2168
|
-
PrivateEndpointConnections.prototype.update = function (resourceGroupName, searchServiceName, privateEndpointConnectionName, privateEndpointConnection, options, callback) {
|
|
2169
|
-
return this.client.sendOperationRequest({
|
|
2170
|
-
resourceGroupName: resourceGroupName,
|
|
2171
|
-
searchServiceName: searchServiceName,
|
|
2172
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2173
|
-
privateEndpointConnection: privateEndpointConnection,
|
|
2174
|
-
options: options
|
|
2175
|
-
}, updateOperationSpec$1, callback);
|
|
2176
|
-
};
|
|
2177
|
-
PrivateEndpointConnections.prototype.get = function (resourceGroupName, searchServiceName, privateEndpointConnectionName, options, callback) {
|
|
2178
|
-
return this.client.sendOperationRequest({
|
|
2179
|
-
resourceGroupName: resourceGroupName,
|
|
2180
|
-
searchServiceName: searchServiceName,
|
|
2181
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2182
|
-
options: options
|
|
2183
|
-
}, getOperationSpec$2, callback);
|
|
2184
|
-
};
|
|
2185
|
-
PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, searchServiceName, privateEndpointConnectionName, options, callback) {
|
|
2186
|
-
return this.client.sendOperationRequest({
|
|
2187
|
-
resourceGroupName: resourceGroupName,
|
|
2188
|
-
searchServiceName: searchServiceName,
|
|
2189
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2190
|
-
options: options
|
|
2191
|
-
}, deleteMethodOperationSpec$2, callback);
|
|
2192
|
-
};
|
|
2193
|
-
PrivateEndpointConnections.prototype.listByService = function (resourceGroupName, searchServiceName, options, callback) {
|
|
2194
|
-
return this.client.sendOperationRequest({
|
|
2195
|
-
resourceGroupName: resourceGroupName,
|
|
2196
|
-
searchServiceName: searchServiceName,
|
|
2197
|
-
options: options
|
|
2198
|
-
}, listByServiceOperationSpec, callback);
|
|
2199
|
-
};
|
|
2200
|
-
PrivateEndpointConnections.prototype.listByServiceNext = function (nextPageLink, options, callback) {
|
|
2201
|
-
return this.client.sendOperationRequest({
|
|
2202
|
-
nextPageLink: nextPageLink,
|
|
2203
|
-
options: options
|
|
2204
|
-
}, listByServiceNextOperationSpec, callback);
|
|
2205
|
-
};
|
|
2206
|
-
return PrivateEndpointConnections;
|
|
2207
|
-
}());
|
|
2208
|
-
// Operation Specifications
|
|
2209
|
-
var serializer$5 = new msRest.Serializer(Mappers$5);
|
|
2210
|
-
var updateOperationSpec$1 = {
|
|
2211
|
-
httpMethod: "PUT",
|
|
2212
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2213
|
-
urlParameters: [
|
|
2214
|
-
resourceGroupName,
|
|
2215
|
-
searchServiceName,
|
|
2216
|
-
privateEndpointConnectionName,
|
|
2217
|
-
subscriptionId
|
|
2218
|
-
],
|
|
2219
|
-
queryParameters: [
|
|
2220
|
-
apiVersion
|
|
2221
|
-
],
|
|
2222
|
-
headerParameters: [
|
|
2223
|
-
acceptLanguage,
|
|
2224
|
-
clientRequestId
|
|
2225
|
-
],
|
|
2226
|
-
requestBody: {
|
|
2227
|
-
parameterPath: "privateEndpointConnection",
|
|
2228
|
-
mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
|
|
2229
|
-
},
|
|
2230
|
-
responses: {
|
|
2231
|
-
200: {
|
|
2232
|
-
bodyMapper: PrivateEndpointConnection
|
|
2233
|
-
},
|
|
2234
|
-
default: {
|
|
2235
|
-
bodyMapper: CloudError
|
|
2236
|
-
}
|
|
2237
|
-
},
|
|
2238
|
-
serializer: serializer$5
|
|
2239
|
-
};
|
|
2240
|
-
var getOperationSpec$2 = {
|
|
2241
|
-
httpMethod: "GET",
|
|
2242
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2243
|
-
urlParameters: [
|
|
2244
|
-
resourceGroupName,
|
|
2245
|
-
searchServiceName,
|
|
2246
|
-
privateEndpointConnectionName,
|
|
2247
|
-
subscriptionId
|
|
2248
|
-
],
|
|
2249
|
-
queryParameters: [
|
|
2250
|
-
apiVersion
|
|
2251
|
-
],
|
|
2252
|
-
headerParameters: [
|
|
2253
|
-
acceptLanguage,
|
|
2254
|
-
clientRequestId
|
|
2255
|
-
],
|
|
2256
|
-
responses: {
|
|
2257
|
-
200: {
|
|
2258
|
-
bodyMapper: PrivateEndpointConnection
|
|
2259
|
-
},
|
|
2260
|
-
default: {
|
|
2261
|
-
bodyMapper: CloudError
|
|
2262
|
-
}
|
|
2263
|
-
},
|
|
2264
|
-
serializer: serializer$5
|
|
2265
|
-
};
|
|
2266
|
-
var deleteMethodOperationSpec$2 = {
|
|
2267
|
-
httpMethod: "DELETE",
|
|
2268
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2269
|
-
urlParameters: [
|
|
2270
|
-
resourceGroupName,
|
|
2271
|
-
searchServiceName,
|
|
2272
|
-
privateEndpointConnectionName,
|
|
2273
|
-
subscriptionId
|
|
2274
|
-
],
|
|
2275
|
-
queryParameters: [
|
|
2276
|
-
apiVersion
|
|
2277
|
-
],
|
|
2278
|
-
headerParameters: [
|
|
2279
|
-
acceptLanguage,
|
|
2280
|
-
clientRequestId
|
|
2281
|
-
],
|
|
2282
|
-
responses: {
|
|
2283
|
-
200: {
|
|
2284
|
-
bodyMapper: PrivateEndpointConnection
|
|
2285
|
-
},
|
|
2286
|
-
404: {},
|
|
2287
|
-
default: {
|
|
2288
|
-
bodyMapper: CloudError
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
serializer: serializer$5
|
|
2292
|
-
};
|
|
2293
|
-
var listByServiceOperationSpec = {
|
|
2294
|
-
httpMethod: "GET",
|
|
2295
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections",
|
|
2296
|
-
urlParameters: [
|
|
2297
|
-
subscriptionId,
|
|
2298
|
-
resourceGroupName,
|
|
2299
|
-
searchServiceName
|
|
2300
|
-
],
|
|
2301
|
-
queryParameters: [
|
|
2302
|
-
apiVersion
|
|
2303
|
-
],
|
|
2304
|
-
headerParameters: [
|
|
2305
|
-
acceptLanguage,
|
|
2306
|
-
clientRequestId
|
|
2307
|
-
],
|
|
2308
|
-
responses: {
|
|
2309
|
-
200: {
|
|
2310
|
-
bodyMapper: PrivateEndpointConnectionListResult
|
|
2311
|
-
},
|
|
2312
|
-
default: {
|
|
2313
|
-
bodyMapper: CloudError
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
serializer: serializer$5
|
|
2317
|
-
};
|
|
2318
|
-
var listByServiceNextOperationSpec = {
|
|
2319
|
-
httpMethod: "GET",
|
|
2320
|
-
baseUrl: "https://management.azure.com",
|
|
2321
|
-
path: "{nextLink}",
|
|
2322
|
-
urlParameters: [
|
|
2323
|
-
nextPageLink
|
|
2324
|
-
],
|
|
2325
|
-
queryParameters: [
|
|
2326
|
-
apiVersion
|
|
2327
|
-
],
|
|
2328
|
-
headerParameters: [
|
|
2329
|
-
acceptLanguage,
|
|
2330
|
-
clientRequestId
|
|
2331
|
-
],
|
|
2332
|
-
responses: {
|
|
2333
|
-
200: {
|
|
2334
|
-
bodyMapper: PrivateEndpointConnectionListResult
|
|
2335
|
-
},
|
|
2336
|
-
default: {
|
|
2337
|
-
bodyMapper: CloudError
|
|
2338
|
-
}
|
|
2339
|
-
},
|
|
2340
|
-
serializer: serializer$5
|
|
2341
|
-
};
|
|
2342
|
-
|
|
2343
|
-
/*
|
|
2344
|
-
* Copyright (c) Microsoft Corporation.
|
|
2345
|
-
* Licensed under the MIT License.
|
|
2346
|
-
*
|
|
2347
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2348
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2349
|
-
*/
|
|
2350
|
-
|
|
2351
|
-
var Mappers$6 = /*#__PURE__*/Object.freeze({
|
|
2352
|
-
__proto__: null,
|
|
2353
|
-
AzureEntityResource: AzureEntityResource,
|
|
2354
|
-
BaseResource: BaseResource,
|
|
2355
|
-
CloudError: CloudError,
|
|
2356
|
-
Identity: Identity,
|
|
2357
|
-
IpRule: IpRule,
|
|
2358
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2359
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2360
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2361
|
-
PrivateEndpointConnectionPropertiesPrivateEndpoint: PrivateEndpointConnectionPropertiesPrivateEndpoint,
|
|
2362
|
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
2363
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2364
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2365
|
-
ProxyResource: ProxyResource,
|
|
2366
|
-
Resource: Resource,
|
|
2367
|
-
SearchService: SearchService,
|
|
2368
|
-
SearchServiceUpdate: SearchServiceUpdate,
|
|
2369
|
-
ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
|
|
2370
|
-
ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
|
|
2371
|
-
SharedPrivateLinkResource: SharedPrivateLinkResource,
|
|
2372
|
-
SharedPrivateLinkResourceListResult: SharedPrivateLinkResourceListResult,
|
|
2373
|
-
SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
|
|
2374
|
-
Sku: Sku,
|
|
2375
|
-
TrackedResource: TrackedResource
|
|
2376
|
-
});
|
|
2377
|
-
|
|
2378
|
-
/*
|
|
2379
|
-
* Copyright (c) Microsoft Corporation.
|
|
2380
|
-
* Licensed under the MIT License.
|
|
2381
|
-
*
|
|
2382
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2383
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2384
|
-
* regenerated.
|
|
2385
|
-
*/
|
|
2386
|
-
/** Class representing a SharedPrivateLinkResources. */
|
|
2387
|
-
var SharedPrivateLinkResources = /** @class */ (function () {
|
|
2388
|
-
/**
|
|
2389
|
-
* Create a SharedPrivateLinkResources.
|
|
2390
|
-
* @param {SearchManagementClientContext} client Reference to the service client.
|
|
2391
|
-
*/
|
|
2392
|
-
function SharedPrivateLinkResources(client) {
|
|
2393
|
-
this.client = client;
|
|
2394
|
-
}
|
|
2395
|
-
/**
|
|
2396
|
-
* Initiates the creation or update of a shared private link resource managed by the search service
|
|
2397
|
-
* in the given resource group.
|
|
2398
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2399
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2400
|
-
* @param searchServiceName The name of the Azure Cognitive Search service associated with the
|
|
2401
|
-
* specified resource group.
|
|
2402
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
2403
|
-
* Azure Cognitive Search service within the specified resource group.
|
|
2404
|
-
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
2405
|
-
* update.
|
|
2406
|
-
* @param [options] The optional parameters
|
|
2407
|
-
* @returns Promise<Models.SharedPrivateLinkResourcesCreateOrUpdateResponse>
|
|
2408
|
-
*/
|
|
2409
|
-
SharedPrivateLinkResources.prototype.createOrUpdate = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
2410
|
-
return this.beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options)
|
|
2411
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2412
|
-
};
|
|
2413
|
-
SharedPrivateLinkResources.prototype.get = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options, callback) {
|
|
2414
|
-
return this.client.sendOperationRequest({
|
|
2415
|
-
resourceGroupName: resourceGroupName,
|
|
2416
|
-
searchServiceName: searchServiceName,
|
|
2417
|
-
sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
|
|
2418
|
-
options: options
|
|
2419
|
-
}, getOperationSpec$3, callback);
|
|
2420
|
-
};
|
|
2421
|
-
/**
|
|
2422
|
-
* Initiates the deletion of the shared private link resource from the search service.
|
|
2423
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2424
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2425
|
-
* @param searchServiceName The name of the Azure Cognitive Search service associated with the
|
|
2426
|
-
* specified resource group.
|
|
2427
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
2428
|
-
* Azure Cognitive Search service within the specified resource group.
|
|
2429
|
-
* @param [options] The optional parameters
|
|
2430
|
-
* @returns Promise<msRest.RestResponse>
|
|
2431
|
-
*/
|
|
2432
|
-
SharedPrivateLinkResources.prototype.deleteMethod = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
2433
|
-
return this.beginDeleteMethod(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options)
|
|
2434
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2435
|
-
};
|
|
2436
|
-
SharedPrivateLinkResources.prototype.listByService = function (resourceGroupName, searchServiceName, options, callback) {
|
|
2437
|
-
return this.client.sendOperationRequest({
|
|
2438
|
-
resourceGroupName: resourceGroupName,
|
|
2439
|
-
searchServiceName: searchServiceName,
|
|
2440
|
-
options: options
|
|
2441
|
-
}, listByServiceOperationSpec$1, callback);
|
|
2442
|
-
};
|
|
2443
|
-
/**
|
|
2444
|
-
* Initiates the creation or update of a shared private link resource managed by the search service
|
|
2445
|
-
* in the given resource group.
|
|
2446
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2447
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2448
|
-
* @param searchServiceName The name of the Azure Cognitive Search service associated with the
|
|
2449
|
-
* specified resource group.
|
|
2450
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
2451
|
-
* Azure Cognitive Search service within the specified resource group.
|
|
2452
|
-
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
2453
|
-
* update.
|
|
2454
|
-
* @param [options] The optional parameters
|
|
2455
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2456
|
-
*/
|
|
2457
|
-
SharedPrivateLinkResources.prototype.beginCreateOrUpdate = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
2458
|
-
return this.client.sendLRORequest({
|
|
2459
|
-
resourceGroupName: resourceGroupName,
|
|
2460
|
-
searchServiceName: searchServiceName,
|
|
2461
|
-
sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
|
|
2462
|
-
sharedPrivateLinkResource: sharedPrivateLinkResource,
|
|
2463
|
-
options: options
|
|
2464
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
2465
|
-
};
|
|
2466
|
-
/**
|
|
2467
|
-
* Initiates the deletion of the shared private link resource from the search service.
|
|
2468
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2469
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2470
|
-
* @param searchServiceName The name of the Azure Cognitive Search service associated with the
|
|
2471
|
-
* specified resource group.
|
|
2472
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
2473
|
-
* Azure Cognitive Search service within the specified resource group.
|
|
2474
|
-
* @param [options] The optional parameters
|
|
2475
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2476
|
-
*/
|
|
2477
|
-
SharedPrivateLinkResources.prototype.beginDeleteMethod = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
2478
|
-
return this.client.sendLRORequest({
|
|
2479
|
-
resourceGroupName: resourceGroupName,
|
|
2480
|
-
searchServiceName: searchServiceName,
|
|
2481
|
-
sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
|
|
2482
|
-
options: options
|
|
2483
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
2484
|
-
};
|
|
2485
|
-
SharedPrivateLinkResources.prototype.listByServiceNext = function (nextPageLink, options, callback) {
|
|
2486
|
-
return this.client.sendOperationRequest({
|
|
2487
|
-
nextPageLink: nextPageLink,
|
|
2488
|
-
options: options
|
|
2489
|
-
}, listByServiceNextOperationSpec$1, callback);
|
|
2490
|
-
};
|
|
2491
|
-
return SharedPrivateLinkResources;
|
|
2492
|
-
}());
|
|
2493
|
-
// Operation Specifications
|
|
2494
|
-
var serializer$6 = new msRest.Serializer(Mappers$6);
|
|
2495
|
-
var getOperationSpec$3 = {
|
|
2496
|
-
httpMethod: "GET",
|
|
2497
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
2498
|
-
urlParameters: [
|
|
2499
|
-
resourceGroupName,
|
|
2500
|
-
searchServiceName,
|
|
2501
|
-
sharedPrivateLinkResourceName,
|
|
2502
|
-
subscriptionId
|
|
2503
|
-
],
|
|
2504
|
-
queryParameters: [
|
|
2505
|
-
apiVersion
|
|
2506
|
-
],
|
|
2507
|
-
headerParameters: [
|
|
2508
|
-
acceptLanguage,
|
|
2509
|
-
clientRequestId
|
|
2510
|
-
],
|
|
2511
|
-
responses: {
|
|
2512
|
-
200: {
|
|
2513
|
-
bodyMapper: SharedPrivateLinkResource
|
|
2514
|
-
},
|
|
2515
|
-
default: {
|
|
2516
|
-
bodyMapper: CloudError
|
|
2517
|
-
}
|
|
2518
|
-
},
|
|
2519
|
-
serializer: serializer$6
|
|
2520
|
-
};
|
|
2521
|
-
var listByServiceOperationSpec$1 = {
|
|
2522
|
-
httpMethod: "GET",
|
|
2523
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources",
|
|
2524
|
-
urlParameters: [
|
|
2525
|
-
subscriptionId,
|
|
2526
|
-
resourceGroupName,
|
|
2527
|
-
searchServiceName
|
|
2528
|
-
],
|
|
2529
|
-
queryParameters: [
|
|
2530
|
-
apiVersion
|
|
2531
|
-
],
|
|
2532
|
-
headerParameters: [
|
|
2533
|
-
acceptLanguage,
|
|
2534
|
-
clientRequestId
|
|
2535
|
-
],
|
|
2536
|
-
responses: {
|
|
2537
|
-
200: {
|
|
2538
|
-
bodyMapper: SharedPrivateLinkResourceListResult
|
|
2539
|
-
},
|
|
2540
|
-
default: {
|
|
2541
|
-
bodyMapper: CloudError
|
|
2542
|
-
}
|
|
2543
|
-
},
|
|
2544
|
-
serializer: serializer$6
|
|
2545
|
-
};
|
|
2546
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
2547
|
-
httpMethod: "PUT",
|
|
2548
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
2549
|
-
urlParameters: [
|
|
2550
|
-
resourceGroupName,
|
|
2551
|
-
searchServiceName,
|
|
2552
|
-
sharedPrivateLinkResourceName,
|
|
2553
|
-
subscriptionId
|
|
2554
|
-
],
|
|
2555
|
-
queryParameters: [
|
|
2556
|
-
apiVersion
|
|
2557
|
-
],
|
|
2558
|
-
headerParameters: [
|
|
2559
|
-
acceptLanguage,
|
|
2560
|
-
clientRequestId
|
|
2561
|
-
],
|
|
2562
|
-
requestBody: {
|
|
2563
|
-
parameterPath: "sharedPrivateLinkResource",
|
|
2564
|
-
mapper: __assign(__assign({}, SharedPrivateLinkResource), { required: true })
|
|
2565
|
-
},
|
|
2566
|
-
responses: {
|
|
2567
|
-
200: {
|
|
2568
|
-
bodyMapper: SharedPrivateLinkResource
|
|
2569
|
-
},
|
|
2570
|
-
202: {},
|
|
2571
|
-
default: {
|
|
2572
|
-
bodyMapper: CloudError
|
|
2573
|
-
}
|
|
2574
|
-
},
|
|
2575
|
-
serializer: serializer$6
|
|
2576
|
-
};
|
|
2577
|
-
var beginDeleteMethodOperationSpec = {
|
|
2578
|
-
httpMethod: "DELETE",
|
|
2579
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
2580
|
-
urlParameters: [
|
|
2581
|
-
resourceGroupName,
|
|
2582
|
-
searchServiceName,
|
|
2583
|
-
sharedPrivateLinkResourceName,
|
|
2584
|
-
subscriptionId
|
|
2585
|
-
],
|
|
2586
|
-
queryParameters: [
|
|
2587
|
-
apiVersion
|
|
2588
|
-
],
|
|
2589
|
-
headerParameters: [
|
|
2590
|
-
acceptLanguage,
|
|
2591
|
-
clientRequestId
|
|
2592
|
-
],
|
|
2593
|
-
responses: {
|
|
2594
|
-
202: {},
|
|
2595
|
-
204: {},
|
|
2596
|
-
404: {},
|
|
2597
|
-
default: {
|
|
2598
|
-
bodyMapper: CloudError
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
serializer: serializer$6
|
|
2602
|
-
};
|
|
2603
|
-
var listByServiceNextOperationSpec$1 = {
|
|
2604
|
-
httpMethod: "GET",
|
|
2605
|
-
baseUrl: "https://management.azure.com",
|
|
2606
|
-
path: "{nextLink}",
|
|
2607
|
-
urlParameters: [
|
|
2608
|
-
nextPageLink
|
|
2609
|
-
],
|
|
2610
|
-
queryParameters: [
|
|
2611
|
-
apiVersion
|
|
2612
|
-
],
|
|
2613
|
-
headerParameters: [
|
|
2614
|
-
acceptLanguage,
|
|
2615
|
-
clientRequestId
|
|
2616
|
-
],
|
|
2617
|
-
responses: {
|
|
2618
|
-
200: {
|
|
2619
|
-
bodyMapper: SharedPrivateLinkResourceListResult
|
|
2620
|
-
},
|
|
2621
|
-
default: {
|
|
2622
|
-
bodyMapper: CloudError
|
|
2623
|
-
}
|
|
2624
|
-
},
|
|
2625
|
-
serializer: serializer$6
|
|
2626
|
-
};
|
|
2627
|
-
|
|
2628
|
-
/*
|
|
2629
|
-
* Copyright (c) Microsoft Corporation.
|
|
2630
|
-
* Licensed under the MIT License.
|
|
2631
|
-
*
|
|
2632
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2633
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2634
|
-
* regenerated.
|
|
2635
|
-
*/
|
|
2636
|
-
var packageName = "@azure/arm-search";
|
|
2637
|
-
var packageVersion = "2.0.0";
|
|
2638
|
-
var SearchManagementClientContext = /** @class */ (function (_super) {
|
|
2639
|
-
__extends(SearchManagementClientContext, _super);
|
|
2640
|
-
/**
|
|
2641
|
-
* Initializes a new instance of the SearchManagementClient class.
|
|
2642
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2643
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2644
|
-
* more information about these credentials, see
|
|
2645
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2646
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2647
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2648
|
-
* @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
|
|
2649
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2650
|
-
* @param [options] The parameter options
|
|
2651
|
-
*/
|
|
2652
|
-
function SearchManagementClientContext(credentials, subscriptionId, options) {
|
|
2653
|
-
var _this = this;
|
|
2654
|
-
if (credentials == undefined) {
|
|
2655
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
2656
|
-
}
|
|
2657
|
-
if (subscriptionId == undefined) {
|
|
2658
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
2659
|
-
}
|
|
2660
|
-
if (!options) {
|
|
2661
|
-
options = {};
|
|
2662
|
-
}
|
|
2663
|
-
if (!options.userAgent) {
|
|
2664
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
2665
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
2666
|
-
}
|
|
2667
|
-
_this = _super.call(this, credentials, options) || this;
|
|
2668
|
-
_this.apiVersion = '2020-08-01';
|
|
2669
|
-
_this.acceptLanguage = 'en-US';
|
|
2670
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
2671
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
2672
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
2673
|
-
_this.credentials = credentials;
|
|
2674
|
-
_this.subscriptionId = subscriptionId;
|
|
2675
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
2676
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
2677
|
-
}
|
|
2678
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
2679
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
2680
|
-
}
|
|
2681
|
-
return _this;
|
|
2682
|
-
}
|
|
2683
|
-
return SearchManagementClientContext;
|
|
2684
|
-
}(msRestAzure.AzureServiceClient));
|
|
2685
|
-
|
|
2686
|
-
/*
|
|
2687
|
-
* Copyright (c) Microsoft Corporation.
|
|
2688
|
-
* Licensed under the MIT License.
|
|
2689
|
-
*
|
|
2690
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2691
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2692
|
-
* regenerated.
|
|
2693
|
-
*/
|
|
2694
|
-
var SearchManagementClient = /** @class */ (function (_super) {
|
|
2695
|
-
__extends(SearchManagementClient, _super);
|
|
2696
|
-
/**
|
|
2697
|
-
* Initializes a new instance of the SearchManagementClient class.
|
|
2698
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2699
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2700
|
-
* more information about these credentials, see
|
|
2701
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2702
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2703
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2704
|
-
* @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
|
|
2705
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2706
|
-
* @param [options] The parameter options
|
|
2707
|
-
*/
|
|
2708
|
-
function SearchManagementClient(credentials, subscriptionId, options) {
|
|
2709
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
2710
|
-
_this.operations = new Operations(_this);
|
|
2711
|
-
_this.adminKeys = new AdminKeys(_this);
|
|
2712
|
-
_this.queryKeys = new QueryKeys(_this);
|
|
2713
|
-
_this.services = new Services(_this);
|
|
2714
|
-
_this.privateLinkResources = new PrivateLinkResources(_this);
|
|
2715
|
-
_this.privateEndpointConnections = new PrivateEndpointConnections(_this);
|
|
2716
|
-
_this.sharedPrivateLinkResources = new SharedPrivateLinkResources(_this);
|
|
2717
|
-
return _this;
|
|
2718
|
-
}
|
|
2719
|
-
return SearchManagementClient;
|
|
2720
|
-
}(SearchManagementClientContext));
|
|
2721
|
-
|
|
2722
|
-
exports.AdminKeys = AdminKeys;
|
|
2723
|
-
exports.Operations = Operations;
|
|
2724
|
-
exports.PrivateEndpointConnections = PrivateEndpointConnections;
|
|
2725
|
-
exports.PrivateLinkResources = PrivateLinkResources;
|
|
2726
|
-
exports.QueryKeys = QueryKeys;
|
|
2727
|
-
exports.SearchManagementClient = SearchManagementClient;
|
|
2728
|
-
exports.SearchManagementClientContext = SearchManagementClientContext;
|
|
2729
|
-
exports.SearchManagementMappers = mappers;
|
|
2730
|
-
exports.SearchManagementModels = index;
|
|
2731
|
-
exports.Services = Services;
|
|
2732
|
-
exports.SharedPrivateLinkResources = SharedPrivateLinkResources;
|
|
2733
|
-
|
|
2734
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2735
|
-
|
|
2736
|
-
})));
|
|
2737
|
-
//# sourceMappingURL=arm-search.js.map
|