@azure/arm-cognitiveservices 5.2.0 → 7.0.0-alpha.20211202.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 (218) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +72 -77
  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 +1474 -738
  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 +4 -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/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  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/dist-esm/src/operationsInterfaces/commitmentPlans.js +9 -0
  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/dist-esm/src/operationsInterfaces/commitmentTiers.js +9 -0
  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/dist-esm/src/operationsInterfaces/deletedAccounts.js +9 -0
  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 -21
  117. package/review/arm-cognitiveservices.api.md +1150 -0
  118. package/rollup.config.js +181 -30
  119. package/src/cognitiveServicesManagementClient.ts +163 -142
  120. package/src/index.ts +12 -0
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +1223 -1103
  123. package/src/models/mappers.ts +1513 -736
  124. package/src/models/parameters.ts +162 -47
  125. package/src/operations/accounts.ts +610 -495
  126. package/src/operations/commitmentPlans.ts +394 -0
  127. package/src/operations/commitmentTiers.ts +158 -0
  128. package/src/operations/deletedAccounts.ts +298 -0
  129. package/src/operations/deployments.ts +464 -0
  130. package/src/operations/index.ts +7 -5
  131. package/src/operations/operations.ts +91 -77
  132. package/src/operations/privateEndpointConnections.ts +281 -134
  133. package/src/operations/privateLinkResources.ts +40 -55
  134. package/src/operations/resourceSkus.ts +96 -80
  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} +8 -6
  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 -2719
  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 -70
  153. package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
  154. package/esm/cognitiveServicesManagementClient.js +0 -116
  155. package/esm/cognitiveServicesManagementClient.js.map +0 -1
  156. package/esm/cognitiveServicesManagementClientContext.d.ts +0 -16
  157. package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
  158. package/esm/cognitiveServicesManagementClientContext.js +0 -56
  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/index.d.ts +0 -1277
  165. package/esm/models/index.d.ts.map +0 -1
  166. package/esm/models/index.js +0 -8
  167. package/esm/models/index.js.map +0 -1
  168. package/esm/models/mappers.d.ts +0 -50
  169. package/esm/models/mappers.d.ts.map +0 -1
  170. package/esm/models/mappers.js.map +0 -1
  171. package/esm/models/operationsMappers.d.ts +0 -2
  172. package/esm/models/operationsMappers.d.ts.map +0 -1
  173. package/esm/models/operationsMappers.js +0 -9
  174. package/esm/models/operationsMappers.js.map +0 -1
  175. package/esm/models/parameters.d.ts +0 -11
  176. package/esm/models/parameters.d.ts.map +0 -1
  177. package/esm/models/parameters.js +0 -119
  178. package/esm/models/parameters.js.map +0 -1
  179. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  180. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  181. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  182. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  183. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  184. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  185. package/esm/models/privateLinkResourcesMappers.js +0 -9
  186. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  187. package/esm/models/resourceSkusMappers.d.ts +0 -2
  188. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  189. package/esm/models/resourceSkusMappers.js +0 -9
  190. package/esm/models/resourceSkusMappers.js.map +0 -1
  191. package/esm/operations/accounts.d.ts +0 -260
  192. package/esm/operations/accounts.d.ts.map +0 -1
  193. package/esm/operations/accounts.js +0 -411
  194. package/esm/operations/accounts.js.map +0 -1
  195. package/esm/operations/index.d.ts.map +0 -1
  196. package/esm/operations/index.js.map +0 -1
  197. package/esm/operations/operations.d.ts +0 -46
  198. package/esm/operations/operations.d.ts.map +0 -1
  199. package/esm/operations/operations.js +0 -77
  200. package/esm/operations/operations.js.map +0 -1
  201. package/esm/operations/privateEndpointConnections.d.ts +0 -99
  202. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  203. package/esm/operations/privateEndpointConnections.js +0 -131
  204. package/esm/operations/privateEndpointConnections.js.map +0 -1
  205. package/esm/operations/privateLinkResources.d.ts +0 -34
  206. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  207. package/esm/operations/privateLinkResources.js +0 -58
  208. package/esm/operations/privateLinkResources.js.map +0 -1
  209. package/esm/operations/resourceSkus.d.ts +0 -46
  210. package/esm/operations/resourceSkus.d.ts.map +0 -1
  211. package/esm/operations/resourceSkus.js +0 -80
  212. package/esm/operations/resourceSkus.js.map +0 -1
  213. package/src/cognitiveServicesManagementClientContext.ts +0 -62
  214. package/src/models/accountsMappers.ts +0 -44
  215. package/src/models/operationsMappers.ts +0 -14
  216. package/src/models/privateEndpointConnectionsMappers.ts +0 -35
  217. package/src/models/privateLinkResourcesMappers.ts +0 -36
  218. package/src/models/resourceSkusMappers.ts +0 -15
@@ -1,1379 +1,1499 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
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 SKU of the cognitive services account.
16
- */
11
+ /** The resource model definition representing SKU */
17
12
  export interface Sku {
13
+ /** The name of the SKU. Ex - P3. It is typically a letter+number code */
14
+ name: string;
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. */
16
+ tier?: SkuTier;
17
+ /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
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;
18
29
  /**
19
- * Gets or sets the sku name. Required for account creation, optional for update.
30
+ * The tenant ID of resource.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
32
  */
21
- name: string;
33
+ readonly tenantId?: string;
22
34
  /**
23
- * Gets the sku tier. This is based on the SKU name. Possible values include: 'Free', 'Standard',
24
- * 'Premium'
25
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
35
+ * The principal ID of resource identity.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
26
37
  */
27
- readonly tier?: SkuTier;
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 };
28
41
  }
29
42
 
