@azure/arm-cognitiveservices 6.0.0 → 7.0.0-alpha.20211220.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -95
  4. package/dist/index.js +4800 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/cognitiveServicesManagementClient.d.ts +42 -0
  9. package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/cognitiveServicesManagementClient.js +133 -0
  11. package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1310 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +128 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +68 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1017 -713
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +26 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +199 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/accounts.d.ts +138 -0
  33. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  34. package/dist-esm/src/operations/accounts.js +628 -0
  35. package/dist-esm/src/operations/accounts.js.map +1 -0
  36. package/dist-esm/src/operations/commitmentPlans.d.ts +76 -0
  37. package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
  38. package/dist-esm/src/operations/commitmentPlans.js +293 -0
  39. package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
  40. package/dist-esm/src/operations/commitmentTiers.d.ts +35 -0
  41. package/dist-esm/src/operations/commitmentTiers.d.ts.map +1 -0
  42. package/dist-esm/src/operations/commitmentTiers.js +132 -0
  43. package/dist-esm/src/operations/commitmentTiers.js.map +1 -0
  44. package/dist-esm/src/operations/deletedAccounts.d.ts +57 -0
  45. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/deletedAccounts.js +232 -0
  47. package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/deployments.d.ts +81 -0
  49. package/dist-esm/src/operations/deployments.d.ts.map +1 -0
  50. package/dist-esm/src/operations/deployments.js +331 -0
  51. package/dist-esm/src/operations/deployments.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/dist-esm/src/operations/index.js +17 -0
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +70 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +271 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  69. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  70. package/dist-esm/src/operations/resourceSkus.js +124 -0
  71. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/accounts.d.ts +102 -0
  73. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  74. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
  75. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +51 -0
  77. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/commitmentPlans.js} +2 -9
  79. package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts +12 -0
  81. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/commitmentTiers.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/commitmentTiers.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +36 -0
  85. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  86. package/{src/models/resourceSkusMappers.ts → dist-esm/src/operationsInterfaces/deletedAccounts.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/deployments.d.ts +56 -0
  89. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  97. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
  101. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  105. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  112. package/dist-esm/test/cognitiveservices_examples.d.ts +4 -0
  113. package/dist-esm/test/cognitiveservices_examples.d.ts.map +1 -0
  114. package/dist-esm/test/cognitiveservices_examples.js +127 -0
  115. package/dist-esm/test/cognitiveservices_examples.js.map +1 -0
  116. package/package.json +65 -22
  117. package/review/arm-cognitiveservices.api.md +1150 -0
  118. package/rollup.config.js +181 -24
  119. package/src/cognitiveServicesManagementClient.ts +148 -172
  120. package/src/index.ts +12 -0
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +1122 -1415
  123. package/src/models/mappers.ts +1161 -835
  124. package/src/models/parameters.ts +159 -40
  125. package/src/operations/accounts.ts +587 -574
  126. package/src/operations/commitmentPlans.ts +394 -0
  127. package/src/operations/commitmentTiers.ts +158 -0
  128. package/src/operations/deletedAccounts.ts +197 -185
  129. package/src/operations/deployments.ts +464 -0
  130. package/src/operations/index.ts +4 -2
  131. package/src/operations/operations.ts +85 -85
  132. package/src/operations/privateEndpointConnections.ts +232 -202
  133. package/src/operations/privateLinkResources.ts +34 -62
  134. package/src/operations/resourceSkus.ts +90 -86
  135. package/src/operationsInterfaces/accounts.ts +195 -0
  136. package/src/operationsInterfaces/commitmentPlans.ts +93 -0
  137. package/src/operationsInterfaces/commitmentTiers.ts +24 -0
  138. package/src/operationsInterfaces/deletedAccounts.ts +68 -0
  139. package/src/operationsInterfaces/deployments.ts +109 -0
  140. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +5 -3
  141. package/src/operationsInterfaces/operations.ts +22 -0
  142. package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
  143. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  144. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  145. package/tsconfig.json +3 -3
  146. package/types/arm-cognitiveservices.d.ts +1860 -0
  147. package/types/tsdoc-metadata.json +11 -0
  148. package/dist/arm-cognitiveservices.js +0 -3385
  149. package/dist/arm-cognitiveservices.js.map +0 -1
  150. package/dist/arm-cognitiveservices.min.js +0 -1
  151. package/dist/arm-cognitiveservices.min.js.map +0 -1
  152. package/esm/cognitiveServicesManagementClient.d.ts +0 -77
  153. package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
  154. package/esm/cognitiveServicesManagementClient.js +0 -108
  155. package/esm/cognitiveServicesManagementClient.js.map +0 -1
  156. package/esm/cognitiveServicesManagementClientContext.d.ts +0 -22
  157. package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
  158. package/esm/cognitiveServicesManagementClientContext.js +0 -61
  159. package/esm/cognitiveServicesManagementClientContext.js.map +0 -1
  160. package/esm/models/accountsMappers.d.ts +0 -2
  161. package/esm/models/accountsMappers.d.ts.map +0 -1
  162. package/esm/models/accountsMappers.js +0 -9
  163. package/esm/models/accountsMappers.js.map +0 -1
  164. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  165. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  166. package/esm/models/deletedAccountsMappers.js +0 -9
  167. package/esm/models/deletedAccountsMappers.js.map +0 -1
  168. package/esm/models/index.d.ts +0 -1645
  169. package/esm/models/index.d.ts.map +0 -1
  170. package/esm/models/index.js.map +0 -1
  171. package/esm/models/mappers.d.ts +0 -58
  172. package/esm/models/mappers.d.ts.map +0 -1
  173. package/esm/models/mappers.js.map +0 -1
  174. package/esm/models/operationsMappers.d.ts +0 -2
  175. package/esm/models/operationsMappers.d.ts.map +0 -1
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -11
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -115
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  182. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  183. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  184. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  185. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  186. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  187. package/esm/models/privateLinkResourcesMappers.js +0 -9
  188. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  189. package/esm/models/resourceSkusMappers.d.ts +0 -2
  190. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  191. package/esm/models/resourceSkusMappers.js +0 -9
  192. package/esm/models/resourceSkusMappers.js.map +0 -1
  193. package/esm/operations/accounts.d.ts +0 -245
  194. package/esm/operations/accounts.d.ts.map +0 -1
  195. package/esm/operations/accounts.js +0 -389
  196. package/esm/operations/accounts.js.map +0 -1
  197. package/esm/operations/deletedAccounts.d.ts +0 -89
  198. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  199. package/esm/operations/deletedAccounts.js +0 -149
  200. package/esm/operations/deletedAccounts.js.map +0 -1
  201. package/esm/operations/index.d.ts.map +0 -1
  202. package/esm/operations/index.js.map +0 -1
  203. package/esm/operations/operations.d.ts +0 -46
  204. package/esm/operations/operations.d.ts.map +0 -1
  205. package/esm/operations/operations.js +0 -69
  206. package/esm/operations/operations.js.map +0 -1
  207. package/esm/operations/privateEndpointConnections.d.ts +0 -108
  208. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  209. package/esm/operations/privateEndpointConnections.js +0 -193
  210. package/esm/operations/privateEndpointConnections.js.map +0 -1
  211. package/esm/operations/privateLinkResources.d.ts +0 -34
  212. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  213. package/esm/operations/privateLinkResources.js +0 -49
  214. package/esm/operations/privateLinkResources.js.map +0 -1
  215. package/esm/operations/resourceSkus.d.ts +0 -46
  216. package/esm/operations/resourceSkus.d.ts.map +0 -1
  217. package/esm/operations/resourceSkus.js +0 -70
  218. package/esm/operations/resourceSkus.js.map +0 -1
  219. package/src/cognitiveServicesManagementClientContext.ts +0 -74
  220. package/src/models/accountsMappers.ts +0 -51
  221. package/src/models/deletedAccountsMappers.ts +0 -44
  222. package/src/models/privateEndpointConnectionsMappers.ts +0 -44
  223. package/src/models/privateLinkResourcesMappers.ts +0 -44
@@ -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,1371 +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
- */
595
+ /** Cognitive Services account commitment tier. */
596
+ export interface CommitmentTier {
597
+ /** The Kind of the resource. */
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;
613
+ }
614
+
615
+ /** Cognitive Services account commitment quota. */
616
+ export interface CommitmentQuota {
617
+ /** Commitment quota quantity. */
618
+ quantity?: number;
619
+ /** Commitment quota unit. */
620
+ unit?: string;
621
+ }
622
+
623
+ /** Cognitive Services account commitment cost. */
624
+ export interface CommitmentCost {
625
+ /** Commitment meter Id. */
626
+ commitmentMeterId?: string;
627
+ /** Overage meter Id. */
628
+ overageMeterId?: string;
629
+ }
630
+
631
+ /** Check Domain availability parameter. */
741
632
  export interface CheckDomainAvailabilityParameter {
742
- /**
743
- * The subdomain name to use.
744
- */
633
+ /** The subdomain name to use. */
745
634
  subdomainName: string;
746
- /**
747
- * The Type of the resource.
748
- */
635
+ /** The Type of the resource. */
749
636
  type: string;
637
+ /** The Kind of the resource. */
638
+ kind?: string;
750
639
  }
751
640
 
752
- /**
753
- * Domain availability.
754
- */
641
+ /** Domain availability. */
755
642
  export interface DomainAvailability {
756
- /**
757
- * Indicates the given SKU is available or not.
758
- */
643
+ /** Indicates the given SKU is available or not. */
759
644
  isSubdomainAvailable?: boolean;
760
- /**
761
- * Reason why the SKU is not available.
762
- */
645
+ /** Reason why the SKU is not available. */
763
646
  reason?: string;
764
- /**
765
- * The subdomain name to use.
766
- */
647
+ /** The subdomain name to use. */
767
648
  subdomainName?: string;
768
- /**
769
- * The Type of the resource.
770
- */
649
+ /** The Type of the resource. */
771
650
  type?: string;
772
- }
773
-
774
- /**
775
- * An interface representing ResourceSkuRestrictionInfo.
776
- */
777
- export interface ResourceSkuRestrictionInfo {
778
- /**
779
- * Locations where the SKU is restricted
780
- */
781
- locations?: string[];
782
- /**
783
- * List of availability zones where the SKU is restricted.
784
- */
785
- zones?: string[];
786
- }
787
-
788
- /**
789
- * Describes restrictions of a SKU.
790
- */
791
- export interface ResourceSkuRestrictions {
792
- /**
793
- * The type of restrictions. Possible values include: 'Location', 'Zone'
794
- */
795
- type?: ResourceSkuRestrictionsType;
796
- /**
797
- * The value of restrictions. If the restriction type is set to location. This would be different
798
- * locations where the SKU is restricted.
799
- */
800
- values?: string[];
801
- /**
802
- * The information about the restriction where the SKU cannot be used.
803
- */
804
- restrictionInfo?: ResourceSkuRestrictionInfo;
805
- /**
806
- * The reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
807
- */
808
- reasonCode?: ResourceSkuRestrictionsReasonCode;
809
- }
810
-
811
- /**
812
- * Describes an available Cognitive Services SKU.
813
- */
814
- export interface ResourceSku {
815
- /**
816
- * The type of resource the SKU applies to.
817
- */
818
- resourceType?: string;
819
- /**
820
- * The name of SKU.
821
- */
822
- name?: string;
823
- /**
824
- * Specifies the tier of Cognitive Services account.
825
- */
826
- tier?: string;
827
- /**
828
- * The Kind of resources that are supported in this SKU.
829
- */
651
+ /** The Kind of the resource. */
830
652
  kind?: string;
831
- /**
832
- * The set of locations that the SKU is available.
833
- */
834
- locations?: string[];
835
- /**
836
- * The restrictions because of which SKU cannot be used. This is empty if there are no
837
- * restrictions.
838
- */
839
- restrictions?: ResourceSkuRestrictions[];
840
653
  }
841
654
 
842
- /**
843
- * A list of private endpoint connections
844
- */
655
+ /** A list of private endpoint connections */
845
656
  export interface PrivateEndpointConnectionListResult {
846
- /**
847
- * Array of private endpoint connections
848
- */
657
+ /** Array of private endpoint connections */
849
658
  value?: PrivateEndpointConnection[];
850
659
  }
851
660
 
852
- /**
853
- * Properties of a private link resource.
854
- */
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. */
855
668
  export interface PrivateLinkResourceProperties {
856
669
  /**
857
670
  * The private link resource group id.
858
- * **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.
859
672
  */
860
673
  readonly groupId?: string;
861
674
  /**
862
675
  * The private link resource required member names.
863
- * **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.
864
677
  */
865
678
  readonly requiredMembers?: string[];
866
- /**
867
- * The private link resource Private link DNS zone name.
868
- */
679
+ /** The private link resource Private link DNS zone name. */
869
680
  requiredZoneNames?: string[];
870
681
  /**
871
682
  * The private link resource display name.
872
- * **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.
873
684
  */
874
685
  readonly displayName?: string;
875
686
  }
876
687
 
877
- /**
878
- * A private link resource
879
- */
880
- 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;
881
692
  /**
882
- * 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.
883
695
  */
884
- properties?: PrivateLinkResourceProperties;
696
+ readonly value?: Deployment[];
885
697
  }
