@azure/arm-webservices 1.1.1-alpha.20250210.1 → 1.1.1-alpha.20250212.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/README.md +30 -15
  2. package/{dist-esm/src → dist/browser}/azureMLWebServicesManagementClient.d.ts +2 -2
  3. package/dist/browser/azureMLWebServicesManagementClient.d.ts.map +1 -0
  4. package/{dist-esm/src → dist/browser}/azureMLWebServicesManagementClient.js +15 -18
  5. package/dist/browser/azureMLWebServicesManagementClient.js.map +1 -0
  6. package/dist/browser/index.d.ts +5 -0
  7. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  8. package/{dist-esm/src → dist/browser}/index.js +4 -4
  9. package/dist/browser/index.js.map +1 -0
  10. package/dist/browser/lroImpl.js +25 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/dist/browser/operations/index.d.ts +3 -0
  17. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  18. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  19. package/dist/browser/operations/index.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  21. package/dist/browser/operations/operations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  23. package/dist/browser/operations/operations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/webServices.d.ts +3 -3
  25. package/dist/browser/operations/webServices.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/webServices.js +133 -149
  27. package/dist/browser/operations/webServices.js.map +1 -0
  28. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  29. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  30. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  31. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  34. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/webServices.d.ts +1 -1
  36. package/dist/browser/operationsInterfaces/webServices.d.ts.map +1 -0
  37. package/dist/browser/operationsInterfaces/webServices.js.map +1 -0
  38. package/dist/browser/package.json +3 -0
  39. package/dist/browser/pagingHelper.js.map +1 -0
  40. package/dist/commonjs/azureMLWebServicesManagementClient.d.ts +21 -0
  41. package/dist/commonjs/azureMLWebServicesManagementClient.d.ts.map +1 -0
  42. package/dist/commonjs/azureMLWebServicesManagementClient.js +103 -0
  43. package/dist/commonjs/azureMLWebServicesManagementClient.js.map +1 -0
  44. package/dist/commonjs/index.d.ts +5 -0
  45. package/dist/commonjs/index.d.ts.map +1 -0
  46. package/dist/commonjs/index.js +19 -0
  47. package/dist/commonjs/index.js.map +1 -0
  48. package/dist/commonjs/lroImpl.d.ts +16 -0
  49. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  50. package/dist/commonjs/lroImpl.js +29 -0
  51. package/dist/commonjs/lroImpl.js.map +1 -0
  52. package/{types/arm-webservices.d.ts → dist/commonjs/models/index.d.ts} +751 -971
  53. package/dist/commonjs/models/index.d.ts.map +1 -0
  54. package/dist/commonjs/models/index.js +131 -0
  55. package/dist/commonjs/models/index.js.map +1 -0
  56. package/dist/commonjs/models/mappers.d.ts +40 -0
  57. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  58. package/dist/commonjs/models/mappers.js +1136 -0
  59. package/dist/commonjs/models/mappers.js.map +1 -0
  60. package/dist/commonjs/models/parameters.d.ts +15 -0
  61. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  62. package/dist/commonjs/models/parameters.js +133 -0
  63. package/dist/commonjs/models/parameters.js.map +1 -0
  64. package/dist/commonjs/operations/index.d.ts +3 -0
  65. package/dist/commonjs/operations/index.d.ts.map +1 -0
  66. package/dist/commonjs/operations/index.js +13 -0
  67. package/dist/commonjs/operations/index.js.map +1 -0
  68. package/dist/commonjs/operations/operations.d.ts +26 -0
  69. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  70. package/dist/commonjs/operations/operations.js +97 -0
  71. package/dist/commonjs/operations/operations.js.map +1 -0
  72. package/dist/commonjs/operations/webServices.d.ts +146 -0
  73. package/dist/commonjs/operations/webServices.d.ts.map +1 -0
  74. package/dist/commonjs/operations/webServices.js +614 -0
  75. package/dist/commonjs/operations/webServices.js.map +1 -0
  76. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  77. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  78. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  79. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  80. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  81. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  83. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/webServices.d.ts +110 -0
  85. package/dist/commonjs/operationsInterfaces/webServices.d.ts.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/webServices.js +10 -0
  87. package/dist/commonjs/operationsInterfaces/webServices.js.map +1 -0
  88. package/dist/commonjs/package.json +3 -0
  89. package/dist/commonjs/pagingHelper.d.ts +13 -0
  90. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  91. package/dist/commonjs/pagingHelper.js +36 -0
  92. package/dist/commonjs/pagingHelper.js.map +1 -0
  93. package/dist/esm/azureMLWebServicesManagementClient.d.ts +21 -0
  94. package/dist/esm/azureMLWebServicesManagementClient.d.ts.map +1 -0
  95. package/dist/esm/azureMLWebServicesManagementClient.js +98 -0
  96. package/dist/esm/azureMLWebServicesManagementClient.js.map +1 -0
  97. package/dist/esm/index.d.ts +5 -0
  98. package/dist/esm/index.d.ts.map +1 -0
  99. package/{src/index.ts → dist/esm/index.js} +5 -5
  100. package/dist/esm/index.js.map +1 -0
  101. package/dist/esm/lroImpl.d.ts +16 -0
  102. package/dist/esm/lroImpl.d.ts.map +1 -0
  103. package/dist/esm/lroImpl.js +25 -0
  104. package/dist/esm/lroImpl.js.map +1 -0
  105. package/dist/esm/models/index.d.ts +751 -0
  106. package/dist/esm/models/index.d.ts.map +1 -0
  107. package/dist/esm/models/index.js +128 -0
  108. package/dist/esm/models/index.js.map +1 -0
  109. package/dist/esm/models/mappers.d.ts +40 -0
  110. package/dist/esm/models/mappers.d.ts.map +1 -0
  111. package/dist/esm/models/mappers.js +1133 -0
  112. package/dist/esm/models/mappers.js.map +1 -0
  113. package/dist/esm/models/parameters.d.ts +15 -0
  114. package/dist/esm/models/parameters.d.ts.map +1 -0
  115. package/dist/esm/models/parameters.js +130 -0
  116. package/dist/esm/models/parameters.js.map +1 -0
  117. package/dist/esm/operations/index.d.ts +3 -0
  118. package/dist/esm/operations/index.d.ts.map +1 -0
  119. package/dist/esm/operations/index.js +10 -0
  120. package/dist/esm/operations/index.js.map +1 -0
  121. package/dist/esm/operations/operations.d.ts +26 -0
  122. package/dist/esm/operations/operations.d.ts.map +1 -0
  123. package/dist/esm/operations/operations.js +93 -0
  124. package/dist/esm/operations/operations.js.map +1 -0
  125. package/dist/esm/operations/webServices.d.ts +146 -0
  126. package/dist/esm/operations/webServices.d.ts.map +1 -0
  127. package/dist/esm/operations/webServices.js +610 -0
  128. package/dist/esm/operations/webServices.js.map +1 -0
  129. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  130. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  131. package/dist/esm/operationsInterfaces/index.js +10 -0
  132. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  133. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  134. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  135. package/{src/operations/index.ts → dist/esm/operationsInterfaces/operations.js} +2 -3
  136. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  137. package/dist/esm/operationsInterfaces/webServices.d.ts +110 -0
  138. package/dist/esm/operationsInterfaces/webServices.d.ts.map +1 -0
  139. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/webServices.js} +2 -3
  140. package/dist/esm/operationsInterfaces/webServices.js.map +1 -0
  141. package/dist/esm/package.json +3 -0
  142. package/dist/esm/pagingHelper.d.ts +13 -0
  143. package/dist/esm/pagingHelper.d.ts.map +1 -0
  144. package/dist/esm/pagingHelper.js +32 -0
  145. package/dist/esm/pagingHelper.js.map +1 -0
  146. package/dist/react-native/azureMLWebServicesManagementClient.d.ts +21 -0
  147. package/dist/react-native/azureMLWebServicesManagementClient.d.ts.map +1 -0
  148. package/dist/react-native/azureMLWebServicesManagementClient.js +98 -0
  149. package/dist/react-native/azureMLWebServicesManagementClient.js.map +1 -0
  150. package/dist/react-native/index.d.ts +5 -0
  151. package/dist/react-native/index.d.ts.map +1 -0
  152. package/dist/react-native/index.js +13 -0
  153. package/dist/react-native/index.js.map +1 -0
  154. package/dist/react-native/lroImpl.d.ts +16 -0
  155. package/dist/react-native/lroImpl.d.ts.map +1 -0
  156. package/dist/react-native/lroImpl.js +25 -0
  157. package/dist/react-native/lroImpl.js.map +1 -0
  158. package/dist/react-native/models/index.d.ts +751 -0
  159. package/dist/react-native/models/index.d.ts.map +1 -0
  160. package/dist/react-native/models/index.js +128 -0
  161. package/dist/react-native/models/index.js.map +1 -0
  162. package/dist/react-native/models/mappers.d.ts +40 -0
  163. package/dist/react-native/models/mappers.d.ts.map +1 -0
  164. package/dist/react-native/models/mappers.js +1133 -0
  165. package/dist/react-native/models/mappers.js.map +1 -0
  166. package/dist/react-native/models/parameters.d.ts +15 -0
  167. package/dist/react-native/models/parameters.d.ts.map +1 -0
  168. package/dist/react-native/models/parameters.js +130 -0
  169. package/dist/react-native/models/parameters.js.map +1 -0
  170. package/dist/react-native/operations/index.d.ts +3 -0
  171. package/dist/react-native/operations/index.d.ts.map +1 -0
  172. package/dist/react-native/operations/index.js +10 -0
  173. package/dist/react-native/operations/index.js.map +1 -0
  174. package/dist/react-native/operations/operations.d.ts +26 -0
  175. package/dist/react-native/operations/operations.d.ts.map +1 -0
  176. package/dist/react-native/operations/operations.js +93 -0
  177. package/dist/react-native/operations/operations.js.map +1 -0
  178. package/dist/react-native/operations/webServices.d.ts +146 -0
  179. package/dist/react-native/operations/webServices.d.ts.map +1 -0
  180. package/dist/react-native/operations/webServices.js +610 -0
  181. package/dist/react-native/operations/webServices.js.map +1 -0
  182. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  183. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  184. package/dist/react-native/operationsInterfaces/index.js +10 -0
  185. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  186. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  187. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  188. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  189. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  190. package/dist/react-native/operationsInterfaces/webServices.d.ts +110 -0
  191. package/dist/react-native/operationsInterfaces/webServices.d.ts.map +1 -0
  192. package/dist/react-native/operationsInterfaces/webServices.js +9 -0
  193. package/dist/react-native/operationsInterfaces/webServices.js.map +1 -0
  194. package/dist/react-native/package.json +3 -0
  195. package/dist/react-native/pagingHelper.d.ts +13 -0
  196. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  197. package/dist/react-native/pagingHelper.js +32 -0
  198. package/dist/react-native/pagingHelper.js.map +1 -0
  199. package/package.json +70 -41
  200. package/dist/index.js +0 -2326
  201. package/dist/index.js.map +0 -1
  202. package/dist/index.min.js +0 -1
  203. package/dist/index.min.js.map +0 -1
  204. package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.d.ts +0 -2
  205. package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.d.ts.map +0 -1
  206. package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.js +0 -138
  207. package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.js.map +0 -1
  208. package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.d.ts +0 -2
  209. package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.d.ts.map +0 -1
  210. package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.js +0 -30
  211. package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.js.map +0 -1
  212. package/dist-esm/samples-dev/webServicesGetSample.d.ts +0 -2
  213. package/dist-esm/samples-dev/webServicesGetSample.d.ts.map +0 -1
  214. package/dist-esm/samples-dev/webServicesGetSample.js +0 -29
  215. package/dist-esm/samples-dev/webServicesGetSample.js.map +0 -1
  216. package/dist-esm/samples-dev/webServicesListByResourceGroupSample.d.ts +0 -2
  217. package/dist-esm/samples-dev/webServicesListByResourceGroupSample.d.ts.map +0 -1
  218. package/dist-esm/samples-dev/webServicesListByResourceGroupSample.js +0 -44
  219. package/dist-esm/samples-dev/webServicesListByResourceGroupSample.js.map +0 -1
  220. package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.d.ts +0 -2
  221. package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.d.ts.map +0 -1
  222. package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.js +0 -43
  223. package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.js.map +0 -1
  224. package/dist-esm/samples-dev/webServicesListKeysSample.d.ts +0 -2
  225. package/dist-esm/samples-dev/webServicesListKeysSample.d.ts.map +0 -1
  226. package/dist-esm/samples-dev/webServicesListKeysSample.js +0 -29
  227. package/dist-esm/samples-dev/webServicesListKeysSample.js.map +0 -1
  228. package/dist-esm/samples-dev/webServicesPatchSample.d.ts +0 -2
  229. package/dist-esm/samples-dev/webServicesPatchSample.d.ts.map +0 -1
  230. package/dist-esm/samples-dev/webServicesPatchSample.js +0 -30
  231. package/dist-esm/samples-dev/webServicesPatchSample.js.map +0 -1
  232. package/dist-esm/samples-dev/webServicesRemoveSample.d.ts +0 -2
  233. package/dist-esm/samples-dev/webServicesRemoveSample.d.ts.map +0 -1
  234. package/dist-esm/samples-dev/webServicesRemoveSample.js +0 -29
  235. package/dist-esm/samples-dev/webServicesRemoveSample.js.map +0 -1
  236. package/dist-esm/src/azureMLWebServicesManagementClient.d.ts.map +0 -1
  237. package/dist-esm/src/azureMLWebServicesManagementClient.js.map +0 -1
  238. package/dist-esm/src/index.d.ts +0 -5
  239. package/dist-esm/src/index.js.map +0 -1
  240. package/dist-esm/src/lroImpl.js +0 -29
  241. package/dist-esm/src/lroImpl.js.map +0 -1
  242. package/dist-esm/src/models/index.js.map +0 -1
  243. package/dist-esm/src/models/mappers.js.map +0 -1
  244. package/dist-esm/src/models/parameters.js.map +0 -1
  245. package/dist-esm/src/operations/index.d.ts +0 -3
  246. package/dist-esm/src/operations/index.js.map +0 -1
  247. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  248. package/dist-esm/src/operations/operations.js.map +0 -1
  249. package/dist-esm/src/operations/webServices.d.ts.map +0 -1
  250. package/dist-esm/src/operations/webServices.js.map +0 -1
  251. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  252. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  253. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  254. package/dist-esm/src/operationsInterfaces/webServices.d.ts.map +0 -1
  255. package/dist-esm/src/operationsInterfaces/webServices.js.map +0 -1
  256. package/dist-esm/src/pagingHelper.js.map +0 -1
  257. package/dist-esm/test/sampleTest.d.ts +0 -2
  258. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  259. package/dist-esm/test/sampleTest.js +0 -42
  260. package/dist-esm/test/sampleTest.js.map +0 -1
  261. package/src/azureMLWebServicesManagementClient.ts +0 -142
  262. package/src/lroImpl.ts +0 -34
  263. package/src/models/index.ts +0 -813
  264. package/src/models/mappers.ts +0 -1179
  265. package/src/models/parameters.ts +0 -151
  266. package/src/operations/operations.ts +0 -100
  267. package/src/operations/webServices.ts +0 -855
  268. package/src/operationsInterfaces/operations.ts +0 -22
  269. package/src/operationsInterfaces/webServices.ts +0 -201
  270. package/src/pagingHelper.ts +0 -39
  271. package/tsconfig.json +0 -35
  272. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  273. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  274. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  275. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  276. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  277. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  278. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  279. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  280. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  281. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  282. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  283. /package/{dist-esm/src → dist/browser}/operationsInterfaces/webServices.js +0 -0
  284. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  285. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  286. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  287. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,971 +1,751 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /** Information about an asset associated with the web service. */