30
- /**
31
- * SkuCapability indicates the capability of a certain feature.
32
- */
33
- export interface SkuCapability {
43
+ /** User-assigned managed identity. */
44
+ export interface UserAssignedIdentity {
34
45
  /**
35
- * The name of the SkuCapability.
46
+ * Azure Active Directory principal ID associated with this Identity.
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
36
48
  */
37
- name?: string;
49
+ readonly principalId?: string;
38
50
  /**
39
- * The value of the SkuCapability.
51
+ * Client App Id associated with this identity.
52
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
53
  */
41
- value?: string;
54
+ readonly clientId?: string;
42
55
  }
43
56
 
44
- /**
45
- * A rule governing the accessibility from a specific ip address or ip range.
46
- */
47
- export interface IpRule {
48
- /**
49
- * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or
50
- * '124.56.78.0/24' (all addresses that start with 124.56.78).
51
- */
52
- value: string;
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;
53
71
  }
54
72
 
55
- /**
56
- * A rule governing the accessibility from a specific virtual network.
57
- */
58
- export interface VirtualNetworkRule {
73
+ /** Properties of Cognitive Services account. */
74
+ export interface AccountProperties {
59
75
  /**
60
- * Full resource id of a vnet subnet, such as
61
- * '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
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.
62
78
  */
63
- id: string;
79
+ readonly provisioningState?: ProvisioningState;
64
80
  /**
65
- * Gets the state of virtual network rule.
81
+ * Endpoint of the created account.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
66
83
  */
67
- state?: string;
84
+ readonly endpoint?: string;
68
85
  /**
69
- * Ignore missing vnet service endpoint or not.
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.
70
88
  */
71
- ignoreMissingVnetServiceEndpoint?: boolean;
72
- }
73
-
74
- /**
75
- * A set of rules governing the network accessibility.
76
- */
77
- export interface NetworkRuleSet {
89
+ readonly internalId?: string;
78
90
  /**
79
- * The default action when no rule from ipRules and from virtualNetworkRules match. This is only
80
- * used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny'
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.
81
93
  */
82
- defaultAction?: NetworkRuleAction;
94
+ readonly capabilities?: SkuCapability[];
83
95
  /**
84
- * The list of IP address rules.
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.
85
98
  */
86
- ipRules?: IpRule[];
99
+ readonly isMigrated?: boolean;
100
+ /** Resource migration token. */
101
+ migrationToken?: string;
87
102
  /**
88
- * The list of virtual network rules.
103
+ * Sku change info of account.
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
105
  */
90
- virtualNetworkRules?: VirtualNetworkRule[];
91
- }
92
-
93
- /**
94
- * Properties to configure keyVault Properties
95
- */
96
- export interface KeyVaultProperties {
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[];
115
+ /**
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.
118
+ */
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;
97
124
  /**
98
- * Name of the Key from KeyVault
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.
99
127
  */
100
- keyName?: string;
128
+ readonly dateCreated?: string;
101
129
  /**
102
- * Version of the Key from KeyVault
130
+ * The call rate limit Cognitive Services account.
131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
132
  */
104
- keyVersion?: string;
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;
105
139
  /**
106
- * Uri of KeyVault
140
+ * Dictionary of <string>
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
107
142
  */
108
- keyVaultUri?: string;
143
+ readonly endpoints?: { [propertyName: string]: string };
144
+ restore?: boolean;
109
145
  }
110
146
 
111
- /**
112
- * Properties to configure Encryption
113
- */
147
+ /** SkuCapability indicates the capability of a certain feature. */
148
+ export interface SkuCapability {
149
+ /** The name of the SkuCapability. */
150
+ name?: string;
151
+ /** The value of the SkuCapability. */
152
+ value?: string;
153
+ }
154
+
155
+ /** Sku change info of account. */
156
+ export interface SkuChangeInfo {
157
+ /** Gets the count of downgrades. */
158
+ countOfDowngrades?: number;
159
+ /** Gets the count of upgrades after downgrades. */
160
+ countOfUpgradesAfterDowngrades?: number;
161
+ /** Gets the last change date. */
162
+ lastChangeDate?: string;
163
+ }
164
+
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. */
176
+ export interface IpRule {
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). */
178
+ value: string;
179
+ }
180
+
181
+ /** A rule governing the accessibility from a specific virtual network. */
182
+ export interface VirtualNetworkRule {
183
+ /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
184
+ id: string;
185
+ /** Gets the state of virtual network rule. */
186
+ state?: string;
187
+ /** Ignore missing vnet service endpoint or not. */
188
+ ignoreMissingVnetServiceEndpoint?: boolean;
189
+ }
190
+
191
+ /** Properties to configure Encryption */
114
192
  export interface Encryption {
115
- /**
116
- * Properties of KeyVault
117
- */
193
+ /** Properties of KeyVault */
118
194
  keyVaultProperties?: KeyVaultProperties;
119
- /**
120
- * Enumerates the possible value of keySource for Encryption. Possible values include:
121
- * 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'. Default value: 'Microsoft.KeyVault'.
122
- */
195
+ /** Enumerates the possible value of keySource for Encryption */
123
196
  keySource?: KeySource;
124
197
  }
125
198
 
126
- /**
127
- * The user owned storage for Cognitive Services account.
128
- */
199
+ /** Properties to configure keyVault Properties */
200
+ export interface KeyVaultProperties {
201
+ /** Name of the Key from KeyVault */
202
+ keyName?: string;
203
+ /** Version of the Key from KeyVault */
204
+ keyVersion?: string;
205
+ /** Uri of KeyVault */
206
+ keyVaultUri?: string;
207
+ identityClientId?: string;
208
+ }
209
+
210
+ /** The user owned storage for Cognitive Services account. */
129
211
  export interface UserOwnedStorage {
212
+ /** Full resource id of a Microsoft.Storage resource. */
213
+ resourceId?: string;
214
+ identityClientId?: string;
215
+ }
216
+
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;
130
223
  /**
131
- * 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.
132
226
  */
133
- resourceId?: string;
227
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
228
+ /** The private link resource group ids. */
229
+ groupIds?: string[];
134
230
  }
135
231
 
136
- /**
137
- * The Private Endpoint resource.
138
- */
232
+ /** The Private Endpoint resource. */
139
233
  export interface PrivateEndpoint {
140
234
  /**
141
235
  * The ARM identifier for Private Endpoint
142
- * **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.
143
237
  */
144
238
  readonly id?: string;
145
239
  }
146
240
 
147
- /**
148
- * A collection of information about the state of the connection between service consumer and
149
- * provider.
150
- */
241
+ /** A collection of information about the state of the connection between service consumer and provider. */
151
242
  export interface PrivateLinkServiceConnectionState {
152
- /**
153
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
154
- * service. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
155
- */
243
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
156
244
  status?: PrivateEndpointServiceConnectionStatus;
157
- /**
158
- * The reason for approval/rejection of the connection.
159
- */
245
+ /** The reason for approval/rejection of the connection. */
160
246
  description?: string;
161
- /**
162
- * A message indicating if changes on the service provider require any updates on the consumer.
163
- */
164
- actionRequired?: string;
165
- }
166
-
167
- /**
168
- * Properties of the PrivateEndpointConnectProperties.
169
- */
170
- export interface PrivateEndpointConnectionProperties {
171
- /**
172
- * The resource of private end point.
173
- */
174
- privateEndpoint?: PrivateEndpoint;
175
- /**
176
- * A collection of information about the state of the connection between service consumer and
177
- * provider.
178
- */
179
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
180
- /**
181
- * The private link resource group ids.
182
- */
183
- groupIds?: string[];
247
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
248
+ actionsRequired?: string;
184
249
  }
185
250
 