886
698
 
887
- /**
888
- * A list of private link resources
889
- */
890
- export interface PrivateLinkResourceListResult {
699
+ /** Properties of Cognitive Services account deployment. */
700
+ export interface DeploymentProperties {
891
701
  /**
892
- * 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.
893
704
  */
894
- 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;
895
710
  }
896
711
 
897
- /**
898
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
899
- * and a location
900
- * @summary Proxy Resource
901
- */
902
- export interface ProxyResource extends Resource {}
712
+ /** Properties of Cognitive Services account deployment model. */
713
+ export interface DeploymentModel {
714
+ /** Deployment model format. */
715
+ format?: string;
716
+ /** Deployment model name. */
717
+ name?: string;
718
+ /** Deployment model version. */
719
+ version?: string;
720
+ }
903
721
 
904
- /**
905
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
906
- * 'tags' and a 'location'
907
- * @summary Tracked Resource
908
- */
909
- export interface TrackedResource extends Resource {
910
- /**
911
- * Resource tags.
912
- */
913
- tags?: { [propertyName: string]: string };
914
- /**
915
- * The geo-location where the resource lives
916
- */
917
- location: string;
722
+ /** Properties of Cognitive Services account deployment model. */
723
+ export interface DeploymentScaleSettings {
724
+ /** Deployment scale type. */
725
+ scaleType?: DeploymentScaleType;
726
+ /** Deployment capacity. */
727
+ capacity?: number;
918
728
  }
919
729
 
920
- /**
921
- * The resource management error additional info.
922
- */
923
- export interface ErrorAdditionalInfo {
924
- /**
925
- * The additional info type.
926
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
927
- */
928
- readonly type?: 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;
929
734
  /**
930
- * The additional info.
931
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
932
737
  */
933
- readonly info?: any;
738
+ readonly value?: CommitmentPlan[];
934
739
  }
935
740
 
936
- /**
937
- * The error detail.
938
- */
939
- export interface ErrorDetail {
940
- /**
941
- * The error code.
942
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
943
- */
944
- readonly code?: string;
945
- /**
946
- * The error message.
947
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
948
- */
949
- readonly message?: string;
741
+ /** Properties of Cognitive Services account commitment plan. */
742
+ export interface CommitmentPlanProperties {
743
+ /** Account hosting model. */
744
+ hostingModel?: HostingModel;
745
+ /** Commitment plan type. */
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;
753
+ /**
754
+ * Cognitive Services account commitment period.
755
+ * NOTE: This property will not be serialized. It can only be populated by the server.
756
+ */
757
+ readonly last?: CommitmentPeriod;
758
+ }
759
+
760
+ /** Cognitive Services account commitment period. */
761
+ export interface CommitmentPeriod {
762
+ /** Commitment period commitment tier. */
763
+ tier?: string;
764
+ /** Commitment period commitment count. */
765
+ count?: number;
950
766
  /**
951
- * The error target.
952
- * **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.
953
769
  */
954
- readonly target?: string;
770
+ readonly quota?: CommitmentQuota;
955
771
  /**
956
- * The error details.
957
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
772
+ * Commitment period start date.
773
+ * NOTE: This property will not be serialized. It can only be populated by the server.
958
774
  */
959
- readonly details?: ErrorDetail[];
775
+ readonly startDate?: string;
960
776
  /**
961
- * The error additional info.
962
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
777
+ * Commitment period end date.
778
+ * NOTE: This property will not be serialized. It can only be populated by the server.
963
779
  */
964
- readonly additionalInfo?: ErrorAdditionalInfo[];
780
+ readonly endDate?: string;
965
781
  }
966
782
 
967
- /**
968
- * Common error response for all Azure Resource Manager APIs to return error details for failed
969
- * operations. (This also follows the OData error response format.).
970
- * @summary Error response
971
- */
972
- export interface ErrorResponse {
783
+ /** The resource model definition for an Azure Resource Manager resource with an etag. */
784
+ export type AzureEntityResource = Resource & {
973
785
  /**
974
- * The error object.
786
+ * Resource Etag.
787
+ * NOTE: This property will not be serialized. It can only be populated by the server.
975
788
  */
976
- error?: ErrorDetail;
977
- }
789
+ readonly etag?: string;
790
+ };
978
791
 
979
- /**
980
- * Localized display information for this particular operation.
981
- */
982
- export interface OperationDisplay {
983
- /**
984
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring
985
- * Insights" or "Microsoft Compute".
986
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
987
- */
988
- readonly provider?: string;
989
- /**
990
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual
991
- * Machines" or "Job Schedule Collections".
992
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
993
- */
994
- readonly resource?: string;
995
- /**
996
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create
997
- * or Update Virtual Machine", "Restart Virtual Machine".
998
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
999
- */
1000
- readonly operation?: string;
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;
1001
805
  /**
1002
- * The short, localized friendly description of the operation; suitable for tool tips and
1003
- * detailed views.
1004
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
1005
808
  */
1006
- readonly description?: string;
1007
- }
809
+ readonly systemData?: SystemData;
810
+ /** The location of the private endpoint connection */
811
+ location?: string;
812
+ };
1008
813
 
1009
- /**
1010
- * Details of a REST API operation, returned from the Resource Provider Operations API
1011
- * @summary REST API Operation
1012
- */
1013
- export interface Operation {
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;
1014
822
  /**
1015
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
1016
- * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
1017
- * **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.
1018
825
  */
1019
- readonly name?: string;
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
+ };
834
+
835
+ /** Cognitive Services account deployment. */
836
+ export type Deployment = ProxyResource & {
1020
837
  /**
1021
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and
1022
- * "false" for ARM/control-plane operations.
1023
- * **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.
1024
840
  */
1025
- readonly isDataAction?: boolean;
841
+ readonly systemData?: SystemData;
1026
842
  /**
1027
- * Localized display information for this particular operation.
843
+ * Resource Etag.
844
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1028
845
  */
1029
- display?: OperationDisplay;
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 & {
1030
853
  /**
1031
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
1032
- * logs UX. Default value is "user,system". Possible values include: 'user', 'system',
1033
- * 'user,system'
1034
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
1035
856
  */
1036
- readonly origin?: Origin;
857
+ readonly systemData?: SystemData;
1037
858
  /**
1038
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
1039
- * Possible values include: 'Internal'
1040
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
859
+ * Resource Etag.
860
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1041
861
  */
1042
- readonly actionType?: ActionType;
862
+ readonly etag?: string;
863
+ /** Properties of Cognitive Services account commitment plan. */
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"
1043
874
  }
1044
875
 
1045
876
  /**
1046
- * Optional Parameters.
1047
- */
1048
- export interface AccountsListUsagesOptionalParams extends msRest.RequestOptionsBase {
1049
- /**
1050
- * An OData filter expression that describes a subset of usages to return. The supported
1051
- * parameter is name.value (name of the metric, can have an or of multiple names).
1052
- */
1053
- filter?: string;
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**
886
+ */
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"
1054
895
  }
1055
896
 
1056
897
  /**
1057
- * An interface representing CognitiveServicesManagementClientOptions.
1058
- */
1059
- export interface CognitiveServicesManagementClientOptions extends AzureServiceClientOptions {
1060
- baseUri?: string;
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**
906
+ */
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"
1061
918
  }
1062
919
 
1063
920
  /**
1064
- * @interface
1065
- * The list of cognitive services accounts operation response.
1066
- * @extends Array<Account>
1067
- */
1068
- export interface AccountListResult extends Array<Account> {
1069
- /**
1070
- * The link used to get the next page of accounts.
1071
- */
1072
- nextLink?: string;
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**
932
+ */
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"
1073
939
  }
1074
940
 
1075
941
  /**
1076
- * @interface
1077
- * The Get Skus operation response.
1078
- * @extends Array<ResourceSku>
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**
1079
948
  */
1080
- export interface ResourceSkuListResult extends Array<ResourceSku> {
1081
- /**
1082
- * The uri to fetch the next page of Skus.
1083
- */
1084
- nextLink?: string;
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"
1085
955
  }
1086
956
 
1087
957
  /**
1088
- * @interface
1089
- * A list of REST API operations supported by an Azure Resource Provider. It contains an URL link
1090
- * to get the next set of results.
1091
- * @extends Array<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**
1092
964
  */
1093
- export interface OperationListResult extends Array<Operation> {
1094
- /**
1095
- * URL to get the next set of operation list results (if there are any).
1096
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1097
- */
1098
- readonly nextLink?: 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"
1099
972
  }
1100
973
 
1101
974
  /**
1102
- * Defines values for SkuTier.
1103
- * Possible values include: 'Free', 'Basic', 'Standard', 'Premium', 'Enterprise'
1104
- * @readonly
1105
- * @enum {string}
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**
1106
982
  */
1107
- export type SkuTier = "Free" | "Basic" | "Standard" | "Premium" | "Enterprise";
983
+ export type PrivateEndpointServiceConnectionStatus = string;
1108
984
 
1109
- /**
1110
- * Defines values for ResourceIdentityType.
1111
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
1112
- * UserAssigned'
1113
- * @readonly
1114
- * @enum {string}
1115
- */
1116
- export type ResourceIdentityType =
1117
- | "None"
1118
- | "SystemAssigned"
1119
- | "UserAssigned"
1120
- | "SystemAssigned, UserAssigned";
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"
991
+ }
1121
992
 
1122
993
  /**
1123
- * Defines values for CreatedByType.
1124
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1125
- * @readonly
1126
- * @enum {string}
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**
1127
1002
  */
1128
- export type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
1003
+ export type PrivateEndpointConnectionProvisioningState = string;
1129
1004
 
1130
- /**
1131
- * Defines values for ProvisioningState.
1132
- * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded',
1133
- * 'ResolvingDNS'
1134
- * @readonly
1135
- * @enum {string}
1136
- */
1137
- export type ProvisioningState =
1138
- | "Accepted"
1139
- | "Creating"
1140
- | "Deleting"
1141
- | "Moving"
1142
- | "Failed"
1143
- | "Succeeded"
1144
- | "ResolvingDNS";
1005
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1006
+ export enum KnownPublicNetworkAccess {
1007
+ Enabled = "Enabled",
1008
+ Disabled = "Disabled"
1009
+ }
1145
1010
 
1146
1011
  /**
1147
- * Defines values for NetworkRuleAction.
1148
- * Possible values include: 'Allow', 'Deny'
1149
- * @readonly
1150
- * @enum {string}
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**
1151
1018
  */
1152
- export type NetworkRuleAction = "Allow" | "Deny";
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"
1025
+ }
1153
1026
 
1154
1027
  /**
1155
- * Defines values for KeySource.
1156
- * Possible values include: 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'
1157
- * @readonly
1158
- * @enum {string}
1159
- */
1160
- export type KeySource = "Microsoft.CognitiveServices" | "Microsoft.KeyVault";
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**
1034
+ */
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"
1046
+ }
1161
1047
 
