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