@azure/arm-cognitiveservices 6.1.0 → 7.0.1-alpha.20211221.2

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 (249) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +4800 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/cognitiveServicesManagementClient.d.ts +42 -0
  9. package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/cognitiveServicesManagementClient.js +133 -0
  11. package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1310 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +128 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +68 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +964 -1092
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +26 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +199 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/accounts.d.ts +138 -0
  33. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  34. package/dist-esm/src/operations/accounts.js +628 -0
  35. package/dist-esm/src/operations/accounts.js.map +1 -0
  36. package/dist-esm/src/operations/commitmentPlans.d.ts +76 -0
  37. package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
  38. package/dist-esm/src/operations/commitmentPlans.js +293 -0
  39. package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
  40. package/dist-esm/src/operations/commitmentTiers.d.ts +35 -0
  41. package/dist-esm/src/operations/commitmentTiers.d.ts.map +1 -0
  42. package/dist-esm/src/operations/commitmentTiers.js +132 -0
  43. package/dist-esm/src/operations/commitmentTiers.js.map +1 -0
  44. package/dist-esm/src/operations/deletedAccounts.d.ts +57 -0
  45. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/deletedAccounts.js +232 -0
  47. package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/deployments.d.ts +81 -0
  49. package/dist-esm/src/operations/deployments.d.ts.map +1 -0
  50. package/dist-esm/src/operations/deployments.js +331 -0
  51. package/dist-esm/src/operations/deployments.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +70 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +271 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  69. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  70. package/dist-esm/src/operations/resourceSkus.js +124 -0
  71. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/accounts.d.ts +102 -0
  73. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  74. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
  75. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +51 -0
  77. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/commitmentPlans.js} +2 -9
  79. package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts +12 -0
  81. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts.map +1 -0
  82. package/{src/models/commitmentTiersMappers.ts → dist-esm/src/operationsInterfaces/commitmentTiers.js} +2 -10
  83. package/dist-esm/src/operationsInterfaces/commitmentTiers.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +36 -0
  85. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  86. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/deletedAccounts.js} +2 -2
  87. package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/deployments.d.ts +56 -0
  89. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  97. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
  101. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  105. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  112. package/dist-esm/test/cognitiveservices_examples.d.ts +4 -0
  113. package/dist-esm/test/cognitiveservices_examples.d.ts.map +1 -0
  114. package/dist-esm/test/cognitiveservices_examples.js +127 -0
  115. package/dist-esm/test/cognitiveservices_examples.js.map +1 -0
  116. package/package.json +65 -22
  117. package/review/arm-cognitiveservices.api.md +1150 -0
  118. package/rollup.config.js +181 -30
  119. package/src/cognitiveServicesManagementClient.ts +157 -153
  120. package/src/{models/resourceSkusMappers.ts → index.ts} +4 -9
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +1063 -1831
  123. package/src/models/mappers.ts +1021 -1150
  124. package/src/models/parameters.ts +151 -54
  125. package/src/operations/accounts.ts +613 -497
  126. package/src/operations/commitmentPlans.ts +253 -203
  127. package/src/operations/commitmentTiers.ts +105 -80
  128. package/src/operations/deletedAccounts.ts +209 -161
  129. package/src/operations/deployments.ts +325 -193
  130. package/src/operations/index.ts +1 -2
  131. package/src/operations/operations.ts +85 -73
  132. package/src/operations/privateEndpointConnections.ts +257 -164
  133. package/src/operations/privateLinkResources.ts +37 -51
  134. package/src/operations/resourceSkus.ts +90 -76
  135. package/src/operationsInterfaces/accounts.ts +195 -0
  136. package/src/operationsInterfaces/commitmentPlans.ts +93 -0
  137. package/src/operationsInterfaces/commitmentTiers.ts +24 -0
  138. package/src/operationsInterfaces/deletedAccounts.ts +68 -0
  139. package/src/operationsInterfaces/deployments.ts +109 -0
  140. package/src/operationsInterfaces/index.ts +17 -0
  141. package/src/operationsInterfaces/operations.ts +22 -0
  142. package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
  143. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  144. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  145. package/tsconfig.json +3 -3
  146. package/types/arm-cognitiveservices.d.ts +1860 -0
  147. package/types/tsdoc-metadata.json +11 -0
  148. package/dist/arm-cognitiveservices.js +0 -4713
  149. package/dist/arm-cognitiveservices.js.map +0 -1
  150. package/dist/arm-cognitiveservices.min.js +0 -1
  151. package/dist/arm-cognitiveservices.min.js.map +0 -1
  152. package/esm/cognitiveServicesManagementClient.d.ts +0 -80
  153. package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
  154. package/esm/cognitiveServicesManagementClient.js +0 -128
  155. package/esm/cognitiveServicesManagementClient.js.map +0 -1
  156. package/esm/cognitiveServicesManagementClientContext.d.ts +0 -22
  157. package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
  158. package/esm/cognitiveServicesManagementClientContext.js +0 -60
  159. package/esm/cognitiveServicesManagementClientContext.js.map +0 -1
  160. package/esm/models/accountsMappers.d.ts +0 -2
  161. package/esm/models/accountsMappers.d.ts.map +0 -1
  162. package/esm/models/accountsMappers.js +0 -9
  163. package/esm/models/accountsMappers.js.map +0 -1
  164. package/esm/models/commitmentPlansMappers.d.ts +0 -2
  165. package/esm/models/commitmentPlansMappers.d.ts.map +0 -1
  166. package/esm/models/commitmentPlansMappers.js +0 -9
  167. package/esm/models/commitmentPlansMappers.js.map +0 -1
  168. package/esm/models/commitmentTiersMappers.d.ts +0 -2
  169. package/esm/models/commitmentTiersMappers.d.ts.map +0 -1
  170. package/esm/models/commitmentTiersMappers.js +0 -9
  171. package/esm/models/commitmentTiersMappers.js.map +0 -1
  172. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  173. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  174. package/esm/models/deletedAccountsMappers.js +0 -9
  175. package/esm/models/deletedAccountsMappers.js.map +0 -1
  176. package/esm/models/deploymentsMappers.d.ts +0 -2
  177. package/esm/models/deploymentsMappers.d.ts.map +0 -1
  178. package/esm/models/deploymentsMappers.js +0 -9
  179. package/esm/models/deploymentsMappers.js.map +0 -1
  180. package/esm/models/index.d.ts +0 -2102
  181. package/esm/models/index.d.ts.map +0 -1
  182. package/esm/models/index.js.map +0 -1
  183. package/esm/models/mappers.d.ts +0 -71
  184. package/esm/models/mappers.d.ts.map +0 -1
  185. package/esm/models/mappers.js.map +0 -1
  186. package/esm/models/operationsMappers.d.ts +0 -2
  187. package/esm/models/operationsMappers.d.ts.map +0 -1
  188. package/esm/models/operationsMappers.js.map +0 -1
  189. package/esm/models/parameters.d.ts +0 -13
  190. package/esm/models/parameters.d.ts.map +0 -1
  191. package/esm/models/parameters.js +0 -137
  192. package/esm/models/parameters.js.map +0 -1
  193. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  194. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  195. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  196. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  197. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  198. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  199. package/esm/models/privateLinkResourcesMappers.js +0 -9
  200. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  201. package/esm/models/resourceSkusMappers.d.ts +0 -2
  202. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  203. package/esm/models/resourceSkusMappers.js +0 -9
  204. package/esm/models/resourceSkusMappers.js.map +0 -1
  205. package/esm/operations/accounts.d.ts +0 -245
  206. package/esm/operations/accounts.d.ts.map +0 -1
  207. package/esm/operations/accounts.js +0 -476
  208. package/esm/operations/accounts.js.map +0 -1
  209. package/esm/operations/commitmentPlans.d.ts +0 -130
  210. package/esm/operations/commitmentPlans.d.ts.map +0 -1
  211. package/esm/operations/commitmentPlans.js +0 -216
  212. package/esm/operations/commitmentPlans.js.map +0 -1
  213. package/esm/operations/commitmentTiers.d.ts +0 -49
  214. package/esm/operations/commitmentTiers.d.ts.map +0 -1
  215. package/esm/operations/commitmentTiers.js +0 -84
  216. package/esm/operations/commitmentTiers.js.map +0 -1
  217. package/esm/operations/deletedAccounts.d.ts +0 -89
  218. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  219. package/esm/operations/deletedAccounts.js +0 -168
  220. package/esm/operations/deletedAccounts.js.map +0 -1
  221. package/esm/operations/deployments.d.ts +0 -115
  222. package/esm/operations/deployments.d.ts.map +0 -1
  223. package/esm/operations/deployments.js +0 -236
  224. package/esm/operations/deployments.js.map +0 -1
  225. package/esm/operations/index.d.ts.map +0 -1
  226. package/esm/operations/index.js.map +0 -1
  227. package/esm/operations/operations.d.ts +0 -46
  228. package/esm/operations/operations.d.ts.map +0 -1
  229. package/esm/operations/operations.js +0 -79
  230. package/esm/operations/operations.js.map +0 -1
  231. package/esm/operations/privateEndpointConnections.d.ts +0 -108
  232. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  233. package/esm/operations/privateEndpointConnections.js +0 -215
  234. package/esm/operations/privateEndpointConnections.js.map +0 -1
  235. package/esm/operations/privateLinkResources.d.ts +0 -34
  236. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  237. package/esm/operations/privateLinkResources.js +0 -57
  238. package/esm/operations/privateLinkResources.js.map +0 -1
  239. package/esm/operations/resourceSkus.d.ts +0 -46
  240. package/esm/operations/resourceSkus.d.ts.map +0 -1
  241. package/esm/operations/resourceSkus.js +0 -82
  242. package/esm/operations/resourceSkus.js.map +0 -1
  243. package/src/cognitiveServicesManagementClientContext.ts +0 -67
  244. package/src/models/accountsMappers.ts +0 -59
  245. package/src/models/commitmentPlansMappers.ts +0 -52
  246. package/src/models/deletedAccountsMappers.ts +0 -52
  247. package/src/models/deploymentsMappers.ts +0 -52
  248. package/src/models/privateEndpointConnectionsMappers.ts +0 -52
  249. package/src/models/privateLinkResourcesMappers.ts +0 -52
@@ -6,413 +6,302 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * The resource model definition representing SKU
16
- */
11
+ /** The resource model definition representing SKU */
17
12
  export interface Sku {
18
- /**
19
- * The name of the SKU. Ex - P3. It is typically a letter+number code
20
- */
13
+ /** The name of the SKU. Ex - P3. It is typically a letter+number code */
21
14
  name: string;
22
- /**
23
- * This field is required to be implemented by the Resource Provider if the service has more than
24
- * one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard',
25
- * 'Premium', 'Enterprise'
26
- */
15
+ /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
27
16
  tier?: SkuTier;
28
- /**
29
- * The SKU size. When the name field is the combination of tier and some other value, this would
30
- * be the standalone code.
31
- */
17
+ /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
32
18
  size?: string;
19
+ /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
20
+ family?: string;
21
+ /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
22
+ capacity?: number;
23
+ }
24
+
25
+ /** Identity for the resource. */
26
+ export interface Identity {
27
+ /** The identity type. */
28
+ type?: ResourceIdentityType;
33
29
  /**
34
- * If the service has different generations of hardware, for the same SKU, then that can be
35
- * captured here.
30
+ * The tenant ID of resource.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
36
32
  */
37
- family?: string;
33
+ readonly tenantId?: string;
38
34
  /**
39
- * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
40
- * is not possible for the resource this may be omitted.
35
+ * The principal ID of resource identity.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
37
  */
42
- capacity?: number;
38
+ readonly principalId?: string;
39
+ /** The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */
40
+ userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
43
41
  }
44
42
 
45
- /**
46
- * User-assigned managed identity.
47
- */
43
+ /** User-assigned managed identity. */
48
44
  export interface UserAssignedIdentity {
49
45
  /**
50
46
  * Azure Active Directory principal ID associated with this Identity.
51
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
52
48
  */
53
49
  readonly principalId?: string;
54
50
  /**
55
51
  * Client App Id associated with this identity.
56
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
52
+ * NOTE: This property will not be serialized. It can only be populated by the server.
57
53
  */
58
54
  readonly clientId?: string;
59
55
  }
60
56
 