1162
1048
  /**
1163
- * Defines values for PrivateEndpointServiceConnectionStatus.
1164
- * Possible values include: 'Pending', 'Approved', 'Rejected'
1165
- * @readonly
1166
- * @enum {string}
1167
- */
1168
- export type PrivateEndpointServiceConnectionStatus = "Pending" | "Approved" | "Rejected";
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**
1060
+ */
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"
1069
+ }
1169
1070
 
1170
1071
  /**
1171
- * Defines values for PrivateEndpointConnectionProvisioningState.
1172
- * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
1173
- * @readonly
1174
- * @enum {string}
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**
1175
1080
  */
1176
- export type PrivateEndpointConnectionProvisioningState =
1177
- | "Succeeded"
1178
- | "Creating"
1179
- | "Deleting"
1180
- | "Failed";
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"
1088
+ }
1181
1089
 
1182
1090
  /**
1183
- * Defines values for PublicNetworkAccess.
1184
- * Possible values include: 'Enabled', 'Disabled'
1185
- * @readonly
1186
- * @enum {string}
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**
1187
1098
  */
1188
- export type PublicNetworkAccess = "Enabled" | "Disabled";
1099
+ export type Origin = string;
1100
+
1101
+ /** Known values of {@link ActionType} that the service accepts. */
1102
+ export enum KnownActionType {
1103
+ Internal = "Internal"
1104
+ }
1189
1105
 
