@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,89 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { CognitiveServicesManagementClientContext } from "../cognitiveServicesManagementClientContext";
5
- /** Class representing a DeletedAccounts. */
6
- export declare class DeletedAccounts {
7
- private readonly client;
8
- /**
9
- * Create a DeletedAccounts.
10
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: CognitiveServicesManagementClientContext);
13
- /**
14
- * Returns a Cognitive Services account specified by the parameters.
15
- * @param location Resource location.
16
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
- * @param accountName The name of Cognitive Services account.
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.DeletedAccountsGetResponse>
20
- */
21
- get(location: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedAccountsGetResponse>;
22
- /**
23
- * @param location Resource location.
24
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
- * @param accountName The name of Cognitive Services account.
26
- * @param callback The callback
27
- */
28
- get(location: string, resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.Account>): void;
29
- /**
30
- * @param location Resource location.
31
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
- * @param accountName The name of Cognitive Services account.
33
- * @param options The optional parameters
34
- * @param callback The callback
35
- */
36
- get(location: string, resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Account>): void;
37
- /**
38
- * Deletes a Cognitive Services account from the resource group.
39
- * @param location Resource location.
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 [options] The optional parameters
43
- * @returns Promise<msRest.RestResponse>
44
- */
45
- purge(location: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
46
- /**
47
- * Returns all the resources of a particular type belonging to a subscription.
48
- * @param [options] The optional parameters
49
- * @returns Promise<Models.DeletedAccountsListResponse>
50
- */
51
- list(options?: msRest.RequestOptionsBase): Promise<Models.DeletedAccountsListResponse>;
52
- /**
53
- * @param callback The callback
54
- */
55
- list(callback: msRest.ServiceCallback<Models.AccountListResult>): void;
56
- /**
57
- * @param options The optional parameters
58
- * @param callback The callback
59
- */
60
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
61
- /**
62
- * Deletes a Cognitive Services account from the resource group.
63
- * @param location Resource location.
64
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
- * @param accountName The name of Cognitive Services account.
66
- * @param [options] The optional parameters
67
- * @returns Promise<msRestAzure.LROPoller>
68
- */
69
- beginPurge(location: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
70
- /**
71
- * Returns all the resources of a particular type belonging to a subscription.
72
- * @param nextPageLink The NextLink from the previous successful call to List operation.
73
- * @param [options] The optional parameters
74
- * @returns Promise<Models.DeletedAccountsListNextResponse>
75
- */
76
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedAccountsListNextResponse>;
77
- /**
78
- * @param nextPageLink The NextLink from the previous successful call to List operation.
79
- * @param callback The callback
80
- */
81
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
82
- /**
83
- * @param nextPageLink The NextLink from the previous successful call to List operation.
84
- * @param options The optional parameters
85
- * @param callback The callback
86
- */
87
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountListResult>): void;
88
- }
89
- //# sourceMappingURL=deletedAccounts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deletedAccounts.d.ts","sourceRoot":"","sources":["../../src/operations/deletedAccounts.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,4CAA4C;AAC5C,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;;;OAOG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,O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CAAC;IAajC;;;;;OAKG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAClC,OAAO,CAAC,MAAM,CAAC,+BAA+B,CAAC;IAClD;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI;IAChG;;;;OAIG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,iBAAiB,CAAC,GACzD,IAAI;CAeR"}
@@ -1,149 +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/deletedAccountsMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a DeletedAccounts. */
13
- var DeletedAccounts = /** @class */ (function () {
14
- /**
15
- * Create a DeletedAccounts.
16
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
17
- */
18
- function DeletedAccounts(client) {
19
- this.client = client;
20
- }
21
- DeletedAccounts.prototype.get = function (location, resourceGroupName, accountName, options, callback) {
22
- return this.client.sendOperationRequest({
23
- location: location,
24
- resourceGroupName: resourceGroupName,
25
- accountName: accountName,
26
- options: options
27
- }, getOperationSpec, callback);
28
- };
29
- /**
30
- * Deletes a Cognitive Services account from the resource group.
31
- * @param location Resource location.
32
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
- * @param accountName The name of Cognitive Services account.
34
- * @param [options] The optional parameters
35
- * @returns Promise<msRest.RestResponse>
36
- */
37
- DeletedAccounts.prototype.purge = function (location, resourceGroupName, accountName, options) {
38
- return this.beginPurge(location, resourceGroupName, accountName, options).then(function (lroPoller) {
39
- return lroPoller.pollUntilFinished();
40
- });
41
- };
42
- DeletedAccounts.prototype.list = function (options, callback) {
43
- return this.client.sendOperationRequest({
44
- options: options
45
- }, listOperationSpec, callback);
46
- };
47
- /**
48
- * Deletes a Cognitive Services account from the resource group.
49
- * @param location Resource location.
50
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
- * @param accountName The name of Cognitive Services account.
52
- * @param [options] The optional parameters
53
- * @returns Promise<msRestAzure.LROPoller>
54
- */
55
- DeletedAccounts.prototype.beginPurge = function (location, resourceGroupName, accountName, options) {
56
- return this.client.sendLRORequest({
57
- location: location,
58
- resourceGroupName: resourceGroupName,
59
- accountName: accountName,
60
- options: options
61
- }, beginPurgeOperationSpec, options);
62
- };
63
- DeletedAccounts.prototype.listNext = function (nextPageLink, options, callback) {
64
- return this.client.sendOperationRequest({
65
- nextPageLink: nextPageLink,
66
- options: options
67
- }, listNextOperationSpec, callback);
68
- };
69
- return DeletedAccounts;
70
- }());
71
- export { DeletedAccounts };
72
- // Operation Specifications
73
- var serializer = new msRest.Serializer(Mappers);
74
- var getOperationSpec = {
75
- httpMethod: "GET",
76
- path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}",
77
- urlParameters: [
78
- Parameters.location,
79
- Parameters.resourceGroupName,
80
- Parameters.accountName,
81
- Parameters.subscriptionId
82
- ],
83
- queryParameters: [Parameters.apiVersion],
84
- headerParameters: [Parameters.acceptLanguage],
85
- responses: {
86
- 200: {
87
- bodyMapper: Mappers.Account
88
- },
89
- default: {
90
- bodyMapper: Mappers.ErrorResponse
91
- }
92
- },
93
- serializer: serializer
94
- };
95
- var listOperationSpec = {
96
- httpMethod: "GET",
97
- path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts",
98
- urlParameters: [Parameters.subscriptionId],
99
- queryParameters: [Parameters.apiVersion],
100
- headerParameters: [Parameters.acceptLanguage],
101
- responses: {
102
- 200: {
103
- bodyMapper: Mappers.AccountListResult
104
- },
105
- default: {
106
- bodyMapper: Mappers.ErrorResponse
107
- }
108
- },
109
- serializer: serializer
110
- };
111
- var beginPurgeOperationSpec = {
112
- httpMethod: "DELETE",
113
- path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}",
114
- urlParameters: [
115
- Parameters.location,
116
- Parameters.resourceGroupName,
117
- Parameters.accountName,
118
- Parameters.subscriptionId
119
- ],
120
- queryParameters: [Parameters.apiVersion],
121
- headerParameters: [Parameters.acceptLanguage],
122
- responses: {
123
- 200: {},
124
- 202: {},
125
- 204: {},
126
- default: {
127
- bodyMapper: Mappers.ErrorResponse
128
- }
129
- },
130
- serializer: serializer
131
- };
132
- var listNextOperationSpec = {
133
- httpMethod: "GET",
134
- baseUrl: "https://management.azure.com",
135
- path: "{nextLink}",
136
- urlParameters: [Parameters.nextPageLink],
137
- queryParameters: [Parameters.apiVersion],
138
- headerParameters: [Parameters.acceptLanguage],
139
- responses: {
140
- 200: {
141
- bodyMapper: Mappers.AccountListResult
142
- },
143
- default: {
144
- bodyMapper: Mappers.ErrorResponse
145
- }
146
- },
147
- serializer: serializer
148
- };
149
- //# sourceMappingURL=deletedAccounts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deletedAccounts.js","sourceRoot":"","sources":["../../src/operations/deletedAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,kCAAkC,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,4CAA4C;AAC5C;IAGE;;;OAGG;IACH,yBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA0C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AAU,CAAC,cAAc,CAAC;IAC7C,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,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,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,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 Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: CognitiveServicesManagementClientContext);
12
- /**
13
- * Lists all the available Cognitive Services account operations.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
27
- /**
28
- * Lists all the available Cognitive Services account operations.
29
- * @param nextPageLink The NextLink from the previous successful call to List operation.
30
- * @param [options] The optional parameters
31
- * @returns Promise<Models.OperationsListNextResponse>
32
- */
33
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
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.OperationListResult>): 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.OperationListResult>): void;
45
- }
46
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.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,uCAAuC;AACvC,qBAAa,UAAU;IACrB,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,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAC3D,IAAI;IAcP;;;;;OAKG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAClC,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC7C;;;OAGG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAC3D,IAAI;IACP;;;;OAIG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAC3D,IAAI;CAeR"}
@@ -1,69 +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/operationsMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a Operations. */
13
- var Operations = /** @class */ (function () {
14
- /**
15
- * Create a Operations.
16
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
17
- */
18
- function Operations(client) {
19
- this.client = client;
20
- }
21
- Operations.prototype.list = function (options, callback) {
22
- return this.client.sendOperationRequest({
23
- options: options
24
- }, listOperationSpec, callback);
25
- };
26
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
27
- return this.client.sendOperationRequest({
28
- nextPageLink: nextPageLink,
29
- options: options
30
- }, listNextOperationSpec, callback);
31
- };
32
- return Operations;
33
- }());
34
- export { Operations };
35
- // Operation Specifications
36
- var serializer = new msRest.Serializer(Mappers);
37
- var listOperationSpec = {
38
- httpMethod: "GET",
39
- path: "providers/Microsoft.CognitiveServices/operations",
40
- queryParameters: [Parameters.apiVersion],
41
- headerParameters: [Parameters.acceptLanguage],
42
- responses: {
43
- 200: {
44
- bodyMapper: Mappers.OperationListResult
45
- },
46
- default: {
47
- bodyMapper: Mappers.ErrorResponse
48
- }
49
- },
50
- serializer: serializer
51
- };
52
- var listNextOperationSpec = {
53
- httpMethod: "GET",
54
- baseUrl: "https://management.azure.com",
55
- path: "{nextLink}",
56
- urlParameters: [Parameters.nextPageLink],
57
- queryParameters: [Parameters.apiVersion],
58
- headerParameters: [Parameters.acceptLanguage],
59
- responses: {
60
- 200: {
61
- bodyMapper: Mappers.OperationListResult
62
- },
63
- default: {
64
- bodyMapper: Mappers.ErrorResponse
65
- }
66
- },
67
- serializer: serializer
68
- };
69
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoBD,y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D,UAAU,YAAA;CACX,CAAC"}
@@ -1,108 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { CognitiveServicesManagementClientContext } from "../cognitiveServicesManagementClientContext";
5
- /** Class representing a PrivateEndpointConnections. */
6
- export declare class PrivateEndpointConnections {
7
- private readonly client;
8
- /**
9
- * Create a PrivateEndpointConnections.
10
- * @param {CognitiveServicesManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: CognitiveServicesManagementClientContext);
13
- /**
14
- * Gets the private endpoint connections associated with the Cognitive Services account.
15
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
- * @param accountName The name of Cognitive Services account.
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.PrivateEndpointConnectionsListResponse>
19
- */
20
- list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsListResponse>;
21
- /**
22
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
- * @param accountName The name of Cognitive Services account.
24
- * @param callback The callback
25
- */
26
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
27
- /**
28
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
- * @param accountName The name of Cognitive Services account.
30
- * @param options The optional parameters
31
- * @param callback The callback
32
- */
33
- list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
34
- /**
35
- * Gets the specified private endpoint connection associated with the Cognitive Services account.
36
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
- * @param accountName The name of Cognitive Services account.
38
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
39
- * the Cognitive Services Account
40
- * @param [options] The optional parameters
41
- * @returns Promise<Models.PrivateEndpointConnectionsGetResponse>
42
- */
43
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsGetResponse>;
44
- /**
45
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
- * @param accountName The name of Cognitive Services account.
47
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
48
- * the Cognitive Services Account
49
- * @param callback The callback
50
- */
51
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
52
- /**
53
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
- * @param accountName The name of Cognitive Services account.
55
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
56
- * the Cognitive Services Account
57
- * @param options The optional parameters
58
- * @param callback The callback
59
- */
60
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
61
- /**
62
- * Update the state of specified private endpoint connection associated with the Cognitive Services
63
- * account.
64
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
- * @param accountName The name of Cognitive Services account.
66
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
67
- * the Cognitive Services Account
68
- * @param properties The private endpoint connection properties.
69
- * @param [options] The optional parameters
70
- * @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
71
- */
72
- createOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>;
73
- /**
74
- * Deletes the specified private endpoint connection associated with the Cognitive Services
75
- * account.
76
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
- * @param accountName The name of Cognitive Services account.
78
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
79
- * the Cognitive Services Account
80
- * @param [options] The optional parameters
81
- * @returns Promise<msRest.RestResponse>
82
- */
83
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
84
- /**
85
- * Update the state of 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 properties The private endpoint connection properties.
92
- * @param [options] The optional parameters
93
- * @returns Promise<msRestAzure.LROPoller>
94
- */
95
- beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
96
- /**
97
- * Deletes the specified private endpoint connection associated with the Cognitive Services
98
- * account.
99
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
100
- * @param accountName The name of Cognitive Services account.
101
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
102
- * the Cognitive Services Account
103
- * @param [options] The optional parameters
104
- * @returns Promise<msRestAzure.LROPoller>
105
- */
106
- beginDeleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
107
- }
108
- //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wCAAwC,EAAE,MAAM,6CAA6C,CAAC;AAEvG,uDAAuD;AACvD,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,E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