@azure/arm-cognitiveservices 6.0.0 → 7.0.0-alpha.20211220.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 (223) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -95
  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 +1017 -713
  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 +3 -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/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
  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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/commitmentPlans.js} +2 -9
  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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/commitmentTiers.js} +2 -2
  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/{src/models/resourceSkusMappers.ts → dist-esm/src/operationsInterfaces/deletedAccounts.js} +2 -10
  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 -22
  117. package/review/arm-cognitiveservices.api.md +1150 -0
  118. package/rollup.config.js +181 -24
  119. package/src/cognitiveServicesManagementClient.ts +148 -172
  120. package/src/index.ts +12 -0
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +1122 -1415
  123. package/src/models/mappers.ts +1161 -835
  124. package/src/models/parameters.ts +159 -40
  125. package/src/operations/accounts.ts +587 -574
  126. package/src/operations/commitmentPlans.ts +394 -0
  127. package/src/operations/commitmentTiers.ts +158 -0
  128. package/src/operations/deletedAccounts.ts +197 -185
  129. package/src/operations/deployments.ts +464 -0
  130. package/src/operations/index.ts +4 -2
  131. package/src/operations/operations.ts +85 -85
  132. package/src/operations/privateEndpointConnections.ts +232 -202
  133. package/src/operations/privateLinkResources.ts +34 -62
  134. package/src/operations/resourceSkus.ts +90 -86
  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} +5 -3
  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 -3385
  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 -77
  153. package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
  154. package/esm/cognitiveServicesManagementClient.js +0 -108
  155. package/esm/cognitiveServicesManagementClient.js.map +0 -1
  156. package/esm/cognitiveServicesManagementClientContext.d.ts +0 -22
  157. package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
  158. package/esm/cognitiveServicesManagementClientContext.js +0 -61
  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/deletedAccountsMappers.d.ts +0 -2
  165. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  166. package/esm/models/deletedAccountsMappers.js +0 -9
  167. package/esm/models/deletedAccountsMappers.js.map +0 -1
  168. package/esm/models/index.d.ts +0 -1645
  169. package/esm/models/index.d.ts.map +0 -1
  170. package/esm/models/index.js.map +0 -1
  171. package/esm/models/mappers.d.ts +0 -58
  172. package/esm/models/mappers.d.ts.map +0 -1
  173. package/esm/models/mappers.js.map +0 -1
  174. package/esm/models/operationsMappers.d.ts +0 -2
  175. package/esm/models/operationsMappers.d.ts.map +0 -1
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -11
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -115
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  182. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  183. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  184. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  185. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  186. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  187. package/esm/models/privateLinkResourcesMappers.js +0 -9
  188. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  189. package/esm/models/resourceSkusMappers.d.ts +0 -2
  190. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  191. package/esm/models/resourceSkusMappers.js +0 -9
  192. package/esm/models/resourceSkusMappers.js.map +0 -1
  193. package/esm/operations/accounts.d.ts +0 -245
  194. package/esm/operations/accounts.d.ts.map +0 -1
  195. package/esm/operations/accounts.js +0 -389
  196. package/esm/operations/accounts.js.map +0 -1
  197. package/esm/operations/deletedAccounts.d.ts +0 -89
  198. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  199. package/esm/operations/deletedAccounts.js +0 -149
  200. package/esm/operations/deletedAccounts.js.map +0 -1
  201. package/esm/operations/index.d.ts.map +0 -1
  202. package/esm/operations/index.js.map +0 -1
  203. package/esm/operations/operations.d.ts +0 -46
  204. package/esm/operations/operations.d.ts.map +0 -1
  205. package/esm/operations/operations.js +0 -69
  206. package/esm/operations/operations.js.map +0 -1
  207. package/esm/operations/privateEndpointConnections.d.ts +0 -108
  208. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  209. package/esm/operations/privateEndpointConnections.js +0 -193
  210. package/esm/operations/privateEndpointConnections.js.map +0 -1
  211. package/esm/operations/privateLinkResources.d.ts +0 -34
  212. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  213. package/esm/operations/privateLinkResources.js +0 -49
  214. package/esm/operations/privateLinkResources.js.map +0 -1
  215. package/esm/operations/resourceSkus.d.ts +0 -46
  216. package/esm/operations/resourceSkus.d.ts.map +0 -1
  217. package/esm/operations/resourceSkus.js +0 -70
  218. package/esm/operations/resourceSkus.js.map +0 -1
  219. package/src/cognitiveServicesManagementClientContext.ts +0 -74
  220. package/src/models/accountsMappers.ts +0 -51
  221. package/src/models/deletedAccountsMappers.ts +0 -44
  222. package/src/models/privateEndpointConnectionsMappers.ts +0 -44
  223. package/src/models/privateLinkResourcesMappers.ts +0 -44