1190
1106
  /**
1191
- * Defines values for KeyName.
1192
- * Possible values include: 'Key1', 'Key2'
1193
- * @readonly
1194
- * @enum {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**
1195
1112
  */
1196
- export type KeyName = "Key1" | "Key2";
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"
1120
+ }
1197
1121
 
1198
1122
  /**
1199
- * Defines values for UnitType.
1200
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
1201
- * 'BytesPerSecond', 'Milliseconds'
1202
- * @readonly
1203
- * @enum {string}
1204
- */
1205
- export type UnitType =
1206
- | "Count"
1207
- | "Bytes"
1208
- | "Seconds"
1209
- | "Percent"
1210
- | "CountPerSecond"
1211
- | "BytesPerSecond"
1212
- | "Milliseconds";
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"
1141
+ }
1213
1142
 
1214
1143
  /**
1215
- * Defines values for QuotaUsageStatus.
1216
- * Possible values include: 'Included', 'Blocked', 'InOverage', 'Unknown'
1217
- * @readonly
1218
- * @enum {string}
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**
1219
1154
  */
1220
- export type QuotaUsageStatus = "Included" | "Blocked" | "InOverage" | "Unknown";
1155
+ export type DeploymentProvisioningState = string;
1156
+
1157
+ /** Known values of {@link DeploymentScaleType} that the service accepts. */
1158
+ export enum KnownDeploymentScaleType {
1159
+ Manual = "Manual"
1160
+ }
1221
1161
 
