@azure/arm-cognitiveservices 5.2.0 → 7.0.0-alpha.20211202.3

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