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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -95
  4. package/dist/index.js +4800 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/cognitiveServicesManagementClient.d.ts +42 -0
  9. package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/cognitiveServicesManagementClient.js +133 -0
  11. package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1310 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +128 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +68 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1017 -713
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +26 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +199 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/accounts.d.ts +138 -0
  33. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  34. package/dist-esm/src/operations/accounts.js +628 -0
  35. package/dist-esm/src/operations/accounts.js.map +1 -0
  36. package/dist-esm/src/operations/commitmentPlans.d.ts +76 -0
  37. package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
  38. package/dist-esm/src/operations/commitmentPlans.js +293 -0
  39. package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
  40. package/dist-esm/src/operations/commitmentTiers.d.ts +35 -0
  41. package/dist-esm/src/operations/commitmentTiers.d.ts.map +1 -0
  42. package/dist-esm/src/operations/commitmentTiers.js +132 -0
  43. package/dist-esm/src/operations/commitmentTiers.js.map +1 -0
  44. package/dist-esm/src/operations/deletedAccounts.d.ts +57 -0
  45. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/deletedAccounts.js +232 -0
  47. package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/deployments.d.ts +81 -0
  49. package/dist-esm/src/operations/deployments.d.ts.map +1 -0
  50. package/dist-esm/src/operations/deployments.js +331 -0
  51. package/dist-esm/src/operations/deployments.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/dist-esm/src/operations/index.js +17 -0
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +70 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +271 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  69. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  70. package/dist-esm/src/operations/resourceSkus.js +124 -0
  71. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/accounts.d.ts +102 -0
  73. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  74. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
  75. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +51 -0
  77. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/commitmentPlans.js} +2 -9
  79. package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts +12 -0
  81. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/commitmentTiers.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/commitmentTiers.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +36 -0
  85. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  86. package/{src/models/resourceSkusMappers.ts → dist-esm/src/operationsInterfaces/deletedAccounts.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/deployments.d.ts +56 -0
  89. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  97. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
  101. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  105. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  112. package/dist-esm/test/cognitiveservices_examples.d.ts +4 -0
  113. package/dist-esm/test/cognitiveservices_examples.d.ts.map +1 -0
  114. package/dist-esm/test/cognitiveservices_examples.js +127 -0
  115. package/dist-esm/test/cognitiveservices_examples.js.map +1 -0
  116. package/package.json +65 -22
  117. package/review/arm-cognitiveservices.api.md +1150 -0
  118. package/rollup.config.js +181 -24
  119. package/src/cognitiveServicesManagementClient.ts +148 -172
  120. package/src/index.ts +12 -0
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +1122 -1415
  123. package/src/models/mappers.ts +1161 -835
  124. package/src/models/parameters.ts +159 -40
  125. package/src/operations/accounts.ts +587 -574
  126. package/src/operations/commitmentPlans.ts +394 -0
  127. package/src/operations/commitmentTiers.ts +158 -0
  128. package/src/operations/deletedAccounts.ts +197 -185
  129. package/src/operations/deployments.ts +464 -0
  130. package/src/operations/index.ts +4 -2
  131. package/src/operations/operations.ts +85 -85
  132. package/src/operations/privateEndpointConnections.ts +232 -202
  133. package/src/operations/privateLinkResources.ts +34 -62
  134. package/src/operations/resourceSkus.ts +90 -86
  135. package/src/operationsInterfaces/accounts.ts +195 -0
  136. package/src/operationsInterfaces/commitmentPlans.ts +93 -0
  137. package/src/operationsInterfaces/commitmentTiers.ts +24 -0
  138. package/src/operationsInterfaces/deletedAccounts.ts +68 -0
  139. package/src/operationsInterfaces/deployments.ts +109 -0
  140. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +5 -3
  141. package/src/operationsInterfaces/operations.ts +22 -0
  142. package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
  143. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  144. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  145. package/tsconfig.json +3 -3
  146. package/types/arm-cognitiveservices.d.ts +1860 -0
  147. package/types/tsdoc-metadata.json +11 -0
  148. package/dist/arm-cognitiveservices.js +0 -3385
  149. package/dist/arm-cognitiveservices.js.map +0 -1
  150. package/dist/arm-cognitiveservices.min.js +0 -1
  151. package/dist/arm-cognitiveservices.min.js.map +0 -1
  152. package/esm/cognitiveServicesManagementClient.d.ts +0 -77
  153. package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
  154. package/esm/cognitiveServicesManagementClient.js +0 -108
  155. package/esm/cognitiveServicesManagementClient.js.map +0 -1
  156. package/esm/cognitiveServicesManagementClientContext.d.ts +0 -22
  157. package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
  158. package/esm/cognitiveServicesManagementClientContext.js +0 -61
  159. package/esm/cognitiveServicesManagementClientContext.js.map +0 -1
  160. package/esm/models/accountsMappers.d.ts +0 -2
  161. package/esm/models/accountsMappers.d.ts.map +0 -1
  162. package/esm/models/accountsMappers.js +0 -9
  163. package/esm/models/accountsMappers.js.map +0 -1
  164. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  165. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  166. package/esm/models/deletedAccountsMappers.js +0 -9
  167. package/esm/models/deletedAccountsMappers.js.map +0 -1
  168. package/esm/models/index.d.ts +0 -1645
  169. package/esm/models/index.d.ts.map +0 -1
  170. package/esm/models/index.js.map +0 -1
  171. package/esm/models/mappers.d.ts +0 -58
  172. package/esm/models/mappers.d.ts.map +0 -1
  173. package/esm/models/mappers.js.map +0 -1
  174. package/esm/models/operationsMappers.d.ts +0 -2
  175. package/esm/models/operationsMappers.d.ts.map +0 -1
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -11
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -115
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  182. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  183. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  184. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  185. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  186. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  187. package/esm/models/privateLinkResourcesMappers.js +0 -9
  188. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  189. package/esm/models/resourceSkusMappers.d.ts +0 -2
  190. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  191. package/esm/models/resourceSkusMappers.js +0 -9
  192. package/esm/models/resourceSkusMappers.js.map +0 -1
  193. package/esm/operations/accounts.d.ts +0 -245
  194. package/esm/operations/accounts.d.ts.map +0 -1
  195. package/esm/operations/accounts.js +0 -389
  196. package/esm/operations/accounts.js.map +0 -1
  197. package/esm/operations/deletedAccounts.d.ts +0 -89
  198. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  199. package/esm/operations/deletedAccounts.js +0 -149
  200. package/esm/operations/deletedAccounts.js.map +0 -1
  201. package/esm/operations/index.d.ts.map +0 -1
  202. package/esm/operations/index.js.map +0 -1
  203. package/esm/operations/operations.d.ts +0 -46
  204. package/esm/operations/operations.d.ts.map +0 -1
  205. package/esm/operations/operations.js +0 -69
  206. package/esm/operations/operations.js.map +0 -1
  207. package/esm/operations/privateEndpointConnections.d.ts +0 -108
  208. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  209. package/esm/operations/privateEndpointConnections.js +0 -193
  210. package/esm/operations/privateEndpointConnections.js.map +0 -1
  211. package/esm/operations/privateLinkResources.d.ts +0 -34
  212. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  213. package/esm/operations/privateLinkResources.js +0 -49
  214. package/esm/operations/privateLinkResources.js.map +0 -1
  215. package/esm/operations/resourceSkus.d.ts +0 -46
  216. package/esm/operations/resourceSkus.d.ts.map +0 -1
  217. package/esm/operations/resourceSkus.js +0 -70
  218. package/esm/operations/resourceSkus.js.map +0 -1
  219. package/src/cognitiveServicesManagementClientContext.ts +0 -74
  220. package/src/models/accountsMappers.ts +0 -51
  221. package/src/models/deletedAccountsMappers.ts +0 -44
  222. package/src/models/privateEndpointConnectionsMappers.ts +0 -44
  223. package/src/models/privateLinkResourcesMappers.ts +0 -44
@@ -1,1645 +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 resource model definition representing SKU
6
- */
7
- export interface Sku {
8
- /**
9
- * The name of the SKU. Ex - P3. It is typically a letter+number code
10
- */
11
- name: string;
12
- /**
13
- * This field is required to be implemented by the Resource Provider if the service has more than
14
- * one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard',
15
- * 'Premium', 'Enterprise'
16
- */
17
- tier?: SkuTier;
18
- /**
19
- * The SKU size. When the name field is the combination of tier and some other value, this would
20
- * be the standalone code.
21
- */
22
- size?: string;
23
- /**
24
- * If the service has different generations of hardware, for the same SKU, then that can be
25
- * captured here.
26
- */
27
- family?: string;
28
- /**
29
- * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
30
- * is not possible for the resource this may be omitted.
31
- */
32
- capacity?: number;
33
- }
34
- /**
35
- * User-assigned managed identity.
36
- */
37
- export interface UserAssignedIdentity {
38
- /**
39
- * Azure Active Directory principal ID associated with this Identity.
40
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
41
- */
42
- readonly principalId?: string;
43
- /**
44
- * Client App Id associated with this identity.
45
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
46
- */
47
- readonly clientId?: string;
48
- }
49
- /**
50
- * Identity for the resource.
51
- */
52
- export interface Identity {
53
- /**
54
- * The identity type. Possible values include: 'None', 'SystemAssigned', 'UserAssigned',
55
- * 'SystemAssigned, UserAssigned'
56
- */
57
- type?: ResourceIdentityType;
58
- /**
59
- * The tenant ID of resource.
60
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
61
- */
62
- readonly tenantId?: string;
63
- /**
64
- * The principal ID of resource identity.
65
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
66
- */
67
- readonly principalId?: string;
68
- /**
69
- * The list of user assigned identities associated with the resource. The user identity
70
- * dictionary key references will be ARM resource ids in the form:
71
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
72
- */
73
- userAssignedIdentities?: {
74
- [propertyName: string]: UserAssignedIdentity;
75
- };
76
- }
77
- /**
78
- * Metadata pertaining to creation and last modification of the resource.
79
- */
80
- export interface SystemData {
81
- /**
82
- * The identity that created the resource.
83
- */
84
- createdBy?: string;
85
- /**
86
- * The type of identity that created the resource. Possible values include: 'User',
87
- * 'Application', 'ManagedIdentity', 'Key'
88
- */
89
- createdByType?: CreatedByType;
90
- /**
91
- * The timestamp of resource creation (UTC).
92
- */
93
- createdAt?: Date;
94
- /**
95
- * The identity that last modified the resource.
96
- */
97
- lastModifiedBy?: string;
98
- /**
99
- * The type of identity that last modified the resource. Possible values include: 'User',
100
- * 'Application', 'ManagedIdentity', 'Key'
101
- */
102
- lastModifiedByType?: CreatedByType;
103
- /**
104
- * The timestamp of resource last modification (UTC)
105
- */
106
- lastModifiedAt?: Date;
107
- }
108
- /**
109
- * SkuCapability indicates the capability of a certain feature.
110
- */
111
- export interface SkuCapability {
112
- /**
113
- * The name of the SkuCapability.
114
- */
115
- name?: string;
116
- /**
117
- * The value of the SkuCapability.
118
- */
119
- value?: string;
120
- }
121
- /**
122
- * Sku change info of account.
123
- */
124
- export interface SkuChangeInfo {
125
- /**
126
- * Gets the count of downgrades.
127
- */
128
- countOfDowngrades?: number;
129
- /**
130
- * Gets the count of upgrades after downgrades.
131
- */
132
- countOfUpgradesAfterDowngrades?: number;
133
- /**
134
- * Gets the last change date.
135
- */
136
- lastChangeDate?: string;
137
- }
138
- /**
139
- * A rule governing the accessibility from a specific ip address or ip range.
140
- */
141
- export interface IpRule {
142
- /**
143
- * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or
144
- * '124.56.78.0/24' (all addresses that start with 124.56.78).
145
- */
146
- value: string;
147
- }
148
- /**
149
- * A rule governing the accessibility from a specific virtual network.
150
- */
151
- export interface VirtualNetworkRule {
152
- /**
153
- * Full resource id of a vnet subnet, such as
154
- * '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
155
- */
156
- id: string;
157
- /**
158
- * Gets the state of virtual network rule.
159
- */
160
- state?: string;
161
- /**
162
- * Ignore missing vnet service endpoint or not.
163
- */
164
- ignoreMissingVnetServiceEndpoint?: boolean;
165
- }
166
- /**
167
- * A set of rules governing the network accessibility.
168
- */
169
- export interface NetworkRuleSet {
170
- /**
171
- * The default action when no rule from ipRules and from virtualNetworkRules match. This is only
172
- * used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny'
173
- */
174
- defaultAction?: NetworkRuleAction;
175
- /**
176
- * The list of IP address rules.
177
- */
178
- ipRules?: IpRule[];
179
- /**
180
- * The list of virtual network rules.
181
- */
182
- virtualNetworkRules?: VirtualNetworkRule[];
183
- }
184
- /**
185
- * Properties to configure keyVault Properties
186
- */
187
- export interface KeyVaultProperties {
188
- /**
189
- * Name of the Key from KeyVault
190
- */
191
- keyName?: string;
192
- /**
193
- * Version of the Key from KeyVault
194
- */
195
- keyVersion?: string;
196
- /**
197
- * Uri of KeyVault
198
- */
199
- keyVaultUri?: string;
200
- identityClientId?: string;
201
- }
202
- /**
203
- * Properties to configure Encryption
204
- */
205
- export interface Encryption {
206
- /**
207
- * Properties of KeyVault
208
- */
209
- keyVaultProperties?: KeyVaultProperties;
210
- /**
211
- * Enumerates the possible value of keySource for Encryption. Possible values include:
212
- * 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'. Default value: 'Microsoft.KeyVault'.
213
- */
214
- keySource?: KeySource;
215
- }
216
- /**
217
- * The user owned storage for Cognitive Services account.
218
- */
219
- export interface UserOwnedStorage {
220
- /**
221
- * Full resource id of a Microsoft.Storage resource.
222
- */
223
- resourceId?: string;
224
- identityClientId?: string;
225
- }
226
- /**
227
- * The Private Endpoint resource.
228
- */
229
- export interface PrivateEndpoint {
230
- /**
231
- * The ARM identifier for Private Endpoint
232
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
233
- */
234
- readonly id?: string;
235
- }
236
- /**
237
- * A collection of information about the state of the connection between service consumer and
238
- * provider.
239
- */
240
- export interface PrivateLinkServiceConnectionState {
241
- /**
242
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
243
- * service. Possible values include: 'Pending', 'Approved', 'Rejected'
244
- */
245
- status?: PrivateEndpointServiceConnectionStatus;
246
- /**
247
- * The reason for approval/rejection of the connection.
248
- */
249
- description?: string;
250
- /**
251
- * A message indicating if changes on the service provider require any updates on the consumer.
252
- */
253
- actionsRequired?: string;
254
- }
255
- /**
256
- * Properties of the PrivateEndpointConnectProperties.
257
- */
258
- export interface PrivateEndpointConnectionProperties {
259
- /**
260
- * The resource of private end point.
261
- */
262
- privateEndpoint?: PrivateEndpoint;
263
- /**
264
- * A collection of information about the state of the connection between service consumer and
265
- * provider.
266
- */
267
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
268
- /**
269
- * The provisioning state of the private endpoint connection resource. Possible values include:
270
- * 'Succeeded', 'Creating', 'Deleting', 'Failed'
271
- */
272
- provisioningState?: PrivateEndpointConnectionProvisioningState;
273
- /**
274
- * The private link resource group ids.
275
- */
276
- groupIds?: string[];
277
- }
278
- /**
279
- * Common fields that are returned in the response for all Azure Resource Manager resources
280
- * @summary Resource
281
- */
282
- export interface Resource extends BaseResource {
283
- /**
284
- * Fully qualified resource ID for the resource. Ex -
285
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
286
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
287
- */
288
- readonly id?: string;
289
- /**
290
- * The name of the resource
291
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
292
- */
293
- readonly name?: string;
294
- /**
295
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
296
- * "Microsoft.Storage/storageAccounts"
297
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
298
- */
299
- readonly type?: string;
300
- }
301
- /**
302
- * The resource model definition for an Azure Resource Manager resource with an etag.
303
- * @summary Entity Resource
304
- */
305
- export interface AzureEntityResource extends Resource {
306
- /**
307
- * Resource Etag.
308
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
309
- */
310
- readonly etag?: string;
311
- }
312
- /**
313
- * The Private Endpoint Connection resource.
314
- */
315
- export interface PrivateEndpointConnection extends AzureEntityResource {
316
- /**
317
- * Resource properties.
318
- */
319
- properties?: PrivateEndpointConnectionProperties;
320
- /**
321
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
322
- */
323
- readonly systemData?: SystemData;
324
- /**
325
- * The location of the private endpoint connection
326
- */
327
- location?: string;
328
- }
329
- /**
330
- * The api properties for special APIs.
331
- */
332
- export interface ApiProperties {
333
- /**
334
- * (QnAMaker Only) The runtime endpoint of QnAMaker.
335
- */
336
- qnaRuntimeEndpoint?: string;
337
- /**
338
- * (QnAMaker Only) The Azure Search endpoint key of QnAMaker.
339
- */
340
- qnaAzureSearchEndpointKey?: string;
341
- /**
342
- * (QnAMaker Only) The Azure Search endpoint id of QnAMaker.
343
- */
344
- qnaAzureSearchEndpointId?: string;
345
- /**
346
- * (Bing Search Only) The flag to enable statistics of Bing Search.
347
- */
348
- statisticsEnabled?: boolean;
349
- /**
350
- * (Personalization Only) The flag to enable statistics of Bing Search.
351
- */
352
- eventHubConnectionString?: string;
353
- /**
354
- * (Personalization Only) The storage account connection string.
355
- */
356
- storageAccountConnectionString?: string;
357
- /**
358
- * (Metrics Advisor Only) The Azure AD Client Id (Application Id).
359
- */
360
- aadClientId?: string;
361
- /**
362
- * (Metrics Advisor Only) The Azure AD Tenant Id.
363
- */
364
- aadTenantId?: string;
365
- /**
366
- * (Metrics Advisor Only) The super user of Metrics Advisor.
367
- */
368
- superUser?: string;
369
- /**
370
- * (Metrics Advisor Only) The website name of Metrics Advisor.
371
- */
372
- websiteName?: string;
373
- /**
374
- * Describes unknown properties. The value of an unknown property can be of "any" type.
375
- */
376
- [property: string]: any;
377
- }
378
- /**
379
- * An interface representing RequestMatchPattern.
380
- */
381
- export interface RequestMatchPattern {
382
- path?: string;
383
- method?: string;
384
- }
385
- /**
386
- * An interface representing ThrottlingRule.
387
- */
388
- export interface ThrottlingRule {
389
- key?: string;
390
- renewalPeriod?: number;
391
- count?: number;
392
- minCount?: number;
393
- dynamicThrottlingEnabled?: boolean;
394
- matchPatterns?: RequestMatchPattern[];
395
- }
396
- /**
397
- * The call rate limit Cognitive Services account.
398
- */
399
- export interface CallRateLimit {
400
- /**
401
- * The count value of Call Rate Limit.
402
- */
403
- count?: number;
404
- /**
405
- * The renewal period in seconds of Call Rate Limit.
406
- */
407
- renewalPeriod?: number;
408
- rules?: ThrottlingRule[];
409
- }
410
- /**
411
- * An interface representing QuotaLimit.
412
- */
413
- export interface QuotaLimit {
414
- count?: number;
415
- renewalPeriod?: number;
416
- rules?: ThrottlingRule[];
417
- }
418
- /**
419
- * Properties of Cognitive Services account.
420
- */
421
- export interface AccountProperties {
422
- /**
423
- * Gets the status of the cognitive services account at the time the operation was called.
424
- * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded',
425
- * 'ResolvingDNS'
426
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
427
- */
428
- readonly provisioningState?: ProvisioningState;
429
- /**
430
- * Endpoint of the created account.
431
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
432
- */
433
- readonly endpoint?: string;
434
- /**
435
- * The internal identifier (deprecated, do not use this property).
436
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
437
- */
438
- readonly internalId?: string;
439
- /**
440
- * Gets the capabilities of the cognitive services account. Each item indicates the capability of
441
- * a specific feature. The values are read-only and for reference only.
442
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
443
- */
444
- readonly capabilities?: SkuCapability[];
445
- /**
446
- * If the resource is migrated from an existing key.
447
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
448
- */
449
- readonly isMigrated?: boolean;
450
- /**
451
- * Resource migration token.
452
- */
453
- migrationToken?: string;
454
- /**
455
- * Sku change info of account.
456
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
457
- */
458
- readonly skuChangeInfo?: SkuChangeInfo;
459
- /**
460
- * Optional subdomain name used for token-based authentication.
461
- */
462
- customSubDomainName?: string;
463
- /**
464
- * A collection of rules governing the accessibility from specific network locations.
465
- */
466
- networkAcls?: NetworkRuleSet;
467
- /**
468
- * The encryption properties for this resource.
469
- */
470
- encryption?: Encryption;
471
- /**
472
- * The storage accounts for this resource.
473
- */
474
- userOwnedStorage?: UserOwnedStorage[];
475
- /**
476
- * The private endpoint connection associated with the Cognitive Services account.
477
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
478
- */
479
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
480
- /**
481
- * Whether or not public endpoint access is allowed for this account. Value is optional but if
482
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
483
- */
484
- publicNetworkAccess?: PublicNetworkAccess;
485
- /**
486
- * The api properties for special APIs.
487
- */
488
- apiProperties?: ApiProperties;
489
- /**
490
- * Gets the date of cognitive services account creation.
491
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
492
- */
493
- readonly dateCreated?: string;
494
- /**
495
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
496
- */
497
- readonly callRateLimit?: CallRateLimit;
498
- /**
499
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
500
- */
501
- readonly quotaLimit?: QuotaLimit;
502
- restrictOutboundNetworkAccess?: boolean;
503
- allowedFqdnList?: string[];
504
- disableLocalAuth?: boolean;
505
- /**
506
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
507
- */
508
- readonly endpoints?: {
509
- [propertyName: string]: string;
510
- };
511
- restore?: boolean;
512
- }
513
- /**
514
- * Cognitive Services account is an Azure resource representing the provisioned account, it's type,
515
- * location and SKU.
516
- */
517
- export interface Account extends AzureEntityResource {
518
- /**
519
- * The Kind of the resource.
520
- */
521
- kind?: string;
522
- sku?: Sku;
523
- identity?: Identity;
524
- /**
525
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
526
- */
527
- readonly systemData?: SystemData;
528
- /**
529
- * Resource tags.
530
- */
531
- tags?: {
532
- [propertyName: string]: string;
533
- };
534
- /**
535
- * The geo-location where the resource lives
536
- */
537
- location?: string;
538
- /**
539
- * Properties of Cognitive Services account.
540
- */
541
- properties?: AccountProperties;
542
- }
543
- /**
544
- * The access keys for the cognitive services account.
545
- */
546
- export interface ApiKeys {
547
- /**
548
- * Gets the value of key 1.
549
- */
550
- key1?: string;
551
- /**
552
- * Gets the value of key 2.
553
- */
554
- key2?: string;
555
- }
556
- /**
557
- * Regenerate key parameters.
558
- */
559
- export interface RegenerateKeyParameters {
560
- /**
561
- * key name to generate (Key1|Key2). Possible values include: 'Key1', 'Key2'
562
- */
563
- keyName: KeyName;
564
- }
565
- /**
566
- * Cognitive Services resource type and SKU.
567
- */
568
- export interface AccountSku {
569
- /**
570
- * Resource Namespace and Type
571
- */
572
- resourceType?: string;
573
- /**
574
- * The SKU of Cognitive Services account.
575
- */
576
- sku?: Sku;
577
- }
578
- /**
579
- * The list of cognitive services accounts operation response.
580
- */
581
- export interface AccountSkuListResult {
582
- /**
583
- * Gets the list of Cognitive Services accounts and their properties.
584
- */
585
- value?: AccountSku[];
586
- }
587
- /**
588
- * A metric name.
589
- */
590
- export interface MetricName {
591
- /**
592
- * The name of the metric.
593
- */
594
- value?: string;
595
- /**
596
- * The friendly name of the metric.
597
- */
598
- localizedValue?: string;
599
- }
600
- /**
601
- * The usage data for a usage request.
602
- */
603
- export interface Usage {
604
- /**
605
- * The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent',
606
- * 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
607
- */
608
- unit?: UnitType;
609
- /**
610
- * The name information for the metric.
611
- */
612
- name?: MetricName;
613
- /**
614
- * The quota period used to summarize the usage values.
615
- */
616
- quotaPeriod?: string;
617
- /**
618
- * Maximum value for this metric.
619
- */
620
- limit?: number;
621
- /**
622
- * Current value for this metric.
623
- */
624
- currentValue?: number;
625
- /**
626
- * Next reset time for current quota.
627
- */
628
- nextResetTime?: string;
629
- /**
630
- * Cognitive Services account quota usage status. Possible values include: 'Included', 'Blocked',
631
- * 'InOverage', 'Unknown'
632
- */
633
- status?: QuotaUsageStatus;
634
- }
635
- /**
636
- * The response to a list usage request.
637
- */
638
- export interface UsageListResult {
639
- /**
640
- * The list of usages for Cognitive Service account.
641
- */
642
- value?: Usage[];
643
- }
644
- /**
645
- * Check SKU availability parameter.
646
- */
647
- export interface CheckSkuAvailabilityParameter {
648
- /**
649
- * The SKU of the resource.
650
- */
651
- skus: string[];
652
- /**
653
- * The Kind of the resource.
654
- */
655
- kind: string;
656
- /**
657
- * The Type of the resource.
658
- */
659
- type: string;
660
- }
661
- /**
662
- * SKU availability.
663
- */
664
- export interface SkuAvailability {
665
- /**
666
- * The Kind of the resource.
667
- */
668
- kind?: string;
669
- /**
670
- * The Type of the resource.
671
- */
672
- type?: string;
673
- /**
674
- * The SKU of Cognitive Services account.
675
- */
676
- skuName?: string;
677
- /**
678
- * Indicates the given SKU is available or not.
679
- */
680
- skuAvailable?: boolean;
681
- /**
682
- * Reason why the SKU is not available.
683
- */
684
- reason?: string;
685
- /**
686
- * Additional error message.
687
- */
688
- message?: string;
689
- }
690
- /**
691
- * Check SKU availability result list.
692
- */
693
- export interface SkuAvailabilityListResult {
694
- /**
695
- * Check SKU availability result list.
696
- */
697
- value?: SkuAvailability[];
698
- }
699
- /**
700
- * Check Domain availability parameter.
701
- */
702
- export interface CheckDomainAvailabilityParameter {
703
- /**
704
- * The subdomain name to use.
705
- */
706
- subdomainName: string;
707
- /**
708
- * The Type of the resource.
709
- */
710
- type: string;
711
- }
712
- /**
713
- * Domain availability.
714
- */
715
- export interface DomainAvailability {
716
- /**
717
- * Indicates the given SKU is available or not.
718
- */
719
- isSubdomainAvailable?: boolean;
720
- /**
721
- * Reason why the SKU is not available.
722
- */
723
- reason?: string;
724
- /**
725
- * The subdomain name to use.
726
- */
727
- subdomainName?: string;
728
- /**
729
- * The Type of the resource.
730
- */
731
- type?: string;
732
- }
733
- /**
734
- * An interface representing ResourceSkuRestrictionInfo.
735
- */
736
- export interface ResourceSkuRestrictionInfo {
737
- /**
738
- * Locations where the SKU is restricted
739
- */
740
- locations?: string[];
741
- /**
742
- * List of availability zones where the SKU is restricted.
743
- */
744
- zones?: string[];
745
- }
746
- /**
747
- * Describes restrictions of a SKU.
748
- */
749
- export interface ResourceSkuRestrictions {
750
- /**
751
- * The type of restrictions. Possible values include: 'Location', 'Zone'
752
- */
753
- type?: ResourceSkuRestrictionsType;
754
- /**
755
- * The value of restrictions. If the restriction type is set to location. This would be different
756
- * locations where the SKU is restricted.
757
- */
758
- values?: string[];
759
- /**
760
- * The information about the restriction where the SKU cannot be used.
761
- */
762
- restrictionInfo?: ResourceSkuRestrictionInfo;
763
- /**
764
- * The reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
765
- */
766
- reasonCode?: ResourceSkuRestrictionsReasonCode;
767
- }
768
- /**
769
- * Describes an available Cognitive Services SKU.
770
- */
771
- export interface ResourceSku {
772
- /**
773
- * The type of resource the SKU applies to.
774
- */
775
- resourceType?: string;
776
- /**
777
- * The name of SKU.
778
- */
779
- name?: string;
780
- /**
781
- * Specifies the tier of Cognitive Services account.
782
- */
783
- tier?: string;
784
- /**
785
- * The Kind of resources that are supported in this SKU.
786
- */
787
- kind?: string;
788
- /**
789
- * The set of locations that the SKU is available.
790
- */
791
- locations?: string[];
792
- /**
793
- * The restrictions because of which SKU cannot be used. This is empty if there are no
794
- * restrictions.
795
- */
796
- restrictions?: ResourceSkuRestrictions[];
797
- }
798
- /**
799
- * A list of private endpoint connections
800
- */
801
- export interface PrivateEndpointConnectionListResult {
802
- /**
803
- * Array of private endpoint connections
804
- */
805
- value?: PrivateEndpointConnection[];
806
- }
807
- /**
808
- * Properties of a private link resource.
809
- */
810
- export interface PrivateLinkResourceProperties {
811
- /**
812
- * The private link resource group id.
813
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
814
- */
815
- readonly groupId?: string;
816
- /**
817
- * The private link resource required member names.
818
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
819
- */
820
- readonly requiredMembers?: string[];
821
- /**
822
- * The private link resource Private link DNS zone name.
823
- */
824
- requiredZoneNames?: string[];
825
- /**
826
- * The private link resource display name.
827
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
828
- */
829
- readonly displayName?: string;
830
- }
831
- /**
832
- * A private link resource
833
- */
834
- export interface PrivateLinkResource extends Resource {
835
- /**
836
- * Resource properties.
837
- */
838
- properties?: PrivateLinkResourceProperties;
839
- }
840
- /**
841
- * A list of private link resources
842
- */
843
- export interface PrivateLinkResourceListResult {
844
- /**
845
- * Array of private link resources
846
- */
847
- value?: PrivateLinkResource[];
848
- }
849
- /**
850
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
851
- * and a location
852
- * @summary Proxy Resource
853
- */
854
- export interface ProxyResource extends Resource {
855
- }
856
- /**
857
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
858
- * 'tags' and a 'location'
859
- * @summary Tracked Resource
860
- */
861
- export interface TrackedResource extends Resource {
862
- /**
863
- * Resource tags.
864
- */
865
- tags?: {
866
- [propertyName: string]: string;
867
- };
868
- /**
869
- * The geo-location where the resource lives
870
- */
871
- location: string;
872
- }
873
- /**
874
- * The resource management error additional info.
875
- */
876
- export interface ErrorAdditionalInfo {
877
- /**
878
- * The additional info type.
879
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
880
- */
881
- readonly type?: string;
882
- /**
883
- * The additional info.
884
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
885
- */
886
- readonly info?: any;
887
- }
888
- /**
889
- * The error detail.
890
- */
891
- export interface ErrorDetail {
892
- /**
893
- * The error code.
894
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
895
- */
896
- readonly code?: string;
897
- /**
898
- * The error message.
899
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
900
- */
901
- readonly message?: string;
902
- /**
903
- * The error target.
904
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
905
- */
906
- readonly target?: string;
907
- /**
908
- * The error details.
909
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
910
- */
911
- readonly details?: ErrorDetail[];
912
- /**
913
- * The error additional info.
914
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
915
- */
916
- readonly additionalInfo?: ErrorAdditionalInfo[];
917
- }
918
- /**
919
- * Common error response for all Azure Resource Manager APIs to return error details for failed
920
- * operations. (This also follows the OData error response format.).
921
- * @summary Error response
922
- */
923
- export interface ErrorResponse {
924
- /**
925
- * The error object.
926
- */
927
- error?: ErrorDetail;
928
- }
929
- /**
930
- * Localized display information for this particular operation.
931
- */
932
- export interface OperationDisplay {
933
- /**
934
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring
935
- * Insights" or "Microsoft Compute".
936
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
937
- */
938
- readonly provider?: string;
939
- /**
940
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual
941
- * Machines" or "Job Schedule Collections".
942
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
943
- */
944
- readonly resource?: string;
945
- /**
946
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create
947
- * or Update Virtual Machine", "Restart Virtual Machine".
948
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
949
- */
950
- readonly operation?: string;
951
- /**
952
- * The short, localized friendly description of the operation; suitable for tool tips and
953
- * detailed views.
954
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
955
- */
956
- readonly description?: string;
957
- }
958
- /**
959
- * Details of a REST API operation, returned from the Resource Provider Operations API
960
- * @summary REST API Operation
961
- */
962
- export interface Operation {
963
- /**
964
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
965
- * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
966
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
967
- */
968
- readonly name?: string;
969
- /**
970
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and
971
- * "false" for ARM/control-plane operations.
972
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
973
- */
974
- readonly isDataAction?: boolean;
975
- /**
976
- * Localized display information for this particular operation.
977
- */
978
- display?: OperationDisplay;
979
- /**
980
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
981
- * logs UX. Default value is "user,system". Possible values include: 'user', 'system',
982
- * 'user,system'
983
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
984
- */
985
- readonly origin?: Origin;
986
- /**
987
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
988
- * Possible values include: 'Internal'
989
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
990
- */
991
- readonly actionType?: ActionType;
992
- }
993
- /**
994
- * Optional Parameters.
995
- */
996
- export interface AccountsListUsagesOptionalParams extends msRest.RequestOptionsBase {
997
- /**
998
- * An OData filter expression that describes a subset of usages to return. The supported
999
- * parameter is name.value (name of the metric, can have an or of multiple names).
1000
- */
1001
- filter?: string;
1002
- }
1003
- /**
1004
- * An interface representing CognitiveServicesManagementClientOptions.
1005
- */
1006
- export interface CognitiveServicesManagementClientOptions extends AzureServiceClientOptions {
1007
- baseUri?: string;
1008
- }
1009
- /**
1010
- * @interface
1011
- * The list of cognitive services accounts operation response.
1012
- * @extends Array<Account>
1013
- */
1014
- export interface AccountListResult extends Array<Account> {
1015
- /**
1016
- * The link used to get the next page of accounts.
1017
- */
1018
- nextLink?: string;
1019
- }
1020
- /**
1021
- * @interface
1022
- * The Get Skus operation response.
1023
- * @extends Array<ResourceSku>
1024
- */
1025
- export interface ResourceSkuListResult extends Array<ResourceSku> {
1026
- /**
1027
- * The uri to fetch the next page of Skus.
1028
- */
1029
- nextLink?: string;
1030
- }
1031
- /**
1032
- * @interface
1033
- * A list of REST API operations supported by an Azure Resource Provider. It contains an URL link
1034
- * to get the next set of results.
1035
- * @extends Array<Operation>
1036
- */
1037
- export interface OperationListResult extends Array<Operation> {
1038
- /**
1039
- * URL to get the next set of operation list results (if there are any).
1040
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1041
- */
1042
- readonly nextLink?: string;
1043
- }
1044
- /**
1045
- * Defines values for SkuTier.
1046
- * Possible values include: 'Free', 'Basic', 'Standard', 'Premium', 'Enterprise'
1047
- * @readonly
1048
- * @enum {string}
1049
- */
1050
- export declare type SkuTier = "Free" | "Basic" | "Standard" | "Premium" | "Enterprise";
1051
- /**
1052
- * Defines values for ResourceIdentityType.
1053
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
1054
- * UserAssigned'
1055
- * @readonly
1056
- * @enum {string}
1057
- */
1058
- export declare type ResourceIdentityType = "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned";
1059
- /**
1060
- * Defines values for CreatedByType.
1061
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1062
- * @readonly
1063
- * @enum {string}
1064
- */
1065
- export declare type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
1066
- /**
1067
- * Defines values for ProvisioningState.
1068
- * Possible values include: 'Accepted', 'Creating', 'Deleting', 'Moving', 'Failed', 'Succeeded',
1069
- * 'ResolvingDNS'
1070
- * @readonly
1071
- * @enum {string}
1072
- */
1073
- export declare type ProvisioningState = "Accepted" | "Creating" | "Deleting" | "Moving" | "Failed" | "Succeeded" | "ResolvingDNS";
1074
- /**
1075
- * Defines values for NetworkRuleAction.
1076
- * Possible values include: 'Allow', 'Deny'
1077
- * @readonly
1078
- * @enum {string}
1079
- */
1080
- export declare type NetworkRuleAction = "Allow" | "Deny";
1081
- /**
1082
- * Defines values for KeySource.
1083
- * Possible values include: 'Microsoft.CognitiveServices', 'Microsoft.KeyVault'
1084
- * @readonly
1085
- * @enum {string}
1086
- */
1087
- export declare type KeySource = "Microsoft.CognitiveServices" | "Microsoft.KeyVault";
1088
- /**
1089
- * Defines values for PrivateEndpointServiceConnectionStatus.
1090
- * Possible values include: 'Pending', 'Approved', 'Rejected'
1091
- * @readonly
1092
- * @enum {string}
1093
- */
1094
- export declare type PrivateEndpointServiceConnectionStatus = "Pending" | "Approved" | "Rejected";
1095
- /**
1096
- * Defines values for PrivateEndpointConnectionProvisioningState.
1097
- * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
1098
- * @readonly
1099
- * @enum {string}
1100
- */
1101
- export declare type PrivateEndpointConnectionProvisioningState = "Succeeded" | "Creating" | "Deleting" | "Failed";
1102
- /**
1103
- * Defines values for PublicNetworkAccess.
1104
- * Possible values include: 'Enabled', 'Disabled'
1105
- * @readonly
1106
- * @enum {string}
1107
- */
1108
- export declare type PublicNetworkAccess = "Enabled" | "Disabled";
1109
- /**
1110
- * Defines values for KeyName.
1111
- * Possible values include: 'Key1', 'Key2'
1112
- * @readonly
1113
- * @enum {string}
1114
- */
1115
- export declare type KeyName = "Key1" | "Key2";
1116
- /**
1117
- * Defines values for UnitType.
1118
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
1119
- * 'BytesPerSecond', 'Milliseconds'
1120
- * @readonly
1121
- * @enum {string}
1122
- */
1123
- export declare type UnitType = "Count" | "Bytes" | "Seconds" | "Percent" | "CountPerSecond" | "BytesPerSecond" | "Milliseconds";
1124
- /**
1125
- * Defines values for QuotaUsageStatus.
1126
- * Possible values include: 'Included', 'Blocked', 'InOverage', 'Unknown'
1127
- * @readonly
1128
- * @enum {string}
1129
- */
1130
- export declare type QuotaUsageStatus = "Included" | "Blocked" | "InOverage" | "Unknown";
1131
- /**
1132
- * Defines values for ResourceSkuRestrictionsType.
1133
- * Possible values include: 'Location', 'Zone'
1134
- * @readonly
1135
- * @enum {string}
1136
- */
1137
- export declare type ResourceSkuRestrictionsType = "Location" | "Zone";
1138
- /**
1139
- * Defines values for ResourceSkuRestrictionsReasonCode.
1140
- * Possible values include: 'QuotaId', 'NotAvailableForSubscription'
1141
- * @readonly
1142
- * @enum {string}
1143
- */
1144
- export declare type ResourceSkuRestrictionsReasonCode = "QuotaId" | "NotAvailableForSubscription";
1145
- /**
1146
- * Defines values for Origin.
1147
- * Possible values include: 'user', 'system', 'user,system'
1148
- * @readonly
1149
- * @enum {string}
1150
- */
1151
- export declare type Origin = "user" | "system" | "user,system";
1152
- /**
1153
- * Defines values for ActionType.
1154
- * Possible values include: 'Internal'
1155
- * @readonly
1156
- * @enum {string}
1157
- */
1158
- export declare type ActionType = "Internal";
1159
- /**
1160
- * Contains response data for the create operation.
1161
- */
1162
- export declare type AccountsCreateResponse = Account & {
1163
- /**
1164
- * The underlying HTTP response.
1165
- */
1166
- _response: msRest.HttpResponse & {
1167
- /**
1168
- * The response body as text (string format)
1169
- */
1170
- bodyAsText: string;
1171
- /**
1172
- * The response body as parsed JSON or XML
1173
- */
1174
- parsedBody: Account;
1175
- };
1176
- };
1177
- /**
1178
- * Contains response data for the update operation.
1179
- */
1180
- export declare type AccountsUpdateResponse = Account & {
1181
- /**
1182
- * The underlying HTTP response.
1183
- */
1184
- _response: msRest.HttpResponse & {
1185
- /**
1186
- * The response body as text (string format)
1187
- */
1188
- bodyAsText: string;
1189
- /**
1190
- * The response body as parsed JSON or XML
1191
- */
1192
- parsedBody: Account;
1193
- };
1194
- };
1195
- /**
1196
- * Contains response data for the get operation.
1197
- */
1198
- export declare type AccountsGetResponse = Account & {
1199
- /**
1200
- * The underlying HTTP response.
1201
- */
1202
- _response: msRest.HttpResponse & {
1203
- /**
1204
- * The response body as text (string format)
1205
- */
1206
- bodyAsText: string;
1207
- /**
1208
- * The response body as parsed JSON or XML
1209
- */
1210
- parsedBody: Account;
1211
- };
1212
- };
1213
- /**
1214
- * Contains response data for the listByResourceGroup operation.
1215
- */
1216
- export declare type AccountsListByResourceGroupResponse = AccountListResult & {
1217
- /**
1218
- * The underlying HTTP response.
1219
- */
1220
- _response: msRest.HttpResponse & {
1221
- /**
1222
- * The response body as text (string format)
1223
- */
1224
- bodyAsText: string;
1225
- /**
1226
- * The response body as parsed JSON or XML
1227
- */
1228
- parsedBody: AccountListResult;
1229
- };
1230
- };
1231
- /**
1232
- * Contains response data for the list operation.
1233
- */
1234
- export declare type AccountsListResponse = AccountListResult & {
1235
- /**
1236
- * The underlying HTTP response.
1237
- */
1238
- _response: msRest.HttpResponse & {
1239
- /**
1240
- * The response body as text (string format)
1241
- */
1242
- bodyAsText: string;
1243
- /**
1244
- * The response body as parsed JSON or XML
1245
- */
1246
- parsedBody: AccountListResult;
1247
- };
1248
- };
1249
- /**
1250
- * Contains response data for the listKeys operation.
1251
- */
1252
- export declare type AccountsListKeysResponse = ApiKeys & {
1253
- /**
1254
- * The underlying HTTP response.
1255
- */
1256
- _response: msRest.HttpResponse & {
1257
- /**
1258
- * The response body as text (string format)
1259
- */
1260
- bodyAsText: string;
1261
- /**
1262
- * The response body as parsed JSON or XML
1263
- */
1264
- parsedBody: ApiKeys;
1265
- };
1266
- };
1267
- /**
1268
- * Contains response data for the regenerateKey operation.
1269
- */
1270
- export declare type AccountsRegenerateKeyResponse = ApiKeys & {
1271
- /**
1272
- * The underlying HTTP response.
1273
- */
1274
- _response: msRest.HttpResponse & {
1275
- /**
1276
- * The response body as text (string format)
1277
- */
1278
- bodyAsText: string;
1279
- /**
1280
- * The response body as parsed JSON or XML
1281
- */
1282
- parsedBody: ApiKeys;
1283
- };
1284
- };
1285
- /**
1286
- * Contains response data for the listSkus operation.
1287
- */
1288
- export declare type AccountsListSkusResponse = AccountSkuListResult & {
1289
- /**
1290
- * The underlying HTTP response.
1291
- */
1292
- _response: msRest.HttpResponse & {
1293
- /**
1294
- * The response body as text (string format)
1295
- */
1296
- bodyAsText: string;
1297
- /**
1298
- * The response body as parsed JSON or XML
1299
- */
1300
- parsedBody: AccountSkuListResult;
1301
- };
1302
- };
1303
- /**
1304
- * Contains response data for the listUsages operation.
1305
- */
1306
- export declare type AccountsListUsagesResponse = UsageListResult & {
1307
- /**
1308
- * The underlying HTTP response.
1309
- */
1310
- _response: msRest.HttpResponse & {
1311
- /**
1312
- * The response body as text (string format)
1313
- */
1314
- bodyAsText: string;
1315
- /**
1316
- * The response body as parsed JSON or XML
1317
- */
1318
- parsedBody: UsageListResult;
1319
- };
1320
- };
1321
- /**
1322
- * Contains response data for the beginCreate operation.
1323
- */
1324
- export declare type AccountsBeginCreateResponse = Account & {
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
- * The response body as parsed JSON or XML
1335
- */
1336
- parsedBody: Account;
1337
- };
1338
- };
1339
- /**
1340
- * Contains response data for the beginUpdate operation.
1341
- */
1342
- export declare type AccountsBeginUpdateResponse = Account & {
1343
- /**
1344
- * The underlying HTTP response.
1345
- */
1346
- _response: msRest.HttpResponse & {
1347
- /**
1348
- * The response body as text (string format)
1349
- */
1350
- bodyAsText: string;
1351
- /**
1352
- * The response body as parsed JSON or XML
1353
- */
1354
- parsedBody: Account;
1355
- };
1356
- };
1357
- /**
1358
- * Contains response data for the listByResourceGroupNext operation.
1359
- */
1360
- export declare type AccountsListByResourceGroupNextResponse = AccountListResult & {
1361
- /**
1362
- * The underlying HTTP response.
1363
- */
1364
- _response: msRest.HttpResponse & {
1365
- /**
1366
- * The response body as text (string format)
1367
- */
1368
- bodyAsText: string;
1369
- /**
1370
- * The response body as parsed JSON or XML
1371
- */
1372
- parsedBody: AccountListResult;
1373
- };
1374
- };
1375
- /**
1376
- * Contains response data for the listNext operation.
1377
- */
1378
- export declare type AccountsListNextResponse = AccountListResult & {
1379
- /**
1380
- * The underlying HTTP response.
1381
- */
1382
- _response: msRest.HttpResponse & {
1383
- /**
1384
- * The response body as text (string format)
1385
- */
1386
- bodyAsText: string;
1387
- /**
1388
- * The response body as parsed JSON or XML
1389
- */
1390
- parsedBody: AccountListResult;
1391
- };
1392
- };
1393
- /**
1394
- * Contains response data for the get operation.
1395
- */
1396
- export declare type DeletedAccountsGetResponse = Account & {
1397
- /**
1398
- * The underlying HTTP response.
1399
- */
1400
- _response: msRest.HttpResponse & {
1401
- /**
1402
- * The response body as text (string format)
1403
- */
1404
- bodyAsText: string;
1405
- /**
1406
- * The response body as parsed JSON or XML
1407
- */
1408
- parsedBody: Account;
1409
- };
1410
- };
1411
- /**
1412
- * Contains response data for the list operation.
1413
- */
1414
- export declare type DeletedAccountsListResponse = AccountListResult & {
1415
- /**
1416
- * The underlying HTTP response.
1417
- */
1418
- _response: msRest.HttpResponse & {
1419
- /**
1420
- * The response body as text (string format)
1421
- */
1422
- bodyAsText: string;
1423
- /**
1424
- * The response body as parsed JSON or XML
1425
- */
1426
- parsedBody: AccountListResult;
1427
- };
1428
- };
1429
- /**
1430
- * Contains response data for the listNext operation.
1431
- */
1432
- export declare type DeletedAccountsListNextResponse = AccountListResult & {
1433
- /**
1434
- * The underlying HTTP response.
1435
- */
1436
- _response: msRest.HttpResponse & {
1437
- /**
1438
- * The response body as text (string format)
1439
- */
1440
- bodyAsText: string;
1441
- /**
1442
- * The response body as parsed JSON or XML
1443
- */
1444
- parsedBody: AccountListResult;
1445
- };
1446
- };
1447
- /**
1448
- * Contains response data for the list operation.
1449
- */
1450
- export declare type ResourceSkusListResponse = ResourceSkuListResult & {
1451
- /**
1452
- * The underlying HTTP response.
1453
- */
1454
- _response: msRest.HttpResponse & {
1455
- /**
1456
- * The response body as text (string format)
1457
- */
1458
- bodyAsText: string;
1459
- /**
1460
- * The response body as parsed JSON or XML
1461
- */
1462
- parsedBody: ResourceSkuListResult;
1463
- };
1464
- };
1465
- /**
1466
- * Contains response data for the listNext operation.
1467
- */
1468
- export declare type ResourceSkusListNextResponse = ResourceSkuListResult & {
1469
- /**
1470
- * The underlying HTTP response.
1471
- */
1472
- _response: msRest.HttpResponse & {
1473
- /**
1474
- * The response body as text (string format)
1475
- */
1476
- bodyAsText: string;
1477
- /**
1478
- * The response body as parsed JSON or XML
1479
- */
1480
- parsedBody: ResourceSkuListResult;
1481
- };
1482
- };
1483
- /**
1484
- * Contains response data for the list operation.
1485
- */
1486
- export declare type OperationsListResponse = OperationListResult & {
1487
- /**
1488
- * The underlying HTTP response.
1489
- */
1490
- _response: msRest.HttpResponse & {
1491
- /**
1492
- * The response body as text (string format)
1493
- */
1494
- bodyAsText: string;
1495
- /**
1496
- * The response body as parsed JSON or XML
1497
- */
1498
- parsedBody: OperationListResult;
1499
- };
1500
- };
1501
- /**
1502
- * Contains response data for the listNext operation.
1503
- */
1504
- export declare type OperationsListNextResponse = OperationListResult & {
1505
- /**
1506
- * The underlying HTTP response.
1507
- */
1508
- _response: msRest.HttpResponse & {
1509
- /**
1510
- * The response body as text (string format)
1511
- */
1512
- bodyAsText: string;
1513
- /**
1514
- * The response body as parsed JSON or XML
1515
- */
1516
- parsedBody: OperationListResult;
1517
- };
1518
- };
1519
- /**
1520
- * Contains response data for the checkSkuAvailability operation.
1521
- */
1522
- export declare type CheckSkuAvailabilityResponse = SkuAvailabilityListResult & {
1523
- /**
1524
- * The underlying HTTP response.
1525
- */
1526
- _response: msRest.HttpResponse & {
1527
- /**
1528
- * The response body as text (string format)
1529
- */
1530
- bodyAsText: string;
1531
- /**
1532
- * The response body as parsed JSON or XML
1533
- */
1534
- parsedBody: SkuAvailabilityListResult;
1535
- };
1536
- };
1537
- /**
1538
- * Contains response data for the checkDomainAvailability operation.
1539
- */
1540
- export declare type CheckDomainAvailabilityResponse = DomainAvailability & {
1541
- /**
1542
- * The underlying HTTP response.
1543
- */
1544
- _response: msRest.HttpResponse & {
1545
- /**
1546
- * The response body as text (string format)
1547
- */
1548
- bodyAsText: string;
1549
- /**
1550
- * The response body as parsed JSON or XML
1551
- */
1552
- parsedBody: DomainAvailability;
1553
- };
1554
- };
1555
- /**
1556
- * Contains response data for the list operation.
1557
- */
1558
- export declare type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult & {
1559
- /**
1560
- * The underlying HTTP response.
1561
- */
1562
- _response: msRest.HttpResponse & {
1563
- /**
1564
- * The response body as text (string format)
1565
- */
1566
- bodyAsText: string;
1567
- /**
1568
- * The response body as parsed JSON or XML
1569
- */
1570
- parsedBody: PrivateEndpointConnectionListResult;
1571
- };
1572
- };
1573
- /**
1574
- * Contains response data for the get operation.
1575
- */
1576
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1577
- /**
1578
- * The underlying HTTP response.
1579
- */
1580
- _response: msRest.HttpResponse & {
1581
- /**
1582
- * The response body as text (string format)
1583
- */
1584
- bodyAsText: string;
1585
- /**
1586
- * The response body as parsed JSON or XML
1587
- */
1588
- parsedBody: PrivateEndpointConnection;
1589
- };
1590
- };
1591
- /**
1592
- * Contains response data for the createOrUpdate operation.
1593
- */
1594
- export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
1595
- /**
1596
- * The underlying HTTP response.
1597
- */
1598
- _response: msRest.HttpResponse & {
1599
- /**
1600
- * The response body as text (string format)
1601
- */
1602
- bodyAsText: string;
1603
- /**
1604
- * The response body as parsed JSON or XML
1605
- */
1606
- parsedBody: PrivateEndpointConnection;
1607
- };
1608
- };
1609
- /**
1610
- * Contains response data for the beginCreateOrUpdate operation.
1611
- */
1612
- export declare type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
1613
- /**
1614
- * The underlying HTTP response.
1615
- */
1616
- _response: msRest.HttpResponse & {
1617
- /**
1618
- * The response body as text (string format)
1619
- */
1620
- bodyAsText: string;
1621
- /**
1622
- * The response body as parsed JSON or XML
1623
- */
1624
- parsedBody: PrivateEndpointConnection;
1625
- };
1626
- };
1627
- /**
1628
- * Contains response data for the list operation.
1629
- */
1630
- export declare type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & {
1631
- /**
1632
- * The underlying HTTP response.
1633
- */
1634
- _response: msRest.HttpResponse & {
1635
- /**
1636
- * The response body as text (string format)
1637
- */
1638
- bodyAsText: string;
1639
- /**
1640
- * The response body as parsed JSON or XML
1641
- */
1642
- parsedBody: PrivateLinkResourceListResult;
1643
- };
1644
- };
1645
- //# sourceMappingURL=index.d.ts.map