1222
1162
  /**
1223
- * Defines values for ResourceSkuRestrictionsType.
1224
- * Possible values include: 'Location', 'Zone'
1225
- * @readonly
1226
- * @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**
1227
1168
  */
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. */
1228
1179
  export type ResourceSkuRestrictionsType = "Location" | "Zone";
1229
1180
 
1230
- /**
1231
- * Defines values for ResourceSkuRestrictionsReasonCode.
1232
- * Possible values include: 'QuotaId', 'NotAvailableForSubscription'
1233
- * @readonly
1234
- * @enum {string}
1235
- */
1236
- export type ResourceSkuRestrictionsReasonCode = "QuotaId" | "NotAvailableForSubscription";
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
+ }
1237
1189
 
1238
- /**
1239
- * Defines values for Origin.
1240
- * Possible values include: 'user', 'system', 'user,system'
1241
- * @readonly
1242
- * @enum {string}
1243
- */
1244
- export type Origin = "user" | "system" | "user,system";
1190
+ /** Contains response data for the create operation. */
1191
+ export type AccountsCreateResponse = Account;
1245
1192
 
1246
- /**
1247
- * Defines values for ActionType.
1248
- * Possible values include: 'Internal'
1249
- * @readonly
1250
- * @enum {string}
1251
- */
1252
- export type ActionType = "Internal";
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
+ }
1253
1201
 
1254
- /**
1255
- * Contains response data for the create operation.
1256
- */
1257
- export type AccountsCreateResponse = Account & {
1258
- /**
1259
- * The underlying HTTP response.
1260
- */
1261
- _response: msRest.HttpResponse & {
1262
- /**
1263
- * The response body as text (string format)
1264
- */
1265
- bodyAsText: string;
1266
-
1267
- /**
1268
- * The response body as parsed JSON or XML
1269
- */
1270
- parsedBody: Account;
1271
- };
1272
- };
1202
+ /** Contains response data for the update operation. */
1203
+ export type AccountsUpdateResponse = Account;
1273
1204
 
1274
- /**
1275
- * Contains response data for the update operation.
1276
- */
1277
- export type AccountsUpdateResponse = Account & {
1278
- /**
1279
- * The underlying HTTP response.
1280
- */
1281
- _response: msRest.HttpResponse & {
1282
- /**
1283
- * The response body as text (string format)
1284
- */
1285
- bodyAsText: string;
1286
-
1287
- /**
1288
- * The response body as parsed JSON or XML
1289
- */
1290
- parsedBody: Account;
1291
- };
1292
- };
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
+ }
1293
1213
 
1294
- /**
1295
- * Contains response data for the get operation.
1296
- */
1297
- export type AccountsGetResponse = Account & {
1298
- /**
1299
- * The underlying HTTP response.
1300
- */
1301
- _response: msRest.HttpResponse & {
1302
- /**
1303
- * The response body as text (string format)
1304
- */
1305
- bodyAsText: string;
1306
-
1307
- /**
1308
- * The response body as parsed JSON or XML
1309
- */
1310
- parsedBody: Account;
1311
- };
1312
- };
1214
+ /** Optional parameters. */
1215
+ export interface AccountsGetOptionalParams
1216
+ extends coreClient.OperationOptions {}
1313
1217
 
1314
- /**
1315
- * Contains response data for the listByResourceGroup operation.
1316
- */
1317
- export type AccountsListByResourceGroupResponse = AccountListResult & {
1318
- /**
1319
- * The underlying HTTP response.
1320
- */
1321
- _response: msRest.HttpResponse & {
1322
- /**
1323
- * The response body as text (string format)
1324
- */
1325
- bodyAsText: string;
1326
-
1327
- /**
1328
- * The response body as parsed JSON or XML
1329
- */
1330
- parsedBody: AccountListResult;
1331
- };
1332
- };
1218
+ /** Contains response data for the get operation. */
1219
+ export type AccountsGetResponse = Account;
1333
1220
 
1334
- /**
1335
- * Contains response data for the list operation.
1336
- */
1337
- export type AccountsListResponse = AccountListResult & {
1338
- /**
1339
- * The underlying HTTP response.
1340
- */
1341
- _response: msRest.HttpResponse & {
1342
- /**
1343
- * The response body as text (string format)
1344
- */
1345
- bodyAsText: string;
1346
-
1347
- /**
1348
- * The response body as parsed JSON or XML
1349
- */
1350
- parsedBody: AccountListResult;
1351
- };
1352
- };
1221
+ /** Optional parameters. */
1222
+ export interface AccountsListByResourceGroupOptionalParams
1223
+ extends coreClient.OperationOptions {}
1353
1224
 