8
- export declare interface AssetItem {
9
- /** Asset's friendly name. */
10
- name: string;
11
- /** Asset's Id. */
12
- id?: string;
13
- /** Asset's type. */
14
- type: AssetType;
15
- /** Access information for the asset. */
16
- locationInfo: BlobLocation;
17
- /** Information about the asset's input ports. */
18
- inputPorts?: {
19
- [propertyName: string]: InputPort;
20
- };
21
- /** Information about the asset's output ports. */
22
- outputPorts?: {
23
- [propertyName: string]: OutputPort;
24
- };
25
- /** If the asset is a custom module, this holds the module's metadata. */
26
- metadata?: {
27
- [propertyName: string]: string;
28
- };
29
- /** If the asset is a custom module, this holds the module's parameters. */
30
- parameters?: ModuleAssetParameter[];
31
- }
32
-
33
- /**
34
- * Defines values for AssetType. \
35
- * {@link KnownAssetType} can be used interchangeably with AssetType,
36
- * this enum contains the known values that the service supports.
37
- * ### Known values supported by the service
38
- * **Module** \
39
- * **Resource**
40
- */
41
- export declare type AssetType = string;
42
-
43
- /** The error detail information for async operation */
44
- export declare interface AsyncOperationErrorInfo {
45
- /**
46
- * The error code.
47
- * NOTE: This property will not be serialized. It can only be populated by the server.
48
- */
49
- readonly code?: string;
50
- /**
51
- * The error target.
52
- * NOTE: This property will not be serialized. It can only be populated by the server.
53
- */
54
- readonly target?: string;
55
- /**
56
- * The error message.
57
- * NOTE: This property will not be serialized. It can only be populated by the server.
58
- */
59
- readonly message?: string;
60
- /**
61
- * An array containing error information.
62
- * NOTE: This property will not be serialized. It can only be populated by the server.
63
- */
64
- readonly details?: AsyncOperationErrorInfo[];
65
- }
66
-
67
- /** Azure async operation status. */
68
- export declare interface AsyncOperationStatus {
69
- /**
70
- * Async operation id.
71
- * NOTE: This property will not be serialized. It can only be populated by the server.
72
- */
73
- readonly id?: string;
74
- /**
75
- * Async operation name.
76
- * NOTE: This property will not be serialized. It can only be populated by the server.
77
- */
78
- readonly name?: string;
79
- /**
80
- * Read Only: The provisioning state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed.
81
- * NOTE: This property will not be serialized. It can only be populated by the server.
82
- */
83
- readonly provisioningState?: ProvisioningState;
84
- /**
85
- * The date time that the async operation started.
86
- * NOTE: This property will not be serialized. It can only be populated by the server.
87
- */
88
- readonly startTime?: Date;
89
- /**
90
- * The date time that the async operation finished.
91
- * NOTE: This property will not be serialized. It can only be populated by the server.
92
- */
93
- readonly endTime?: Date;
94
- /**
95
- * Async operation progress.
96
- * NOTE: This property will not be serialized. It can only be populated by the server.
97
- */
98
- readonly percentComplete?: number;
99
- /**
100
- * If the async operation fails, this structure contains the error details.
101
- * NOTE: This property will not be serialized. It can only be populated by the server.
102
- */
103
- readonly errorInfo?: AsyncOperationErrorInfo;
104
- }
105
-
106
- export declare class AzureMLWebServicesManagementClient extends coreClient.ServiceClient {
107
- $host: string;
108
- apiVersion: string;
109
- subscriptionId: string;
110
- /**
111
- * Initializes a new instance of the AzureMLWebServicesManagementClient class.
112
- * @param credentials Subscription credentials which uniquely identify client subscription.
113
- * @param subscriptionId The Azure subscription ID.
114
- * @param options The parameter options
115
- */
116
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMLWebServicesManagementClientOptionalParams);
117
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
118
- private addCustomApiVersionPolicy;
119
- operations: Operations;
120
- webServices: WebServices;
121
- }
122
-
123
- /** Optional parameters. */
124
- export declare interface AzureMLWebServicesManagementClientOptionalParams extends coreClient.ServiceClientOptions {
125
- /** server parameter */
126
- $host?: string;
127
- /** Api Version */
128
- apiVersion?: string;
129
- /** Overrides client endpoint. */
130
- endpoint?: string;
131
- }
132
-
133
- /** Describes the access location for a blob. */
134
- export declare interface BlobLocation {
135
- /** The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload. */
136
- uri: string;
137
- /** Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI) */
138
- credentials?: string;
139
- }
140
-
141
- /**
142
- * Defines values for ColumnFormat. \
143
- * {@link KnownColumnFormat} can be used interchangeably with ColumnFormat,
144
- * this enum contains the known values that the service supports.
145
- * ### Known values supported by the service
146
- * **Byte** \
147
- * **Char** \
148
- * **Complex64** \
149
- * **Complex128** \
150
- * **Date-time** \
151
- * **Date-timeOffset** \
152
- * **Double** \
153
- * **Duration** \
154
- * **Float** \
155
- * **Int8** \
156
- * **Int16** \
157
- * **Int32** \
158
- * **Int64** \
159
- * **Uint8** \
160
- * **Uint16** \
161
- * **Uint32** \
162
- * **Uint64**
163
- */
164
- export declare type ColumnFormat = string;
165
-
166
- /** Swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: http://swagger.io/specification/ */
167
- export declare interface ColumnSpecification {
168
- /** Data type of the column. */
169
- type: ColumnType;
170
- /** Additional format information for the data type. */
171
- format?: ColumnFormat;
172
- /** If the data type is categorical, this provides the list of accepted categories. */
173
- enum?: Record<string, unknown>[];
174
- /** Flag indicating if the type supports null values or not. */
175
- xMsIsnullable?: boolean;
176
- /** Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column. */
177
- xMsIsordered?: boolean;
178
- }
179
-
180
- /**
181
- * Defines values for ColumnType. \
182
- * {@link KnownColumnType} can be used interchangeably with ColumnType,
183
- * this enum contains the known values that the service supports.
184
- * ### Known values supported by the service
185
- * **Boolean** \
186
- * **Integer** \
187
- * **Number** \
188
- * **String**
189
- */
190
- export declare type ColumnType = string;
191
-
192
- /** Information about the machine learning commitment plan associated with the web service. */
193
- export declare interface CommitmentPlan {
194
- /** Specifies the Azure Resource Manager ID of the commitment plan associated with the web service. */
195
- id: string;
196
- }
197
-
198
- /** Diagnostics settings for an Azure ML web service. */
199
- export declare interface DiagnosticsConfiguration {
200
- /** Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr). */
201
- level: DiagnosticsLevel;
202
- /** Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited. */
203
- expiry?: Date;
204
- }
205
-
206
- /**
207
- * Defines values for DiagnosticsLevel. \
208
- * {@link KnownDiagnosticsLevel} can be used interchangeably with DiagnosticsLevel,
209
- * this enum contains the known values that the service supports.
210
- * ### Known values supported by the service
211
- * **None** \
212
- * **Error** \
213
- * **All**
214
- */
215
- export declare type DiagnosticsLevel = string;
216
-
217
- /** Sample input data for the service's input(s). */
218
- export declare interface ExampleRequest {
219
- /** Sample input data for the web service's input(s) given as an input name to sample input values matrix map. */
220
- inputs?: {
221
- [propertyName: string]: Record<string, unknown>[][];
222
- };
223
- /** Sample input data for the web service's global parameters */
224
- globalParameters?: {
225
- [propertyName: string]: Record<string, unknown>;
226
- };
227
- }
228
-
229
- /**
230
- * Given a result page from a pageable operation, returns a
231
- * continuation token that can be used to begin paging from
232
- * that point later.
233
- * @param page A result object from calling .byPage() on a paged operation.
234
- * @returns The continuation token that can be passed into byPage().
235
- */
236
- export declare function getContinuationToken(page: unknown): string | undefined;
237
-
238
- /** Defines an edge within the web service's graph. */
239
- export declare interface GraphEdge {
240
- /** The source graph node's identifier. */
241
- sourceNodeId?: string;
242
- /** The identifier of the source node's port that the edge connects from. */
243
- sourcePortId?: string;
244
- /** The destination graph node's identifier. */
245
- targetNodeId?: string;
246
- /** The identifier of the destination node's port that the edge connects into. */
247
- targetPortId?: string;
248
- }
249
-
250
- /** Specifies a node in the web service graph. The node can either be an input, output or asset node, so only one of the corresponding id properties is populated at any given time. */
251
- export declare interface GraphNode {
252
- /** The id of the asset represented by this node. */
253
- assetId?: string;
254
- /** The id of the input element represented by this node. */
255
- inputId?: string;
256
- /** The id of the output element represented by this node. */
257
- outputId?: string;
258
- /** If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime. */
259
- parameters?: {
260
- [propertyName: string]: WebServiceParameter;
261
- };
262
- }
263
-
264
- /** Defines the graph of modules making up the machine learning solution. */
265
- export declare interface GraphPackage {
266
- /** The set of nodes making up the graph, provided as a nodeId to GraphNode map */
267
- nodes?: {
268
- [propertyName: string]: GraphNode;
269
- };
270
- /** The list of edges making up the graph. */
271
- edges?: GraphEdge[];
272
- /** The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level. */
273
- graphParameters?: {
274
- [propertyName: string]: GraphParameter;
275
- };
276
- }
277
-
278
- /** Defines a global parameter in the graph. */
279
- export declare interface GraphParameter {
280
- /** Description of this graph parameter. */
281
- description?: string;
282
- /** Graph parameter's type. */
283
- type: ParameterType;
284
- /** Association links for this parameter to nodes in the graph. */
285
- links: GraphParameterLink[];
286
- }
287
-
288
- /** Association link for a graph global parameter to a node in the graph. */
289
- export declare interface GraphParameterLink {
290
- /** The graph node's identifier */
291
- nodeId: string;
292
- /** The identifier of the node parameter that the global parameter maps to. */
293
- parameterKey: string;
294
- }
295
-
296
- /** Asset input port */
297
- export declare interface InputPort {
298
- /** Port data type. */
299
- type?: InputPortType;
300
- }
301
-
302
- /**
303
- * Defines values for InputPortType. \
304
- * {@link KnownInputPortType} can be used interchangeably with InputPortType,
305
- * this enum contains the known values that the service supports.
306
- * ### Known values supported by the service
307
- * **Dataset**
308
- */
309
- export declare type InputPortType = string;
310
-
311
- /** Known values of {@link AssetType} that the service accepts. */
312
- export declare enum KnownAssetType {
313
- /** Module */
314
- Module = "Module",
315
- /** Resource */
316
- Resource = "Resource"
317
- }
318
-
319
- /** Known values of {@link ColumnFormat} that the service accepts. */
320
- export declare enum KnownColumnFormat {
321
- /** Byte */
322
- Byte = "Byte",
323
- /** Char */
324
- Char = "Char",
325
- /** Complex64 */
326
- Complex64 = "Complex64",
327
- /** Complex128 */
328
- Complex128 = "Complex128",
329
- /** DateTime */
330
- DateTime = "Date-time",
331
- /** DateTimeOffset */
332
- DateTimeOffset = "Date-timeOffset",
333
- /** Double */
334
- Double = "Double",
335
- /** Duration */
336
- Duration = "Duration",
337
- /** Float */
338
- Float = "Float",
339
- /** Int8 */
340
- Int8 = "Int8",
341
- /** Int16 */
342
- Int16 = "Int16",
343
- /** Int32 */
344
- Int32 = "Int32",
345
- /** Int64 */
346
- Int64 = "Int64",
347
- /** Uint8 */
348
- Uint8 = "Uint8",
349
- /** Uint16 */
350
- Uint16 = "Uint16",
351
- /** Uint32 */
352
- Uint32 = "Uint32",
353
- /** Uint64 */
354
- Uint64 = "Uint64"
355
- }
356
-
357
- /** Known values of {@link ColumnType} that the service accepts. */
358
- export declare enum KnownColumnType {
359
- /** Boolean */
360
- Boolean = "Boolean",
361
- /** Integer */
362
- Integer = "Integer",
363
- /** Number */
364
- Number = "Number",
365
- /** String */
366
- String = "String"
367
- }
368
-
369
- /** Known values of {@link DiagnosticsLevel} that the service accepts. */
370
- export declare enum KnownDiagnosticsLevel {
371
- /** None */
372
- None = "None",
373
- /** Error */
374
- Error = "Error",
375
- /** All */
376
- All = "All"
377
- }
378
-
379
- /** Known values of {@link InputPortType} that the service accepts. */
380
- export declare enum KnownInputPortType {
381
- /** Dataset */
382
- Dataset = "Dataset"
383
- }
384
-
385
- /** Known values of {@link OutputPortType} that the service accepts. */
386
- export declare enum KnownOutputPortType {
387
- /** Dataset */
388
- Dataset = "Dataset"
389
- }
390
-
391
- /** Known values of {@link ParameterType} that the service accepts. */
392
- export declare enum KnownParameterType {
393
- /** String */
394
- String = "String",
395
- /** Int */
396
- Int = "Int",
397
- /** Float */
398
- Float = "Float",
399
- /** Enumerated */
400
- Enumerated = "Enumerated",
401
- /** Script */
402
- Script = "Script",
403
- /** Mode */
404
- Mode = "Mode",
405
- /** Credential */
406
- Credential = "Credential",
407
- /** Boolean */
408
- Boolean = "Boolean",
409
- /** Double */
410
- Double = "Double",
411
- /** ColumnPicker */
412
- ColumnPicker = "ColumnPicker",
413
- /** ParameterRange */
414
- ParameterRange = "ParameterRange",
415
- /** DataGatewayName */
416
- DataGatewayName = "DataGatewayName"
417
- }
418
-
419
- /** Known values of {@link ProvisioningState} that the service accepts. */
420
- export declare enum KnownProvisioningState {
421
- /** Unknown */
422
- Unknown = "Unknown",
423
- /** Provisioning */
424
- Provisioning = "Provisioning",
425
- /** Succeeded */
426
- Succeeded = "Succeeded",
427
- /** Failed */
428
- Failed = "Failed"
429
- }
430
-
431
- /** Information about the machine learning workspace containing the experiment that is source for the web service. */
432
- export declare interface MachineLearningWorkspace {
433
- /** Specifies the workspace ID of the machine learning workspace associated with the web service */
434
- id: string;
435
- }
436
-
437
- /** Nested parameter definition. */
438
- export declare interface ModeValueInfo {
439
- /** The interface string name for the nested parameter. */
440
- interfaceString?: string;
441
- /** The definition of the parameter. */
442
- parameters?: ModuleAssetParameter[];
443
- }
444
-
445
- /** Parameter definition for a module asset. */
446
- export declare interface ModuleAssetParameter {
447
- /** Parameter name. */
448
- name?: string;
449
- /** Parameter type. */
450
- parameterType?: string;
451
- /** Definitions for nested interface parameters if this is a complex module parameter. */
452
- modeValuesInfo?: {
453
- [propertyName: string]: ModeValueInfo;
454
- };
455
- }
456
-
457
- /** The API operation info. */
458
- export declare interface OperationDisplayInfo {
459
- /**
460
- * The description of the operation.
461
- * NOTE: This property will not be serialized. It can only be populated by the server.
462
- */
463
- readonly description?: string;
464
- /**
465
- * The action that users can perform, based on their permission level.
466
- * NOTE: This property will not be serialized. It can only be populated by the server.
467
- */
468
- readonly operation?: string;
469
- /**
470
- * The service provider.
471
- * NOTE: This property will not be serialized. It can only be populated by the server.
472
- */
473
- readonly provider?: string;
474
- /**
475
- * The resource on which the operation is performed.
476
- * NOTE: This property will not be serialized. It can only be populated by the server.
477
- */
478
- readonly resource?: string;
479
- }
480
-
481
- /** An API operation. */
482
- export declare interface OperationEntity {
483
- /**
484
- * Operation name: {provider}/{resource}/{operation}.
485
- * NOTE: This property will not be serialized. It can only be populated by the server.
486
- */
487
- readonly name?: string;
488
- /** The API operation info. */
489
- display?: OperationDisplayInfo;
490
- }
491
-
492
- /** The list of REST API operations. */
493
- export declare interface OperationEntityListResult {
494
- /**
495
- * The list of operations.
496
- * NOTE: This property will not be serialized. It can only be populated by the server.
497
- */
498
- readonly value?: OperationEntity[];
499
- }
500
-
501
- /** Interface representing a Operations. */
502
- export declare interface Operations {
503
- /**
504
- * Lists all the available REST API operations.
505
- * @param options The options parameters.
506
- */
507
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
508
- }
509
-
510
- /** Optional parameters. */
511
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
512
- }
513
-
514
- /** Contains response data for the list operation. */
515
- export declare type OperationsListResponse = OperationEntityListResult;
516
-
517
- /** Asset output port */
518
- export declare interface OutputPort {
519
- /** Port data type. */
520
- type?: OutputPortType;
521
- }
522
-
523
- /**
524
- * Defines values for OutputPortType. \
525
- * {@link KnownOutputPortType} can be used interchangeably with OutputPortType,
526
- * this enum contains the known values that the service supports.
527
- * ### Known values supported by the service
528
- * **Dataset**
529
- */
530
- export declare type OutputPortType = string;
531
-
532
- /** Paginated list of web services. */
533
- export declare interface PaginatedWebServicesList {
534
- /** An array of web service objects. */
535
- value?: WebService[];
536
- /** A continuation link (absolute URI) to the next page of results in the list. */
537
- nextLink?: string;
538
- }
539
-
540
- /**
541
- * Defines values for ParameterType. \
542
- * {@link KnownParameterType} can be used interchangeably with ParameterType,
543
- * this enum contains the known values that the service supports.
544
- * ### Known values supported by the service
545
- * **String** \
546
- * **Int** \
547
- * **Float** \
548
- * **Enumerated** \
549
- * **Script** \
550
- * **Mode** \
551
- * **Credential** \
552
- * **Boolean** \
553
- * **Double** \
554
- * **ColumnPicker** \
555
- * **ParameterRange** \
556
- * **DataGatewayName**
557
- */
558
- export declare type ParameterType = string;
559
-
560
- /** Azure resource. */
561
- export declare interface PatchedResource {
562
- /**
563
- * Specifies the resource ID.
564
- * NOTE: This property will not be serialized. It can only be populated by the server.
565
- */
566
- readonly id?: string;
567
- /**
568
- * Specifies the name of the resource.
569
- * NOTE: This property will not be serialized. It can only be populated by the server.
570
- */
571
- readonly name?: string;
572
- /**
573
- * Specifies the location of the resource.
574
- * NOTE: This property will not be serialized. It can only be populated by the server.
575
- */
576
- readonly location?: string;
577
- /**
578
- * Specifies the type of the resource.
579
- * NOTE: This property will not be serialized. It can only be populated by the server.
580
- */
581
- readonly type?: string;
582
- /** Contains resource tags defined as key/value pairs. */
583
- tags?: {
584
- [propertyName: string]: string;
585
- };
586
- }
587
-
588
- /** Instance of an Patched Azure ML web service resource. */
589
- export declare interface PatchedWebService extends PatchedResource {
590
- /** Contains the property payload that describes the web service. */
591
- properties?: WebServicePropertiesUnion;
592
- }
593
-
594
- /**
595
- * Defines values for ProvisioningState. \
596
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
597
- * this enum contains the known values that the service supports.
598
- * ### Known values supported by the service
599
- * **Unknown** \
600
- * **Provisioning** \
601
- * **Succeeded** \
602
- * **Failed**
603
- */
604
- export declare type ProvisioningState = string;
605
-
606
- /** Holds the available configuration options for an Azure ML web service endpoint. */
607
- export declare interface RealtimeConfiguration {
608
- /** Specifies the maximum concurrent calls that can be made to the web service. Minimum value: 4, Maximum value: 200. */
609
- maxConcurrentCalls?: number;
610
- }
611
-
612
- /** Azure resource. */
613
- export declare interface Resource {
614
- /**
615
- * Specifies the resource ID.
616
- * NOTE: This property will not be serialized. It can only be populated by the server.
617
- */
618
- readonly id?: string;
619
- /**
620
- * Specifies the name of the resource.
621
- * NOTE: This property will not be serialized. It can only be populated by the server.
622
- */
623
- readonly name?: string;
624
- /** Specifies the location of the resource. */
625
- location: string;
626
- /**
627
- * Specifies the type of the resource.
628
- * NOTE: This property will not be serialized. It can only be populated by the server.
629
- */
630
- readonly type?: string;
631
- /** Contains resource tags defined as key/value pairs. */
632
- tags?: {
633
- [propertyName: string]: string;
634
- };
635
- }
636
-
637
- /** The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/ */
638
- export declare interface ServiceInputOutputSpecification {
639
- /** The title of your Swagger schema. */
640
- title?: string;
641
- /** The description of the Swagger schema. */
642
- description?: string;
643
- /** The type of the entity described in swagger. Always 'object'. */
644
- type: string;
645
- /** Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification. */
646
- properties: {
647
- [propertyName: string]: TableSpecification;
648
- };
649
- }
650
-
651
- /** Access information for a storage account. */
652
- export declare interface StorageAccount {
653
- /** Specifies the name of the storage account. */
654
- name?: string;
655
- /** Specifies the key used to access the storage account. */
656
- key?: string;
657
- }
658
-
659
- /** The swagger 2.0 schema describing a single service input or output. See Swagger specification: http://swagger.io/specification/ */
660
- export declare interface TableSpecification {
661
- /** Swagger schema title. */
662
- title?: string;
663
- /** Swagger schema description. */
664
- description?: string;
665
- /** The type of the entity described in swagger. */
666
- type: string;
667
- /** The format, if 'type' is not 'object' */
668
- format?: string;
669
- /** The set of columns within the data table. */
670
- properties?: {
671
- [propertyName: string]: ColumnSpecification;
672
- };
673
- }
674
-
675
- /** Instance of an Azure ML web service resource. */
676
- export declare interface WebService extends Resource {
677
- /** Contains the property payload that describes the web service. */
678
- properties: WebServicePropertiesUnion;
679
- }
680
-
681
- /** Access keys for the web service calls. */
682
- export declare interface WebServiceKeys {
683
- /** The primary access key. */
684
- primary?: string;
685
- /** The secondary access key. */
686
- secondary?: string;
687
- }
688
-
689
- /** Web Service Parameter object for node and global parameter */
690
- export declare interface WebServiceParameter {
691
- /** The parameter value */
692
- value?: Record<string, unknown>;
693
- /** If the parameter value in 'value' field is encrypted, the thumbprint of the certificate should be put here. */
694
- certificateThumbprint?: string;
695
- }
696
-
697
- /** The set of properties specific to the Azure ML web service resource. */
698
- export declare interface WebServiceProperties {
699
- /** Polymorphic discriminator, which specifies the different types this object can be */
700
- packageType: "Graph";
701
- /** The title of the web service. */
702
- title?: string;
703
- /** The description of the web service. */
704
- description?: string;
705
- /**
706
- * Read Only: The date and time when the web service was created.
707
- * NOTE: This property will not be serialized. It can only be populated by the server.
708
- */
709
- readonly createdOn?: Date;
710
- /**
711
- * Read Only: The date and time when the web service was last modified.
712
- * NOTE: This property will not be serialized. It can only be populated by the server.
713
- */
714
- readonly modifiedOn?: Date;
715
- /**
716
- * Read Only: The provision state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed.
717
- * NOTE: This property will not be serialized. It can only be populated by the server.
718
- */
719
- readonly provisioningState?: ProvisioningState;
720
- /** Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations. */
721
- keys?: WebServiceKeys;
722
- /** When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value. */
723
- readOnly?: boolean;
724
- /**
725
- * Read Only: Contains the URI of the swagger spec associated with this web service.
726
- * NOTE: This property will not be serialized. It can only be populated by the server.
727
- */
728
- readonly swaggerLocation?: string;
729
- /** When set to true, sample data is included in the web service's swagger definition. The default value is true. */
730
- exposeSampleData?: boolean;
731
- /** Contains the configuration settings for the web service endpoint. */
732
- realtimeConfiguration?: RealtimeConfiguration;
733
- /** Settings controlling the diagnostics traces collection for the web service. */
734
- diagnostics?: DiagnosticsConfiguration;
735
- /** Specifies the storage account that Azure Machine Learning uses to store information about the web service. Only the name of the storage account is returned from calls to GET operations. When updating the storage account information, you must ensure that all necessary assets are available in the new storage account or calls to your web service will fail. */
736
- storageAccount?: StorageAccount;
737
- /** Specifies the Machine Learning workspace containing the experiment that is source for the web service. */
738
- machineLearningWorkspace?: MachineLearningWorkspace;
739
- /** Contains the commitment plan associated with this web service. Set at creation time. Once set, this value cannot be changed. Note: The commitment plan is not returned from calls to GET operations. */
740
- commitmentPlan?: CommitmentPlan;
741
- /** Contains the Swagger 2.0 schema describing one or more of the web service's inputs. For more information, see the Swagger specification. */
742
- input?: ServiceInputOutputSpecification;
743
- /** Contains the Swagger 2.0 schema describing one or more of the web service's outputs. For more information, see the Swagger specification. */
744
- output?: ServiceInputOutputSpecification;
745
- /** Defines sample input data for one or more of the service's inputs. */
746
- exampleRequest?: ExampleRequest;
747
- /** Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs. */
748
- assets?: {
749
- [propertyName: string]: AssetItem;
750
- };
751
- /** The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required. */
752
- parameters?: {
753
- [propertyName: string]: WebServiceParameter;
754
- };
755
- /** When set to true, indicates that the payload size is larger than 3 MB. Otherwise false. If the payload size exceed 3 MB, the payload is stored in a blob and the PayloadsLocation parameter contains the URI of the blob. Otherwise, this will be set to false and Assets, Input, Output, Package, Parameters, ExampleRequest are inline. The Payload sizes is determined by adding the size of the Assets, Input, Output, Package, Parameters, and the ExampleRequest. */
756
- payloadsInBlobStorage?: boolean;
757
- /** The URI of the payload blob. This parameter contains a value only if the payloadsInBlobStorage parameter is set to true. Otherwise is set to null. */
758
- payloadsLocation?: BlobLocation;
759
- }
760
-
761
- /** Properties specific to a Graph based web service. */
762
- export declare interface WebServicePropertiesForGraph extends WebServiceProperties {
763
- /** Polymorphic discriminator, which specifies the different types this object can be */
764
- packageType: "Graph";
765
- /** The definition of the graph package making up this web service. */
766
- package?: GraphPackage;
767
- }
768
-
769
- export declare type WebServicePropertiesUnion = WebServiceProperties | WebServicePropertiesForGraph;
770
-
771
- /** Interface representing a WebServices. */
772
- export declare interface WebServices {
773
- /**
774
- * Gets the web services in the specified resource group.
775
- * @param resourceGroupName Name of the resource group in which the web service is located.
776
- * @param options The options parameters.
777
- */
778
- listByResourceGroup(resourceGroupName: string, options?: WebServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WebService>;
779
- /**
780
- * Gets the web services in the specified subscription.
781
- * @param options The options parameters.
782
- */
783
- listBySubscriptionId(options?: WebServicesListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<WebService>;
784
- /**
785
- * Create or update a web service. This call will overwrite an existing web service. Note that there is
786
- * no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new
787
- * web service, call the Get operation first to verify that it does not exist.
788
- * @param resourceGroupName Name of the resource group in which the web service is located.
789
- * @param webServiceName The name of the web service.
790
- * @param createOrUpdatePayload The payload that is used to create or update the web service.
791
- * @param options The options parameters.
792
- */
793
- beginCreateOrUpdate(resourceGroupName: string, webServiceName: string, createOrUpdatePayload: WebService, options?: WebServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WebServicesCreateOrUpdateResponse>, WebServicesCreateOrUpdateResponse>>;
794
- /**
795
- * Create or update a web service. This call will overwrite an existing web service. Note that there is
796
- * no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new
797
- * web service, call the Get operation first to verify that it does not exist.
798
- * @param resourceGroupName Name of the resource group in which the web service is located.
799
- * @param webServiceName The name of the web service.
800
- * @param createOrUpdatePayload The payload that is used to create or update the web service.
801
- * @param options The options parameters.
802
- */
803
- beginCreateOrUpdateAndWait(resourceGroupName: string, webServiceName: string, createOrUpdatePayload: WebService, options?: WebServicesCreateOrUpdateOptionalParams): Promise<WebServicesCreateOrUpdateResponse>;
804
- /**
805
- * Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that
806
- * the storage credentials and web service keys are not returned by this call. To get the web service
807
- * access keys, call List Keys.
808
- * @param resourceGroupName Name of the resource group in which the web service is located.
809
- * @param webServiceName The name of the web service.
810
- * @param options The options parameters.
811
- */
812
- get(resourceGroupName: string, webServiceName: string, options?: WebServicesGetOptionalParams): Promise<WebServicesGetResponse>;
813
- /**
814
- * Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To
815
- * determine whether it has completed successfully, you must perform a Get operation.
816
- * @param resourceGroupName Name of the resource group in which the web service is located.
817
- * @param webServiceName The name of the web service.
818
- * @param patchPayload The payload to use to patch the web service.
819
- * @param options The options parameters.
820
- */
821
- beginPatch(resourceGroupName: string, webServiceName: string, patchPayload: PatchedWebService, options?: WebServicesPatchOptionalParams): Promise<PollerLike<PollOperationState<WebServicesPatchResponse>, WebServicesPatchResponse>>;
822
- /**
823
- * Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To
824
- * determine whether it has completed successfully, you must perform a Get operation.
825
- * @param resourceGroupName Name of the resource group in which the web service is located.
826
- * @param webServiceName The name of the web service.
827
- * @param patchPayload The payload to use to patch the web service.
828
- * @param options The options parameters.
829
- */
830
- beginPatchAndWait(resourceGroupName: string, webServiceName: string, patchPayload: PatchedWebService, options?: WebServicesPatchOptionalParams): Promise<WebServicesPatchResponse>;
831
- /**
832
- * Deletes the specified web service.
833
- * @param resourceGroupName Name of the resource group in which the web service is located.
834
- * @param webServiceName The name of the web service.
835
- * @param options The options parameters.
836
- */
837
- beginRemove(resourceGroupName: string, webServiceName: string, options?: WebServicesRemoveOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
838
- /**
839
- * Deletes the specified web service.
840
- * @param resourceGroupName Name of the resource group in which the web service is located.
841
- * @param webServiceName The name of the web service.
842
- * @param options The options parameters.
843
- */
844
- beginRemoveAndWait(resourceGroupName: string, webServiceName: string, options?: WebServicesRemoveOptionalParams): Promise<void>;
845
- /**
846
- * Creates an encrypted credentials parameter blob for the specified region. To get the web service
847
- * from a region other than the region in which it has been created, you must first call Create
848
- * Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that
849
- * region. You only need to do this before the first time that you get the web service in the new
850
- * region.
851
- * @param resourceGroupName Name of the resource group in which the web service is located.
852
- * @param webServiceName The name of the web service.
853
- * @param region The region for which encrypted credential parameters are created.
854
- * @param options The options parameters.
855
- */
856
- beginCreateRegionalProperties(resourceGroupName: string, webServiceName: string, region: string, options?: WebServicesCreateRegionalPropertiesOptionalParams): Promise<PollerLike<PollOperationState<WebServicesCreateRegionalPropertiesResponse>, WebServicesCreateRegionalPropertiesResponse>>;
857
- /**
858
- * Creates an encrypted credentials parameter blob for the specified region. To get the web service
859
- * from a region other than the region in which it has been created, you must first call Create
860
- * Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that
861
- * region. You only need to do this before the first time that you get the web service in the new
862
- * region.
863
- * @param resourceGroupName Name of the resource group in which the web service is located.
864
- * @param webServiceName The name of the web service.
865
- * @param region The region for which encrypted credential parameters are created.
866
- * @param options The options parameters.
867
- */
868
- beginCreateRegionalPropertiesAndWait(resourceGroupName: string, webServiceName: string, region: string, options?: WebServicesCreateRegionalPropertiesOptionalParams): Promise<WebServicesCreateRegionalPropertiesResponse>;
869
- /**
870
- * Gets the access keys for the specified web service.
871
- * @param resourceGroupName Name of the resource group in which the web service is located.
872
- * @param webServiceName The name of the web service.
873
- * @param options The options parameters.
874
- */
875
- listKeys(resourceGroupName: string, webServiceName: string, options?: WebServicesListKeysOptionalParams): Promise<WebServicesListKeysResponse>;
876
- }
877
-
878
- /** Optional parameters. */
879
- export declare interface WebServicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
880
- /** Delay to wait until next poll, in milliseconds. */
881
- updateIntervalInMs?: number;
882
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
883
- resumeFrom?: string;
884
- }
885
-
886
- /** Contains response data for the createOrUpdate operation. */
887
- export declare type WebServicesCreateOrUpdateResponse = WebService;
888
-
889
- /** Optional parameters. */
890
- export declare interface WebServicesCreateRegionalPropertiesOptionalParams extends coreClient.OperationOptions {
891
- /** Delay to wait until next poll, in milliseconds. */
892
- updateIntervalInMs?: number;
893
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
894
- resumeFrom?: string;
895
- }
896
-
897
- /** Contains response data for the createRegionalProperties operation. */
898
- export declare type WebServicesCreateRegionalPropertiesResponse = AsyncOperationStatus;
899
-
900
- /** Optional parameters. */
901
- export declare interface WebServicesGetOptionalParams extends coreClient.OperationOptions {
902
- /** The region for which encrypted credential parameters are valid. */
903
- region?: string;
904
- }
905
-
906
- /** Contains response data for the get operation. */
907
- export declare type WebServicesGetResponse = WebService;
908
-
909
- /** Optional parameters. */
910
- export declare interface WebServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
911
- /** Continuation token for pagination. */
912
- skiptoken?: string;
913
- }
914
-
915
- /** Contains response data for the listByResourceGroupNext operation. */
916
- export declare type WebServicesListByResourceGroupNextResponse = PaginatedWebServicesList;
917
-
918
- /** Optional parameters. */
919
- export declare interface WebServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
920
- /** Continuation token for pagination. */
921
- skiptoken?: string;
922
- }
923
-
924
- /** Contains response data for the listByResourceGroup operation. */
925
- export declare type WebServicesListByResourceGroupResponse = PaginatedWebServicesList;
926
-
927
- /** Optional parameters. */
928
- export declare interface WebServicesListBySubscriptionIdNextOptionalParams extends coreClient.OperationOptions {
929
- /** Continuation token for pagination. */
930
- skiptoken?: string;
931
- }
932
-
933
- /** Contains response data for the listBySubscriptionIdNext operation. */
934
- export declare type WebServicesListBySubscriptionIdNextResponse = PaginatedWebServicesList;
935
-
936
- /** Optional parameters. */
937
- export declare interface WebServicesListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
938
- /** Continuation token for pagination. */
939
- skiptoken?: string;
940
- }
941
-
942
- /** Contains response data for the listBySubscriptionId operation. */
943
- export declare type WebServicesListBySubscriptionIdResponse = PaginatedWebServicesList;
944
-
945
- /** Optional parameters. */
946
- export declare interface WebServicesListKeysOptionalParams extends coreClient.OperationOptions {
947
- }
948
-
949
- /** Contains response data for the listKeys operation. */
950
- export declare type WebServicesListKeysResponse = WebServiceKeys;
951
-
952
- /** Optional parameters. */
953
- export declare interface WebServicesPatchOptionalParams extends coreClient.OperationOptions {
954
- /** Delay to wait until next poll, in milliseconds. */
955
- updateIntervalInMs?: number;
956
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
957
- resumeFrom?: string;
958
- }
959
-
960
- /** Contains response data for the patch operation. */
961
- export declare type WebServicesPatchResponse = WebService;
962
-
963
- /** Optional parameters. */
964
- export declare interface WebServicesRemoveOptionalParams extends coreClient.OperationOptions {
965
- /** Delay to wait until next poll, in milliseconds. */
966
- updateIntervalInMs?: number;
967
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
968
- resumeFrom?: string;
969
- }
970
-
971
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ export type WebServicePropertiesUnion = WebServiceProperties | WebServicePropertiesForGraph;
3
+ /** The list of REST API operations. */
4
+ export interface OperationEntityListResult {
5
+ /**
6
+ * The list of operations.
7
+ * NOTE: This property will not be serialized. It can only be populated by the server.
8
+ */
9
+ readonly value?: OperationEntity[];
10
+ }
11
+ /** An API operation. */
12
+ export interface OperationEntity {
13
+ /**
14
+ * Operation name: {provider}/{resource}/{operation}.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly name?: string;
18
+ /** The API operation info. */
19
+ display?: OperationDisplayInfo;
20
+ }
21
+ /** The API operation info. */
22
+ export interface OperationDisplayInfo {
23
+ /**
24
+ * The description of the operation.
25
+ * NOTE: This property will not be serialized. It can only be populated by the server.
26
+ */
27
+ readonly description?: string;
28
+ /**
29
+ * The action that users can perform, based on their permission level.
30
+ * NOTE: This property will not be serialized. It can only be populated by the server.
31
+ */
32
+ readonly operation?: string;
33
+ /**
34
+ * The service provider.
35
+ * NOTE: This property will not be serialized. It can only be populated by the server.
36
+ */
37
+ readonly provider?: string;
38
+ /**
39
+ * The resource on which the operation is performed.
40
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
+ */
42
+ readonly resource?: string;
43
+ }
44
+ /** The set of properties specific to the Azure ML web service resource. */
45
+ export interface WebServiceProperties {
46
+ /** Polymorphic discriminator, which specifies the different types this object can be */
47
+ packageType: "Graph";
48
+ /** The title of the web service. */
49
+ title?: string;
50
+ /** The description of the web service. */
51
+ description?: string;
52
+ /**
53
+ * Read Only: The date and time when the web service was created.
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
+ */
56
+ readonly createdOn?: Date;
57
+ /**
58
+ * Read Only: The date and time when the web service was last modified.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly modifiedOn?: Date;
62
+ /**
63
+ * Read Only: The provision state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly provisioningState?: ProvisioningState;
67
+ /** Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations. */
68
+ keys?: WebServiceKeys;
69
+ /** When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value. */
70
+ readOnly?: boolean;
71
+ /**
72
+ * Read Only: Contains the URI of the swagger spec associated with this web service.
73
+ * NOTE: This property will not be serialized. It can only be populated by the server.
74
+ */
75
+ readonly swaggerLocation?: string;
76
+ /** When set to true, sample data is included in the web service's swagger definition. The default value is true. */
77
+ exposeSampleData?: boolean;
78
+ /** Contains the configuration settings for the web service endpoint. */
79
+ realtimeConfiguration?: RealtimeConfiguration;
80
+ /** Settings controlling the diagnostics traces collection for the web service. */
81
+ diagnostics?: DiagnosticsConfiguration;
82
+ /** Specifies the storage account that Azure Machine Learning uses to store information about the web service. Only the name of the storage account is returned from calls to GET operations. When updating the storage account information, you must ensure that all necessary assets are available in the new storage account or calls to your web service will fail. */
83
+ storageAccount?: StorageAccount;
84
+ /** Specifies the Machine Learning workspace containing the experiment that is source for the web service. */
85
+ machineLearningWorkspace?: MachineLearningWorkspace;
86
+ /** Contains the commitment plan associated with this web service. Set at creation time. Once set, this value cannot be changed. Note: The commitment plan is not returned from calls to GET operations. */
87
+ commitmentPlan?: CommitmentPlan;
88
+ /** Contains the Swagger 2.0 schema describing one or more of the web service's inputs. For more information, see the Swagger specification. */
89
+ input?: ServiceInputOutputSpecification;
90
+ /** Contains the Swagger 2.0 schema describing one or more of the web service's outputs. For more information, see the Swagger specification. */
91
+ output?: ServiceInputOutputSpecification;
92
+ /** Defines sample input data for one or more of the service's inputs. */
93
+ exampleRequest?: ExampleRequest;
94
+ /** Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs. */
95
+ assets?: {
96
+ [propertyName: string]: AssetItem;
97
+ };
98
+ /** The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required. */
99
+ parameters?: {
100
+ [propertyName: string]: WebServiceParameter;
101
+ };
102
+ /** When set to true, indicates that the payload size is larger than 3 MB. Otherwise false. If the payload size exceed 3 MB, the payload is stored in a blob and the PayloadsLocation parameter contains the URI of the blob. Otherwise, this will be set to false and Assets, Input, Output, Package, Parameters, ExampleRequest are inline. The Payload sizes is determined by adding the size of the Assets, Input, Output, Package, Parameters, and the ExampleRequest. */
103
+ payloadsInBlobStorage?: boolean;
104
+ /** The URI of the payload blob. This parameter contains a value only if the payloadsInBlobStorage parameter is set to true. Otherwise is set to null. */
105
+ payloadsLocation?: BlobLocation;
106
+ }
107
+ /** Access keys for the web service calls. */
108
+ export interface WebServiceKeys {
109
+ /** The primary access key. */
110
+ primary?: string;
111
+ /** The secondary access key. */
112
+ secondary?: string;
113
+ }
114
+ /** Holds the available configuration options for an Azure ML web service endpoint. */
115
+ export interface RealtimeConfiguration {
116
+ /** Specifies the maximum concurrent calls that can be made to the web service. Minimum value: 4, Maximum value: 200. */
117
+ maxConcurrentCalls?: number;
118
+ }
119
+ /** Diagnostics settings for an Azure ML web service. */
120
+ export interface DiagnosticsConfiguration {
121
+ /** Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr). */
122
+ level: DiagnosticsLevel;
123
+ /** Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited. */
124
+ expiry?: Date;
125
+ }
126
+ /** Access information for a storage account. */
127
+ export interface StorageAccount {
128
+ /** Specifies the name of the storage account. */
129
+ name?: string;
130
+ /** Specifies the key used to access the storage account. */
131
+ key?: string;
132
+ }
133
+ /** Information about the machine learning workspace containing the experiment that is source for the web service. */
134
+ export interface MachineLearningWorkspace {
135
+ /** Specifies the workspace ID of the machine learning workspace associated with the web service */
136
+ id: string;
137
+ }
138
+ /** Information about the machine learning commitment plan associated with the web service. */
139
+ export interface CommitmentPlan {
140
+ /** Specifies the Azure Resource Manager ID of the commitment plan associated with the web service. */
141
+ id: string;
142
+ }
143
+ /** The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/ */
144
+ export interface ServiceInputOutputSpecification {
145
+ /** The title of your Swagger schema. */
146
+ title?: string;
147
+ /** The description of the Swagger schema. */
148
+ description?: string;
149
+ /** The type of the entity described in swagger. Always 'object'. */
150
+ type: string;
151
+ /** Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification. */
152
+ properties: {
153
+ [propertyName: string]: TableSpecification;
154
+ };
155
+ }
156
+ /** The swagger 2.0 schema describing a single service input or output. See Swagger specification: http://swagger.io/specification/ */
157
+ export interface TableSpecification {
158
+ /** Swagger schema title. */
159
+ title?: string;
160
+ /** Swagger schema description. */
161
+ description?: string;
162
+ /** The type of the entity described in swagger. */
163
+ type: string;
164
+ /** The format, if 'type' is not 'object' */
165
+ format?: string;
166
+ /** The set of columns within the data table. */
167
+ properties?: {
168
+ [propertyName: string]: ColumnSpecification;
169
+ };
170
+ }
171
+ /** Swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: http://swagger.io/specification/ */
172
+ export interface ColumnSpecification {
173
+ /** Data type of the column. */
174
+ type: ColumnType;
175
+ /** Additional format information for the data type. */
176
+ format?: ColumnFormat;
177
+ /** If the data type is categorical, this provides the list of accepted categories. */
178
+ enum?: Record<string, unknown>[];
179
+ /** Flag indicating if the type supports null values or not. */
180
+ xMsIsnullable?: boolean;
181
+ /** Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column. */
182
+ xMsIsordered?: boolean;
183
+ }
184
+ /** Sample input data for the service's input(s). */
185
+ export interface ExampleRequest {
186
+ /** Sample input data for the web service's input(s) given as an input name to sample input values matrix map. */
187
+ inputs?: {
188
+ [propertyName: string]: Record<string, unknown>[][];
189
+ };
190
+ /** Sample input data for the web service's global parameters */
191
+ globalParameters?: {
192
+ [propertyName: string]: Record<string, unknown>;
193
+ };
194
+ }
195
+ /** Information about an asset associated with the web service. */
196
+ export interface AssetItem {
197
+ /** Asset's friendly name. */
198
+ name: string;
199
+ /** Asset's Id. */
200
+ id?: string;
201
+ /** Asset's type. */
202
+ type: AssetType;
203
+ /** Access information for the asset. */
204
+ locationInfo: BlobLocation;
205
+ /** Information about the asset's input ports. */
206
+ inputPorts?: {
207
+ [propertyName: string]: InputPort;
208
+ };
209
+ /** Information about the asset's output ports. */
210
+ outputPorts?: {
211
+ [propertyName: string]: OutputPort;
212
+ };
213
+ /** If the asset is a custom module, this holds the module's metadata. */
214
+ metadata?: {
215
+ [propertyName: string]: string;
216
+ };
217
+ /** If the asset is a custom module, this holds the module's parameters. */
218
+ parameters?: ModuleAssetParameter[];
219
+ }
220
+ /** Describes the access location for a blob. */
221
+ export interface BlobLocation {
222
+ /** The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload. */
223
+ uri: string;
224
+ /** Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI) */
225
+ credentials?: string;
226
+ }
227
+ /** Asset input port */
228
+ export interface InputPort {
229
+ /** Port data type. */
230
+ type?: InputPortType;
231
+ }
232
+ /** Asset output port */
233
+ export interface OutputPort {
234
+ /** Port data type. */
235
+ type?: OutputPortType;
236
+ }
237
+ /** Parameter definition for a module asset. */
238
+ export interface ModuleAssetParameter {
239
+ /** Parameter name. */
240
+ name?: string;
241
+ /** Parameter type. */
242
+ parameterType?: string;
243
+ /** Definitions for nested interface parameters if this is a complex module parameter. */
244
+ modeValuesInfo?: {
245
+ [propertyName: string]: ModeValueInfo;
246
+ };
247
+ }
248
+ /** Nested parameter definition. */
249
+ export interface ModeValueInfo {
250
+ /** The interface string name for the nested parameter. */
251
+ interfaceString?: string;
252
+ /** The definition of the parameter. */
253
+ parameters?: ModuleAssetParameter[];
254
+ }
255
+ /** Web Service Parameter object for node and global parameter */
256
+ export interface WebServiceParameter {
257
+ /** The parameter value */
258
+ value?: Record<string, unknown>;
259
+ /** If the parameter value in 'value' field is encrypted, the thumbprint of the certificate should be put here. */
260
+ certificateThumbprint?: string;
261
+ }
262
+ /** Azure resource. */
263
+ export interface Resource {
264
+ /**
265
+ * Specifies the resource ID.
266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
267
+ */
268
+ readonly id?: string;
269
+ /**
270
+ * Specifies the name of the resource.
271
+ * NOTE: This property will not be serialized. It can only be populated by the server.
272
+ */
273
+ readonly name?: string;
274
+ /** Specifies the location of the resource. */
275
+ location: string;
276
+ /**
277
+ * Specifies the type of the resource.
278
+ * NOTE: This property will not be serialized. It can only be populated by the server.
279
+ */
280
+ readonly type?: string;
281
+ /** Contains resource tags defined as key/value pairs. */
282
+ tags?: {
283
+ [propertyName: string]: string;
284
+ };
285
+ }
286
+ /** Azure resource. */
287
+ export interface PatchedResource {
288
+ /**
289
+ * Specifies the resource ID.
290
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
+ */
292
+ readonly id?: string;
293
+ /**
294
+ * Specifies the name of the resource.
295
+ * NOTE: This property will not be serialized. It can only be populated by the server.
296
+ */
297
+ readonly name?: string;
298
+ /**
299
+ * Specifies the location of the resource.
300
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
+ */
302
+ readonly location?: string;
303
+ /**
304
+ * Specifies the type of the resource.
305
+ * NOTE: This property will not be serialized. It can only be populated by the server.
306
+ */
307
+ readonly type?: string;
308
+ /** Contains resource tags defined as key/value pairs. */
309
+ tags?: {
310
+ [propertyName: string]: string;
311
+ };
312
+ }
313
+ /** Azure async operation status. */
314
+ export interface AsyncOperationStatus {
315
+ /**
316
+ * Async operation id.
317
+ * NOTE: This property will not be serialized. It can only be populated by the server.
318
+ */
319
+ readonly id?: string;
320
+ /**
321
+ * Async operation name.
322
+ * NOTE: This property will not be serialized. It can only be populated by the server.
323
+ */
324
+ readonly name?: string;
325
+ /**
326
+ * Read Only: The provisioning state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed.
327
+ * NOTE: This property will not be serialized. It can only be populated by the server.
328
+ */
329
+ readonly provisioningState?: ProvisioningState;
330
+ /**
331
+ * The date time that the async operation started.
332
+ * NOTE: This property will not be serialized. It can only be populated by the server.
333
+ */
334
+ readonly startTime?: Date;
335
+ /**
336
+ * The date time that the async operation finished.
337
+ * NOTE: This property will not be serialized. It can only be populated by the server.
338
+ */
339
+ readonly endTime?: Date;
340
+ /**
341
+ * Async operation progress.
342
+ * NOTE: This property will not be serialized. It can only be populated by the server.
343
+ */
344
+ readonly percentComplete?: number;
345
+ /**
346
+ * If the async operation fails, this structure contains the error details.
347
+ * NOTE: This property will not be serialized. It can only be populated by the server.
348
+ */
349
+ readonly errorInfo?: AsyncOperationErrorInfo;
350
+ }
351
+ /** The error detail information for async operation */
352
+ export interface AsyncOperationErrorInfo {
353
+ /**
354
+ * The error code.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly code?: string;
358
+ /**
359
+ * The error target.
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
361
+ */
362
+ readonly target?: string;
363
+ /**
364
+ * The error message.
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
366
+ */
367
+ readonly message?: string;
368
+ /**
369
+ * An array containing error information.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
371
+ */
372
+ readonly details?: AsyncOperationErrorInfo[];
373
+ }
374
+ /** Paginated list of web services. */
375
+ export interface PaginatedWebServicesList {
376
+ /** An array of web service objects. */
377
+ value?: WebService[];
378
+ /** A continuation link (absolute URI) to the next page of results in the list. */
379
+ nextLink?: string;
380
+ }
381
+ /** Defines the graph of modules making up the machine learning solution. */
382
+ export interface GraphPackage {
383
+ /** The set of nodes making up the graph, provided as a nodeId to GraphNode map */
384
+ nodes?: {
385
+ [propertyName: string]: GraphNode;
386
+ };
387
+ /** The list of edges making up the graph. */
388
+ edges?: GraphEdge[];
389
+ /** The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level. */
390
+ graphParameters?: {
391
+ [propertyName: string]: GraphParameter;
392
+ };
393
+ }
394
+ /** Specifies a node in the web service graph. The node can either be an input, output or asset node, so only one of the corresponding id properties is populated at any given time. */
395
+ export interface GraphNode {
396
+ /** The id of the asset represented by this node. */
397
+ assetId?: string;
398
+ /** The id of the input element represented by this node. */
399
+ inputId?: string;
400
+ /** The id of the output element represented by this node. */
401
+ outputId?: string;
402
+ /** If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime. */
403
+ parameters?: {
404
+ [propertyName: string]: WebServiceParameter;
405
+ };
406
+ }
407
+ /** Defines an edge within the web service's graph. */
408
+ export interface GraphEdge {
409
+ /** The source graph node's identifier. */
410
+ sourceNodeId?: string;
411
+ /** The identifier of the source node's port that the edge connects from. */
412
+ sourcePortId?: string;
413
+ /** The destination graph node's identifier. */
414
+ targetNodeId?: string;
415
+ /** The identifier of the destination node's port that the edge connects into. */
416
+ targetPortId?: string;
417
+ }
418
+ /** Defines a global parameter in the graph. */
419
+ export interface GraphParameter {
420
+ /** Description of this graph parameter. */
421
+ description?: string;
422
+ /** Graph parameter's type. */
423
+ type: ParameterType;
424
+ /** Association links for this parameter to nodes in the graph. */
425
+ links: GraphParameterLink[];
426
+ }
427
+ /** Association link for a graph global parameter to a node in the graph. */
428
+ export interface GraphParameterLink {
429
+ /** The graph node's identifier */
430
+ nodeId: string;
431
+ /** The identifier of the node parameter that the global parameter maps to. */
432
+ parameterKey: string;
433
+ }
434
+ /** Properties specific to a Graph based web service. */
435
+ export interface WebServicePropertiesForGraph extends WebServiceProperties {
436
+ /** Polymorphic discriminator, which specifies the different types this object can be */
437
+ packageType: "Graph";
438
+ /** The definition of the graph package making up this web service. */
439
+ package?: GraphPackage;
440
+ }
441
+ /** Instance of an Azure ML web service resource. */
442
+ export interface WebService extends Resource {
443
+ /** Contains the property payload that describes the web service. */
444
+ properties: WebServicePropertiesUnion;
445
+ }
446
+ /** Instance of an Patched Azure ML web service resource. */
447
+ export interface PatchedWebService extends PatchedResource {
448
+ /** Contains the property payload that describes the web service. */
449
+ properties?: WebServicePropertiesUnion;
450
+ }
451
+ /** Known values of {@link ProvisioningState} that the service accepts. */
452
+ export declare enum KnownProvisioningState {
453
+ /** Unknown */
454
+ Unknown = "Unknown",
455
+ /** Provisioning */
456
+ Provisioning = "Provisioning",
457
+ /** Succeeded */
458
+ Succeeded = "Succeeded",
459
+ /** Failed */
460
+ Failed = "Failed"
461
+ }
462
+ /**
463
+ * Defines values for ProvisioningState. \
464
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
465
+ * this enum contains the known values that the service supports.
466
+ * ### Known values supported by the service
467
+ * **Unknown** \
468
+ * **Provisioning** \
469
+ * **Succeeded** \
470
+ * **Failed**
471
+ */
472
+ export type ProvisioningState = string;
473
+ /** Known values of {@link DiagnosticsLevel} that the service accepts. */
474
+ export declare enum KnownDiagnosticsLevel {
475
+ /** None */
476
+ None = "None",
477
+ /** Error */
478
+ Error = "Error",
479
+ /** All */
480
+ All = "All"
481
+ }
482
+ /**
483
+ * Defines values for DiagnosticsLevel. \
484
+ * {@link KnownDiagnosticsLevel} can be used interchangeably with DiagnosticsLevel,
485
+ * this enum contains the known values that the service supports.
486
+ * ### Known values supported by the service
487
+ * **None** \
488
+ * **Error** \
489
+ * **All**
490
+ */
491
+ export type DiagnosticsLevel = string;
492
+ /** Known values of {@link ColumnType} that the service accepts. */
493
+ export declare enum KnownColumnType {
494
+ /** Boolean */
495
+ Boolean = "Boolean",
496
+ /** Integer */
497
+ Integer = "Integer",
498
+ /** Number */
499
+ Number = "Number",
500
+ /** String */
501
+ String = "String"
502
+ }
503
+ /**
504
+ * Defines values for ColumnType. \
505
+ * {@link KnownColumnType} can be used interchangeably with ColumnType,
506
+ * this enum contains the known values that the service supports.
507
+ * ### Known values supported by the service
508
+ * **Boolean** \
509
+ * **Integer** \
510
+ * **Number** \
511
+ * **String**
512
+ */
513
+ export type ColumnType = string;
514
+ /** Known values of {@link ColumnFormat} that the service accepts. */
515
+ export declare enum KnownColumnFormat {
516
+ /** Byte */
517
+ Byte = "Byte",
518
+ /** Char */
519
+ Char = "Char",
520
+ /** Complex64 */
521
+ Complex64 = "Complex64",
522
+ /** Complex128 */
523
+ Complex128 = "Complex128",
524
+ /** DateTime */
525
+ DateTime = "Date-time",
526
+ /** DateTimeOffset */
527
+ DateTimeOffset = "Date-timeOffset",
528
+ /** Double */
529
+ Double = "Double",
530
+ /** Duration */
531
+ Duration = "Duration",
532
+ /** Float */
533
+ Float = "Float",
534
+ /** Int8 */
535
+ Int8 = "Int8",
536
+ /** Int16 */
537
+ Int16 = "Int16",
538
+ /** Int32 */
539
+ Int32 = "Int32",
540
+ /** Int64 */
541
+ Int64 = "Int64",
542
+ /** Uint8 */
543
+ Uint8 = "Uint8",
544
+ /** Uint16 */
545
+ Uint16 = "Uint16",
546
+ /** Uint32 */
547
+ Uint32 = "Uint32",
548
+ /** Uint64 */
549
+ Uint64 = "Uint64"
550
+ }
551
+ /**
552
+ * Defines values for ColumnFormat. \
553
+ * {@link KnownColumnFormat} can be used interchangeably with ColumnFormat,
554
+ * this enum contains the known values that the service supports.
555
+ * ### Known values supported by the service
556
+ * **Byte** \
557
+ * **Char** \
558
+ * **Complex64** \
559
+ * **Complex128** \
560
+ * **Date-time** \
561
+ * **Date-timeOffset** \
562
+ * **Double** \
563
+ * **Duration** \
564
+ * **Float** \
565
+ * **Int8** \
566
+ * **Int16** \
567
+ * **Int32** \
568
+ * **Int64** \
569
+ * **Uint8** \
570
+ * **Uint16** \
571
+ * **Uint32** \
572
+ * **Uint64**
573
+ */
574
+ export type ColumnFormat = string;
575
+ /** Known values of {@link AssetType} that the service accepts. */
576
+ export declare enum KnownAssetType {
577
+ /** Module */
578
+ Module = "Module",
579
+ /** Resource */
580
+ Resource = "Resource"
581
+ }
582
+ /**
583
+ * Defines values for AssetType. \
584
+ * {@link KnownAssetType} can be used interchangeably with AssetType,
585
+ * this enum contains the known values that the service supports.
586
+ * ### Known values supported by the service
587
+ * **Module** \
588
+ * **Resource**
589
+ */
590
+ export type AssetType = string;
591
+ /** Known values of {@link InputPortType} that the service accepts. */
592
+ export declare enum KnownInputPortType {
593
+ /** Dataset */
594
+ Dataset = "Dataset"
595
+ }
596
+ /**
597
+ * Defines values for InputPortType. \
598
+ * {@link KnownInputPortType} can be used interchangeably with InputPortType,
599
+ * this enum contains the known values that the service supports.
600
+ * ### Known values supported by the service
601
+ * **Dataset**
602
+ */
603
+ export type InputPortType = string;
604
+ /** Known values of {@link OutputPortType} that the service accepts. */
605
+ export declare enum KnownOutputPortType {
606
+ /** Dataset */
607
+ Dataset = "Dataset"
608
+ }
609
+ /**
610
+ * Defines values for OutputPortType. \
611
+ * {@link KnownOutputPortType} can be used interchangeably with OutputPortType,
612
+ * this enum contains the known values that the service supports.
613
+ * ### Known values supported by the service
614
+ * **Dataset**
615
+ */
616
+ export type OutputPortType = string;
617
+ /** Known values of {@link ParameterType} that the service accepts. */
618
+ export declare enum KnownParameterType {
619
+ /** String */
620
+ String = "String",
621
+ /** Int */
622
+ Int = "Int",
623
+ /** Float */
624
+ Float = "Float",
625
+ /** Enumerated */
626
+ Enumerated = "Enumerated",
627
+ /** Script */
628
+ Script = "Script",
629
+ /** Mode */
630
+ Mode = "Mode",
631
+ /** Credential */
632
+ Credential = "Credential",
633
+ /** Boolean */
634
+ Boolean = "Boolean",
635
+ /** Double */
636
+ Double = "Double",
637
+ /** ColumnPicker */
638
+ ColumnPicker = "ColumnPicker",
639
+ /** ParameterRange */
640
+ ParameterRange = "ParameterRange",
641
+ /** DataGatewayName */
642
+ DataGatewayName = "DataGatewayName"
643
+ }
644
+ /**
645
+ * Defines values for ParameterType. \
646
+ * {@link KnownParameterType} can be used interchangeably with ParameterType,
647
+ * this enum contains the known values that the service supports.
648
+ * ### Known values supported by the service
649
+ * **String** \
650
+ * **Int** \
651
+ * **Float** \
652
+ * **Enumerated** \
653
+ * **Script** \
654
+ * **Mode** \
655
+ * **Credential** \
656
+ * **Boolean** \
657
+ * **Double** \
658
+ * **ColumnPicker** \
659
+ * **ParameterRange** \
660
+ * **DataGatewayName**
661
+ */
662
+ export type ParameterType = string;
663
+ /** Optional parameters. */
664
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
665
+ }
666
+ /** Contains response data for the list operation. */
667
+ export type OperationsListResponse = OperationEntityListResult;
668
+ /** Optional parameters. */
669
+ export interface WebServicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
670
+ /** Delay to wait until next poll, in milliseconds. */
671
+ updateIntervalInMs?: number;
672
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
673
+ resumeFrom?: string;
674
+ }
675
+ /** Contains response data for the createOrUpdate operation. */
676
+ export type WebServicesCreateOrUpdateResponse = WebService;
677
+ /** Optional parameters. */
678
+ export interface WebServicesGetOptionalParams extends coreClient.OperationOptions {
679
+ /** The region for which encrypted credential parameters are valid. */
680
+ region?: string;
681
+ }
682
+ /** Contains response data for the get operation. */
683
+ export type WebServicesGetResponse = WebService;
684
+ /** Optional parameters. */
685
+ export interface WebServicesPatchOptionalParams extends coreClient.OperationOptions {
686
+ /** Delay to wait until next poll, in milliseconds. */
687
+ updateIntervalInMs?: number;
688
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
689
+ resumeFrom?: string;
690
+ }
691
+ /** Contains response data for the patch operation. */
692
+ export type WebServicesPatchResponse = WebService;
693
+ /** Optional parameters. */
694
+ export interface WebServicesRemoveOptionalParams extends coreClient.OperationOptions {
695
+ /** Delay to wait until next poll, in milliseconds. */
696
+ updateIntervalInMs?: number;
697
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
698
+ resumeFrom?: string;
699
+ }
700
+ /** Optional parameters. */
701
+ export interface WebServicesCreateRegionalPropertiesOptionalParams extends coreClient.OperationOptions {
702
+ /** Delay to wait until next poll, in milliseconds. */
703
+ updateIntervalInMs?: number;
704
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
705
+ resumeFrom?: string;
706
+ }
707
+ /** Contains response data for the createRegionalProperties operation. */
708
+ export type WebServicesCreateRegionalPropertiesResponse = AsyncOperationStatus;
709
+ /** Optional parameters. */
710
+ export interface WebServicesListKeysOptionalParams extends coreClient.OperationOptions {
711
+ }
712
+ /** Contains response data for the listKeys operation. */
713
+ export type WebServicesListKeysResponse = WebServiceKeys;
714
+ /** Optional parameters. */
715
+ export interface WebServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
716
+ /** Continuation token for pagination. */
717
+ skiptoken?: string;
718
+ }
719
+ /** Contains response data for the listByResourceGroup operation. */
720
+ export type WebServicesListByResourceGroupResponse = PaginatedWebServicesList;
721
+ /** Optional parameters. */
722
+ export interface WebServicesListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
723
+ /** Continuation token for pagination. */
724
+ skiptoken?: string;
725
+ }
726
+ /** Contains response data for the listBySubscriptionId operation. */
727
+ export type WebServicesListBySubscriptionIdResponse = PaginatedWebServicesList;
728
+ /** Optional parameters. */
729
+ export interface WebServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
730
+ /** Continuation token for pagination. */
731
+ skiptoken?: string;
732
+ }
733
+ /** Contains response data for the listByResourceGroupNext operation. */
734
+ export type WebServicesListByResourceGroupNextResponse = PaginatedWebServicesList;
735
+ /** Optional parameters. */
736
+ export interface WebServicesListBySubscriptionIdNextOptionalParams extends coreClient.OperationOptions {
737
+ /** Continuation token for pagination. */
738
+ skiptoken?: string;
739
+ }
740
+ /** Contains response data for the listBySubscriptionIdNext operation. */
741
+ export type WebServicesListBySubscriptionIdNextResponse = PaginatedWebServicesList;
742
+ /** Optional parameters. */
743
+ export interface AzureMLWebServicesManagementClientOptionalParams extends coreClient.ServiceClientOptions {
744
+ /** server parameter */
745
+ $host?: string;
746
+ /** Api Version */
747
+ apiVersion?: string;
748
+ /** Overrides client endpoint. */
749
+ endpoint?: string;
750
+ }
751
+ //# sourceMappingURL=index.d.ts.map