61
- /**
62
- * Identity for the resource.
63
- */
64
- export interface Identity {
57
+ /** Metadata pertaining to creation and last modification of the resource. */
58
+ export interface SystemData {
59
+ /** The identity that created the resource. */
60
+ createdBy?: string;
61
+ /** The type of identity that created the resource. */
62
+ createdByType?: CreatedByType;
63
+ /** The timestamp of resource creation (UTC). */
64
+ createdAt?: Date;
65
+ /** The identity that last modified the resource. */
66
+ lastModifiedBy?: string;
67
+ /** The type of identity that last modified the resource. */
68
+ lastModifiedByType?: CreatedByType;
69
+ /** The timestamp of resource last modification (UTC) */
70
+ lastModifiedAt?: Date;
71
+ }
72
+
73
+ /** Properties of Cognitive Services account. */
74
+ export interface AccountProperties {
65
75
  /**
66
- * The identity type. Possible values include: 'None', 'SystemAssigned', 'UserAssigned',
67
- * 'SystemAssigned, UserAssigned'
76
+ * Gets the status of the cognitive services account at the time the operation was called.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
68
78
  */
69
- type?: ResourceIdentityType;
79
+ readonly provisioningState?: ProvisioningState;
70
80
  /**
71
- * The tenant ID of resource.
72
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
81
+ * Endpoint of the created account.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
83
  */
74
- readonly tenantId?: string;
84
+ readonly endpoint?: string;
75
85
  /**
76
- * The principal ID of resource identity.
77
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
86
+ * The internal identifier (deprecated, do not use this property).
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
88
  */
79
- readonly principalId?: string;
89
+ readonly internalId?: string;
80
90
  /**
81
- * The list of user assigned identities associated with the resource. The user identity
82
- * dictionary key references will be ARM resource ids in the form:
83
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
91
+ * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
93
  */
85
- userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
86
- }
87
-
88
- /**
89
- * Metadata pertaining to creation and last modification of the resource.
90
- */
91
- export interface SystemData {
94
+ readonly capabilities?: SkuCapability[];
92
95
  /**
93
- * The identity that created the resource.
96
+ * If the resource is migrated from an existing key.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
94
98
  */
95
- createdBy?: string;
99
+ readonly isMigrated?: boolean;
100
+ /** Resource migration token. */
101
+ migrationToken?: string;
96
102
  /**
97
- * The type of identity that created the resource. Possible values include: 'User',
98
- * 'Application', 'ManagedIdentity', 'Key'
103
+ * Sku change info of account.
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
105
  */
100
- createdByType?: CreatedByType;
106
+ readonly skuChangeInfo?: SkuChangeInfo;
107
+ /** Optional subdomain name used for token-based authentication. */
108
+ customSubDomainName?: string;
109
+ /** A collection of rules governing the accessibility from specific network locations. */
110
+ networkAcls?: NetworkRuleSet;
111
+ /** The encryption properties for this resource. */
112
+ encryption?: Encryption;
113
+ /** The storage accounts for this resource. */
114
+ userOwnedStorage?: UserOwnedStorage[];
101
115
  /**
102
- * The timestamp of resource creation (UTC).
116
+ * The private endpoint connection associated with the Cognitive Services account.
117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
118
  */
104
- createdAt?: Date;
119
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
120
+ /** Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
121
+ publicNetworkAccess?: PublicNetworkAccess;
122
+ /** The api properties for special APIs. */
123
+ apiProperties?: ApiProperties;
105
124
  /**
106
- * The identity that last modified the resource.
125
+ * Gets the date of cognitive services account creation.
126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
107
127
  */
108
- lastModifiedBy?: string;
128
+ readonly dateCreated?: string;
109
129
  /**
110
- * The type of identity that last modified the resource. Possible values include: 'User',
111
- * 'Application', 'ManagedIdentity', 'Key'
130
+ * The call rate limit Cognitive Services account.
131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
112
132
  */
113
- lastModifiedByType?: CreatedByType;
133
+ readonly callRateLimit?: CallRateLimit;
134
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
135
+ readonly quotaLimit?: QuotaLimit;
136
+ restrictOutboundNetworkAccess?: boolean;
137
+ allowedFqdnList?: string[];
138
+ disableLocalAuth?: boolean;
114
139
  /**
115
- * The timestamp of resource last modification (UTC)
140
+ * Dictionary of <string>
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
142
  */
117
- lastModifiedAt?: Date;
143
+ readonly endpoints?: { [propertyName: string]: string };
144
+ restore?: boolean;
118
145
  }
119
146
 
120
- /**
121
- * SkuCapability indicates the capability of a certain feature.
122
- */
147
+ /** SkuCapability indicates the capability of a certain feature. */
123
148
  export interface SkuCapability {
124
- /**
125
- * The name of the SkuCapability.
126
- */
149
+ /** The name of the SkuCapability. */
127
150
  name?: string;
128
- /**
129
- * The value of the SkuCapability.
130
- */
151
+ /** The value of the SkuCapability. */
131
152
  value?: string;
132
153
  }
133
154
 
134
- /**
135
- * Sku change info of account.
136
- */
155
+ /** Sku change info of account. */
137
156
  export interface SkuChangeInfo {
138
- /**
139
- * Gets the count of downgrades.
140
- */
157
+ /** Gets the count of downgrades. */
141
158
  countOfDowngrades?: number;
142
- /**
143
- * Gets the count of upgrades after downgrades.
144
- */
159
+ /** Gets the count of upgrades after downgrades. */
145
160
  countOfUpgradesAfterDowngrades?: number;
146
- /**
147
- * Gets the last change date.
148
- */
161
+ /** Gets the last change date. */
149
162
  lastChangeDate?: string;
150
163
  }
151
164
 
152
- /**
153
- * A rule governing the accessibility from a specific ip address or ip range.
154
- */
165
+ /** A set of rules governing the network accessibility. */
166
+ export interface NetworkRuleSet {
167
+ /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
168
+ defaultAction?: NetworkRuleAction;
169
+ /** The list of IP address rules. */
170
+ ipRules?: IpRule[];
171
+ /** The list of virtual network rules. */
172
+ virtualNetworkRules?: VirtualNetworkRule[];
173
+ }
174
+
175
+ /** A rule governing the accessibility from a specific ip address or ip range. */
155
176
  export interface IpRule {
156
- /**
157
- * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or
158
- * '124.56.78.0/24' (all addresses that start with 124.56.78).
159
- */
177
+ /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
160
178
  value: string;
161
179
  }
162
180
 
163
- /**
164
- * A rule governing the accessibility from a specific virtual network.
165
- */
181
+ /** A rule governing the accessibility from a specific virtual network. */
166
182
  export interface VirtualNetworkRule {
167
- /**
168
- * Full resource id of a vnet subnet, such as
169
- * '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
170
- */
183
+ /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
171
184
  id: string;
172
- /**
173
- * Gets the state of virtual network rule.
174
- */
185
+ /** Gets the state of virtual network rule. */
175
186
  state?: string;
176
- /**
177
- * Ignore missing vnet service endpoint or not.
178
- */
187
+ /** Ignore missing vnet service endpoint or not. */
179
188
  ignoreMissingVnetServiceEndpoint?: boolean;
180
189
  }
181
190
 
182
- /**
183
- * A set of rules governing the network accessibility.
184
- */
185
- export interface NetworkRuleSet {
186
- /**
187
- * The default action when no rule from ipRules and from virtualNetworkRules match. This is only
188
- * used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny'
189
- */
190
- defaultAction?: NetworkRuleAction;
191
- /**
192
- * The list of IP address rules.
193
- */
194
- ipRules?: IpRule[];
195
- /**
196
- * The list of virtual network rules.
197
- */
198
- virtualNetworkRules?: VirtualNetworkRule[];
191
+ /** Properties to configure Encryption */
192
+ export interface Encryption {
193
+ /** Properties of KeyVault */
194
+ keyVaultProperties?: KeyVaultProperties;
195
+ /** Enumerates the possible value of keySource for Encryption */
196
+ keySource?: KeySource;
199
197
  }
200
198
 
201
- /**
202
- * Properties to configure keyVault Properties
203
- */
199
+ /** Properties to configure keyVault Properties */
204
200
  export interface KeyVaultProperties {
205
- /**
206
- * Name of the Key from KeyVault
207
- */
201
+ /** Name of the Key from KeyVault */
208
202
  keyName?: string;
209
- /**
210
- * Version of the Key from KeyVault
211
- */
203
+ /** Version of the Key from KeyVault */
212
204
  keyVersion?: string;
213
- /**
214
- * Uri of KeyVault
215
- */
205
+ /** Uri of KeyVault */
216
206
  keyVaultUri?: string;
217
207
  identityClientId?: string;
218
208
  }
219
209
 
220
- /**
221
- * Properties to configure Encryption
222
- */
223
- export interface Encryption {
224
- /**
225
- * Properties of KeyVault
226
- */
227
- keyVaultProperties?: KeyVaultProperties;
228
- /**
229
- * Enumerates the possible value of keySource for Encryption. Possible values include:
230
- * 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'. Default value: 'Microsoft.KeyVault'.
231
- */
232
- keySource?: KeySource;
210
+ /** The user owned storage for Cognitive Services account. */
211
+ export interface UserOwnedStorage {
212
+ /** Full resource id of a Microsoft.Storage resource. */
213
+ resourceId?: string;
214
+ identityClientId?: string;
233
215
  }
234
216
 
235
- /**
236
- * The user owned storage for Cognitive Services account.
237
- */
238
- export interface UserOwnedStorage {
217
+ /** Properties of the PrivateEndpointConnectProperties. */
218
+ export interface PrivateEndpointConnectionProperties {
219
+ /** The resource of private end point. */
220
+ privateEndpoint?: PrivateEndpoint;
221
+ /** A collection of information about the state of the connection between service consumer and provider. */
222
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
239
223
  /**
240
- * Full resource id of a Microsoft.Storage resource.
224
+ * The provisioning state of the private endpoint connection resource.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
241
226
  */
242
- resourceId?: string;
243
- identityClientId?: string;
227
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
228
+ /** The private link resource group ids. */
229
+ groupIds?: string[];
244
230
  }
245
231
 
246
- /**
247
- * The Private Endpoint resource.
248
- */
232
+ /** The Private Endpoint resource. */
249
233
  export interface PrivateEndpoint {
250
234
  /**
251
235
  * The ARM identifier for Private Endpoint
252
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
236
+ * NOTE: This property will not be serialized. It can only be populated by the server.
253
237
  */
254
238
  readonly id?: string;
255
239
  }
256
240
 
257
- /**
258
- * A collection of information about the state of the connection between service consumer and
259
- * provider.
260
- */
241
+ /** A collection of information about the state of the connection between service consumer and provider. */
261
242
  export interface PrivateLinkServiceConnectionState {
262
- /**
263
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
264
- * service. Possible values include: 'Pending', 'Approved', 'Rejected'
265
- */
243
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
266
244
  status?: PrivateEndpointServiceConnectionStatus;
267
- /**
268
- * The reason for approval/rejection of the connection.
269
- */
245
+ /** The reason for approval/rejection of the connection. */
270
246
  description?: string;
271
- /**
272
- * A message indicating if changes on the service provider require any updates on the consumer.
273
- */
247
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
274
248
  actionsRequired?: string;
275
249
  }
276
250
 
277
- /**
278
- * Properties of the PrivateEndpointConnectProperties.
279
- */
280
- export interface PrivateEndpointConnectionProperties {
281
- /**
282
- * The resource of private end point.
283
- */
284
- privateEndpoint?: PrivateEndpoint;
285
- /**
286
- * A collection of information about the state of the connection between service consumer and
287
- * provider.
288
- */
289
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
290
- /**
291
- * The provisioning state of the private endpoint connection resource. Possible values include:
292
- * 'Succeeded', 'Creating', 'Deleting', 'Failed'
293
- */
294
- provisioningState?: PrivateEndpointConnectionProvisioningState;
295
- /**
296
- * The private link resource group ids.
297
- */
298
- groupIds?: string[];
299
- }
300
-
301
- /**
302
- * Common fields that are returned in the response for all Azure Resource Manager resources
303
- * @summary Resource
304
- */
305
- export interface Resource extends BaseResource {
251
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
252
+ export interface Resource {
306
253
  /**
307
- * Fully qualified resource ID for the resource. Ex -
308
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
309
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
254
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
255
+ * NOTE: This property will not be serialized. It can only be populated by the server.
310
256
  */
311
257
  readonly id?: string;
312
258
  /**
313
259
  * The name of the resource
314
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
261
  */
316
262
  readonly name?: string;
317
263
  /**
318
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
319
- * "Microsoft.Storage/storageAccounts"
320
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
264
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
265
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
266
  */
322
267
  readonly type?: string;
323
268
  }
324
269
 
325
- /**
326
- * The resource model definition for an Azure Resource Manager resource with an etag.
327
- * @summary Entity Resource
328
- */
329
- export interface AzureEntityResource extends Resource {
330
- /**
331
- * Resource Etag.
332
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
333
- */
334
- readonly etag?: string;
335
- }
336
-
337
- /**
338
- * The Private Endpoint Connection resource.
339
- */
340
- export interface PrivateEndpointConnection extends AzureEntityResource {
341
- /**
342
- * Resource properties.
343
- */
344
- properties?: PrivateEndpointConnectionProperties;
345
- /**
346
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
347
- */
348
- readonly systemData?: SystemData;
349
- /**
350
- * The location of the private endpoint connection
351
- */
352
- location?: string;
353
- }
354
-
355
- /**
356
- * The api properties for special APIs.
357
- */
270
+ /** The api properties for special APIs. */
358
271
  export interface ApiProperties {
359
- /**
360
- * (QnAMaker Only) The runtime endpoint of QnAMaker.
361
- */
272
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
273
+ [property: string]: any;
274
+ /** (QnAMaker Only) The runtime endpoint of QnAMaker. */
362
275
  qnaRuntimeEndpoint?: string;
363
- /**
364
- * (QnAMaker Only) The Azure Search endpoint key of QnAMaker.
365
- */
276
+ /** (QnAMaker Only) The Azure Search endpoint key of QnAMaker. */
366
277
  qnaAzureSearchEndpointKey?: string;
367
- /**
368
- * (QnAMaker Only) The Azure Search endpoint id of QnAMaker.
369
- */
278
+ /** (QnAMaker Only) The Azure Search endpoint id of QnAMaker. */
370
279
  qnaAzureSearchEndpointId?: string;
371
- /**
372
- * (Bing Search Only) The flag to enable statistics of Bing Search.
373
- */
280
+ /** (Bing Search Only) The flag to enable statistics of Bing Search. */
374
281
  statisticsEnabled?: boolean;
375
- /**
376
- * (Personalization Only) The flag to enable statistics of Bing Search.
377
- */
282
+ /** (Personalization Only) The flag to enable statistics of Bing Search. */
378
283
  eventHubConnectionString?: string;
379
- /**
380
- * (Personalization Only) The storage account connection string.
381
- */
284
+ /** (Personalization Only) The storage account connection string. */
382
285
  storageAccountConnectionString?: string;
383
- /**
384
- * (Metrics Advisor Only) The Azure AD Client Id (Application Id).
385
- */
286
+ /** (Metrics Advisor Only) The Azure AD Client Id (Application Id). */
386
287
  aadClientId?: string;
387
- /**
388
- * (Metrics Advisor Only) The Azure AD Tenant Id.
389
- */
288
+ /** (Metrics Advisor Only) The Azure AD Tenant Id. */
390
289
  aadTenantId?: string;
391
- /**
392
- * (Metrics Advisor Only) The super user of Metrics Advisor.
393
- */
290
+ /** (Metrics Advisor Only) The super user of Metrics Advisor. */
394
291
  superUser?: string;
395
- /**
396
- * (Metrics Advisor Only) The website name of Metrics Advisor.
397
- */
292
+ /** (Metrics Advisor Only) The website name of Metrics Advisor. */
398
293
  websiteName?: string;
399
- /**
400
- * Describes unknown properties. The value of an unknown property can be of "any" type.
401
- */
402
- [property: string]: any;
403
294
  }
404
295
 
405
- /**
406
- * An interface representing RequestMatchPattern.
407
- */
408
- export interface RequestMatchPattern {
409
- path?: string;
410
- method?: string;
296
+ /** The call rate limit Cognitive Services account. */
297
+ export interface CallRateLimit {
298
+ /** The count value of Call Rate Limit. */
299
+ count?: number;
300
+ /** The renewal period in seconds of Call Rate Limit. */
301
+ renewalPeriod?: number;
302
+ rules?: ThrottlingRule[];
411
303
  }
412
304
 
413
- /**
414
- * An interface representing ThrottlingRule.
415
- */
416
305
  export interface ThrottlingRule {
417
306
  key?: string;
418
307
  renewalPeriod?: number;
@@ -422,1846 +311,1189 @@ export interface ThrottlingRule {
422
311
  matchPatterns?: RequestMatchPattern[];
423
312
  }
424
313
 
425
- /**
426
- * The call rate limit Cognitive Services account.
427
- */
428
- export interface CallRateLimit {
429
- /**
430
- * The count value of Call Rate Limit.
431
- */
314
+ export interface RequestMatchPattern {
315
+ path?: string;
316
+ method?: string;
317
+ }
318
+
319
+ export interface QuotaLimit {
432
320
  count?: number;
433
- /**
434
- * The renewal period in seconds of Call Rate Limit.
435
- */
436
321
  renewalPeriod?: number;
437
322
  rules?: ThrottlingRule[];
438
323
  }
439
324
 
440
- /**
441
- * An interface representing QuotaLimit.
442
- */
443
- export interface QuotaLimit {
444
- count?: number;
445
- renewalPeriod?: number;
446
- rules?: ThrottlingRule[];
325
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
326
+ export interface ErrorResponse {
327
+ /** The error object. */
328
+ error?: ErrorDetail;
447
329
  }
448
330
 
449
- /**
450
- * Properties of Cognitive Services account.
451
- */
452
- export interface AccountProperties {
453
- /**
454
- * Gets the status of the cognitive services account at the time the operation was called.
455
- * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded',
456
- * 'ResolvingDNS'
457
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
458
- */
459
- readonly provisioningState?: ProvisioningState;
460
- /**
461
- * Endpoint of the created account.
462
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
463
- */
464
- readonly endpoint?: string;
465
- /**
466
- * The internal identifier (deprecated, do not use this property).
467
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
468
- */
469
- readonly internalId?: string;
470
- /**
471
- * Gets the capabilities of the cognitive services account. Each item indicates the capability of
472
- * a specific feature. The values are read-only and for reference only.
473
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
474
- */
475
- readonly capabilities?: SkuCapability[];
476
- /**
477
- * If the resource is migrated from an existing key.
478
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
479
- */
480
- readonly isMigrated?: boolean;
481
- /**
482
- * Resource migration token.
483
- */
484
- migrationToken?: string;
485
- /**
486
- * Sku change info of account.
487
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
488
- */
489
- readonly skuChangeInfo?: SkuChangeInfo;
490
- /**
491
- * Optional subdomain name used for token-based authentication.
492
- */
493
- customSubDomainName?: string;
494
- /**
495
- * A collection of rules governing the accessibility from specific network locations.
496
- */
497
- networkAcls?: NetworkRuleSet;
498
- /**
499
- * The encryption properties for this resource.
500
- */
501
- encryption?: Encryption;
502
- /**
503
- * The storage accounts for this resource.
504
- */
505
- userOwnedStorage?: UserOwnedStorage[];
506
- /**
507
- * The private endpoint connection associated with the Cognitive Services account.
508
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
509
- */
510
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
511
- /**
512
- * Whether or not public endpoint access is allowed for this account. Value is optional but if
513
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
514
- */
515
- publicNetworkAccess?: PublicNetworkAccess;
331
+ /** The error detail. */
332
+ export interface ErrorDetail {
516
333
  /**
517
- * The api properties for special APIs.
334
+ * The error code.
335
+ * NOTE: This property will not be serialized. It can only be populated by the server.
518
336
  */
519
- apiProperties?: ApiProperties;
337
+ readonly code?: string;
520
338
  /**
521
- * Gets the date of cognitive services account creation.
522
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
339
+ * The error message.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
523
341
  */
524
- readonly dateCreated?: string;
342
+ readonly message?: string;
525
343
  /**
526
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
344
+ * The error target.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
527
346
  */
528
- readonly callRateLimit?: CallRateLimit;
347
+ readonly target?: string;
529
348
  /**
530
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
349
+ * The error details.
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
351
  */
532
- readonly quotaLimit?: QuotaLimit;
533
- restrictOutboundNetworkAccess?: boolean;
534
- allowedFqdnList?: string[];
535
- disableLocalAuth?: boolean;
352
+ readonly details?: ErrorDetail[];
536
353
  /**
537
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
354
+ * The error additional info.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
356
  */
539
- readonly endpoints?: { [propertyName: string]: string };
540
- restore?: boolean;
357
+ readonly additionalInfo?: ErrorAdditionalInfo[];
541
358
  }
542
359
 
543
- /**
544
- * Cognitive Services account is an Azure resource representing the provisioned account, it's type,
545
- * location and SKU.
546
- */
547
- export interface Account extends AzureEntityResource {
548
- /**
549
- * The Kind of the resource.
550
- */
551
- kind?: string;
552
- sku?: Sku;
553
- identity?: Identity;
554
- /**
555
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
556
- */
557
- readonly systemData?: SystemData;
360
+ /** The resource management error additional info. */
361
+ export interface ErrorAdditionalInfo {
558
362
  /**
559
- * Resource tags.
363
+ * The additional info type.
364
+ * NOTE: This property will not be serialized. It can only be populated by the server.
560
365
  */
561
- tags?: { [propertyName: string]: string };
366
+ readonly type?: string;
562
367
  /**
563
- * The geo-location where the resource lives
368
+ * The additional info.
369
+ * NOTE: This property will not be serialized. It can only be populated by the server.
564
370
  */
565
- location?: string;
371
+ readonly info?: Record<string, unknown>;
372
+ }
373
+
374
+ /** The list of cognitive services accounts operation response. */
375
+ export interface AccountListResult {
376
+ /** The link used to get the next page of accounts. */
377
+ nextLink?: string;
566
378
  /**
567
- * Properties of Cognitive Services account.
379
+ * Gets the list of Cognitive Services accounts and their properties.
380
+ * NOTE: This property will not be serialized. It can only be populated by the server.
568
381
  */
569
- properties?: AccountProperties;
382
+ readonly value?: Account[];
570
383
  }
571
384
 
572
- /**
573
- * The access keys for the cognitive services account.
574
- */
385
+ /** The access keys for the cognitive services account. */
575
386
  export interface ApiKeys {
576
- /**
577
- * Gets the value of key 1.
578
- */
387
+ /** Gets the value of key 1. */
579
388
  key1?: string;
580
- /**
581
- * Gets the value of key 2.
582
- */
389
+ /** Gets the value of key 2. */
583
390
  key2?: string;
584
391
  }
585
392
 
586
- /**
587
- * Regenerate key parameters.
588
- */
393
+ /** Regenerate key parameters. */
589
394
  export interface RegenerateKeyParameters {
590
- /**
591
- * key name to generate (Key1|Key2). Possible values include: 'Key1', 'Key2'
592
- */
395
+ /** key name to generate (Key1|Key2) */
593
396
  keyName: KeyName;
594
397
  }
595
398
 
596
- /**
597
- * Cognitive Services resource type and SKU.
598
- */
599
- export interface AccountSku {
600
- /**
601
- * Resource Namespace and Type
602
- */
399
+ /** The Get Skus operation response. */
400
+ export interface ResourceSkuListResult {
401
+ /** The list of skus available for the subscription. */
402
+ value: ResourceSku[];
403
+ /** The uri to fetch the next page of Skus. */
404
+ nextLink?: string;
405
+ }
406
+
407
+ /** Describes an available Cognitive Services SKU. */
408
+ export interface ResourceSku {
409
+ /** The type of resource the SKU applies to. */
603
410
  resourceType?: string;
604
- /**
605
- * The SKU of Cognitive Services account.
606
- */
607
- sku?: Sku;
411
+ /** The name of SKU. */
412
+ name?: string;
413
+ /** Specifies the tier of Cognitive Services account. */
414
+ tier?: string;
415
+ /** The Kind of resources that are supported in this SKU. */
416
+ kind?: string;
417
+ /** The set of locations that the SKU is available. */
418
+ locations?: string[];
419
+ /** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */
420
+ restrictions?: ResourceSkuRestrictions[];
608
421
  }
609
422
 
610
- /**
611
- * The list of cognitive services accounts operation response.
612
- */
423
+ /** Describes restrictions of a SKU. */
424
+ export interface ResourceSkuRestrictions {
425
+ /** The type of restrictions. */
426
+ type?: ResourceSkuRestrictionsType;
427
+ /** The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. */
428
+ values?: string[];
429
+ /** The information about the restriction where the SKU cannot be used. */
430
+ restrictionInfo?: ResourceSkuRestrictionInfo;
431
+ /** The reason for restriction. */
432
+ reasonCode?: ResourceSkuRestrictionsReasonCode;
433
+ }
434
+
435
+ export interface ResourceSkuRestrictionInfo {
436
+ /** Locations where the SKU is restricted */
437
+ locations?: string[];
438
+ /** List of availability zones where the SKU is restricted. */
439
+ zones?: string[];
440
+ }
441
+
442
+ /** The list of cognitive services accounts operation response. */
613
443
  export interface AccountSkuListResult {
614
- /**
615
- * Gets the list of Cognitive Services accounts and their properties.
616
- */
444
+ /** Gets the list of Cognitive Services accounts and their properties. */
617
445
  value?: AccountSku[];
618
446
  }
619
447
 
620
- /**
621
- * A metric name.
622
- */
448
+ /** Cognitive Services resource type and SKU. */
449
+ export interface AccountSku {
450
+ /** Resource Namespace and Type */
451
+ resourceType?: string;
452
+ /** The SKU of Cognitive Services account. */
453
+ sku?: Sku;
454
+ }
455
+
456
+ /** The response to a list usage request. */
457
+ export interface UsageListResult {
458
+ /** The list of usages for Cognitive Service account. */
459
+ value?: Usage[];
460
+ }
461
+
462
+ /** The usage data for a usage request. */
463
+ export interface Usage {
464
+ /** The unit of the metric. */
465
+ unit?: UnitType;
466
+ /** The name information for the metric. */
467
+ name?: MetricName;
468
+ /** The quota period used to summarize the usage values. */
469
+ quotaPeriod?: string;
470
+ /** Maximum value for this metric. */
471
+ limit?: number;
472
+ /** Current value for this metric. */
473
+ currentValue?: number;
474
+ /** Next reset time for current quota. */
475
+ nextResetTime?: string;
476
+ /** Cognitive Services account quota usage status. */
477
+ status?: QuotaUsageStatus;
478
+ }
479
+
480
+ /** A metric name. */
623
481
  export interface MetricName {
482
+ /** The name of the metric. */
483
+ value?: string;
484
+ /** The friendly name of the metric. */
485
+ localizedValue?: string;
486
+ }
487
+
488
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
489
+ export interface OperationListResult {
624
490
  /**
625
- * The name of the metric.
491
+ * List of operations supported by the resource provider
492
+ * NOTE: This property will not be serialized. It can only be populated by the server.
626
493
  */
627
- value?: string;
494
+ readonly value?: Operation[];
628
495
  /**
629
- * The friendly name of the metric.
496
+ * URL to get the next set of operation list results (if there are any).
497
+ * NOTE: This property will not be serialized. It can only be populated by the server.
630
498
  */
631
- localizedValue?: string;
499
+ readonly nextLink?: string;
632
500
  }
633
501
 
634
- /**
635
- * The usage data for a usage request.
636
- */
637
- export interface Usage {
502
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
503
+ export interface Operation {
638
504
  /**
639
- * The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent',
640
- * 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
505
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
506
+ * NOTE: This property will not be serialized. It can only be populated by the server.
641
507
  */
642
- unit?: UnitType;
508
+ readonly name?: string;
643
509
  /**
644
- * The name information for the metric.
510
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
511
+ * NOTE: This property will not be serialized. It can only be populated by the server.
645
512
  */
646
- name?: MetricName;
513
+ readonly isDataAction?: boolean;
514
+ /** Localized display information for this particular operation. */
515
+ display?: OperationDisplay;
647
516
  /**
648
- * The quota period used to summarize the usage values.
517
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
649
519
  */
650
- quotaPeriod?: string;
520
+ readonly origin?: Origin;
651
521
  /**
652
- * Maximum value for this metric.
522
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
523
+ * NOTE: This property will not be serialized. It can only be populated by the server.
653
524
  */
654
- limit?: number;
525
+ readonly actionType?: ActionType;
526
+ }
527
+
528
+ /** Localized display information for this particular operation. */
529
+ export interface OperationDisplay {
655
530
  /**
656
- * Current value for this metric.
531
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
657
533
  */
658
- currentValue?: number;
534
+ readonly provider?: string;
659
535
  /**
660
- * Next reset time for current quota.
536
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
538
  */
662
- nextResetTime?: string;
539
+ readonly resource?: string;
663
540
  /**
664
- * Cognitive Services account quota usage status. Possible values include: 'Included', 'Blocked',
665
- * 'InOverage', 'Unknown'
541
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
543
  */
667
- status?: QuotaUsageStatus;
668
- }
669
-
670
- /**
671
- * The response to a list usage request.
672
- */
673
- export interface UsageListResult {
544
+ readonly operation?: string;
674
545
  /**
675
- * The list of usages for Cognitive Service account.
546
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
548
  */
677
- value?: Usage[];
549
+ readonly description?: string;
678
550
  }
679
551
 
680
- /**
681
- * Check SKU availability parameter.
682
- */
552
+ /** Check SKU availability parameter. */
683
553
  export interface CheckSkuAvailabilityParameter {
684
- /**
685
- * The SKU of the resource.
686
- */
554
+ /** The SKU of the resource. */
687
555
  skus: string[];
688
- /**
689
- * The Kind of the resource.
690
- */
556
+ /** The Kind of the resource. */
691
557
  kind: string;
692
- /**
693
- * The Type of the resource.
694
- */
558
+ /** The Type of the resource. */
695
559
  type: string;
696
560
  }
697
561
 
698
- /**
699
- * SKU availability.
700
- */
562
+ /** Check SKU availability result list. */
563
+ export interface SkuAvailabilityListResult {
564
+ /** Check SKU availability result list. */
565
+ value?: SkuAvailability[];
566
+ }
567
+
568
+ /** SKU availability. */
701
569
  export interface SkuAvailability {
702
- /**
703
- * The Kind of the resource.
704
- */
570
+ /** The Kind of the resource. */
705
571
  kind?: string;
706
- /**
707
- * The Type of the resource.
708
- */
572
+ /** The Type of the resource. */
709
573
  type?: string;
710
- /**
711
- * The SKU of Cognitive Services account.
712
- */
574
+ /** The SKU of Cognitive Services account. */
713
575
  skuName?: string;
714
- /**
715
- * Indicates the given SKU is available or not.
716
- */
576
+ /** Indicates the given SKU is available or not. */
717
577
  skuAvailable?: boolean;
718
- /**
719
- * Reason why the SKU is not available.
720
- */
578
+ /** Reason why the SKU is not available. */
721
579
  reason?: string;
722
- /**
723
- * Additional error message.
724
- */
580
+ /** Additional error message. */
725
581
  message?: string;
726
582
  }
727
583
 
728
- /**
729
- * Check SKU availability result list.
730
- */
731
- export interface SkuAvailabilityListResult {
584
+ /** The list of cognitive services accounts operation response. */
585
+ export interface CommitmentTierListResult {
586
+ /** The link used to get the next page of CommitmentTier. */
587
+ nextLink?: string;
732
588
  /**
733
- * Check SKU availability result list.
589
+ * Gets the list of Cognitive Services accounts CommitmentTier and their properties.
590
+ * NOTE: This property will not be serialized. It can only be populated by the server.
734
591
  */
735
- value?: SkuAvailability[];
592
+ readonly value?: CommitmentTier[];
736
593
  }
737
594
 
738
- /**
739
- * Check Domain availability parameter.
740
- */
741
- export interface CheckDomainAvailabilityParameter {
742
- /**
743
- * The subdomain name to use.
744
- */
745
- subdomainName: string;
746
- /**
747
- * The Type of the resource.
748
- */
749
- type: string;
750
- /**
751
- * The Kind of the resource.
752
- */
595
+ /** Cognitive Services account commitment tier. */
596
+ export interface CommitmentTier {
597
+ /** The Kind of the resource. */
753
598
  kind?: string;
599
+ /** The name of the SKU. Ex - P3. It is typically a letter+number code */
600
+ skuName?: string;
601
+ /** Account hosting model. */
602
+ hostingModel?: HostingModel;
603
+ /** Commitment plan type. */
604
+ planType?: string;
605
+ /** Commitment period commitment tier. */
606
+ tier?: string;
607
+ /** Commitment period commitment max count. */
608
+ maxCount?: number;
609
+ /** Cognitive Services account commitment quota. */
610
+ quota?: CommitmentQuota;
611
+ /** Cognitive Services account commitment cost. */
612
+ cost?: CommitmentCost;
754
613
  }
755
614
 
756
- /**
757
- * Domain availability.
758
- */
759
- export interface DomainAvailability {
760
- /**
761
- * Indicates the given SKU is available or not.
762
- */
763
- isSubdomainAvailable?: boolean;
764
- /**
765
- * Reason why the SKU is not available.
766
- */
767
- reason?: string;
768
- /**
769
- * The subdomain name to use.
770
- */
771
- subdomainName?: string;
772
- /**
773
- * The Type of the resource.
774
- */
775
- type?: string;
776
- /**
777
- * The Kind of the resource.
778
- */
779
- kind?: string;
615
+ /** Cognitive Services account commitment quota. */
616
+ export interface CommitmentQuota {
617
+ /** Commitment quota quantity. */
618
+ quantity?: number;
619
+ /** Commitment quota unit. */
620
+ unit?: string;
780
621
  }
781
622
 
782
- /**
783
- * An interface representing ResourceSkuRestrictionInfo.
784
- */
785
- export interface ResourceSkuRestrictionInfo {
786
- /**
787
- * Locations where the SKU is restricted
788
- */
789
- locations?: string[];
790
- /**
791
- * List of availability zones where the SKU is restricted.
792
- */
793
- zones?: string[];
623
+ /** Cognitive Services account commitment cost. */
624
+ export interface CommitmentCost {
625
+ /** Commitment meter Id. */
626
+ commitmentMeterId?: string;
627
+ /** Overage meter Id. */
628
+ overageMeterId?: string;
794
629
  }
795
630
 
796
- /**
797
- * Describes restrictions of a SKU.
798
- */
799
- export interface ResourceSkuRestrictions {
800
- /**
801
- * The type of restrictions. Possible values include: 'Location', 'Zone'
802
- */
803
- type?: ResourceSkuRestrictionsType;
804
- /**
805
- * The value of restrictions. If the restriction type is set to location. This would be different
806
- * locations where the SKU is restricted.
807
- */
808
- values?: string[];
809
- /**
810
- * The information about the restriction where the SKU cannot be used.
811
- */
812
- restrictionInfo?: ResourceSkuRestrictionInfo;
813
- /**
814
- * The reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
815
- */
816
- reasonCode?: ResourceSkuRestrictionsReasonCode;
631
+ /** Check Domain availability parameter. */
632
+ export interface CheckDomainAvailabilityParameter {
633
+ /** The subdomain name to use. */
634
+ subdomainName: string;
635
+ /** The Type of the resource. */
636
+ type: string;
637
+ /** The Kind of the resource. */
638
+ kind?: string;
817
639
  }
818
640
 
819
- /**
820
- * Describes an available Cognitive Services SKU.
821
- */
822
- export interface ResourceSku {
823
- /**
824
- * The type of resource the SKU applies to.
825
- */
826
- resourceType?: string;
827
- /**
828
- * The name of SKU.
829
- */
830
- name?: string;
831
- /**
832
- * Specifies the tier of Cognitive Services account.
833
- */
834
- tier?: string;
835
- /**
836
- * The Kind of resources that are supported in this SKU.
837
- */
641
+ /** Domain availability. */
642
+ export interface DomainAvailability {
643
+ /** Indicates the given SKU is available or not. */
644
+ isSubdomainAvailable?: boolean;
645
+ /** Reason why the SKU is not available. */
646
+ reason?: string;
647
+ /** The subdomain name to use. */
648
+ subdomainName?: string;
649
+ /** The Type of the resource. */
650
+ type?: string;
651
+ /** The Kind of the resource. */
838
652
  kind?: string;
839
- /**
840
- * The set of locations that the SKU is available.
841
- */
842
- locations?: string[];
843
- /**
844
- * The restrictions because of which SKU cannot be used. This is empty if there are no
845
- * restrictions.
846
- */
847
- restrictions?: ResourceSkuRestrictions[];
848
653
  }
849
654
 
850
- /**
851
- * A list of private endpoint connections
852
- */
655
+ /** A list of private endpoint connections */
853
656
  export interface PrivateEndpointConnectionListResult {
854
- /**
855
- * Array of private endpoint connections
856
- */
657
+ /** Array of private endpoint connections */
857
658
  value?: PrivateEndpointConnection[];
858
659
  }
859
660
 
860
- /**
861
- * Properties of a private link resource.
862
- */
661
+ /** A list of private link resources */
662
+ export interface PrivateLinkResourceListResult {
663
+ /** Array of private link resources */
664
+ value?: PrivateLinkResource[];
665
+ }
666
+
667
+ /** Properties of a private link resource. */
863
668
  export interface PrivateLinkResourceProperties {
864
669
  /**
865
670
  * The private link resource group id.
866
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
671
+ * NOTE: This property will not be serialized. It can only be populated by the server.
867
672
  */
868
673
  readonly groupId?: string;
869
674
  /**
870
675
  * The private link resource required member names.
871
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
676
+ * NOTE: This property will not be serialized. It can only be populated by the server.
872
677
  */
873
678
  readonly requiredMembers?: string[];
874
- /**
875
- * The private link resource Private link DNS zone name.
876
- */
679
+ /** The private link resource Private link DNS zone name. */
877
680
  requiredZoneNames?: string[];
878
681
  /**
879
682
  * The private link resource display name.
880
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
683
+ * NOTE: This property will not be serialized. It can only be populated by the server.
881
684
  */
882
685
  readonly displayName?: string;
883
686
  }
884
687
 
885
- /**
886
- * A private link resource
887
- */
888
- export interface PrivateLinkResource extends Resource {
688
+ /** The list of cognitive services accounts operation response. */
689
+ export interface DeploymentListResult {
690
+ /** The link used to get the next page of Deployment. */
691
+ nextLink?: string;
889
692
  /**
890
- * Resource properties.
693
+ * Gets the list of Cognitive Services accounts Deployment and their properties.
694
+ * NOTE: This property will not be serialized. It can only be populated by the server.
891
695
  */
892
- properties?: PrivateLinkResourceProperties;
696
+ readonly value?: Deployment[];
893
697
  }
894
698
 
895
- /**
896
- * A list of private link resources
897
- */
898
- export interface PrivateLinkResourceListResult {
699
+ /** Properties of Cognitive Services account deployment. */
700
+ export interface DeploymentProperties {
899
701
  /**
900
- * Array of private link resources
702
+ * Gets the status of the resource at the time the operation was called.
703
+ * NOTE: This property will not be serialized. It can only be populated by the server.
901
704
  */
902
- value?: PrivateLinkResource[];
705
+ readonly provisioningState?: DeploymentProvisioningState;
706
+ /** Properties of Cognitive Services account deployment model. */
707
+ model?: DeploymentModel;
708
+ /** Properties of Cognitive Services account deployment model. */
709
+ scaleSettings?: DeploymentScaleSettings;
903
710
  }
904
711
 
905
- /**
906
- * Properties of Cognitive Services account deployment model.
907
- */
712
+ /** Properties of Cognitive Services account deployment model. */
908
713
  export interface DeploymentModel {
909
- /**
910
- * Deployment model format.
911
- */
714
+ /** Deployment model format. */
912
715
  format?: string;
913
- /**
914
- * Deployment model name.
915
- */
716
+ /** Deployment model name. */
916
717
  name?: string;
917
- /**
918
- * Deployment model version.
919
- */
718
+ /** Deployment model version. */
920
719
  version?: string;
921
720
  }
922
721
 
923
- /**
924
- * Properties of Cognitive Services account deployment model.
925
- */
722
+ /** Properties of Cognitive Services account deployment model. */
926
723
  export interface DeploymentScaleSettings {
927
- /**
928
- * Deployment scale type. Possible values include: 'Manual'
929
- */
724
+ /** Deployment scale type. */
930
725
  scaleType?: DeploymentScaleType;
931
- /**
932
- * Deployment capacity.
933
- */
726
+ /** Deployment capacity. */
934
727
  capacity?: number;
935
728
  }
936
729
 
937
- /**
938
- * Properties of Cognitive Services account deployment.
939
- */
940
- export interface DeploymentProperties {
941
- /**
942
- * Gets the status of the resource at the time the operation was called. Possible values include:
943
- * 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded'
944
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
945
- */
946
- readonly provisioningState?: DeploymentProvisioningState;
947
- model?: DeploymentModel;
948
- scaleSettings?: DeploymentScaleSettings;
949
- }
950
-
951
- /**
952
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
953
- * and a location
954
- * @summary Proxy Resource
955
- */
956
- export interface ProxyResource extends Resource {
957
- }
958
-
959
- /**
960
- * Cognitive Services account deployment.
961
- */
962
- export interface Deployment extends ProxyResource {
963
- /**
964
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
965
- */
966
- readonly systemData?: SystemData;
967
- /**
968
- * Resource Etag.
969
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
970
- */
971
- readonly etag?: string;
972
- /**
973
- * Properties of Cognitive Services account deployment.
974
- */
975
- properties?: DeploymentProperties;
976
- }
977
-
978
- /**
979
- * Cognitive Services account commitment quota.
980
- */
981
- export interface CommitmentQuota {
982
- /**
983
- * Commitment quota quantity.
984
- */
985
- quantity?: number;
986
- /**
987
- * Commitment quota unit.
988
- */
989
- unit?: string;
990
- }
991
-
992
- /**
993
- * Cognitive Services account commitment cost.
994
- */
995
- export interface CommitmentCost {
996
- /**
997
- * Commitment meter Id.
998
- */
999
- commitmentMeterId?: string;
730
+ /** The list of cognitive services accounts operation response. */
731
+ export interface CommitmentPlanListResult {
732
+ /** The link used to get the next page of CommitmentPlan. */
733
+ nextLink?: string;
1000
734
  /**
1001
- * Overage meter Id.
735
+ * Gets the list of Cognitive Services accounts CommitmentPlan and their properties.
736
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1002
737
  */
1003
- overageMeterId?: string;
738
+ readonly value?: CommitmentPlan[];
1004
739
  }
1005
740
 
1006
- /**
1007
- * Cognitive Services account commitment tier.
1008
- */
1009
- export interface CommitmentTier {
1010
- /**
1011
- * The Kind of the resource.
1012
- */
1013
- kind?: string;
1014
- /**
1015
- * The name of the SKU. Ex - P3. It is typically a letter+number code
1016
- */
1017
- skuName?: string;
1018
- /**
1019
- * Account hosting model. Possible values include: 'Web', 'ConnectedContainer',
1020
- * 'DisconnectedContainer'
1021
- */
741
+ /** Properties of Cognitive Services account commitment plan. */
742
+ export interface CommitmentPlanProperties {
743
+ /** Account hosting model. */
1022
744
  hostingModel?: HostingModel;
1023
- /**
1024
- * Commitment plan type.
1025
- */
745
+ /** Commitment plan type. */
1026
746
  planType?: string;
747
+ /** Cognitive Services account commitment period. */
748
+ current?: CommitmentPeriod;
749
+ /** AutoRenew commitment plan. */
750
+ autoRenew?: boolean;
751
+ /** Cognitive Services account commitment period. */
752
+ next?: CommitmentPeriod;
1027
753
  /**
1028
- * Commitment period commitment tier.
1029
- */
1030
- tier?: string;
1031
- /**
1032
- * Commitment period commitment max count.
754
+ * Cognitive Services account commitment period.
755
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1033
756
  */
1034
- maxCount?: number;
1035
- quota?: CommitmentQuota;
1036
- cost?: CommitmentCost;
757
+ readonly last?: CommitmentPeriod;
1037
758
  }
1038
759
 
1039
- /**
1040
- * Cognitive Services account commitment period.
1041
- */
760
+ /** Cognitive Services account commitment period. */
1042
761
  export interface CommitmentPeriod {
1043
- /**
1044
- * Commitment period commitment tier.
1045
- */
762
+ /** Commitment period commitment tier. */
1046
763
  tier?: string;
1047
- /**
1048
- * Commitment period commitment count.
1049
- */
764
+ /** Commitment period commitment count. */
1050
765
  count?: number;
1051
766
  /**
1052
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
767
+ * Cognitive Services account commitment quota.
768
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1053
769
  */
1054
770
  readonly quota?: CommitmentQuota;
1055
771
  /**
1056
772
  * Commitment period start date.
1057
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
773
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1058
774
  */
1059
775
  readonly startDate?: string;
1060
776
  /**
1061
777
  * Commitment period end date.
1062
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
778
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1063
779
  */
1064
780
  readonly endDate?: string;
1065
781
  }
1066
782
 
1067
- /**
1068
- * Properties of Cognitive Services account commitment plan.
1069
- */
1070
- export interface CommitmentPlanProperties {
783
+ /** The resource model definition for an Azure Resource Manager resource with an etag. */
784
+ export type AzureEntityResource = Resource & {
1071
785
  /**
1072
- * Account hosting model. Possible values include: 'Web', 'ConnectedContainer',
1073
- * 'DisconnectedContainer'
1074
- */
1075
- hostingModel?: HostingModel;
1076
- /**
1077
- * Commitment plan type.
786
+ * Resource Etag.
787
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1078
788
  */
1079
- planType?: string;
1080
- current?: CommitmentPeriod;
789
+ readonly etag?: string;
790
+ };
791
+
792
+ /** A private link resource */
793
+ export type PrivateLinkResource = Resource & {
794
+ /** Resource properties. */
795
+ properties?: PrivateLinkResourceProperties;
796
+ };
797
+
798
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
799
+ export type ProxyResource = Resource & {};
800
+
801
+ /** The Private Endpoint Connection resource. */
802
+ export type PrivateEndpointConnection = AzureEntityResource & {
803
+ /** Resource properties. */
804
+ properties?: PrivateEndpointConnectionProperties;
1081
805
  /**
1082
- * AutoRenew commitment plan.
806
+ * Metadata pertaining to creation and last modification of the resource.
807
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1083
808
  */
1084
- autoRenew?: boolean;
1085
- next?: CommitmentPeriod;
809
+ readonly systemData?: SystemData;
810
+ /** The location of the private endpoint connection */
811
+ location?: string;
812
+ };
813
+
814
+ /** Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU. */
815
+ export type Account = AzureEntityResource & {
816
+ /** The Kind of the resource. */
817
+ kind?: string;
818
+ /** The resource model definition representing SKU */
819
+ sku?: Sku;
820
+ /** Identity for the resource. */
821
+ identity?: Identity;
1086
822
  /**
1087
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
823
+ * Metadata pertaining to creation and last modification of the resource.
824
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1088
825
  */
1089
- readonly last?: CommitmentPeriod;
1090
- }
826
+ readonly systemData?: SystemData;
827
+ /** Resource tags. */
828
+ tags?: { [propertyName: string]: string };
829
+ /** The geo-location where the resource lives */
830
+ location?: string;
831
+ /** Properties of Cognitive Services account. */
832
+ properties?: AccountProperties;
833
+ };
1091
834
 
1092
- /**
1093
- * Cognitive Services account commitment plan.
1094
- */
1095
- export interface CommitmentPlan extends ProxyResource {
835
+ /** Cognitive Services account deployment. */
836
+ export type Deployment = ProxyResource & {
1096
837
  /**
1097
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
838
+ * Metadata pertaining to creation and last modification of the resource.
839
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1098
840
  */
1099
841
  readonly systemData?: SystemData;
1100
842
  /**
1101
843
  * Resource Etag.
1102
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
844
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1103
845
  */
1104
846
  readonly etag?: string;
847
+ /** Properties of Cognitive Services account deployment. */
848
+ properties?: DeploymentProperties;
849
+ };
850
+
851
+ /** Cognitive Services account commitment plan. */
852
+ export type CommitmentPlan = ProxyResource & {
853
+ /**
854
+ * Metadata pertaining to creation and last modification of the resource.
855
+ * NOTE: This property will not be serialized. It can only be populated by the server.
856
+ */
857
+ readonly systemData?: SystemData;
1105
858
  /**
1106
- * Properties of Cognitive Services account commitment plan.
859
+ * Resource Etag.
860
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1107
861
  */
862
+ readonly etag?: string;
863
+ /** Properties of Cognitive Services account commitment plan. */
1108
864
  properties?: CommitmentPlanProperties;
865
+ };
866
+
867
+ /** Known values of {@link SkuTier} that the service accepts. */
868
+ export enum KnownSkuTier {
869
+ Free = "Free",
870
+ Basic = "Basic",
871
+ Standard = "Standard",
872
+ Premium = "Premium",
873
+ Enterprise = "Enterprise"
1109
874
  }
1110
875
 
1111
876
  /**
1112
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
1113
- * 'tags' and a 'location'
1114
- * @summary Tracked Resource
877
+ * Defines values for SkuTier. \
878
+ * {@link KnownSkuTier} can be used interchangeably with SkuTier,
879
+ * this enum contains the known values that the service supports.
880
+ * ### Known values supported by the service
881
+ * **Free** \
882
+ * **Basic** \
883
+ * **Standard** \
884
+ * **Premium** \
885
+ * **Enterprise**
1115
886
  */
1116
- export interface TrackedResource extends Resource {
1117
- /**
1118
- * Resource tags.
1119
- */
1120
- tags?: { [propertyName: string]: string };
1121
- /**
1122
- * The geo-location where the resource lives
1123
- */
1124
- location: string;
887
+ export type SkuTier = string;
888
+
889
+ /** Known values of {@link CreatedByType} that the service accepts. */
890
+ export enum KnownCreatedByType {
891
+ User = "User",
892
+ Application = "Application",
893
+ ManagedIdentity = "ManagedIdentity",
894
+ Key = "Key"
1125
895
  }
1126
896
 
1127
897
  /**
1128
- * The resource management error additional info.
898
+ * Defines values for CreatedByType. \
899
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
900
+ * this enum contains the known values that the service supports.
901
+ * ### Known values supported by the service
902
+ * **User** \
903
+ * **Application** \
904
+ * **ManagedIdentity** \
905
+ * **Key**
1129
906
  */
1130
- export interface ErrorAdditionalInfo {
1131
- /**
1132
- * The additional info type.
1133
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1134
- */
1135
- readonly type?: string;
1136
- /**
1137
- * The additional info.
1138
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1139
- */
1140
- readonly info?: any;
907
+ export type CreatedByType = string;
908
+
909
+ /** Known values of {@link ProvisioningState} that the service accepts. */
910
+ export enum KnownProvisioningState {
911
+ Accepted = "Accepted",
912
+ Creating = "Creating",
913
+ Deleting = "Deleting",
914
+ Moving = "Moving",
915
+ Failed = "Failed",
916
+ Succeeded = "Succeeded",
917
+ ResolvingDNS = "ResolvingDNS"
1141
918
  }
1142
919
 
1143
920
  /**
1144
- * The error detail.
921
+ * Defines values for ProvisioningState. \
922
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
923
+ * this enum contains the known values that the service supports.
924
+ * ### Known values supported by the service
925
+ * **Accepted** \
926
+ * **Creating** \
927
+ * **Deleting** \
928
+ * **Moving** \
929
+ * **Failed** \
930
+ * **Succeeded** \
931
+ * **ResolvingDNS**
1145
932
  */
1146
- export interface ErrorDetail {
1147
- /**
1148
- * The error code.
1149
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1150
- */
1151
- readonly code?: string;
1152
- /**
1153
- * The error message.
1154
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1155
- */
1156
- readonly message?: string;
1157
- /**
1158
- * The error target.
1159
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1160
- */
1161
- readonly target?: string;
1162
- /**
1163
- * The error details.
1164
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1165
- */
1166
- readonly details?: ErrorDetail[];
1167
- /**
1168
- * The error additional info.
1169
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1170
- */
1171
- readonly additionalInfo?: ErrorAdditionalInfo[];
933
+ export type ProvisioningState = string;
934
+
935
+ /** Known values of {@link NetworkRuleAction} that the service accepts. */
936
+ export enum KnownNetworkRuleAction {
937
+ Allow = "Allow",
938
+ Deny = "Deny"
1172
939
  }
1173
940
 
1174
941
  /**
1175
- * Common error response for all Azure Resource Manager APIs to return error details for failed
1176
- * operations. (This also follows the OData error response format.).
1177
- * @summary Error response
942
+ * Defines values for NetworkRuleAction. \
943
+ * {@link KnownNetworkRuleAction} can be used interchangeably with NetworkRuleAction,
944
+ * this enum contains the known values that the service supports.
945
+ * ### Known values supported by the service
946
+ * **Allow** \
947
+ * **Deny**
1178
948
  */
1179
- export interface ErrorResponse {
1180
- /**
1181
- * The error object.
1182
- */
1183
- error?: ErrorDetail;
949
+ export type NetworkRuleAction = string;
950
+
951
+ /** Known values of {@link KeySource} that the service accepts. */
952
+ export enum KnownKeySource {
953
+ MicrosoftCognitiveServices = "Microsoft.CognitiveServices",
954
+ MicrosoftKeyVault = "Microsoft.KeyVault"
1184
955
  }
1185
956
 
1186
957
  /**
1187
- * Localized display information for this particular operation.
958
+ * Defines values for KeySource. \
959
+ * {@link KnownKeySource} can be used interchangeably with KeySource,
960
+ * this enum contains the known values that the service supports.
961
+ * ### Known values supported by the service
962
+ * **Microsoft.CognitiveServices** \
963
+ * **Microsoft.KeyVault**
1188
964
  */
1189
- export interface OperationDisplay {
1190
- /**
1191
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring
1192
- * Insights" or "Microsoft Compute".
1193
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1194
- */
1195
- readonly provider?: string;
1196
- /**
1197
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual
1198
- * Machines" or "Job Schedule Collections".
1199
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1200
- */
1201
- readonly resource?: string;
1202
- /**
1203
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create
1204
- * or Update Virtual Machine", "Restart Virtual Machine".
1205
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1206
- */
1207
- readonly operation?: string;
1208
- /**
1209
- * The short, localized friendly description of the operation; suitable for tool tips and
1210
- * detailed views.
1211
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1212
- */
1213
- readonly description?: string;
965
+ export type KeySource = string;
966
+
967
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
968
+ export enum KnownPrivateEndpointServiceConnectionStatus {
969
+ Pending = "Pending",
970
+ Approved = "Approved",
971
+ Rejected = "Rejected"
1214
972
  }
1215
973
 
1216
974
  /**
1217
- * Details of a REST API operation, returned from the Resource Provider Operations API
1218
- * @summary REST API Operation
975
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
976
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
977
+ * this enum contains the known values that the service supports.
978
+ * ### Known values supported by the service
979
+ * **Pending** \
980
+ * **Approved** \
981
+ * **Rejected**
1219
982
  */
1220
- export interface Operation {
1221
- /**
1222
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
1223
- * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
1224
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1225
- */
1226
- readonly name?: string;
1227
- /**
1228
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and
1229
- * "false" for ARM/control-plane operations.
1230
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1231
- */
1232
- readonly isDataAction?: boolean;
1233
- /**
1234
- * Localized display information for this particular operation.
1235
- */
1236
- display?: OperationDisplay;
1237
- /**
1238
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
1239
- * logs UX. Default value is "user,system". Possible values include: 'user', 'system',
1240
- * 'user,system'
1241
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1242
- */
1243
- readonly origin?: Origin;
1244
- /**
1245
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
1246
- * Possible values include: 'Internal'
1247
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1248
- */
1249
- readonly actionType?: ActionType;
983
+ export type PrivateEndpointServiceConnectionStatus = string;
984
+
985
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
986
+ export enum KnownPrivateEndpointConnectionProvisioningState {
987
+ Succeeded = "Succeeded",
988
+ Creating = "Creating",
989
+ Deleting = "Deleting",
990
+ Failed = "Failed"
1250
991
  }
1251
992
 
1252
993
  /**
1253
- * Optional Parameters.
994
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
995
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
996
+ * this enum contains the known values that the service supports.
997
+ * ### Known values supported by the service
998
+ * **Succeeded** \
999
+ * **Creating** \
1000
+ * **Deleting** \
1001
+ * **Failed**
1254
1002
  */
1255
- export interface AccountsListUsagesOptionalParams extends msRest.RequestOptionsBase {
1256
- /**
1257
- * An OData filter expression that describes a subset of usages to return. The supported
1258
- * parameter is name.value (name of the metric, can have an or of multiple names).
1259
- */
1260
- filter?: string;
1003
+ export type PrivateEndpointConnectionProvisioningState = string;
1004
+
1005
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1006
+ export enum KnownPublicNetworkAccess {
1007
+ Enabled = "Enabled",
1008
+ Disabled = "Disabled"
1261
1009
  }
1262
1010
 
1263
1011
  /**
1264
- * Optional Parameters.
1012
+ * Defines values for PublicNetworkAccess. \
1013
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1014
+ * this enum contains the known values that the service supports.
1015
+ * ### Known values supported by the service
1016
+ * **Enabled** \
1017
+ * **Disabled**
1265
1018
  */
1266
- export interface CognitiveServicesManagementClientCheckDomainAvailabilityOptionalParams extends msRest.RequestOptionsBase {
1267
- /**
1268
- * The Kind of the resource.
1269
- */
1270
- kind?: string;
1019
+ export type PublicNetworkAccess = string;
1020
+
1021
+ /** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
1022
+ export enum KnownResourceSkuRestrictionsReasonCode {
1023
+ QuotaId = "QuotaId",
1024
+ NotAvailableForSubscription = "NotAvailableForSubscription"
1271
1025
  }
1272
1026
 
1273
1027
  /**
1274
- * An interface representing CognitiveServicesManagementClientOptions.
1028
+ * Defines values for ResourceSkuRestrictionsReasonCode. \
1029
+ * {@link KnownResourceSkuRestrictionsReasonCode} can be used interchangeably with ResourceSkuRestrictionsReasonCode,
1030
+ * this enum contains the known values that the service supports.
1031
+ * ### Known values supported by the service
1032
+ * **QuotaId** \
1033
+ * **NotAvailableForSubscription**
1275
1034
  */
1276
- export interface CognitiveServicesManagementClientOptions extends AzureServiceClientOptions {
1277
- baseUri?: string;
1035
+ export type ResourceSkuRestrictionsReasonCode = string;
1036
+
1037
+ /** Known values of {@link UnitType} that the service accepts. */
1038
+ export enum KnownUnitType {
1039
+ Count = "Count",
1040
+ Bytes = "Bytes",
1041
+ Seconds = "Seconds",
1042
+ Percent = "Percent",
1043
+ CountPerSecond = "CountPerSecond",
1044
+ BytesPerSecond = "BytesPerSecond",
1045
+ Milliseconds = "Milliseconds"
1278
1046
  }
1279
1047
 
1280
1048
  /**
1281
- * @interface
1282
- * The list of cognitive services accounts operation response.
1283
- * @extends Array<Account>
1049
+ * Defines values for UnitType. \
1050
+ * {@link KnownUnitType} can be used interchangeably with UnitType,
1051
+ * this enum contains the known values that the service supports.
1052
+ * ### Known values supported by the service
1053
+ * **Count** \
1054
+ * **Bytes** \
1055
+ * **Seconds** \
1056
+ * **Percent** \
1057
+ * **CountPerSecond** \
1058
+ * **BytesPerSecond** \
1059
+ * **Milliseconds**
1284
1060
  */
1285
- export interface AccountListResult extends Array<Account> {
1286
- /**
1287
- * The link used to get the next page of accounts.
1288
- */
1289
- nextLink?: string;
1061
+ export type UnitType = string;
1062
+
1063
+ /** Known values of {@link QuotaUsageStatus} that the service accepts. */
1064
+ export enum KnownQuotaUsageStatus {
1065
+ Included = "Included",
1066
+ Blocked = "Blocked",
1067
+ InOverage = "InOverage",
1068
+ Unknown = "Unknown"
1290
1069
  }
1291
1070
 
1292
1071
  /**
1293
- * @interface
1294
- * The Get Skus operation response.
1295
- * @extends Array<ResourceSku>
1072
+ * Defines values for QuotaUsageStatus. \
1073
+ * {@link KnownQuotaUsageStatus} can be used interchangeably with QuotaUsageStatus,
1074
+ * this enum contains the known values that the service supports.
1075
+ * ### Known values supported by the service
1076
+ * **Included** \
1077
+ * **Blocked** \
1078
+ * **InOverage** \
1079
+ * **Unknown**
1296
1080
  */
1297
- export interface ResourceSkuListResult extends Array<ResourceSku> {
1298
- /**
1299
- * The uri to fetch the next page of Skus.
1300
- */
1301
- nextLink?: string;
1081
+ export type QuotaUsageStatus = string;
1082
+
1083
+ /** Known values of {@link Origin} that the service accepts. */
1084
+ export enum KnownOrigin {
1085
+ User = "user",
1086
+ System = "system",
1087
+ UserSystem = "user,system"
1302
1088
  }
1303
1089
 
1304
1090
  /**
1305
- * @interface
1306
- * A list of REST API operations supported by an Azure Resource Provider. It contains an URL link
1307
- * to get the next set of results.
1308
- * @extends Array<Operation>
1091
+ * Defines values for Origin. \
1092
+ * {@link KnownOrigin} can be used interchangeably with Origin,
1093
+ * this enum contains the known values that the service supports.
1094
+ * ### Known values supported by the service
1095
+ * **user** \
1096
+ * **system** \
1097
+ * **user,system**
1309
1098
  */
1310
- export interface OperationListResult extends Array<Operation> {
1311
- /**
1312
- * URL to get the next set of operation list results (if there are any).
1313
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1314
- */
1315
- readonly nextLink?: string;
1099
+ export type Origin = string;
1100
+
1101
+ /** Known values of {@link ActionType} that the service accepts. */
1102
+ export enum KnownActionType {
1103
+ Internal = "Internal"
1316
1104
  }
1317
1105
 
1318
1106
  /**
1319
- * @interface
1320
- * The list of cognitive services accounts operation response.
1321
- * @extends Array<CommitmentTier>
1322
- */
1323
- export interface CommitmentTierListResult extends Array<CommitmentTier> {
1324
- /**
1325
- * The link used to get the next page of CommitmentTier.
1326
- */
1327
- nextLink?: string;
1107
+ * Defines values for ActionType. \
1108
+ * {@link KnownActionType} can be used interchangeably with ActionType,
1109
+ * this enum contains the known values that the service supports.
1110
+ * ### Known values supported by the service
1111
+ * **Internal**
1112
+ */
1113
+ export type ActionType = string;
1114
+
1115
+ /** Known values of {@link HostingModel} that the service accepts. */
1116
+ export enum KnownHostingModel {
1117
+ Web = "Web",
1118
+ ConnectedContainer = "ConnectedContainer",
1119
+ DisconnectedContainer = "DisconnectedContainer"
1328
1120
  }
1329
1121
 
1330
1122
  /**
1331
- * @interface
1332
- * The list of cognitive services accounts operation response.
1333
- * @extends Array<Deployment>
1334
- */
1335
- export interface DeploymentListResult extends Array<Deployment> {
1336
- /**
1337
- * The link used to get the next page of Deployment.
1338
- */
1339
- nextLink?: string;
1123
+ * Defines values for HostingModel. \
1124
+ * {@link KnownHostingModel} can be used interchangeably with HostingModel,
1125
+ * this enum contains the known values that the service supports.
1126
+ * ### Known values supported by the service
1127
+ * **Web** \
1128
+ * **ConnectedContainer** \
1129
+ * **DisconnectedContainer**
1130
+ */
1131
+ export type HostingModel = string;
1132
+
1133
+ /** Known values of {@link DeploymentProvisioningState} that the service accepts. */
1134
+ export enum KnownDeploymentProvisioningState {
1135
+ Accepted = "Accepted",
1136
+ Creating = "Creating",
1137
+ Deleting = "Deleting",
1138
+ Moving = "Moving",
1139
+ Failed = "Failed",
1140
+ Succeeded = "Succeeded"
1340
1141
  }
1341
1142
 
1342
1143
  /**
1343
- * @interface
1344
- * The list of cognitive services accounts operation response.
1345
- * @extends Array<CommitmentPlan>
1144
+ * Defines values for DeploymentProvisioningState. \
1145
+ * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState,
1146
+ * this enum contains the known values that the service supports.
1147
+ * ### Known values supported by the service
1148
+ * **Accepted** \
1149
+ * **Creating** \
1150
+ * **Deleting** \
1151
+ * **Moving** \
1152
+ * **Failed** \
1153
+ * **Succeeded**
1346
1154
  */
1347
- export interface CommitmentPlanListResult extends Array<CommitmentPlan> {
1348
- /**
1349
- * The link used to get the next page of CommitmentPlan.
1350
- */
1351
- nextLink?: string;
1155
+ export type DeploymentProvisioningState = string;
1156
+
1157
+ /** Known values of {@link DeploymentScaleType} that the service accepts. */
1158
+ export enum KnownDeploymentScaleType {
1159
+ Manual = "Manual"
1352
1160
  }
1353
1161
 
1354
1162
  /**
1355
- * Defines values for SkuTier.
1356
- * Possible values include: 'Free', 'Basic', 'Standard', 'Premium', 'Enterprise'
1357
- * @readonly
1358
- * @enum {string}
1163
+ * Defines values for DeploymentScaleType. \
1164
+ * {@link KnownDeploymentScaleType} can be used interchangeably with DeploymentScaleType,
1165
+ * this enum contains the known values that the service supports.
1166
+ * ### Known values supported by the service
1167
+ * **Manual**
1359
1168
  */
1360
- export type SkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium' | 'Enterprise';
1169
+ export type DeploymentScaleType = string;
1170
+ /** Defines values for ResourceIdentityType. */
1171
+ export type ResourceIdentityType =
1172
+ | "None"
1173
+ | "SystemAssigned"
1174
+ | "UserAssigned"
1175
+ | "SystemAssigned, UserAssigned";
1176
+ /** Defines values for KeyName. */
1177
+ export type KeyName = "Key1" | "Key2";
1178
+ /** Defines values for ResourceSkuRestrictionsType. */
1179
+ export type ResourceSkuRestrictionsType = "Location" | "Zone";
1361
1180
 
1362
- /**
1363
- * Defines values for ResourceIdentityType.
1364
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
1365
- * UserAssigned'
1366
- * @readonly
1367
- * @enum {string}
1368
- */
1369
- export type ResourceIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned';
1181
+ /** Optional parameters. */
1182
+ export interface AccountsCreateOptionalParams
1183
+ extends coreClient.OperationOptions {
1184
+ /** Delay to wait until next poll, in milliseconds. */
1185
+ updateIntervalInMs?: number;
1186
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1187
+ resumeFrom?: string;
1188
+ }
1370
1189
 
1371
- /**
1372
- * Defines values for CreatedByType.
1373
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1374
- * @readonly
1375
- * @enum {string}
1376
- */
1377
- export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
1190
+ /** Contains response data for the create operation. */
1191
+ export type AccountsCreateResponse = Account;
1378
1192
 
1379
- /**
1380
- * Defines values for ProvisioningState.
1381
- * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded',
1382
- * 'ResolvingDNS'
1383
- * @readonly
1384
- * @enum {string}
1385
- */
1386
- export type ProvisioningState = 'Accepted' | 'Creating' | 'Deleting' | 'Moving' | 'Failed' | 'Succeeded' | 'ResolvingDNS';
1193
+ /** Optional parameters. */
1194
+ export interface AccountsUpdateOptionalParams
1195
+ extends coreClient.OperationOptions {
1196
+ /** Delay to wait until next poll, in milliseconds. */
1197
+ updateIntervalInMs?: number;
1198
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1199
+ resumeFrom?: string;
1200
+ }
1387
1201
 
1388
- /**
1389
- * Defines values for NetworkRuleAction.
1390
- * Possible values include: 'Allow', 'Deny'
1391
- * @readonly
1392
- * @enum {string}
1393
- */
1394
- export type NetworkRuleAction = 'Allow' | 'Deny';
1202
+ /** Contains response data for the update operation. */
1203
+ export type AccountsUpdateResponse = Account;
1395
1204
 
1396
- /**
1397
- * Defines values for KeySource.
1398
- * Possible values include: 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'
1399
- * @readonly
1400
- * @enum {string}
1401
- */
1402
- export type KeySource = 'Microsoft.CognitiveServices' | 'Microsoft.KeyVault';
1205
+ /** Optional parameters. */
1206
+ export interface AccountsDeleteOptionalParams
1207
+ extends coreClient.OperationOptions {
1208
+ /** Delay to wait until next poll, in milliseconds. */
1209
+ updateIntervalInMs?: number;
1210
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1211
+ resumeFrom?: string;
1212
+ }
1403
1213
 
1404
- /**
1405
- * Defines values for PrivateEndpointServiceConnectionStatus.
1406
- * Possible values include: 'Pending', 'Approved', 'Rejected'
1407
- * @readonly
1408
- * @enum {string}
1409
- */
1410
- export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected';
1214
+ /** Optional parameters. */
1215
+ export interface AccountsGetOptionalParams
1216
+ extends coreClient.OperationOptions {}
1411
1217
 
1412
- /**
1413
- * Defines values for PrivateEndpointConnectionProvisioningState.
1414
- * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
1415
- * @readonly
1416
- * @enum {string}
1417
- */
1418
- export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
1218
+ /** Contains response data for the get operation. */
1219
+ export type AccountsGetResponse = Account;
1419
1220
 
1420
- /**
1421
- * Defines values for PublicNetworkAccess.
1422
- * Possible values include: 'Enabled', 'Disabled'
1423
- * @readonly
1424
- * @enum {string}
1425
- */
1426
- export type PublicNetworkAccess = 'Enabled' | 'Disabled';
1221
+ /** Optional parameters. */
1222
+ export interface AccountsListByResourceGroupOptionalParams
1223
+ extends coreClient.OperationOptions {}
1224
+
1225
+ /** Contains response data for the listByResourceGroup operation. */
1226
+ export type AccountsListByResourceGroupResponse = AccountListResult;
1227
+
1228
+ /** Optional parameters. */
1229
+ export interface AccountsListOptionalParams
1230
+ extends coreClient.OperationOptions {}
1231
+
1232
+ /** Contains response data for the list operation. */
1233
+ export type AccountsListResponse = AccountListResult;
1234
+
1235
+ /** Optional parameters. */
1236
+ export interface AccountsListKeysOptionalParams
1237
+ extends coreClient.OperationOptions {}
1427
1238
 
1428
- /**
1429
- * Defines values for KeyName.
1430
- * Possible values include: 'Key1', 'Key2'
1431
- * @readonly
1432
- * @enum {string}
1433
- */
1434
- export type KeyName = 'Key1' | 'Key2';
1239
+ /** Contains response data for the listKeys operation. */
1240
+ export type AccountsListKeysResponse = ApiKeys;
1435
1241
 
1436
- /**
1437
- * Defines values for UnitType.
1438
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
1439
- * 'BytesPerSecond', 'Milliseconds'
1440
- * @readonly
1441
- * @enum {string}
1442
- */
1443
- export type UnitType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond' | 'Milliseconds';
1242
+ /** Optional parameters. */
1243
+ export interface AccountsRegenerateKeyOptionalParams
1244
+ extends coreClient.OperationOptions {}
1245
+
1246
+ /** Contains response data for the regenerateKey operation. */
1247
+ export type AccountsRegenerateKeyResponse = ApiKeys;
1248
+
1249
+ /** Optional parameters. */
1250
+ export interface AccountsListSkusOptionalParams
1251
+ extends coreClient.OperationOptions {}
1444
1252
 
1445
- /**
1446
- * Defines values for QuotaUsageStatus.
1447
- * Possible values include: 'Included', 'Blocked', 'InOverage', 'Unknown'
1448
- * @readonly
1449
- * @enum {string}
1450
- */
1451
- export type QuotaUsageStatus = 'Included' | 'Blocked' | 'InOverage' | 'Unknown';
1253
+ /** Contains response data for the listSkus operation. */
1254
+ export type AccountsListSkusResponse = AccountSkuListResult;
1452
1255
 
1453
- /**
1454
- * Defines values for ResourceSkuRestrictionsType.
1455
- * Possible values include: 'Location', 'Zone'
1456
- * @readonly
1457
- * @enum {string}
1458
- */
1459
- export type ResourceSkuRestrictionsType = 'Location' | 'Zone';
1256
+ /** Optional parameters. */
1257
+ export interface AccountsListUsagesOptionalParams
1258
+ extends coreClient.OperationOptions {
1259
+ /** An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). */
1260
+ filter?: string;
1261
+ }
1460
1262
 
1461
- /**
1462
- * Defines values for ResourceSkuRestrictionsReasonCode.
1463
- * Possible values include: 'QuotaId', 'NotAvailableForSubscription'
1464
- * @readonly
1465
- * @enum {string}
1466
- */
1467
- export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription';
1263
+ /** Contains response data for the listUsages operation. */
1264
+ export type AccountsListUsagesResponse = UsageListResult;
1468
1265
 
1469
- /**
1470
- * Defines values for DeploymentProvisioningState.
1471
- * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded'
1472
- * @readonly
1473
- * @enum {string}
1474
- */
1475
- export type DeploymentProvisioningState = 'Accepted' | 'Creating' | 'Deleting' | 'Moving' | 'Failed' | 'Succeeded';
1266
+ /** Optional parameters. */
1267
+ export interface AccountsListByResourceGroupNextOptionalParams
1268
+ extends coreClient.OperationOptions {}
1476
1269
 
1477
- /**
1478
- * Defines values for DeploymentScaleType.
1479
- * Possible values include: 'Manual'
1480
- * @readonly
1481
- * @enum {string}
1482
- */
1483
- export type DeploymentScaleType = 'Manual';
1270
+ /** Contains response data for the listByResourceGroupNext operation. */
1271
+ export type AccountsListByResourceGroupNextResponse = AccountListResult;
1484
1272
 
1485
- /**
1486
- * Defines values for HostingModel.
1487
- * Possible values include: 'Web', 'ConnectedContainer', 'DisconnectedContainer'
1488
- * @readonly
1489
- * @enum {string}
1490
- */
1491
- export type HostingModel = 'Web' | 'ConnectedContainer' | 'DisconnectedContainer';
1273
+ /** Optional parameters. */
1274
+ export interface AccountsListNextOptionalParams
1275
+ extends coreClient.OperationOptions {}
1492
1276
 
1493
- /**
1494
- * Defines values for Origin.
1495
- * Possible values include: 'user', 'system', 'user,system'
1496
- * @readonly
1497
- * @enum {string}
1498
- */
1499
- export type Origin = 'user' | 'system' | 'user,system';
1277
+ /** Contains response data for the listNext operation. */
1278
+ export type AccountsListNextResponse = AccountListResult;
1500
1279
 
1501
- /**
1502
- * Defines values for ActionType.
1503
- * Possible values include: 'Internal'
1504
- * @readonly
1505
- * @enum {string}
1506
- */
1507
- export type ActionType = 'Internal';
1280
+ /** Optional parameters. */
1281
+ export interface DeletedAccountsGetOptionalParams
1282
+ extends coreClient.OperationOptions {}
1508
1283
 
1509
- /**
1510
- * Contains response data for the create operation.
1511
- */
1512
- export type AccountsCreateResponse = Account & {
1513
- /**
1514
- * The underlying HTTP response.
1515
- */
1516
- _response: msRest.HttpResponse & {
1517
- /**
1518
- * The response body as text (string format)
1519
- */
1520
- bodyAsText: string;
1521
-
1522
- /**
1523
- * The response body as parsed JSON or XML
1524
- */
1525
- parsedBody: Account;
1526
- };
1527
- };
1284
+ /** Contains response data for the get operation. */
1285
+ export type DeletedAccountsGetResponse = Account;
1528
1286
 
1529
- /**
1530
- * Contains response data for the update operation.
1531
- */
1532
- export type AccountsUpdateResponse = Account & {
1533
- /**
1534
- * The underlying HTTP response.
1535
- */
1536
- _response: msRest.HttpResponse & {
1537
- /**
1538
- * The response body as text (string format)
1539
- */
1540
- bodyAsText: string;
1541
-
1542
- /**
1543
- * The response body as parsed JSON or XML
1544
- */
1545
- parsedBody: Account;
1546
- };
1547
- };
1287
+ /** Optional parameters. */
1288
+ export interface DeletedAccountsPurgeOptionalParams
1289
+ extends coreClient.OperationOptions {
1290
+ /** Delay to wait until next poll, in milliseconds. */
1291
+ updateIntervalInMs?: number;
1292
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1293
+ resumeFrom?: string;
1294
+ }
1548
1295
 
1549
- /**
1550
- * Contains response data for the get operation.
1551
- */
1552
- export type AccountsGetResponse = Account & {
1553
- /**
1554
- * The underlying HTTP response.
1555
- */
1556
- _response: msRest.HttpResponse & {
1557
- /**
1558
- * The response body as text (string format)
1559
- */
1560
- bodyAsText: string;
1561
-
1562
- /**
1563
- * The response body as parsed JSON or XML
1564
- */
1565
- parsedBody: Account;
1566
- };
1567
- };
1296
+ /** Optional parameters. */
1297
+ export interface DeletedAccountsListOptionalParams
1298
+ extends coreClient.OperationOptions {}
1568
1299
 
1569
- /**
1570
- * Contains response data for the listByResourceGroup operation.
1571
- */
1572
- export type AccountsListByResourceGroupResponse = AccountListResult & {
1573
- /**
1574
- * The underlying HTTP response.
1575
- */
1576
- _response: msRest.HttpResponse & {
1577
- /**
1578
- * The response body as text (string format)
1579
- */
1580
- bodyAsText: string;
1581
-
1582
- /**
1583
- * The response body as parsed JSON or XML
1584
- */
1585
- parsedBody: AccountListResult;
1586
- };
1587
- };
1300
+ /** Contains response data for the list operation. */
1301
+ export type DeletedAccountsListResponse = AccountListResult;
1588
1302
 
1589
- /**
1590
- * Contains response data for the list operation.
1591
- */
1592
- export type AccountsListResponse = AccountListResult & {
1593
- /**
1594
- * The underlying HTTP response.
1595
- */
1596
- _response: msRest.HttpResponse & {
1597
- /**
1598
- * The response body as text (string format)
1599
- */
1600
- bodyAsText: string;
1601
-
1602
- /**
1603
- * The response body as parsed JSON or XML
1604
- */
1605
- parsedBody: AccountListResult;
1606
- };
1607
- };
1303
+ /** Optional parameters. */
1304
+ export interface DeletedAccountsListNextOptionalParams
1305
+ extends coreClient.OperationOptions {}
1608
1306
 
1609
- /**
1610
- * Contains response data for the listKeys operation.
1611
- */
1612
- export type AccountsListKeysResponse = ApiKeys & {
1613
- /**
1614
- * The underlying HTTP response.
1615
- */
1616
- _response: msRest.HttpResponse & {
1617
- /**
1618
- * The response body as text (string format)
1619
- */
1620
- bodyAsText: string;
1621
-
1622
- /**
1623
- * The response body as parsed JSON or XML
1624
- */
1625
- parsedBody: ApiKeys;
1626
- };
1627
- };
1307
+ /** Contains response data for the listNext operation. */
1308
+ export type DeletedAccountsListNextResponse = AccountListResult;
1628
1309
 
1629
- /**
1630
- * Contains response data for the regenerateKey operation.
1631
- */
1632
- export type AccountsRegenerateKeyResponse = ApiKeys & {
1633
- /**
1634
- * The underlying HTTP response.
1635
- */
1636
- _response: msRest.HttpResponse & {
1637
- /**
1638
- * The response body as text (string format)
1639
- */
1640
- bodyAsText: string;
1641
-
1642
- /**
1643
- * The response body as parsed JSON or XML
1644
- */
1645
- parsedBody: ApiKeys;
1646
- };
1647
- };
1310
+ /** Optional parameters. */
1311
+ export interface ResourceSkusListOptionalParams
1312
+ extends coreClient.OperationOptions {}
1648
1313
 
1649
- /**
1650
- * Contains response data for the listSkus operation.
1651
- */
1652
- export type AccountsListSkusResponse = AccountSkuListResult & {
1653
- /**
1654
- * The underlying HTTP response.
1655
- */
1656
- _response: msRest.HttpResponse & {
1657
- /**
1658
- * The response body as text (string format)
1659
- */
1660
- bodyAsText: string;
1661
-
1662
- /**
1663
- * The response body as parsed JSON or XML
1664
- */
1665
- parsedBody: AccountSkuListResult;
1666
- };
1667
- };
1314
+ /** Contains response data for the list operation. */
1315
+ export type ResourceSkusListResponse = ResourceSkuListResult;
1668
1316
 
1669
- /**
1670
- * Contains response data for the listUsages operation.
1671
- */
1672
- export type AccountsListUsagesResponse = UsageListResult & {
1673
- /**
1674
- * The underlying HTTP response.
1675
- */
1676
- _response: msRest.HttpResponse & {
1677
- /**
1678
- * The response body as text (string format)
1679
- */
1680
- bodyAsText: string;
1681
-
1682
- /**
1683
- * The response body as parsed JSON or XML
1684
- */
1685
- parsedBody: UsageListResult;
1686
- };
1687
- };
1317
+ /** Optional parameters. */
1318
+ export interface ResourceSkusListNextOptionalParams
1319
+ extends coreClient.OperationOptions {}
1688
1320
 
1689
- /**
1690
- * Contains response data for the beginCreate operation.
1691
- */
1692
- export type AccountsBeginCreateResponse = Account & {
1693
- /**
1694
- * The underlying HTTP response.
1695
- */
1696
- _response: msRest.HttpResponse & {
1697
- /**
1698
- * The response body as text (string format)
1699
- */
1700
- bodyAsText: string;
1701
-
1702
- /**
1703
- * The response body as parsed JSON or XML
1704
- */
1705
- parsedBody: Account;
1706
- };
1707
- };
1321
+ /** Contains response data for the listNext operation. */
1322
+ export type ResourceSkusListNextResponse = ResourceSkuListResult;
1708
1323
 
1709
- /**
1710
- * Contains response data for the beginUpdate operation.
1711
- */
1712
- export type AccountsBeginUpdateResponse = Account & {
1713
- /**
1714
- * The underlying HTTP response.
1715
- */
1716
- _response: msRest.HttpResponse & {
1717
- /**
1718
- * The response body as text (string format)
1719
- */
1720
- bodyAsText: string;
1721
-
1722
- /**
1723
- * The response body as parsed JSON or XML
1724
- */
1725
- parsedBody: Account;
1726
- };
1727
- };
1324
+ /** Optional parameters. */
1325
+ export interface OperationsListOptionalParams
1326
+ extends coreClient.OperationOptions {}
1728
1327
 
1729
- /**
1730
- * Contains response data for the listByResourceGroupNext operation.
1731
- */
1732
- export type AccountsListByResourceGroupNextResponse = AccountListResult & {
1733
- /**
1734
- * The underlying HTTP response.
1735
- */
1736
- _response: msRest.HttpResponse & {
1737
- /**
1738
- * The response body as text (string format)
1739
- */
1740
- bodyAsText: string;
1741
-
1742
- /**
1743
- * The response body as parsed JSON or XML
1744
- */
1745
- parsedBody: AccountListResult;
1746
- };
1747
- };
1328
+ /** Contains response data for the list operation. */
1329
+ export type OperationsListResponse = OperationListResult;
1748
1330
 
1749
- /**
1750
- * Contains response data for the listNext operation.
1751
- */
1752
- export type AccountsListNextResponse = AccountListResult & {
1753
- /**
1754
- * The underlying HTTP response.
1755
- */
1756
- _response: msRest.HttpResponse & {
1757
- /**
1758
- * The response body as text (string format)
1759
- */
1760
- bodyAsText: string;
1761
-
1762
- /**
1763
- * The response body as parsed JSON or XML
1764
- */
1765
- parsedBody: AccountListResult;
1766
- };
1767
- };
1331
+ /** Optional parameters. */
1332
+ export interface OperationsListNextOptionalParams
1333
+ extends coreClient.OperationOptions {}
1768
1334
 
1769
- /**
1770
- * Contains response data for the get operation.
1771
- */
1772
- export type DeletedAccountsGetResponse = Account & {
1773
- /**
1774
- * The underlying HTTP response.
1775
- */
1776
- _response: msRest.HttpResponse & {
1777
- /**
1778
- * The response body as text (string format)
1779
- */
1780
- bodyAsText: string;
1781
-
1782
- /**
1783
- * The response body as parsed JSON or XML
1784
- */
1785
- parsedBody: Account;
1786
- };
1787
- };
1335
+ /** Contains response data for the listNext operation. */
1336
+ export type OperationsListNextResponse = OperationListResult;
1788
1337
 
1789
- /**
1790
- * Contains response data for the list operation.
1791
- */
1792
- export type DeletedAccountsListResponse = AccountListResult & {
1793
- /**
1794
- * The underlying HTTP response.
1795
- */
1796
- _response: msRest.HttpResponse & {
1797
- /**
1798
- * The response body as text (string format)
1799
- */
1800
- bodyAsText: string;
1801
-
1802
- /**
1803
- * The response body as parsed JSON or XML
1804
- */
1805
- parsedBody: AccountListResult;
1806
- };
1807
- };
1338
+ /** Optional parameters. */
1339
+ export interface CheckSkuAvailabilityOptionalParams
1340
+ extends coreClient.OperationOptions {}
1808
1341
 
1809
- /**
1810
- * Contains response data for the listNext operation.
1811
- */
1812
- export type DeletedAccountsListNextResponse = AccountListResult & {
1813
- /**
1814
- * The underlying HTTP response.
1815
- */
1816
- _response: msRest.HttpResponse & {
1817
- /**
1818
- * The response body as text (string format)
1819
- */
1820
- bodyAsText: string;
1821
-
1822
- /**
1823
- * The response body as parsed JSON or XML
1824
- */
1825
- parsedBody: AccountListResult;
1826
- };
1827
- };
1342
+ /** Contains response data for the checkSkuAvailability operation. */
1343
+ export type CheckSkuAvailabilityResponse = SkuAvailabilityListResult;
1828
1344
 
1829
- /**
1830
- * Contains response data for the list operation.
1831
- */
1832
- export type ResourceSkusListResponse = ResourceSkuListResult & {
1833
- /**
1834
- * The underlying HTTP response.
1835
- */
1836
- _response: msRest.HttpResponse & {
1837
- /**
1838
- * The response body as text (string format)
1839
- */
1840
- bodyAsText: string;
1841
-
1842
- /**
1843
- * The response body as parsed JSON or XML
1844
- */
1845
- parsedBody: ResourceSkuListResult;
1846
- };
1847
- };
1345
+ /** Optional parameters. */
1346
+ export interface CheckDomainAvailabilityOptionalParams
1347
+ extends coreClient.OperationOptions {
1348
+ /** The Kind of the resource. */
1349
+ kind?: string;
1350
+ }
1848
1351
 
1849
- /**
1850
- * Contains response data for the listNext operation.
1851
- */
1852
- export type ResourceSkusListNextResponse = ResourceSkuListResult & {
1853
- /**
1854
- * The underlying HTTP response.
1855
- */
1856
- _response: msRest.HttpResponse & {
1857
- /**
1858
- * The response body as text (string format)
1859
- */
1860
- bodyAsText: string;
1861
-
1862
- /**
1863
- * The response body as parsed JSON or XML
1864
- */
1865
- parsedBody: ResourceSkuListResult;
1866
- };
1867
- };
1352
+ /** Contains response data for the checkDomainAvailability operation. */
1353
+ export type CheckDomainAvailabilityResponse = DomainAvailability;
1868
1354
 
1869
- /**
1870
- * Contains response data for the list operation.
1871
- */
1872
- export type OperationsListResponse = OperationListResult & {
1873
- /**
1874
- * The underlying HTTP response.
1875
- */
1876
- _response: msRest.HttpResponse & {
1877
- /**
1878
- * The response body as text (string format)
1879
- */
1880
- bodyAsText: string;
1881
-
1882
- /**
1883
- * The response body as parsed JSON or XML
1884
- */
1885
- parsedBody: OperationListResult;
1886
- };
1887
- };
1355
+ /** Optional parameters. */
1356
+ export interface CommitmentTiersListOptionalParams
1357
+ extends coreClient.OperationOptions {}
1888
1358
 
1889
- /**
1890
- * Contains response data for the listNext operation.
1891
- */
1892
- export type OperationsListNextResponse = OperationListResult & {
1893
- /**
1894
- * The underlying HTTP response.
1895
- */
1896
- _response: msRest.HttpResponse & {
1897
- /**
1898
- * The response body as text (string format)
1899
- */
1900
- bodyAsText: string;
1901
-
1902
- /**
1903
- * The response body as parsed JSON or XML
1904
- */
1905
- parsedBody: OperationListResult;
1906
- };
1907
- };
1359
+ /** Contains response data for the list operation. */
1360
+ export type CommitmentTiersListResponse = CommitmentTierListResult;
1908
1361
 
1909
- /**
1910
- * Contains response data for the checkSkuAvailability operation.
1911
- */
1912
- export type CheckSkuAvailabilityResponse = SkuAvailabilityListResult & {
1913
- /**
1914
- * The underlying HTTP response.
1915
- */
1916
- _response: msRest.HttpResponse & {
1917
- /**
1918
- * The response body as text (string format)
1919
- */
1920
- bodyAsText: string;
1921
-
1922
- /**
1923
- * The response body as parsed JSON or XML
1924
- */
1925
- parsedBody: SkuAvailabilityListResult;
1926
- };
1927
- };
1362
+ /** Optional parameters. */
1363
+ export interface CommitmentTiersListNextOptionalParams
1364
+ extends coreClient.OperationOptions {}
1928
1365
 
1929
- /**
1930
- * Contains response data for the checkDomainAvailability operation.
1931
- */
1932
- export type CheckDomainAvailabilityResponse = DomainAvailability & {
1933
- /**
1934
- * The underlying HTTP response.
1935
- */
1936
- _response: msRest.HttpResponse & {
1937
- /**
1938
- * The response body as text (string format)
1939
- */
1940
- bodyAsText: string;
1941
-
1942
- /**
1943
- * The response body as parsed JSON or XML
1944
- */
1945
- parsedBody: DomainAvailability;
1946
- };
1947
- };
1366
+ /** Contains response data for the listNext operation. */
1367
+ export type CommitmentTiersListNextResponse = CommitmentTierListResult;
1948
1368
 
1949
- /**
1950
- * Contains response data for the list operation.
1951
- */
1952
- export type CommitmentTiersListResponse = CommitmentTierListResult & {
1953
- /**
1954
- * The underlying HTTP response.
1955
- */
1956
- _response: msRest.HttpResponse & {
1957
- /**
1958
- * The response body as text (string format)
1959
- */
1960
- bodyAsText: string;
1961
-
1962
- /**
1963
- * The response body as parsed JSON or XML
1964
- */
1965
- parsedBody: CommitmentTierListResult;
1966
- };
1967
- };
1369
+ /** Optional parameters. */
1370
+ export interface PrivateEndpointConnectionsListOptionalParams
1371
+ extends coreClient.OperationOptions {}
1968
1372
 
1969
- /**
1970
- * Contains response data for the listNext operation.
1971
- */
1972
- export type CommitmentTiersListNextResponse = CommitmentTierListResult & {
1973
- /**
1974
- * The underlying HTTP response.
1975
- */
1976
- _response: msRest.HttpResponse & {
1977
- /**
1978
- * The response body as text (string format)
1979
- */
1980
- bodyAsText: string;
1981
-
1982
- /**
1983
- * The response body as parsed JSON or XML
1984
- */
1985
- parsedBody: CommitmentTierListResult;
1986
- };
1987
- };
1373
+ /** Contains response data for the list operation. */
1374
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
1988
1375
 
1989
- /**
1990
- * Contains response data for the list operation.
1991
- */
1992
- export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult & {
1993
- /**
1994
- * The underlying HTTP response.
1995
- */
1996
- _response: msRest.HttpResponse & {
1997
- /**
1998
- * The response body as text (string format)
1999
- */
2000
- bodyAsText: string;
2001
-
2002
- /**
2003
- * The response body as parsed JSON or XML
2004
- */
2005
- parsedBody: PrivateEndpointConnectionListResult;
2006
- };
2007
- };
1376
+ /** Optional parameters. */
1377
+ export interface PrivateEndpointConnectionsGetOptionalParams
1378
+ extends coreClient.OperationOptions {}
2008
1379
 
2009
- /**
2010
- * Contains response data for the get operation.
2011
- */
2012
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
2013
- /**
2014
- * The underlying HTTP response.
2015
- */
2016
- _response: msRest.HttpResponse & {
2017
- /**
2018
- * The response body as text (string format)
2019
- */
2020
- bodyAsText: string;
2021
-
2022
- /**
2023
- * The response body as parsed JSON or XML
2024
- */
2025
- parsedBody: PrivateEndpointConnection;
2026
- };
2027
- };
1380
+ /** Contains response data for the get operation. */
1381
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2028
1382
 
2029
- /**
2030
- * Contains response data for the createOrUpdate operation.
2031
- */
2032
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
2033
- /**
2034
- * The underlying HTTP response.
2035
- */
2036
- _response: msRest.HttpResponse & {
2037
- /**
2038
- * The response body as text (string format)
2039
- */
2040
- bodyAsText: string;
2041
-
2042
- /**
2043
- * The response body as parsed JSON or XML
2044
- */
2045
- parsedBody: PrivateEndpointConnection;
2046
- };
2047
- };
1383
+ /** Optional parameters. */
1384
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
1385
+ extends coreClient.OperationOptions {
1386
+ /** Delay to wait until next poll, in milliseconds. */
1387
+ updateIntervalInMs?: number;
1388
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1389
+ resumeFrom?: string;
1390
+ }
2048
1391
 
2049
- /**
2050
- * Contains response data for the beginCreateOrUpdate operation.
2051
- */
2052
- export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
2053
- /**
2054
- * The underlying HTTP response.
2055
- */
2056
- _response: msRest.HttpResponse & {
2057
- /**
2058
- * The response body as text (string format)
2059
- */
2060
- bodyAsText: string;
2061
-
2062
- /**
2063
- * The response body as parsed JSON or XML
2064
- */
2065
- parsedBody: PrivateEndpointConnection;
2066
- };
2067
- };
1392
+ /** Contains response data for the createOrUpdate operation. */
1393
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
2068
1394
 
2069
- /**
2070
- * Contains response data for the list operation.
2071
- */
2072
- export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & {
2073
- /**
2074
- * The underlying HTTP response.
2075
- */
2076
- _response: msRest.HttpResponse & {
2077
- /**
2078
- * The response body as text (string format)
2079
- */
2080
- bodyAsText: string;
2081
-
2082
- /**
2083
- * The response body as parsed JSON or XML
2084
- */
2085
- parsedBody: PrivateLinkResourceListResult;
2086
- };
2087
- };
1395
+ /** Optional parameters. */
1396
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
1397
+ extends coreClient.OperationOptions {
1398
+ /** Delay to wait until next poll, in milliseconds. */
1399
+ updateIntervalInMs?: number;
1400
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1401
+ resumeFrom?: string;
1402
+ }
2088
1403
 
2089
- /**
2090
- * Contains response data for the list operation.
2091
- */
2092
- export type DeploymentsListResponse = DeploymentListResult & {
2093
- /**
2094
- * The underlying HTTP response.
2095
- */
2096
- _response: msRest.HttpResponse & {
2097
- /**
2098
- * The response body as text (string format)
2099
- */
2100
- bodyAsText: string;
2101
-
2102
- /**
2103
- * The response body as parsed JSON or XML
2104
- */
2105
- parsedBody: DeploymentListResult;
2106
- };
2107
- };
1404
+ /** Optional parameters. */
1405
+ export interface PrivateLinkResourcesListOptionalParams
1406
+ extends coreClient.OperationOptions {}
2108
1407
 
2109
- /**
2110
- * Contains response data for the get operation.
2111
- */
2112
- export type DeploymentsGetResponse = Deployment & {
2113
- /**
2114
- * The underlying HTTP response.
2115
- */
2116
- _response: msRest.HttpResponse & {
2117
- /**
2118
- * The response body as text (string format)
2119
- */
2120
- bodyAsText: string;
2121
-
2122
- /**
2123
- * The response body as parsed JSON or XML
2124
- */
2125
- parsedBody: Deployment;
2126
- };
2127
- };
1408
+ /** Contains response data for the list operation. */
1409
+ export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult;
2128
1410
 
2129
- /**
2130
- * Contains response data for the createOrUpdate operation.
2131
- */
2132
- export type DeploymentsCreateOrUpdateResponse = Deployment & {
2133
- /**
2134
- * The underlying HTTP response.
2135
- */
2136
- _response: msRest.HttpResponse & {
2137
- /**
2138
- * The response body as text (string format)
2139
- */
2140
- bodyAsText: string;
2141
-
2142
- /**
2143
- * The response body as parsed JSON or XML
2144
- */
2145
- parsedBody: Deployment;
2146
- };
2147
- };
1411
+ /** Optional parameters. */
1412
+ export interface DeploymentsListOptionalParams
1413
+ extends coreClient.OperationOptions {}
2148
1414
 
2149
- /**
2150
- * Contains response data for the beginCreateOrUpdate operation.
2151
- */
2152
- export type DeploymentsBeginCreateOrUpdateResponse = Deployment & {
2153
- /**
2154
- * The underlying HTTP response.
2155
- */
2156
- _response: msRest.HttpResponse & {
2157
- /**
2158
- * The response body as text (string format)
2159
- */
2160
- bodyAsText: string;
2161
-
2162
- /**
2163
- * The response body as parsed JSON or XML
2164
- */
2165
- parsedBody: Deployment;
2166
- };
2167
- };
1415
+ /** Contains response data for the list operation. */
1416
+ export type DeploymentsListResponse = DeploymentListResult;
2168
1417
 
2169
- /**
2170
- * Contains response data for the listNext operation.
2171
- */
2172
- export type DeploymentsListNextResponse = DeploymentListResult & {
2173
- /**
2174
- * The underlying HTTP response.
2175
- */
2176
- _response: msRest.HttpResponse & {
2177
- /**
2178
- * The response body as text (string format)
2179
- */
2180
- bodyAsText: string;
2181
-
2182
- /**
2183
- * The response body as parsed JSON or XML
2184
- */
2185
- parsedBody: DeploymentListResult;
2186
- };
2187
- };
1418
+ /** Optional parameters. */
1419
+ export interface DeploymentsGetOptionalParams
1420
+ extends coreClient.OperationOptions {}
2188
1421
 
2189
- /**
2190
- * Contains response data for the list operation.
2191
- */
2192
- export type CommitmentPlansListResponse = CommitmentPlanListResult & {
2193
- /**
2194
- * The underlying HTTP response.
2195
- */
2196
- _response: msRest.HttpResponse & {
2197
- /**
2198
- * The response body as text (string format)
2199
- */
2200
- bodyAsText: string;
2201
-
2202
- /**
2203
- * The response body as parsed JSON or XML
2204
- */
2205
- parsedBody: CommitmentPlanListResult;
2206
- };
2207
- };
1422
+ /** Contains response data for the get operation. */
1423
+ export type DeploymentsGetResponse = Deployment;
2208
1424
 
2209
- /**
2210
- * Contains response data for the get operation.
2211
- */
2212
- export type CommitmentPlansGetResponse = CommitmentPlan & {
2213
- /**
2214
- * The underlying HTTP response.
2215
- */
2216
- _response: msRest.HttpResponse & {
2217
- /**
2218
- * The response body as text (string format)
2219
- */
2220
- bodyAsText: string;
2221
-
2222
- /**
2223
- * The response body as parsed JSON or XML
2224
- */
2225
- parsedBody: CommitmentPlan;
2226
- };
2227
- };
1425
+ /** Optional parameters. */
1426
+ export interface DeploymentsCreateOrUpdateOptionalParams
1427
+ extends coreClient.OperationOptions {
1428
+ /** Delay to wait until next poll, in milliseconds. */
1429
+ updateIntervalInMs?: number;
1430
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1431
+ resumeFrom?: string;
1432
+ }
2228
1433
 
2229
- /**
2230
- * Contains response data for the createOrUpdate operation.
2231
- */
2232
- export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan & {
2233
- /**
2234
- * The underlying HTTP response.
2235
- */
2236
- _response: msRest.HttpResponse & {
2237
- /**
2238
- * The response body as text (string format)
2239
- */
2240
- bodyAsText: string;
2241
-
2242
- /**
2243
- * The response body as parsed JSON or XML
2244
- */
2245
- parsedBody: CommitmentPlan;
2246
- };
2247
- };
1434
+ /** Contains response data for the createOrUpdate operation. */
1435
+ export type DeploymentsCreateOrUpdateResponse = Deployment;
2248
1436
 
2249
- /**
2250
- * Contains response data for the listNext operation.
2251
- */
2252
- export type CommitmentPlansListNextResponse = CommitmentPlanListResult & {
2253
- /**
2254
- * The underlying HTTP response.
2255
- */
2256
- _response: msRest.HttpResponse & {
2257
- /**
2258
- * The response body as text (string format)
2259
- */
2260
- bodyAsText: string;
2261
-
2262
- /**
2263
- * The response body as parsed JSON or XML
2264
- */
2265
- parsedBody: CommitmentPlanListResult;
2266
- };
2267
- };
1437
+ /** Optional parameters. */
1438
+ export interface DeploymentsDeleteOptionalParams
1439
+ extends coreClient.OperationOptions {
1440
+ /** Delay to wait until next poll, in milliseconds. */
1441
+ updateIntervalInMs?: number;
1442
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1443
+ resumeFrom?: string;
1444
+ }
1445
+
1446
+ /** Optional parameters. */
1447
+ export interface DeploymentsListNextOptionalParams
1448
+ extends coreClient.OperationOptions {}
1449
+
1450
+ /** Contains response data for the listNext operation. */
1451
+ export type DeploymentsListNextResponse = DeploymentListResult;
1452
+
1453
+ /** Optional parameters. */
1454
+ export interface CommitmentPlansListOptionalParams
1455
+ extends coreClient.OperationOptions {}
1456
+
1457
+ /** Contains response data for the list operation. */
1458
+ export type CommitmentPlansListResponse = CommitmentPlanListResult;
1459
+
1460
+ /** Optional parameters. */
1461
+ export interface CommitmentPlansGetOptionalParams
1462
+ extends coreClient.OperationOptions {}
1463
+
1464
+ /** Contains response data for the get operation. */
1465
+ export type CommitmentPlansGetResponse = CommitmentPlan;
1466
+
1467
+ /** Optional parameters. */
1468
+ export interface CommitmentPlansCreateOrUpdateOptionalParams
1469
+ extends coreClient.OperationOptions {}
1470
+
1471
+ /** Contains response data for the createOrUpdate operation. */
1472
+ export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
1473
+
1474
+ /** Optional parameters. */
1475
+ export interface CommitmentPlansDeleteOptionalParams
1476
+ extends coreClient.OperationOptions {
1477
+ /** Delay to wait until next poll, in milliseconds. */
1478
+ updateIntervalInMs?: number;
1479
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1480
+ resumeFrom?: string;
1481
+ }
1482
+
1483
+ /** Optional parameters. */
1484
+ export interface CommitmentPlansListNextOptionalParams
1485
+ extends coreClient.OperationOptions {}
1486
+
1487
+ /** Contains response data for the listNext operation. */
1488
+ export type CommitmentPlansListNextResponse = CommitmentPlanListResult;
1489
+
1490
+ /** Optional parameters. */
1491
+ export interface CognitiveServicesManagementClientOptionalParams
1492
+ extends coreClient.ServiceClientOptions {
1493
+ /** server parameter */
1494
+ $host?: string;
1495
+ /** Api Version */
1496
+ apiVersion?: string;
1497
+ /** Overrides client endpoint. */
1498
+ endpoint?: string;
1499
+ }