1354
- /**
1355
- * Contains response data for the listKeys operation.
1356
- */
1357
- export type AccountsListKeysResponse = ApiKeys & {
1358
- /**
1359
- * The underlying HTTP response.
1360
- */
1361
- _response: msRest.HttpResponse & {
1362
- /**
1363
- * The response body as text (string format)
1364
- */
1365
- bodyAsText: string;
1366
-
1367
- /**
1368
- * The response body as parsed JSON or XML
1369
- */
1370
- parsedBody: ApiKeys;
1371
- };
1372
- };
1225
+ /** Contains response data for the listByResourceGroup operation. */
1226
+ export type AccountsListByResourceGroupResponse = AccountListResult;
1373
1227
 
1374
- /**
1375
- * Contains response data for the regenerateKey operation.
1376
- */
1377
- export type AccountsRegenerateKeyResponse = ApiKeys & {
1378
- /**
1379
- * The underlying HTTP response.
1380
- */
1381
- _response: msRest.HttpResponse & {
1382
- /**
1383
- * The response body as text (string format)
1384
- */
1385
- bodyAsText: string;
1386
-
1387
- /**
1388
- * The response body as parsed JSON or XML
1389
- */
1390
- parsedBody: ApiKeys;
1391
- };
1392
- };
1228
+ /** Optional parameters. */
1229
+ export interface AccountsListOptionalParams
1230
+ extends coreClient.OperationOptions {}
1393
1231
 
1394
- /**
1395
- * Contains response data for the listSkus operation.
1396
- */
1397
- export type AccountsListSkusResponse = AccountSkuListResult & {
1398
- /**
1399
- * The underlying HTTP response.
1400
- */
1401
- _response: msRest.HttpResponse & {
1402
- /**
1403
- * The response body as text (string format)
1404
- */
1405
- bodyAsText: string;
1406
-
1407
- /**
1408
- * The response body as parsed JSON or XML
1409
- */
1410
- parsedBody: AccountSkuListResult;
1411
- };
1412
- };
1232
+ /** Contains response data for the list operation. */
1233
+ export type AccountsListResponse = AccountListResult;
1413
1234
 
1414
- /**
1415
- * Contains response data for the listUsages operation.
1416
- */
1417
- export type AccountsListUsagesResponse = UsageListResult & {
1418
- /**
1419
- * The underlying HTTP response.
1420
- */
1421
- _response: msRest.HttpResponse & {
1422
- /**
1423
- * The response body as text (string format)
1424
- */
1425
- bodyAsText: string;
1426
-
1427
- /**
1428
- * The response body as parsed JSON or XML
1429
- */
1430
- parsedBody: UsageListResult;
1431
- };
1432
- };
1235
+ /** Optional parameters. */
1236
+ export interface AccountsListKeysOptionalParams
1237
+ extends coreClient.OperationOptions {}
1433
1238
 
1434
- /**
1435
- * Contains response data for the beginCreate operation.
1436
- */
1437
- export type AccountsBeginCreateResponse = Account & {
1438
- /**
1439
- * The underlying HTTP response.
1440
- */
1441
- _response: msRest.HttpResponse & {
1442
- /**
1443
- * The response body as text (string format)
1444
- */
1445
- bodyAsText: string;
1446
-
1447
- /**
1448
- * The response body as parsed JSON or XML
1449
- */
1450
- parsedBody: Account;
1451
- };
1452
- };
1239
+ /** Contains response data for the listKeys operation. */
1240
+ export type AccountsListKeysResponse = ApiKeys;
1453
1241
 
1454
- /**
1455
- * Contains response data for the beginUpdate operation.
1456
- */
1457
- export type AccountsBeginUpdateResponse = Account & {
1458
- /**
1459
- * The underlying HTTP response.
1460
- */
1461
- _response: msRest.HttpResponse & {
1462
- /**
1463
- * The response body as text (string format)
1464
- */
1465
- bodyAsText: string;
1466
-
1467
- /**
1468
- * The response body as parsed JSON or XML
1469
- */
1470
- parsedBody: Account;
1471
- };
1472
- };
1242
+ /** Optional parameters. */
1243
+ export interface AccountsRegenerateKeyOptionalParams
1244
+ extends coreClient.OperationOptions {}
1473
1245
 
1474
- /**
1475
- * Contains response data for the listByResourceGroupNext operation.
1476
- */
1477
- export type AccountsListByResourceGroupNextResponse = AccountListResult & {
1478
- /**
1479
- * The underlying HTTP response.
1480
- */
1481
- _response: msRest.HttpResponse & {
1482
- /**
1483
- * The response body as text (string format)
1484
- */
1485
- bodyAsText: string;
1486
-
1487
- /**
1488
- * The response body as parsed JSON or XML
1489
- */
1490
- parsedBody: AccountListResult;
1491
- };
1492
- };
1246
+ /** Contains response data for the regenerateKey operation. */
1247
+ export type AccountsRegenerateKeyResponse = ApiKeys;
1493
1248
 
1494
- /**
1495
- * Contains response data for the listNext operation.
1496
- */
1497
- export type AccountsListNextResponse = AccountListResult & {
1498
- /**
1499
- * The underlying HTTP response.
1500
- */
1501
- _response: msRest.HttpResponse & {
1502
- /**
1503
- * The response body as text (string format)
1504
- */
1505
- bodyAsText: string;
1506
-
1507
- /**
1508
- * The response body as parsed JSON or XML
1509
- */
1510
- parsedBody: AccountListResult;
1511
- };
1512
- };
1249
+ /** Optional parameters. */
1250
+ export interface AccountsListSkusOptionalParams
1251
+ extends coreClient.OperationOptions {}
1513
1252
 
1514
- /**
1515
- * Contains response data for the get operation.
1516
- */
1517
- export type DeletedAccountsGetResponse = Account & {
1518
- /**
1519
- * The underlying HTTP response.
1520
- */
1521
- _response: msRest.HttpResponse & {
1522
- /**
1523
- * The response body as text (string format)
1524
- */
1525
- bodyAsText: string;
1526
-
1527
- /**
1528
- * The response body as parsed JSON or XML
1529
- */
1530
- parsedBody: Account;
1531
- };
1532
- };
1253
+ /** Contains response data for the listSkus operation. */
1254
+ export type AccountsListSkusResponse = AccountSkuListResult;
1533
1255
 