186
- /**
187
- * An interface representing Resource.
188
- */
189
- export interface Resource extends BaseResource {
251
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
252
+ export interface Resource {
190
253
  /**
191
- * Fully qualified resource Id for the resource. Ex -
192
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
193
- * **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.
194
256
  */
195
257
  readonly id?: string;
196
258
  /**
197
259
  * The name of the resource
198
- * **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.
199
261
  */
200
262
  readonly name?: string;
201
263
  /**
202
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
203
- * Microsoft.Storage/storageAccounts.
204
- * **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.
205
266
  */
206
267
  readonly type?: string;
207
268
  }
208
269
 
209
- /**
210
- * The Private Endpoint Connection resource.
211
- */
212
- export interface PrivateEndpointConnection extends Resource {
213
- /**
214
- * Resource properties.
215
- */
216
- properties?: PrivateEndpointConnectionProperties;
217
- }
218
-
219
- /**
220
- * The api properties for special APIs.
221
- */
222
- export interface CognitiveServicesAccountApiProperties {
223
- /**
224
- * (QnAMaker Only) The runtime endpoint of QnAMaker.
225
- */
270
+ /** The api properties for special APIs. */
271
+ export interface ApiProperties {
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. */
226
275
  qnaRuntimeEndpoint?: string;
227
- /**
228
- * (Bing Search Only) The flag to enable statistics of Bing Search.
229
- */
276
+ /** (QnAMaker Only) The Azure Search endpoint key of QnAMaker. */
277
+ qnaAzureSearchEndpointKey?: string;
278
+ /** (QnAMaker Only) The Azure Search endpoint id of QnAMaker. */
279
+ qnaAzureSearchEndpointId?: string;
280
+ /** (Bing Search Only) The flag to enable statistics of Bing Search. */
230
281
  statisticsEnabled?: boolean;
231
- /**
232
- * (Personalization Only) The flag to enable statistics of Bing Search.
233
- */
282
+ /** (Personalization Only) The flag to enable statistics of Bing Search. */
234
283
  eventHubConnectionString?: string;
235
- /**
236
- * (Personalization Only) The storage account connection string.
237
- */
284
+ /** (Personalization Only) The storage account connection string. */
238
285
  storageAccountConnectionString?: string;
286
+ /** (Metrics Advisor Only) The Azure AD Client Id (Application Id). */
287
+ aadClientId?: string;
288
+ /** (Metrics Advisor Only) The Azure AD Tenant Id. */
289
+ aadTenantId?: string;
290
+ /** (Metrics Advisor Only) The super user of Metrics Advisor. */
291
+ superUser?: string;
292
+ /** (Metrics Advisor Only) The website name of Metrics Advisor. */
293
+ websiteName?: string;
239
294
  }
240
295
 
241
- /**
242
- * Properties of Cognitive Services account.
243
- */
244
- export interface CognitiveServicesAccountProperties {
245
- /**
246
- * Gets the status of the cognitive services account at the time the operation was called.
247
- * Possible values include: 'Creating', 'ResolvingDNS', 'Moving', 'Deleting', 'Succeeded',
248
- * 'Failed'
249
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
250
- */
251
- readonly provisioningState?: ProvisioningState;
252
- /**
253
- * Endpoint of the created account.
254
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
255
- */
256
- readonly endpoint?: string;
257
- /**
258
- * The internal identifier.
259
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
260
- */
261
- readonly internalId?: string;
262
- /**
263
- * Gets the capabilities of the cognitive services account. Each item indicates the capability of
264
- * a specific feature. The values are read-only and for reference only.
265
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
266
- */
267
- readonly capabilities?: SkuCapability[];
268
- /**
269
- * Optional subdomain name used for token-based authentication.
270
- */
271
- customSubDomainName?: string;
272
- /**
273
- * A collection of rules governing the accessibility from specific network locations.
274
- */
275
- networkAcls?: NetworkRuleSet;
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[];
303
+ }
304
+
305
+ export interface ThrottlingRule {
306
+ key?: string;
307
+ renewalPeriod?: number;
308
+ count?: number;
309
+ minCount?: number;
310
+ dynamicThrottlingEnabled?: boolean;
311
+ matchPatterns?: RequestMatchPattern[];
312
+ }
313
+
314
+ export interface RequestMatchPattern {
315
+ path?: string;
316
+ method?: string;
317
+ }
318
+
319
+ export interface QuotaLimit {
320
+ count?: number;
321
+ renewalPeriod?: number;
322
+ rules?: ThrottlingRule[];
323
+ }
324
+
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;
329
+ }
330
+
331
+ /** The error detail. */
332
+ export interface ErrorDetail {
276
333
  /**
277
- * The encryption properties for this resource.
334
+ * The error code.
335
+ * NOTE: This property will not be serialized. It can only be populated by the server.
278
336
  */
279
- encryption?: Encryption;
337
+ readonly code?: string;
280
338
  /**
281
- * The storage accounts for this resource.
339
+ * The error message.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
282
341
  */
283
- userOwnedStorage?: UserOwnedStorage[];
342
+ readonly message?: string;
284
343
  /**
285
- * The private endpoint connection associated with the Cognitive Services account.
344
+ * The error target.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
346
  */
287
- privateEndpointConnections?: PrivateEndpointConnection[];
347
+ readonly target?: string;
288
348
  /**
289
- * Whether or not public endpoint access is allowed for this account. Value is optional but if
290
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
349
+ * The error details.
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
351
  */
292
- publicNetworkAccess?: PublicNetworkAccess;
352
+ readonly details?: ErrorDetail[];
293
353
  /**
294
- * The api properties for special APIs.
354
+ * The error additional info.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
295
356
  */
296
- apiProperties?: CognitiveServicesAccountApiProperties;
357
+ readonly additionalInfo?: ErrorAdditionalInfo[];
297
358
  }
298
359
 
299
- /**
300
- * User-assigned managed identity.
301
- */
302
- export interface UserAssignedIdentity {
360
+ /** The resource management error additional info. */
361
+ export interface ErrorAdditionalInfo {
303
362
  /**
304
- * Azure Active Directory principal ID associated with this Identity.
363
+ * The additional info type.
364
+ * NOTE: This property will not be serialized. It can only be populated by the server.
305
365
  */
306
- principalId?: string;
366
+ readonly type?: string;
307
367
  /**
308
- * Client App Id associated with this identity.
368
+ * The additional info.
369
+ * NOTE: This property will not be serialized. It can only be populated by the server.
309
370
  */
310
- clientId?: string;
371
+ readonly info?: Record<string, unknown>;
311
372
  }
312
373
 
313
- /**
314
- * Managed service identity.
315
- */
316
- export interface Identity {
317
- /**
318
- * Type of managed service identity. Possible values include: 'None', 'SystemAssigned',
319
- * 'UserAssigned'
320
- */
321
- type?: IdentityType;
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;
322
378
  /**
323
- * Tenant of managed service identity.
324
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
325
381
  */
326
- readonly tenantId?: string;
382
+ readonly value?: Account[];
383
+ }
384
+
385
+ /** The access keys for the cognitive services account. */
386
+ export interface ApiKeys {
387
+ /** Gets the value of key 1. */
388
+ key1?: string;
389
+ /** Gets the value of key 2. */
390
+ key2?: string;
391
+ }
392
+
393
+ /** Regenerate key parameters. */
394
+ export interface RegenerateKeyParameters {
395
+ /** key name to generate (Key1|Key2) */
396
+ keyName: KeyName;
397
+ }
398
+
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. */
410
+ resourceType?: string;
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[];
421
+ }
422
+
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. */
443
+ export interface AccountSkuListResult {
444
+ /** Gets the list of Cognitive Services accounts and their properties. */
445
+ value?: AccountSku[];
446
+ }
447
+
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. */
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 {
327
490
  /**
328
- * Principal Id of managed service identity.
329
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
330
493
  */
331
- readonly principalId?: string;
494
+ readonly value?: Operation[];
332
495
  /**
333
- * The list of user assigned identities associated with the resource. The user identity
334
- * dictionary key references will be ARM resource ids in the form:
335
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
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.
336
498
  */
337
- userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
499
+ readonly nextLink?: string;
338
500
  }
339
501
 
340
- /**
341
- * Cognitive Services Account is an Azure resource representing the provisioned account, its type,
342
- * location and SKU.
343
- */
344
- export interface CognitiveServicesAccount extends BaseResource {
502
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
503
+ export interface Operation {
345
504
  /**
346
- * Entity Tag
347
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
348
507
  */
349
- readonly etag?: string;
508
+ readonly name?: string;
350
509
  /**
351
- * The id of the created account
352
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
353
512
  */
354
- readonly id?: string;
513
+ readonly isDataAction?: boolean;
514
+ /** Localized display information for this particular operation. */
515
+ display?: OperationDisplay;
355
516
  /**
356
- * The Kind of the resource.
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.
357
519
  */
358
- kind?: string;
520
+ readonly origin?: Origin;
359
521
  /**
360
- * The location of the resource
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.
361
524
  */
362
- location?: string;
525
+ readonly actionType?: ActionType;
526
+ }
527
+
528
+ /** Localized display information for this particular operation. */
529
+ export interface OperationDisplay {
363
530
  /**
364
- * The name of the created account
365
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
366
533
  */
367
- readonly name?: string;
534
+ readonly provider?: string;
368
535
  /**
369
- * Properties of Cognitive Services account.
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.
370
538
  */
371
- properties?: CognitiveServicesAccountProperties;
539
+ readonly resource?: string;
372
540
  /**
373
- * The SKU of Cognitive Services account.
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.
374
543
  */
375
- sku?: Sku;
544
+ readonly operation?: string;
376
545
  /**
377
- * Gets or sets a list of key value pairs that describe the resource. These tags can be used in
378
- * viewing and grouping this resource (across resource groups). A maximum of 15 tags can be
379
- * provided for a resource. Each tag must have a key no greater than 128 characters and value no
380
- * greater than 256 characters.
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.
381
548
  */
382
- tags?: { [propertyName: string]: string };
383
- /**
384
- * Resource type
385
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
386
- */
387
- readonly type?: string;
388
- /**
389
- * The identity of Cognitive Services account.
390
- */
391
- identity?: Identity;
549
+ readonly description?: string;
392
550
  }
393
551
 
394
- /**
395
- * The access keys for the cognitive services account.
396
- */
397
- export interface CognitiveServicesAccountKeys {
398
- /**
399
- * Gets the value of key 1.
400
- */
401
- key1?: string;
402
- /**
403
- * Gets the value of key 2.
404
- */
405
- key2?: string;
552
+ /** Check SKU availability parameter. */
553
+ export interface CheckSkuAvailabilityParameter {
554
+ /** The SKU of the resource. */
555
+ skus: string[];
556
+ /** The Kind of the resource. */
557
+ kind: string;
558
+ /** The Type of the resource. */
559
+ type: string;
406
560
  }
407
561
 
408
- /**
409
- * Regenerate key parameters.
410
- */
411
- export interface RegenerateKeyParameters {
412
- /**
413
- * key name to generate (Key1|Key2). Possible values include: 'Key1', 'Key2'
414
- */
415
- keyName: KeyName;
562
+ /** Check SKU availability result list. */
563
+ export interface SkuAvailabilityListResult {
564
+ /** Check SKU availability result list. */
565
+ value?: SkuAvailability[];
416
566
  }
417
567
 
418
- /**
419
- * Cognitive Services resource type and SKU.
420
- */
421
- export interface CognitiveServicesResourceAndSku {
422
- /**
423
- * Resource Namespace and Type
424
- */
425
- resourceType?: string;
426
- /**
427
- * The SKU of Cognitive Services account.
428
- */
429
- sku?: Sku;
568
+ /** SKU availability. */
569
+ export interface SkuAvailability {
570
+ /** The Kind of the resource. */
571
+ kind?: string;
572
+ /** The Type of the resource. */
573
+ type?: string;
574
+ /** The SKU of Cognitive Services account. */
575
+ skuName?: string;
576
+ /** Indicates the given SKU is available or not. */
577
+ skuAvailable?: boolean;
578
+ /** Reason why the SKU is not available. */
579
+ reason?: string;
580
+ /** Additional error message. */
581
+ message?: string;
430
582
  }
431
583
 
432
- /**
433
- * The list of cognitive services accounts operation response.
434
- */
435
- export interface CognitiveServicesAccountEnumerateSkusResult {
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;
436
588
  /**
437
- * Gets the list of Cognitive Services accounts and their properties.
438
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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.
439
591
  */
440
- readonly value?: CognitiveServicesResourceAndSku[];
592
+ readonly value?: CommitmentTier[];
441
593
  }
442
594
 
443
- /**
444
- * A metric name.
445
- */
446
- export interface MetricName {
447
- /**
448
- * The name of the metric.
449
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
450
- */
451
- readonly value?: string;
452
- /**
453
- * The friendly name of the metric.
454
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
455
- */
456
- readonly localizedValue?: string;
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;
457
613
  }
458
614
 
459
- /**
460
- * The usage data for a usage request.
461
- */
462
- export interface Usage {
463
- /**
464
- * The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent',
465
- * 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
466
- */
467
- unit?: UnitType;
468
- /**
469
- * The name information for the metric.
470
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
471
- */
472
- readonly name?: MetricName;
473
- /**
474
- * The quota period used to summarize the usage values.
475
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
476
- */
477
- readonly quotaPeriod?: string;
478
- /**
479
- * Maximum value for this metric.
480
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
481
- */
482
- readonly limit?: number;
483
- /**
484
- * Current value for this metric.
485
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
486
- */
487
- readonly currentValue?: number;
488
- /**
489
- * Next reset time for current quota.
490
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
491
- */
492
- readonly nextResetTime?: string;
493
- /**
494
- * Cognitive Services account quota usage status. Possible values include: 'Included', 'Blocked',
495
- * 'InOverage', 'Unknown'
496
- */
497
- status?: QuotaUsageStatus;
615
+ /** Cognitive Services account commitment quota. */
616
+ export interface CommitmentQuota {
617
+ /** Commitment quota quantity. */
618
+ quantity?: number;
619
+ /** Commitment quota unit. */
620
+ unit?: string;
498
621
  }
499
622
 
500
- /**
501
- * The response to a list usage request.
502
- */
503
- export interface UsagesResult {
504
- /**
505
- * The list of usages for Cognitive Service account.
506
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
507
- */
508
- readonly value?: Usage[];
623
+ /** Cognitive Services account commitment cost. */
624
+ export interface CommitmentCost {
625
+ /** Commitment meter Id. */
626
+ commitmentMeterId?: string;
627
+ /** Overage meter Id. */
628
+ overageMeterId?: string;
509
629
  }
510
630
 
511
- /**
512
- * Cognitive Services error body.
513
- */
514
- export interface ErrorBody {
515
- /**
516
- * error code
517
- */
518
- code: string;
519
- /**
520
- * error message
521
- */
522
- message: string;
631
+ /** Check Domain availability parameter. */
632
+ export interface CheckDomainAvailabilityParameter {
633
+ /** The subdomain name to use. */
634
+ subdomainName: string;
635
+ /** The Type of the resource. */
636
+ type: string;
637
+ /** The Kind of the resource. */
638
+ kind?: string;
523
639
  }
524
640
 
525
- /**
526
- * Cognitive Services error object.
527
- */
528
- export interface ErrorModel {
529
- /**
530
- * The error body.
531
- */
532
- error?: ErrorBody;
641
+ /** Domain availability. */
642
+ export interface DomainAvailability {
643
+ /** Indicates the given SKU is available or not. */
644
+ isSubdomainAvailable?: boolean;
645
+ /** Reason why the SKU is not available. */
646
+ reason?: string;
647
+ /** The subdomain name to use. */
648
+ subdomainName?: string;
649
+ /** The Type of the resource. */
650
+ type?: string;
651
+ /** The Kind of the resource. */
652
+ kind?: string;
533
653
  }
534
654
 
535
- /**
536
- * The operation supported by Cognitive Services.
537
- */
538
- export interface OperationDisplayInfo {
655
+ /** A list of private endpoint connections */
656
+ export interface PrivateEndpointConnectionListResult {
657
+ /** Array of private endpoint connections */
658
+ value?: PrivateEndpointConnection[];
659
+ }
660
+
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. */
668
+ export interface PrivateLinkResourceProperties {
539
669
  /**
540
- * The description of the operation.
670
+ * The private link resource group id.
671
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
672
  */
542
- description?: string;
673
+ readonly groupId?: string;
543
674
  /**
544
- * The action that users can perform, based on their permission level.
675
+ * The private link resource required member names.
676
+ * NOTE: This property will not be serialized. It can only be populated by the server.
545
677
  */
546
- operation?: string;
678
+ readonly requiredMembers?: string[];
679
+ /** The private link resource Private link DNS zone name. */
680
+ requiredZoneNames?: string[];
547
681
  /**
548
- * Service provider: Microsoft Cognitive Services.
682
+ * The private link resource display name.
683
+ * NOTE: This property will not be serialized. It can only be populated by the server.
549
684
  */
550
- provider?: string;
685
+ readonly displayName?: string;
686
+ }
687
+
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;
551
692
  /**
552
- * Resource on which the operation is performed.
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.
553
695
  */
554
- resource?: string;
696
+ readonly value?: Deployment[];
555
697
  }
556
698
 
557
- /**
558
- * The operation supported by Cognitive Services.
559
- */
560
- export interface OperationEntity {
699
+ /** Properties of Cognitive Services account deployment. */
700
+ export interface DeploymentProperties {
561
701
  /**
562
- * Operation name: {provider}/{resource}/{operation}.
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.
563
704
  */
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;
710
+ }
711
+
712
+ /** Properties of Cognitive Services account deployment model. */
713
+ export interface DeploymentModel {
714
+ /** Deployment model format. */
715
+ format?: string;
716
+ /** Deployment model name. */
564
717
  name?: string;
718
+ /** Deployment model version. */
719
+ version?: string;
720
+ }
721
+
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;
728
+ }
729
+
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;
565
734
  /**
566
- * The operation supported by Cognitive Services.
567
- */
568
- display?: OperationDisplayInfo;
569
- /**
570
- * The origin of the operation.
571
- */
572
- origin?: string;
573
- /**
574
- * Additional properties.
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.
575
737
  */
576
- properties?: any;
738
+ readonly value?: CommitmentPlan[];
577
739
  }
578
740
 
579
- /**
580
- * Check SKU availability parameter.
581
- */
582
- export interface CheckSkuAvailabilityParameter {
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;
583
766
  /**
584
- * The SKU of the resource.
767
+ * Cognitive Services account commitment quota.
768
+ * NOTE: This property will not be serialized. It can only be populated by the server.
585
769
  */
586
- skus: string[];
770
+ readonly quota?: CommitmentQuota;
587
771
  /**
588
- * The Kind of the resource.
772
+ * Commitment period start date.
773
+ * NOTE: This property will not be serialized. It can only be populated by the server.
589
774
  */
590
- kind: string;
775
+ readonly startDate?: string;
591
776
  /**
592
- * The Type of the resource.
777
+ * Commitment period end date.
778
+ * NOTE: This property will not be serialized. It can only be populated by the server.
593
779
  */
594
- type: string;
780
+ readonly endDate?: string;
595
781
  }
596
782
 
597
- /**
598
- * Check SKU availability result.
599
- */
600
- export interface CheckSkuAvailabilityResult {
783
+ /** The resource model definition for an Azure Resource Manager resource with an etag. */
784
+ export type AzureEntityResource = Resource & {
601
785
  /**
602
- * The Kind of the resource.
786
+ * Resource Etag.
787
+ * NOTE: This property will not be serialized. It can only be populated by the server.
603
788
  */
789
+ readonly etag?: string;
790
+ };
791
+
792
+ /** A private link resource */
793
+ export type PrivateLinkResource = Resource & {
794
+ /** Resource properties. */
795
+ properties?: PrivateLinkResourceProperties;
796
+ };
797
+
798
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
799
+ export type ProxyResource = Resource & {};
800
+
801
+ /** The Private Endpoint Connection resource. */
802
+ export type PrivateEndpointConnection = AzureEntityResource & {
803
+ /** Resource properties. */
804
+ properties?: PrivateEndpointConnectionProperties;
805
+ /**
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.
808
+ */
809
+ readonly systemData?: SystemData;
810
+ /** The location of the private endpoint connection */
811
+ location?: string;
812
+ };
813
+
814
+ /** Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU. */
815
+ export type Account = AzureEntityResource & {
816
+ /** The Kind of the resource. */
604
817
  kind?: string;
818
+ /** The resource model definition representing SKU */
819
+ sku?: Sku;
820
+ /** Identity for the resource. */
821
+ identity?: Identity;
605
822
  /**
606
- * The Type of the resource.
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.
607
825
  */
608
- type?: 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 & {
609
837
  /**
610
- * The SKU of Cognitive Services account.
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.
611
840
  */
612
- skuName?: string;
841
+ readonly systemData?: SystemData;
613
842
  /**
614
- * Indicates the given SKU is available or not.
843
+ * Resource Etag.
844
+ * NOTE: This property will not be serialized. It can only be populated by the server.
615
845
  */
616
- skuAvailable?: boolean;
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 & {
617
853
  /**
618
- * Reason why the SKU is not available.
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.
619
856
  */
620
- reason?: string;
857
+ readonly systemData?: SystemData;
621
858
  /**
622
- * Additional error message.
859
+ * Resource Etag.
860
+ * NOTE: This property will not be serialized. It can only be populated by the server.
623
861
  */
624
- message?: string;
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"
625
874
  }
626
875
 
627
876
  /**
628
- * Check SKU availability result list.
629
- */
630
- export interface CheckSkuAvailabilityResultList {
631
- /**
632
- * Check SKU availability result list.
633
- */
634
- value?: CheckSkuAvailabilityResult[];
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"
635
895
  }
636
896
 
637
897
  /**
638
- * Check Domain availability parameter.
639
- */
640
- export interface CheckDomainAvailabilityParameter {
641
- /**
642
- * The subdomain name to use.
643
- */
644
- subdomainName: string;
645
- /**
646
- * The Type of the resource.
647
- */
648
- type: 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"
649
918
  }
650
919
 
651
920
  /**
652
- * Check Domain availability result.
653
- */
654
- export interface CheckDomainAvailabilityResult {
655
- /**
656
- * Indicates the given SKU is available or not.
657
- */
658
- isSubdomainAvailable?: boolean;
659
- /**
660
- * Reason why the SKU is not available.
661
- */
662
- reason?: string;
663
- /**
664
- * The subdomain name to use.
665
- */
666
- subdomainName?: string;
667
- /**
668
- * The Type of the resource.
669
- */
670
- type?: 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"
671
939
  }
672
940
 
673
941
  /**
674
- * An interface representing ResourceSkuRestrictionInfo.
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**
675
948
  */
676
- export interface ResourceSkuRestrictionInfo {
677
- /**
678
- * Locations where the SKU is restricted
679
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
680
- */
681
- readonly locations?: string[];
682
- /**
683
- * List of availability zones where the SKU is restricted.
684
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
685
- */
686
- readonly zones?: 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"
687
955
  }
688
956
 
689
957
  /**
690
- * Describes restrictions of a SKU.
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**
691
964
  */
692
- export interface ResourceSkuRestrictions {
693
- /**
694
- * The type of restrictions. Possible values include: 'Location', 'Zone'
695
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
696
- */
697
- readonly type?: ResourceSkuRestrictionsType;
698
- /**
699
- * The value of restrictions. If the restriction type is set to location. This would be different
700
- * locations where the SKU is restricted.
701
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
702
- */
703
- readonly values?: string[];
704
- /**
705
- * The information about the restriction where the SKU cannot be used.
706
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
707
- */
708
- readonly restrictionInfo?: ResourceSkuRestrictionInfo;
709
- /**
710
- * The reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
711
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
712
- */
713
- readonly reasonCode?: ResourceSkuRestrictionsReasonCode;
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"
714
972
  }
715
973
 
716
974
  /**
717
- * Describes an available Cognitive Services SKU.
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**
718
982
  */
719
- export interface ResourceSku {
720
- /**
721
- * The type of resource the SKU applies to.
722
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
723
- */
724
- readonly resourceType?: string;
725
- /**
726
- * The name of SKU.
727
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
728
- */
729
- readonly name?: string;
730
- /**
731
- * Specifies the tier of Cognitive Services account.
732
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
733
- */
734
- readonly tier?: string;
735
- /**
736
- * The Kind of resources that are supported in this SKU.
737
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
738
- */
739
- readonly kind?: string;
740
- /**
741
- * The set of locations that the SKU is available.
742
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
743
- */
744
- readonly locations?: string[];
745
- /**
746
- * The restrictions because of which SKU cannot be used. This is empty if there are no
747
- * restrictions.
748
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
749
- */
750
- readonly restrictions?: ResourceSkuRestrictions[];
983
+ export type PrivateEndpointServiceConnectionStatus = string;
984
+
985
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
986
+ export enum KnownPrivateEndpointConnectionProvisioningState {
987
+ Succeeded = "Succeeded",
988
+ Creating = "Creating",
989
+ Deleting = "Deleting",
990
+ Failed = "Failed"
751
991
  }
752
992
 
753
993
  /**
754
- * Properties of a private link resource.
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**
755
1002
  */
756
- export interface PrivateLinkResourceProperties {
757
- /**
758
- * The private link resource group id.
759
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
760
- */
761
- readonly groupId?: string;
762
- /**
763
- * The private link resource display name.
764
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
765
- */
766
- readonly displayName?: string;
767
- /**
768
- * The private link resource required member names.
769
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
770
- */
771
- readonly requiredMembers?: string[];
772
- /**
773
- * The private link resource Private link DNS zone name.
774
- */
775
- requiredZoneNames?: string[];
1003
+ export type PrivateEndpointConnectionProvisioningState = string;
1004
+
1005
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1006
+ export enum KnownPublicNetworkAccess {
1007
+ Enabled = "Enabled",
1008
+ Disabled = "Disabled"
776
1009
  }
777
1010
 
778
1011
  /**
779
- * A private link resource
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**
780
1018
  */
781
- export interface PrivateLinkResource extends Resource {
782
- /**
783
- * Resource properties.
784
- */
785
- properties?: PrivateLinkResourceProperties;
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"
786
1025
  }
787
1026
 
788
1027
  /**
789
- * A list of private link resources
790
- */
791
- export interface PrivateLinkResourceListResult {
792
- /**
793
- * Array of private link resources
794
- */
795
- value?: PrivateLinkResource[];
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"
796
1046
  }
797
1047
 
798
1048
  /**
799
- * The resource model definition for a ARM proxy resource. It will have everything other than
800
- * required location and tags
801
- */
802
- export interface ProxyResource extends Resource {
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"
803
1069
  }
804
1070
 
805
1071
  /**
806
- * The resource model definition for a ARM tracked top level resource
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**
807
1080
  */
808
- export interface TrackedResource extends Resource {
809
- /**
810
- * Resource tags.
811
- */
812
- tags?: { [propertyName: string]: string };
813
- /**
814
- * The geo-location where the resource lives
815
- */
816
- location: string;
1081
+ export type QuotaUsageStatus = string;
1082
+
1083
+ /** Known values of {@link Origin} that the service accepts. */
1084
+ export enum KnownOrigin {
1085
+ User = "user",
1086
+ System = "system",
1087
+ UserSystem = "user,system"
817
1088
  }
818
1089
 
819
1090
  /**
820
- * The resource model definition for a Azure Resource Manager resource with an etag.
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**
821
1098
  */
822
- export interface AzureEntityResource extends Resource {
823
- /**
824
- * Resource Etag.
825
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
826
- */
827
- readonly etag?: string;
1099
+ export type Origin = string;
1100
+
1101
+ /** Known values of {@link ActionType} that the service accepts. */
1102
+ export enum KnownActionType {
1103
+ Internal = "Internal"
828
1104
  }
829
1105
 
830
1106
  /**
831
- * Optional Parameters.
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**
832
1112
  */
833
- export interface AccountsGetUsagesOptionalParams extends msRest.RequestOptionsBase {
834
- /**
835
- * An OData filter expression that describes a subset of usages to return. The supported
836
- * parameter is name.value (name of the metric, can have an or of multiple names).
837
- */
838
- filter?: string;
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"
839
1120
  }
840
1121
 
841
1122
  /**
842
- * An interface representing CognitiveServicesManagementClientOptions.
843
- */
844
- export interface CognitiveServicesManagementClientOptions extends AzureServiceClientOptions {
845
- baseUri?: string;
1123
+ * Defines values for HostingModel. \
1124
+ * {@link KnownHostingModel} can be used interchangeably with HostingModel,
1125
+ * this enum contains the known values that the service supports.
1126
+ * ### Known values supported by the service
1127
+ * **Web** \
1128
+ * **ConnectedContainer** \
1129
+ * **DisconnectedContainer**
1130
+ */
1131
+ export type HostingModel = string;
1132
+
1133
+ /** Known values of {@link DeploymentProvisioningState} that the service accepts. */
1134
+ export enum KnownDeploymentProvisioningState {
1135
+ Accepted = "Accepted",
1136
+ Creating = "Creating",
1137
+ Deleting = "Deleting",
1138
+ Moving = "Moving",
1139
+ Failed = "Failed",
1140
+ Succeeded = "Succeeded"
846
1141
  }
847
1142
 
848
1143
  /**
849
- * @interface
850
- * The list of cognitive services accounts operation response.
851
- * @extends Array<CognitiveServicesAccount>
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**
852
1154
  */
853
- export interface CognitiveServicesAccountListResult extends Array<CognitiveServicesAccount> {
854
- /**
855
- * The link used to get the next page of accounts.
856
- */
857
- nextLink?: string;
1155
+ export type DeploymentProvisioningState = string;
1156
+
1157
+ /** Known values of {@link DeploymentScaleType} that the service accepts. */
1158
+ export enum KnownDeploymentScaleType {
1159
+ Manual = "Manual"
858
1160
  }
859
1161
 
860
1162
  /**
861
- * @interface
862
- * The Get Skus operation response.
863
- * @extends Array<ResourceSku>
864
- */
865
- export interface ResourceSkusResult extends Array<ResourceSku> {
866
- /**
867
- * The uri to fetch the next page of Skus.
868
- */
869
- nextLink?: 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**
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. */
1179
+ export type ResourceSkuRestrictionsType = "Location" | "Zone";
1180
+
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;
870
1188
  }
871
1189
 
872
- /**
873
- * @interface
874
- * The list of cognitive services accounts operation response.
875
- * @extends Array<OperationEntity>
876
- */
877
- export interface OperationEntityListResult extends Array<OperationEntity> {
878
- /**
879
- * The link used to get the next page of operations.
880
- */
881
- nextLink?: string;
1190
+ /** Contains response data for the create operation. */
1191
+ export type AccountsCreateResponse = Account;
1192
+
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;
882
1200
  }
883
1201
 
884
- /**
885
- * Defines values for SkuTier.
886
- * Possible values include: 'Free', 'Standard', 'Premium'
887
- * @readonly
888
- * @enum {string}
889
- */
890
- export type SkuTier = 'Free' | 'Standard' | 'Premium';
1202
+ /** Contains response data for the update operation. */
1203
+ export type AccountsUpdateResponse = Account;
891
1204
 
892
- /**
893
- * Defines values for ProvisioningState.
894
- * Possible values include: 'Creating', 'ResolvingDNS', 'Moving', 'Deleting', 'Succeeded', 'Failed'
895
- * @readonly
896
- * @enum {string}
897
- */
898
- export type ProvisioningState = 'Creating' | 'ResolvingDNS' | 'Moving' | 'Deleting' | 'Succeeded' | 'Failed';
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
+ }
899
1213
 
900
- /**
901
- * Defines values for NetworkRuleAction.
902
- * Possible values include: 'Allow', 'Deny'
903
- * @readonly
904
- * @enum {string}
905
- */
906
- export type NetworkRuleAction = 'Allow' | 'Deny';
1214
+ /** Optional parameters. */
1215
+ export interface AccountsGetOptionalParams
1216
+ extends coreClient.OperationOptions {}
907
1217
 
908
- /**
909
- * Defines values for KeySource.
910
- * Possible values include: 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'
911
- * @readonly
912
- * @enum {string}
913
- */
914
- export type KeySource = 'Microsoft.CognitiveServices' | 'Microsoft.KeyVault';
1218
+ /** Contains response data for the get operation. */
1219
+ export type AccountsGetResponse = Account;
915
1220
 
916
- /**
917
- * Defines values for PrivateEndpointServiceConnectionStatus.
918
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
919
- * @readonly
920
- * @enum {string}
921
- */
922
- export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
1221
+ /** Optional parameters. */
1222
+ export interface AccountsListByResourceGroupOptionalParams
1223
+ extends coreClient.OperationOptions {}
923
1224
 
924
- /**
925
- * Defines values for PublicNetworkAccess.
926
- * Possible values include: 'Enabled', 'Disabled'
927
- * @readonly
928
- * @enum {string}
929
- */
930
- export type PublicNetworkAccess = 'Enabled' | 'Disabled';
1225
+ /** Contains response data for the listByResourceGroup operation. */
1226
+ export type AccountsListByResourceGroupResponse = AccountListResult;
931
1227
 
932
- /**
933
- * Defines values for IdentityType.
934
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
935
- * @readonly
936
- * @enum {string}
937
- */
938
- export type IdentityType = 'None' | 'SystemAssigned' | 'UserAssigned';
1228
+ /** Optional parameters. */
1229
+ export interface AccountsListOptionalParams
1230
+ extends coreClient.OperationOptions {}
939
1231
 
940
- /**
941
- * Defines values for KeyName.
942
- * Possible values include: 'Key1', 'Key2'
943
- * @readonly
944
- * @enum {string}
945
- */
946
- export type KeyName = 'Key1' | 'Key2';
1232
+ /** Contains response data for the list operation. */
1233
+ export type AccountsListResponse = AccountListResult;
947
1234
 
948
- /**
949
- * Defines values for UnitType.
950
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
951
- * 'BytesPerSecond', 'Milliseconds'
952
- * @readonly
953
- * @enum {string}
954
- */
955
- export type UnitType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond' | 'Milliseconds';
1235
+ /** Optional parameters. */
1236
+ export interface AccountsListKeysOptionalParams
1237
+ extends coreClient.OperationOptions {}
956
1238
 
957
- /**
958
- * Defines values for QuotaUsageStatus.
959
- * Possible values include: 'Included', 'Blocked', 'InOverage', 'Unknown'
960
- * @readonly
961
- * @enum {string}
962
- */
963
- export type QuotaUsageStatus = 'Included' | 'Blocked' | 'InOverage' | 'Unknown';
1239
+ /** Contains response data for the listKeys operation. */
1240
+ export type AccountsListKeysResponse = ApiKeys;
964
1241
 
965
- /**
966
- * Defines values for ResourceSkuRestrictionsType.
967
- * Possible values include: 'Location', 'Zone'
968
- * @readonly
969
- * @enum {string}
970
- */
971
- export type ResourceSkuRestrictionsType = 'Location' | 'Zone';
1242
+ /** Optional parameters. */
1243
+ export interface AccountsRegenerateKeyOptionalParams
1244
+ extends coreClient.OperationOptions {}
972
1245
 
973
- /**
974
- * Defines values for ResourceSkuRestrictionsReasonCode.
975
- * Possible values include: 'QuotaId', 'NotAvailableForSubscription'
976
- * @readonly
977
- * @enum {string}
978
- */
979
- export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription';
1246
+ /** Contains response data for the regenerateKey operation. */
1247
+ export type AccountsRegenerateKeyResponse = ApiKeys;
980
1248
 
981
- /**
982
- * Contains response data for the create operation.
983
- */
984
- export type AccountsCreateResponse = CognitiveServicesAccount & {
985
- /**
986
- * The underlying HTTP response.
987
- */
988
- _response: msRest.HttpResponse & {
989
- /**
990
- * The response body as text (string format)
991
- */
992
- bodyAsText: string;
993
-
994
- /**
995
- * The response body as parsed JSON or XML
996
- */
997
- parsedBody: CognitiveServicesAccount;
998
- };
999
- };
1249
+ /** Optional parameters. */
1250
+ export interface AccountsListSkusOptionalParams
1251
+ extends coreClient.OperationOptions {}
1000
1252
 
1001
- /**
1002
- * Contains response data for the update operation.
1003
- */
1004
- export type AccountsUpdateResponse = CognitiveServicesAccount & {
1005
- /**
1006
- * The underlying HTTP response.
1007
- */
1008
- _response: msRest.HttpResponse & {
1009
- /**
1010
- * The response body as text (string format)
1011
- */
1012
- bodyAsText: string;
1013
-
1014
- /**
1015
- * The response body as parsed JSON or XML
1016
- */
1017
- parsedBody: CognitiveServicesAccount;
1018
- };
1019
- };
1253
+ /** Contains response data for the listSkus operation. */
1254
+ export type AccountsListSkusResponse = AccountSkuListResult;
1020
1255
 
1021
- /**
1022
- * Contains response data for the getProperties operation.
1023
- */
1024
- export type AccountsGetPropertiesResponse = CognitiveServicesAccount & {
1025
- /**
1026
- * The underlying HTTP response.
1027
- */
1028
- _response: msRest.HttpResponse & {
1029
- /**
1030
- * The response body as text (string format)
1031
- */
1032
- bodyAsText: string;
1033
-
1034
- /**
1035
- * The response body as parsed JSON or XML
1036
- */
1037
- parsedBody: CognitiveServicesAccount;
1038
- };
1039
- };
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
+ }
1040
1262
 
1041
- /**
1042
- * Contains response data for the listByResourceGroup operation.
1043
- */
1044
- export type AccountsListByResourceGroupResponse = CognitiveServicesAccountListResult & {
1045
- /**
1046
- * The underlying HTTP response.
1047
- */
1048
- _response: msRest.HttpResponse & {
1049
- /**
1050
- * The response body as text (string format)
1051
- */
1052
- bodyAsText: string;
1053
-
1054
- /**
1055
- * The response body as parsed JSON or XML
1056
- */
1057
- parsedBody: CognitiveServicesAccountListResult;
1058
- };
1059
- };
1263
+ /** Contains response data for the listUsages operation. */
1264
+ export type AccountsListUsagesResponse = UsageListResult;
1060
1265
 
1061
- /**
1062
- * Contains response data for the list operation.
1063
- */
1064
- export type AccountsListResponse = CognitiveServicesAccountListResult & {
1065
- /**
1066
- * The underlying HTTP response.
1067
- */
1068
- _response: msRest.HttpResponse & {
1069
- /**
1070
- * The response body as text (string format)
1071
- */
1072
- bodyAsText: string;
1073
-
1074
- /**
1075
- * The response body as parsed JSON or XML
1076
- */
1077
- parsedBody: CognitiveServicesAccountListResult;
1078
- };
1079
- };
1266
+ /** Optional parameters. */
1267
+ export interface AccountsListByResourceGroupNextOptionalParams
1268
+ extends coreClient.OperationOptions {}
1080
1269
 
1081
- /**
1082
- * Contains response data for the listKeys operation.
1083
- */
1084
- export type AccountsListKeysResponse = CognitiveServicesAccountKeys & {
1085
- /**
1086
- * The underlying HTTP response.
1087
- */
1088
- _response: msRest.HttpResponse & {
1089
- /**
1090
- * The response body as text (string format)
1091
- */
1092
- bodyAsText: string;
1093
-
1094
- /**
1095
- * The response body as parsed JSON or XML
1096
- */
1097
- parsedBody: CognitiveServicesAccountKeys;
1098
- };
1099
- };
1270
+ /** Contains response data for the listByResourceGroupNext operation. */
1271
+ export type AccountsListByResourceGroupNextResponse = AccountListResult;
1100
1272
 
1101
- /**
1102
- * Contains response data for the regenerateKey operation.
1103
- */
1104
- export type AccountsRegenerateKeyResponse = CognitiveServicesAccountKeys & {
1105
- /**
1106
- * The underlying HTTP response.
1107
- */
1108
- _response: msRest.HttpResponse & {
1109
- /**
1110
- * The response body as text (string format)
1111
- */
1112
- bodyAsText: string;
1113
-
1114
- /**
1115
- * The response body as parsed JSON or XML
1116
- */
1117
- parsedBody: CognitiveServicesAccountKeys;
1118
- };
1119
- };
1273
+ /** Optional parameters. */
1274
+ export interface AccountsListNextOptionalParams
1275
+ extends coreClient.OperationOptions {}
1120
1276
 
1121
- /**
1122
- * Contains response data for the listSkus operation.
1123
- */
1124
- export type AccountsListSkusResponse = CognitiveServicesAccountEnumerateSkusResult & {
1125
- /**
1126
- * The underlying HTTP response.
1127
- */
1128
- _response: msRest.HttpResponse & {
1129
- /**
1130
- * The response body as text (string format)
1131
- */
1132
- bodyAsText: string;
1133
-
1134
- /**
1135
- * The response body as parsed JSON or XML
1136
- */
1137
- parsedBody: CognitiveServicesAccountEnumerateSkusResult;
1138
- };
1139
- };
1277
+ /** Contains response data for the listNext operation. */
1278
+ export type AccountsListNextResponse = AccountListResult;
1140
1279
 
1141
- /**
1142
- * Contains response data for the getUsages operation.
1143
- */
1144
- export type AccountsGetUsagesResponse = UsagesResult & {
1145
- /**
1146
- * The underlying HTTP response.
1147
- */
1148
- _response: msRest.HttpResponse & {
1149
- /**
1150
- * The response body as text (string format)
1151
- */
1152
- bodyAsText: string;
1153
-
1154
- /**
1155
- * The response body as parsed JSON or XML
1156
- */
1157
- parsedBody: UsagesResult;
1158
- };
1159
- };
1280
+ /** Optional parameters. */
1281
+ export interface DeletedAccountsGetOptionalParams
1282
+ extends coreClient.OperationOptions {}
1160
1283
 
1161
- /**
1162
- * Contains response data for the listByResourceGroupNext operation.
1163
- */
1164
- export type AccountsListByResourceGroupNextResponse = CognitiveServicesAccountListResult & {
1165
- /**
1166
- * The underlying HTTP response.
1167
- */
1168
- _response: msRest.HttpResponse & {
1169
- /**
1170
- * The response body as text (string format)
1171
- */
1172
- bodyAsText: string;
1173
-
1174
- /**
1175
- * The response body as parsed JSON or XML
1176
- */
1177
- parsedBody: CognitiveServicesAccountListResult;
1178
- };
1179
- };
1284
+ /** Contains response data for the get operation. */
1285
+ export type DeletedAccountsGetResponse = Account;
1180
1286
 
1181
- /**
1182
- * Contains response data for the listNext operation.
1183
- */
1184
- export type AccountsListNextResponse = CognitiveServicesAccountListResult & {
1185
- /**
1186
- * The underlying HTTP response.
1187
- */
1188
- _response: msRest.HttpResponse & {
1189
- /**
1190
- * The response body as text (string format)
1191
- */
1192
- bodyAsText: string;
1193
-
1194
- /**
1195
- * The response body as parsed JSON or XML
1196
- */
1197
- parsedBody: CognitiveServicesAccountListResult;
1198
- };
1199
- };
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
+ }
1200
1295
 
1201
- /**
1202
- * Contains response data for the list operation.
1203
- */
1204
- export type ResourceSkusListResponse = ResourceSkusResult & {
1205
- /**
1206
- * The underlying HTTP response.
1207
- */
1208
- _response: msRest.HttpResponse & {
1209
- /**
1210
- * The response body as text (string format)
1211
- */
1212
- bodyAsText: string;
1213
-
1214
- /**
1215
- * The response body as parsed JSON or XML
1216
- */
1217
- parsedBody: ResourceSkusResult;
1218
- };
1219
- };
1296
+ /** Optional parameters. */
1297
+ export interface DeletedAccountsListOptionalParams
1298
+ extends coreClient.OperationOptions {}
1220
1299
 
1221
- /**
1222
- * Contains response data for the listNext operation.
1223
- */
1224
- export type ResourceSkusListNextResponse = ResourceSkusResult & {
1225
- /**
1226
- * The underlying HTTP response.
1227
- */
1228
- _response: msRest.HttpResponse & {
1229
- /**
1230
- * The response body as text (string format)
1231
- */
1232
- bodyAsText: string;
1233
-
1234
- /**
1235
- * The response body as parsed JSON or XML
1236
- */
1237
- parsedBody: ResourceSkusResult;
1238
- };
1239
- };
1300
+ /** Contains response data for the list operation. */
1301
+ export type DeletedAccountsListResponse = AccountListResult;
1240
1302
 
1241
- /**
1242
- * Contains response data for the list operation.
1243
- */
1244
- export type OperationsListResponse = OperationEntityListResult & {
1245
- /**
1246
- * The underlying HTTP response.
1247
- */
1248
- _response: msRest.HttpResponse & {
1249
- /**
1250
- * The response body as text (string format)
1251
- */
1252
- bodyAsText: string;
1253
-
1254
- /**
1255
- * The response body as parsed JSON or XML
1256
- */
1257
- parsedBody: OperationEntityListResult;
1258
- };
1259
- };
1303
+ /** Optional parameters. */
1304
+ export interface DeletedAccountsListNextOptionalParams
1305
+ extends coreClient.OperationOptions {}
1260
1306
 
1261
- /**
1262
- * Contains response data for the listNext operation.
1263
- */
1264
- export type OperationsListNextResponse = OperationEntityListResult & {
1265
- /**
1266
- * The underlying HTTP response.
1267
- */
1268
- _response: msRest.HttpResponse & {
1269
- /**
1270
- * The response body as text (string format)
1271
- */
1272
- bodyAsText: string;
1273
-
1274
- /**
1275
- * The response body as parsed JSON or XML
1276
- */
1277
- parsedBody: OperationEntityListResult;
1278
- };
1279
- };
1307
+ /** Contains response data for the listNext operation. */
1308
+ export type DeletedAccountsListNextResponse = AccountListResult;
1280
1309
 
1281
- /**
1282
- * Contains response data for the checkSkuAvailability operation.
1283
- */
1284
- export type CheckSkuAvailabilityResponse = CheckSkuAvailabilityResultList & {
1285
- /**
1286
- * The underlying HTTP response.
1287
- */
1288
- _response: msRest.HttpResponse & {
1289
- /**
1290
- * The response body as text (string format)
1291
- */
1292
- bodyAsText: string;
1293
-
1294
- /**
1295
- * The response body as parsed JSON or XML
1296
- */
1297
- parsedBody: CheckSkuAvailabilityResultList;
1298
- };
1299
- };
1310
+ /** Optional parameters. */
1311
+ export interface ResourceSkusListOptionalParams
1312
+ extends coreClient.OperationOptions {}
1300
1313
 
1301
- /**
1302
- * Contains response data for the checkDomainAvailability operation.
1303
- */
1304
- export type CheckDomainAvailabilityResponse = CheckDomainAvailabilityResult & {
1305
- /**
1306
- * The underlying HTTP response.
1307
- */
1308
- _response: msRest.HttpResponse & {
1309
- /**
1310
- * The response body as text (string format)
1311
- */
1312
- bodyAsText: string;
1313
-
1314
- /**
1315
- * The response body as parsed JSON or XML
1316
- */
1317
- parsedBody: CheckDomainAvailabilityResult;
1318
- };
1319
- };
1314
+ /** Contains response data for the list operation. */
1315
+ export type ResourceSkusListResponse = ResourceSkuListResult;
1320
1316
 
1321
- /**
1322
- * Contains response data for the get operation.
1323
- */
1324
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1325
- /**
1326
- * The underlying HTTP response.
1327
- */
1328
- _response: msRest.HttpResponse & {
1329
- /**
1330
- * The response body as text (string format)
1331
- */
1332
- bodyAsText: string;
1333
-
1334
- /**
1335
- * The response body as parsed JSON or XML
1336
- */
1337
- parsedBody: PrivateEndpointConnection;
1338
- };
1339
- };
1317
+ /** Optional parameters. */
1318
+ export interface ResourceSkusListNextOptionalParams
1319
+ extends coreClient.OperationOptions {}
1340
1320
 
1341
- /**
1342
- * Contains response data for the createOrUpdate operation.
1343
- */
1344
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
1345
- /**
1346
- * The underlying HTTP response.
1347
- */
1348
- _response: msRest.HttpResponse & {
1349
- /**
1350
- * The response body as text (string format)
1351
- */
1352
- bodyAsText: string;
1353
-
1354
- /**
1355
- * The response body as parsed JSON or XML
1356
- */
1357
- parsedBody: PrivateEndpointConnection;
1358
- };
1359
- };
1321
+ /** Contains response data for the listNext operation. */
1322
+ export type ResourceSkusListNextResponse = ResourceSkuListResult;
1360
1323
 
1361
- /**
1362
- * Contains response data for the list operation.
1363
- */
1364
- export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & {
1365
- /**
1366
- * The underlying HTTP response.
1367
- */
1368
- _response: msRest.HttpResponse & {
1369
- /**
1370
- * The response body as text (string format)
1371
- */
1372
- bodyAsText: string;
1373
-
1374
- /**
1375
- * The response body as parsed JSON or XML
1376
- */
1377
- parsedBody: PrivateLinkResourceListResult;
1378
- };
1379
- };
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
+ }