@@ -1,193 +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
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/privateEndpointConnectionsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a PrivateEndpointConnections. */
14
- var PrivateEndpointConnections = /** @class */ (function () {
15
- /**
16
- * Create a PrivateEndpointConnections.
17
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
18
- */
19
- function PrivateEndpointConnections(client) {
20
- this.client = client;
21
- }
22
- PrivateEndpointConnections.prototype.list = function (resourceGroupName, accountName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- accountName: accountName,
26
- options: options
27
- }, listOperationSpec, callback);
28
- };
29
- PrivateEndpointConnections.prototype.get = function (resourceGroupName, accountName, privateEndpointConnectionName, options, callback) {
30
- return this.client.sendOperationRequest({
31
- resourceGroupName: resourceGroupName,
32
- accountName: accountName,
33
- privateEndpointConnectionName: privateEndpointConnectionName,
34
- options: options
35
- }, getOperationSpec, callback);
36
- };
37
- /**
38
- * Update the state of specified private endpoint connection associated with the Cognitive Services
39
- * account.
40
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
- * @param accountName The name of Cognitive Services account.
42
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
43
- * the Cognitive Services Account
44
- * @param properties The private endpoint connection properties.
45
- * @param [options] The optional parameters
46
- * @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
47
- */
48
- PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
49
- return this.beginCreateOrUpdate(resourceGroupName, accountName, privateEndpointConnectionName, properties, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
50
- };
51
- /**
52
- * Deletes the specified private endpoint connection associated with the Cognitive Services
53
- * account.
54
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
- * @param accountName The name of Cognitive Services account.
56
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
57
- * the Cognitive Services Account
58
- * @param [options] The optional parameters
59
- * @returns Promise<msRest.RestResponse>
60
- */
61
- PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, accountName, privateEndpointConnectionName, options) {
62
- return this.beginDeleteMethod(resourceGroupName, accountName, privateEndpointConnectionName, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
63
- };
64
- /**
65
- * Update the state of specified private endpoint connection associated with the Cognitive Services
66
- * account.
67
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
- * @param accountName The name of Cognitive Services account.
69
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
70
- * the Cognitive Services Account
71
- * @param properties The private endpoint connection properties.
72
- * @param [options] The optional parameters
73
- * @returns Promise<msRestAzure.LROPoller>
74
- */
75
- PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
76
- return this.client.sendLRORequest({
77
- resourceGroupName: resourceGroupName,
78
- accountName: accountName,
79
- privateEndpointConnectionName: privateEndpointConnectionName,
80
- properties: properties,
81
- options: options
82
- }, beginCreateOrUpdateOperationSpec, options);
83
- };
84
- /**
85
- * Deletes the specified private endpoint connection associated with the Cognitive Services
86
- * account.
87
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
88
- * @param accountName The name of Cognitive Services account.
89
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
90
- * the Cognitive Services Account
91
- * @param [options] The optional parameters
92
- * @returns Promise<msRestAzure.LROPoller>
93
- */
94
- PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, accountName, privateEndpointConnectionName, options) {
95
- return this.client.sendLRORequest({
96
- resourceGroupName: resourceGroupName,
97
- accountName: accountName,
98
- privateEndpointConnectionName: privateEndpointConnectionName,
99
- options: options
100
- }, beginDeleteMethodOperationSpec, options);
101
- };
102
- return PrivateEndpointConnections;
103
- }());
104
- export { PrivateEndpointConnections };
105
- // Operation Specifications
106
- var serializer = new msRest.Serializer(Mappers);
107
- var listOperationSpec = {
108
- httpMethod: "GET",
109
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections",
110
- urlParameters: [Parameters.resourceGroupName, Parameters.accountName, Parameters.subscriptionId],
111
- queryParameters: [Parameters.apiVersion],
112
- headerParameters: [Parameters.acceptLanguage],
113
- responses: {
114
- 200: {
115
- bodyMapper: Mappers.PrivateEndpointConnectionListResult
116
- },
117
- default: {
118
- bodyMapper: Mappers.ErrorResponse
119
- }
120
- },
121
- serializer: serializer
122
- };
123
- var getOperationSpec = {
124
- httpMethod: "GET",
125
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
126
- urlParameters: [
127
- Parameters.resourceGroupName,
128
- Parameters.accountName,
129
- Parameters.subscriptionId,
130
- Parameters.privateEndpointConnectionName
131
- ],
132
- queryParameters: [Parameters.apiVersion],
133
- headerParameters: [Parameters.acceptLanguage],
134
- responses: {
135
- 200: {
136
- bodyMapper: Mappers.PrivateEndpointConnection
137
- },
138
- default: {
139
- bodyMapper: Mappers.ErrorResponse
140
- }
141
- },
142
- serializer: serializer
143
- };
144
- var beginCreateOrUpdateOperationSpec = {
145
- httpMethod: "PUT",
146
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
147
- urlParameters: [
148
- Parameters.resourceGroupName,
149
- Parameters.accountName,
150
- Parameters.subscriptionId,
151
- Parameters.privateEndpointConnectionName
152
- ],
153
- queryParameters: [Parameters.apiVersion],
154
- headerParameters: [Parameters.acceptLanguage],
155
- requestBody: {
156
- parameterPath: "properties",
157
- mapper: __assign(__assign({}, Mappers.PrivateEndpointConnection), { required: true })
158
- },
159
- responses: {
160
- 200: {
161
- bodyMapper: Mappers.PrivateEndpointConnection
162
- },
163
- 202: {
164
- bodyMapper: Mappers.PrivateEndpointConnection
165
- },
166
- default: {
167
- bodyMapper: Mappers.ErrorResponse
168
- }
169
- },
170
- serializer: serializer
171
- };
172
- var beginDeleteMethodOperationSpec = {
173
- httpMethod: "DELETE",
174
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
175
- urlParameters: [
176
- Parameters.resourceGroupName,
177
- Parameters.accountName,
178
- Parameters.subscriptionId,
179
- Parameters.privateEndpointConnectionName
180
- ],
181
- queryParameters: [Parameters.apiVersion],
182
- headerParameters: [Parameters.acceptLanguage],
183
- responses: {
184
- 200: {},
185
- 202: {},
186
- 204: {},
187
- default: {
188
- bodyMapper: Mappers.ErrorResponse
189
- }
190
- },
191
- serializer: serializer
192
- };
193
- //# sourceMappingURL=privateEndpointConnections.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"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"}
@@ -1,34 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { CognitiveServicesManagementClientContext } from "../cognitiveServicesManagementClientContext";
4
- /** Class representing a PrivateLinkResources. */
5
- export declare class PrivateLinkResources {
6
- private readonly client;
7
- /**
8
- * Create a PrivateLinkResources.
9
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: CognitiveServicesManagementClientContext);
12
- /**
13
- * Gets the private link resources that need to be created for a Cognitive Services account.
14
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
- * @param accountName The name of Cognitive Services account.
16
- * @param [options] The optional parameters
17
- * @returns Promise<Models.PrivateLinkResourcesListResponse>
18
- */
19
- list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesListResponse>;
20
- /**
21
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
- * @param accountName The name of Cognitive Services account.
23
- * @param callback The callback
24
- */
25
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
26
- /**
27
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
- * @param accountName The name of Cognitive Services account.
29
- * @param options The optional parameters
30
- * @param callback The callback
31
- */
32
- list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
33
- }
34
- //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,iDAAiD;AACjD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAClC,OAAO,CAAC,MAAM,CAAC,gCAAgC,CAAC;IACnD;;;;OAIG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACrE,IAAI;IACP;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACrE,IAAI;CAmBR"}
@@ -1,49 +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
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/privateLinkResourcesMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a PrivateLinkResources. */
13
- var PrivateLinkResources = /** @class */ (function () {
14
- /**
15
- * Create a PrivateLinkResources.
16
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
17
- */
18
- function PrivateLinkResources(client) {
19
- this.client = client;
20
- }
21
- PrivateLinkResources.prototype.list = function (resourceGroupName, accountName, options, callback) {
22
- return this.client.sendOperationRequest({
23
- resourceGroupName: resourceGroupName,
24
- accountName: accountName,
25
- options: options
26
- }, listOperationSpec, callback);
27
- };
28
- return PrivateLinkResources;
29
- }());
30
- export { PrivateLinkResources };
31
- // Operation Specifications
32
- var serializer = new msRest.Serializer(Mappers);
33
- var listOperationSpec = {
34
- httpMethod: "GET",
35
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateLinkResources",
36
- urlParameters: [Parameters.resourceGroupName, Parameters.accountName, Parameters.subscriptionId],
37
- queryParameters: [Parameters.apiVersion],
38
- headerParameters: [Parameters.acceptLanguage],
39
- responses: {
40
- 200: {
41
- bodyMapper: Mappers.PrivateLinkResourceListResult
42
- },
43
- default: {
44
- bodyMapper: Mappers.ErrorResponse
45
- }
46
- },
47
- serializer: serializer
48
- };
49
- //# sourceMappingURL=privateLinkResources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iDAAiD;AACjD;IAGE;;;OAGG;IACH,8BAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoCD,mCAAI,GAAJ,UACE,iBAAyB,EACzB,WAAmB,EACnB,OAEgE,EAChE,QAAuE;QAEvE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAC2C,CAAC;IACxD,CAAC;IACH,2BAAC;AAAD,CAAC,AA/DD,IA+DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EACF,qJAAqJ;IACvJ,aAAa,EAAE,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,cAAc,CAAC;IAChG,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7C,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,46 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { CognitiveServicesManagementClientContext } from "../cognitiveServicesManagementClientContext";
4
- /** Class representing a ResourceSkus. */
5
- export declare class ResourceSkus {
6
- private readonly client;
7
- /**
8
- * Create a ResourceSkus.
9
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: CognitiveServicesManagementClientContext);
12
- /**
13
- * Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.ResourceSkusListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.ResourceSkusListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.ResourceSkuListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceSkuListResult>): void;
27
- /**
28
- * Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.
29
- * @param nextPageLink The NextLink from the previous successful call to List operation.
30
- * @param [options] The optional parameters
31
- * @returns Promise<Models.ResourceSkusListNextResponse>
32
- */
33
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ResourceSkusListNextResponse>;
34
- /**
35
- * @param nextPageLink The NextLink from the previous successful call to List operation.
36
- * @param callback The callback
37
- */
38
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ResourceSkuListResult>): void;
39
- /**
40
- * @param nextPageLink The NextLink from the previous successful call to List operation.
41
- * @param options The optional parameters
42
- * @param callback The callback
43
- */
44
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceSkuListResult>): void;
45
- }
46
- //# sourceMappingURL=resourceSkus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resourceSkus.d.ts","sourceRoot":"","sources":["../../src/operations/resourceSkus.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,yCAAyC;AACzC,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAC;IACnF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAC1E;;;OAGG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAC7D,IAAI;IAcP;;;;;OAKG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAClC,OAAO,CAAC,MAAM,CAAC,4BAA4B,CAAC;IAC/C;;;OAGG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAC7D,IAAI;IACP;;;;OAIG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAC7D,IAAI;CAeR"}
@@ -1,70 +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
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/resourceSkusMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a ResourceSkus. */
13
- var ResourceSkus = /** @class */ (function () {
14
- /**
15
- * Create a ResourceSkus.
16
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
17
- */
18
- function ResourceSkus(client) {
19
- this.client = client;
20
- }
21
- ResourceSkus.prototype.list = function (options, callback) {
22
- return this.client.sendOperationRequest({
23
- options: options
24
- }, listOperationSpec, callback);
25
- };
26
- ResourceSkus.prototype.listNext = function (nextPageLink, options, callback) {
27
- return this.client.sendOperationRequest({
28
- nextPageLink: nextPageLink,
29
- options: options
30
- }, listNextOperationSpec, callback);
31
- };
32
- return ResourceSkus;
33
- }());
34
- export { ResourceSkus };
35
- // Operation Specifications
36
- var serializer = new msRest.Serializer(Mappers);
37
- var listOperationSpec = {
38
- httpMethod: "GET",
39
- path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus",
40
- urlParameters: [Parameters.subscriptionId],
41
- queryParameters: [Parameters.apiVersion],
42
- headerParameters: [Parameters.acceptLanguage],
43
- responses: {
44
- 200: {
45
- bodyMapper: Mappers.ResourceSkuListResult
46
- },
47
- default: {
48
- bodyMapper: Mappers.ErrorResponse
49
- }
50
- },
51
- serializer: serializer
52
- };
53
- var listNextOperationSpec = {
54
- httpMethod: "GET",
55
- baseUrl: "https://management.azure.com",
56
- path: "{nextLink}",
57
- urlParameters: [Parameters.nextPageLink],
58
- queryParameters: [Parameters.apiVersion],
59
- headerParameters: [Parameters.acceptLanguage],
60
- responses: {
61
- 200: {
62
- bodyMapper: Mappers.ResourceSkuListResult
63
- },
64
- default: {
65
- bodyMapper: Mappers.ErrorResponse
66
- }
67
- },
68
- serializer: serializer
69
- };
70
- //# sourceMappingURL=resourceSkus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../src/operations/resourceSkus.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yCAAyC;AACzC;IAGE;;;OAGG;IACH,sBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoBD,2BAAI,GAAJ,UACE,OAA0F,EAC1F,QAA+D;QAE/D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CACmC,CAAC;IAChD,CAAC;IA8BD,+BAAQ,GAAR,UACE,YAAoB,EACpB,OAA0F,EAC1F,QAA+D;QAE/D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CACuC,CAAC;IACpD,CAAC;IACH,mBAAC;AAAD,CAAC,AApFD,IAoFC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,2EAA2E;IACjF,aAAa,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC1C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7C,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IACxC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7C,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,74 +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
7
- * regenerated.
8
- */
9
-
10
- import * as Models from "./models";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
- import { TokenCredential } from "@azure/core-auth";
14
-
15
- const packageName = "@azure/arm-cognitiveservices";
16
- const packageVersion = "6.0.0";
17
-
18
- export class CognitiveServicesManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials | TokenCredential;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the CognitiveServicesManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
- * more information about these credentials, see
28
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
- * @azure/ms-rest-browserauth are also supported.
31
- * @param subscriptionId The ID of the target subscription.
32
- * @param [options] The parameter options
33
- */
34
- constructor(
35
- credentials: msRest.ServiceClientCredentials | TokenCredential,
36
- subscriptionId: string,
37
- options?: Models.CognitiveServicesManagementClientOptions
38
- ) {
39
- if (credentials == undefined) {
40
- throw new Error("'credentials' cannot be null.");
41
- }
42
- if (subscriptionId == undefined) {
43
- throw new Error("'subscriptionId' cannot be null.");
44
- }
45
-
46
- if (!options) {
47
- options = {};
48
- }
49
- if (!options.userAgent) {
50
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
51
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
52
- }
53
-
54
- super(credentials, options);
55
-
56
- this.apiVersion = "2021-04-30";
57
- this.acceptLanguage = "en-US";
58
- this.longRunningOperationRetryTimeout = 30;
59
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
60
- this.requestContentType = "application/json; charset=utf-8";
61
- this.credentials = credentials;
62
- this.subscriptionId = subscriptionId;
63
-
64
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
65
- this.acceptLanguage = options.acceptLanguage;
66
- }
67
- if (
68
- options.longRunningOperationRetryTimeout !== null &&
69
- options.longRunningOperationRetryTimeout !== undefined
70
- ) {
71
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
72
- }
73
- }
74
- }
@@ -1,51 +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
-
9
- export {
10
- Account,
11
- AccountListResult,
12
- AccountProperties,
13
- AccountSku,
14
- AccountSkuListResult,
15
- ApiKeys,
16
- ApiProperties,
17
- AzureEntityResource,
18
- BaseResource,
19
- CallRateLimit,
20
- Encryption,
21
- ErrorAdditionalInfo,
22
- ErrorDetail,
23
- ErrorResponse,
24
- Identity,
25
- IpRule,
26
- KeyVaultProperties,
27
- MetricName,
28
- NetworkRuleSet,
29
- PrivateEndpoint,
30
- PrivateEndpointConnection,
31
- PrivateEndpointConnectionProperties,
32
- PrivateLinkResource,
33
- PrivateLinkResourceProperties,
34
- PrivateLinkServiceConnectionState,
35
- ProxyResource,
36
- QuotaLimit,
37
- RegenerateKeyParameters,
38
- RequestMatchPattern,
39
- Resource,
40
- Sku,
41
- SkuCapability,
42
- SkuChangeInfo,
43
- SystemData,
44
- ThrottlingRule,
45
- TrackedResource,
46
- Usage,
47
- UsageListResult,
48
- UserAssignedIdentity,
49
- UserOwnedStorage,
50
- VirtualNetworkRule
51
- } from "../models/mappers";
@@ -1,44 +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
-
9
- export {
10
- Account,
11
- AccountListResult,
12
- AccountProperties,
13
- ApiProperties,
14
- AzureEntityResource,
15
- BaseResource,
16
- CallRateLimit,
17
- Encryption,
18
- ErrorAdditionalInfo,
19
- ErrorDetail,
20
- ErrorResponse,
21
- Identity,
22
- IpRule,
23
- KeyVaultProperties,
24
- NetworkRuleSet,
25
- PrivateEndpoint,
26
- PrivateEndpointConnection,
27
- PrivateEndpointConnectionProperties,
28
- PrivateLinkResource,
29
- PrivateLinkResourceProperties,
30
- PrivateLinkServiceConnectionState,
31
- ProxyResource,
32
- QuotaLimit,
33
- RequestMatchPattern,
34
- Resource,
35
- Sku,
36
- SkuCapability,
37
- SkuChangeInfo,
38
- SystemData,
39
- ThrottlingRule,
40
- TrackedResource,
41
- UserAssignedIdentity,
42
- UserOwnedStorage,
43
- VirtualNetworkRule
44
- } from "../models/mappers";
@@ -1,44 +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
-
9
- export {
10
- Account,
11
- AccountProperties,
12
- ApiProperties,
13
- AzureEntityResource,
14
- BaseResource,
15
- CallRateLimit,
16
- Encryption,
17
- ErrorAdditionalInfo,
18
- ErrorDetail,
19
- ErrorResponse,
20
- Identity,
21
- IpRule,
22
- KeyVaultProperties,
23
- NetworkRuleSet,
24
- PrivateEndpoint,
25
- PrivateEndpointConnection,
26
- PrivateEndpointConnectionListResult,
27
- PrivateEndpointConnectionProperties,
28
- PrivateLinkResource,
29
- PrivateLinkResourceProperties,
30
- PrivateLinkServiceConnectionState,
31
- ProxyResource,
32
- QuotaLimit,
33
- RequestMatchPattern,
34
- Resource,
35
- Sku,
36
- SkuCapability,
37
- SkuChangeInfo,
38
- SystemData,
39
- ThrottlingRule,
40
- TrackedResource,
41
- UserAssignedIdentity,
42
- UserOwnedStorage,
43
- VirtualNetworkRule
44
- } from "../models/mappers";