1534
- /**
1535
- * Contains response data for the list operation.
1536
- */
1537
- export type DeletedAccountsListResponse = AccountListResult & {
1538
- /**
1539
- * The underlying HTTP response.
1540
- */
1541
- _response: msRest.HttpResponse & {
1542
- /**
1543
- * The response body as text (string format)
1544
- */
1545
- bodyAsText: string;
1546
-
1547
- /**
1548
- * The response body as parsed JSON or XML
1549
- */
1550
- parsedBody: AccountListResult;
1551
- };
1552
- };
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
+ }
1553
1262
 
1554
- /**
1555
- * Contains response data for the listNext operation.
1556
- */
1557
- export type DeletedAccountsListNextResponse = AccountListResult & {
1558
- /**
1559
- * The underlying HTTP response.
1560
- */
1561
- _response: msRest.HttpResponse & {
1562
- /**
1563
- * The response body as text (string format)
1564
- */
1565
- bodyAsText: string;
1566
-
1567
- /**
1568
- * The response body as parsed JSON or XML
1569
- */
1570
- parsedBody: AccountListResult;
1571
- };
1572
- };
1263
+ /** Contains response data for the listUsages operation. */
1264
+ export type AccountsListUsagesResponse = UsageListResult;
1573
1265
 
1574
- /**
1575
- * Contains response data for the list operation.
1576
- */
1577
- export type ResourceSkusListResponse = ResourceSkuListResult & {
1578
- /**
1579
- * The underlying HTTP response.
1580
- */
1581
- _response: msRest.HttpResponse & {
1582
- /**
1583
- * The response body as text (string format)
1584
- */
1585
- bodyAsText: string;
1586
-
1587
- /**
1588
- * The response body as parsed JSON or XML
1589
- */
1590
- parsedBody: ResourceSkuListResult;
1591
- };
1592
- };
1266
+ /** Optional parameters. */
1267
+ export interface AccountsListByResourceGroupNextOptionalParams
1268
+ extends coreClient.OperationOptions {}
1593
1269
 
1594
- /**
1595
- * Contains response data for the listNext operation.
1596
- */
1597
- export type ResourceSkusListNextResponse = ResourceSkuListResult & {
1598
- /**
1599
- * The underlying HTTP response.
1600
- */
1601
- _response: msRest.HttpResponse & {
1602
- /**
1603
- * The response body as text (string format)
1604
- */
1605
- bodyAsText: string;
1606
-
1607
- /**
1608
- * The response body as parsed JSON or XML
1609
- */
1610
- parsedBody: ResourceSkuListResult;
1611
- };
1612
- };
1270
+ /** Contains response data for the listByResourceGroupNext operation. */
1271
+ export type AccountsListByResourceGroupNextResponse = AccountListResult;
1613
1272
 
1614
- /**
1615
- * Contains response data for the list operation.
1616
- */
1617
- export type OperationsListResponse = OperationListResult & {
1618
- /**
1619
- * The underlying HTTP response.
1620
- */
1621
- _response: msRest.HttpResponse & {
1622
- /**
1623
- * The response body as text (string format)
1624
- */
1625
- bodyAsText: string;
1626
-
1627
- /**
1628
- * The response body as parsed JSON or XML
1629
- */
1630
- parsedBody: OperationListResult;
1631
- };
1632
- };
1273
+ /** Optional parameters. */
1274
+ export interface AccountsListNextOptionalParams
1275
+ extends coreClient.OperationOptions {}
1633
1276
 
1634
- /**
1635
- * Contains response data for the listNext operation.
1636
- */
1637
- export type OperationsListNextResponse = OperationListResult & {
1638
- /**
1639
- * The underlying HTTP response.
1640
- */
1641
- _response: msRest.HttpResponse & {
1642
- /**
1643
- * The response body as text (string format)
1644
- */
1645
- bodyAsText: string;
1646
-
1647
- /**
1648
- * The response body as parsed JSON or XML
1649
- */
1650
- parsedBody: OperationListResult;
1651
- };
1652
- };
1277
+ /** Contains response data for the listNext operation. */
1278
+ export type AccountsListNextResponse = AccountListResult;
1653
1279
 
1654
- /**
1655
- * Contains response data for the checkSkuAvailability operation.
1656
- */
1657
- export type CheckSkuAvailabilityResponse = SkuAvailabilityListResult & {
1658
- /**
1659
- * The underlying HTTP response.
1660
- */
1661
- _response: msRest.HttpResponse & {
1662
- /**
1663
- * The response body as text (string format)
1664
- */
1665
- bodyAsText: string;
1666
-
1667
- /**
1668
- * The response body as parsed JSON or XML
1669
- */
1670
- parsedBody: SkuAvailabilityListResult;
1671
- };
1672
- };
1280
+ /** Optional parameters. */
1281
+ export interface DeletedAccountsGetOptionalParams
1282
+ extends coreClient.OperationOptions {}
1673
1283
 
1674
- /**
1675
- * Contains response data for the checkDomainAvailability operation.
1676
- */
1677
- export type CheckDomainAvailabilityResponse = DomainAvailability & {
1678
- /**
1679
- * The underlying HTTP response.
1680
- */
1681
- _response: msRest.HttpResponse & {
1682
- /**
1683
- * The response body as text (string format)
1684
- */
1685
- bodyAsText: string;
1686
-
1687
- /**
1688
- * The response body as parsed JSON or XML
1689
- */
1690
- parsedBody: DomainAvailability;
1691
- };
1692
- };
1284
+ /** Contains response data for the get operation. */
1285
+ export type DeletedAccountsGetResponse = Account;
1693
1286
 
1694
- /**
1695
- * Contains response data for the list operation.
1696
- */
1697
- export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult & {
1698
- /**
1699
- * The underlying HTTP response.
1700
- */
1701
- _response: msRest.HttpResponse & {
1702
- /**
1703
- * The response body as text (string format)
1704
- */
1705
- bodyAsText: string;
1706
-
1707
- /**
1708
- * The response body as parsed JSON or XML
1709
- */
1710
- parsedBody: PrivateEndpointConnectionListResult;
1711
- };
1712
- };
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
+ }
1713
1295
 
1714
- /**
1715
- * Contains response data for the get operation.
1716
- */
1717
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1718
- /**
1719
- * The underlying HTTP response.
1720
- */
1721
- _response: msRest.HttpResponse & {
1722
- /**
1723
- * The response body as text (string format)
1724
- */
1725
- bodyAsText: string;
1726
-
1727
- /**
1728
- * The response body as parsed JSON or XML
1729
- */
1730
- parsedBody: PrivateEndpointConnection;
1731
- };
1732
- };
1296
+ /** Optional parameters. */
1297
+ export interface DeletedAccountsListOptionalParams
1298
+ extends coreClient.OperationOptions {}
1733
1299
 
1734
- /**
1735
- * Contains response data for the createOrUpdate operation.
1736
- */
1737
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
1738
- /**
1739
- * The underlying HTTP response.
1740
- */
1741
- _response: msRest.HttpResponse & {
1742
- /**
1743
- * The response body as text (string format)
1744
- */
1745
- bodyAsText: string;
1746
-
1747
- /**
1748
- * The response body as parsed JSON or XML
1749
- */
1750
- parsedBody: PrivateEndpointConnection;
1751
- };
1752
- };
1300
+ /** Contains response data for the list operation. */
1301
+ export type DeletedAccountsListResponse = AccountListResult;
1753
1302
 
1754
- /**
1755
- * Contains response data for the beginCreateOrUpdate operation.
1756
- */
1757
- export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
1758
- /**
1759
- * The underlying HTTP response.
1760
- */
1761
- _response: msRest.HttpResponse & {
1762
- /**
1763
- * The response body as text (string format)
1764
- */
1765
- bodyAsText: string;
1766
-
1767
- /**
1768
- * The response body as parsed JSON or XML
1769
- */
1770
- parsedBody: PrivateEndpointConnection;
1771
- };
1772
- };
1303
+ /** Optional parameters. */
1304
+ export interface DeletedAccountsListNextOptionalParams
1305
+ extends coreClient.OperationOptions {}
1773
1306
 
1774
- /**
1775
- * Contains response data for the list operation.
1776
- */
1777
- export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & {
1778
- /**
1779
- * The underlying HTTP response.
1780
- */
1781
- _response: msRest.HttpResponse & {
1782
- /**
1783
- * The response body as text (string format)
1784
- */
1785
- bodyAsText: string;
1786
-
1787
- /**
1788
- * The response body as parsed JSON or XML
1789
- */
1790
- parsedBody: PrivateLinkResourceListResult;
1791
- };
1792
- };
1307
+ /** Contains response data for the listNext operation. */
1308
+ export type DeletedAccountsListNextResponse = AccountListResult;
1309
+
1310
+ /** Optional parameters. */
1311
+ export interface ResourceSkusListOptionalParams
1312
+ extends coreClient.OperationOptions {}
1313
+
1314
+ /** Contains response data for the list operation. */
1315
+ export type ResourceSkusListResponse = ResourceSkuListResult;
1316
+
1317
+ /** Optional parameters. */
1318
+ export interface ResourceSkusListNextOptionalParams
1319
+ extends coreClient.OperationOptions {}
1320
+
1321
+ /** Contains response data for the listNext operation. */
1322
+ export type ResourceSkusListNextResponse = ResourceSkuListResult;
1323
+
1324
+ /** Optional parameters. */
1325
+ export interface OperationsListOptionalParams
1326
+ extends coreClient.OperationOptions {}
1327
+
1328
+ /** Contains response data for the list operation. */
1329
+ export type OperationsListResponse = OperationListResult;
1330
+
1331
+ /** Optional parameters. */
1332
+ export interface OperationsListNextOptionalParams
1333
+ extends coreClient.OperationOptions {}
1334
+
1335
+ /** Contains response data for the listNext operation. */
1336
+ export type OperationsListNextResponse = OperationListResult;
1337
+
1338
+ /** Optional parameters. */
1339
+ export interface CheckSkuAvailabilityOptionalParams
1340
+ extends coreClient.OperationOptions {}
1341
+
1342
+ /** Contains response data for the checkSkuAvailability operation. */
1343
+ export type CheckSkuAvailabilityResponse = SkuAvailabilityListResult;
1344
+
1345
+ /** Optional parameters. */
1346
+ export interface CheckDomainAvailabilityOptionalParams
1347
+ extends coreClient.OperationOptions {
1348
+ /** The Kind of the resource. */
1349
+ kind?: string;
1350
+ }
1351
+
1352
+ /** Contains response data for the checkDomainAvailability operation. */
1353
+ export type CheckDomainAvailabilityResponse = DomainAvailability;
1354
+
1355
+ /** Optional parameters. */
1356
+ export interface CommitmentTiersListOptionalParams
1357
+ extends coreClient.OperationOptions {}
1358
+
1359
+ /** Contains response data for the list operation. */
1360
+ export type CommitmentTiersListResponse = CommitmentTierListResult;
1361
+
1362
+ /** Optional parameters. */
1363
+ export interface CommitmentTiersListNextOptionalParams
1364
+ extends coreClient.OperationOptions {}
1365
+
1366
+ /** Contains response data for the listNext operation. */
1367
+ export type CommitmentTiersListNextResponse = CommitmentTierListResult;
1368
+
1369
+ /** Optional parameters. */
1370
+ export interface PrivateEndpointConnectionsListOptionalParams
1371
+ extends coreClient.OperationOptions {}
1372
+
1373
+ /** Contains response data for the list operation. */
1374
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
1375
+
1376
+ /** Optional parameters. */
1377
+ export interface PrivateEndpointConnectionsGetOptionalParams
1378
+ extends coreClient.OperationOptions {}
1379
+
1380
+ /** Contains response data for the get operation. */
1381
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1382
+
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
+ }
1391
+
1392
+ /** Contains response data for the createOrUpdate operation. */
1393
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
1394
+
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
+ }
1403
+
1404
+ /** Optional parameters. */
1405
+ export interface PrivateLinkResourcesListOptionalParams
1406
+ extends coreClient.OperationOptions {}
1407
+
1408
+ /** Contains response data for the list operation. */
1409
+ export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult;
1410
+
1411
+ /** Optional parameters. */
1412
+ export interface DeploymentsListOptionalParams
1413
+ extends coreClient.OperationOptions {}
1414
+
1415
+ /** Contains response data for the list operation. */
1416
+ export type DeploymentsListResponse = DeploymentListResult;
1417
+
1418
+ /** Optional parameters. */
1419
+ export interface DeploymentsGetOptionalParams
1420
+ extends coreClient.OperationOptions {}
1421
+
1422
+ /** Contains response data for the get operation. */
1423
+ export type DeploymentsGetResponse = Deployment;
1424
+
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
+ }
1433
+
1434
+ /** Contains response data for the createOrUpdate operation. */
1435
+ export type DeploymentsCreateOrUpdateResponse = Deployment;
1436
+
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
+ }