@azure/arm-storage-profile-2020-09-01-hybrid 1.0.0 → 2.0.0

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 (264) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +83 -73
  4. package/dist/index.js +5576 -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/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +1772 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +185 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +84 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1591 -1449
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +30 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +242 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/blobInventoryPolicies.d.ts +73 -0
  29. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
  30. package/dist-esm/src/operations/blobInventoryPolicies.js +221 -0
  31. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
  32. package/dist-esm/src/operations/encryptionScopes.d.ts +94 -0
  33. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
  34. package/dist-esm/src/operations/encryptionScopes.js +278 -0
  35. package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +4 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/managementPolicies.d.ts +50 -0
  41. package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
  42. package/dist-esm/src/operations/managementPolicies.js +126 -0
  43. package/dist-esm/src/operations/managementPolicies.js.map +1 -0
  44. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts +74 -0
  45. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +222 -0
  47. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
  48. package/dist-esm/src/operations/operations.d.ts +26 -0
  49. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/operations.js +87 -0
  51. package/dist-esm/src/operations/operations.js.map +1 -0
  52. package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
  53. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateEndpointConnections.js +228 -0
  55. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  56. package/dist-esm/src/operations/privateLinkResources.d.ts +23 -0
  57. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  58. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  59. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  60. package/dist-esm/src/operations/skus.d.ts +26 -0
  61. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  62. package/dist-esm/src/operations/skus.js +87 -0
  63. package/dist-esm/src/operations/skus.js.map +1 -0
  64. package/dist-esm/src/operations/storageAccounts.d.ts +228 -0
  65. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
  66. package/dist-esm/src/operations/storageAccounts.js +722 -0
  67. package/dist-esm/src/operations/storageAccounts.js.map +1 -0
  68. package/dist-esm/src/operations/usages.d.ts +28 -0
  69. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  70. package/dist-esm/src/operations/usages.js +93 -0
  71. package/dist-esm/src/operations/usages.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
  73. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +63 -0
  77. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts +42 -0
  85. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/managementPolicies.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
  89. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  93. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
  97. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
  101. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +196 -0
  109. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
  113. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  116. package/dist-esm/src/storageManagementClient.d.ts +27 -0
  117. package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
  118. package/dist-esm/src/storageManagementClient.js +60 -0
  119. package/dist-esm/src/storageManagementClient.js.map +1 -0
  120. package/dist-esm/test/sampleTest.d.ts +2 -0
  121. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  122. package/dist-esm/test/sampleTest.js +40 -0
  123. package/dist-esm/test/sampleTest.js.map +1 -0
  124. package/package.json +74 -22
  125. package/review/arm-storage-profile-2020-09-01-hybrid.api.md +1396 -0
  126. package/rollup.config.js +115 -30
  127. package/src/index.ts +12 -0
  128. package/src/lroImpl.ts +34 -0
  129. package/src/models/index.ts +1411 -2087
  130. package/src/models/mappers.ts +1470 -1320
  131. package/src/models/parameters.ts +186 -76
  132. package/src/operations/blobInventoryPolicies.ts +282 -0
  133. package/src/operations/encryptionScopes.ts +238 -295
  134. package/src/operations/index.ts +4 -5
  135. package/src/operations/managementPolicies.ts +108 -182
  136. package/src/operations/objectReplicationPoliciesOperations.ts +186 -234
  137. package/src/operations/operations.ts +66 -45
  138. package/src/operations/privateEndpointConnections.ts +182 -221
  139. package/src/operations/privateLinkResources.ts +43 -67
  140. package/src/operations/skus.ts +64 -48
  141. package/src/operations/storageAccounts.ts +759 -838
  142. package/src/operations/usages.ts +78 -52
  143. package/src/operationsInterfaces/blobInventoryPolicies.ts +91 -0
  144. package/src/operationsInterfaces/encryptionScopes.ts +102 -0
  145. package/src/operationsInterfaces/index.ts +18 -0
  146. package/src/operationsInterfaces/managementPolicies.ts +74 -0
  147. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +91 -0
  148. package/src/operationsInterfaces/operations.ts +22 -0
  149. package/src/operationsInterfaces/privateEndpointConnections.ts +90 -0
  150. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  151. package/src/operationsInterfaces/skus.ts +22 -0
  152. package/src/operationsInterfaces/storageAccounts.ts +319 -0
  153. package/src/operationsInterfaces/usages.ts +24 -0
  154. package/src/storageManagementClient.ts +105 -46
  155. package/tsconfig.json +14 -6
  156. package/types/arm-storage-profile-2020-09-01-hybrid.d.ts +2508 -0
  157. package/types/tsdoc-metadata.json +11 -0
  158. package/dist/arm-storage-profile-2020-09-01-hybrid.js +0 -5017
  159. package/dist/arm-storage-profile-2020-09-01-hybrid.js.map +0 -1
  160. package/dist/arm-storage-profile-2020-09-01-hybrid.min.js +0 -1
  161. package/dist/arm-storage-profile-2020-09-01-hybrid.min.js.map +0 -1
  162. package/esm/models/encryptionScopesMappers.d.ts +0 -2
  163. package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
  164. package/esm/models/encryptionScopesMappers.js +0 -9
  165. package/esm/models/encryptionScopesMappers.js.map +0 -1
  166. package/esm/models/index.d.ts +0 -2493
  167. package/esm/models/index.d.ts.map +0 -1
  168. package/esm/models/index.js +0 -8
  169. package/esm/models/index.js.map +0 -1
  170. package/esm/models/managementPoliciesMappers.d.ts +0 -2
  171. package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
  172. package/esm/models/managementPoliciesMappers.js +0 -9
  173. package/esm/models/managementPoliciesMappers.js.map +0 -1
  174. package/esm/models/mappers.d.ts +0 -79
  175. package/esm/models/mappers.d.ts.map +0 -1
  176. package/esm/models/mappers.js.map +0 -1
  177. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
  178. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
  179. package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
  180. package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
  181. package/esm/models/operationsMappers.d.ts +0 -2
  182. package/esm/models/operationsMappers.d.ts.map +0 -1
  183. package/esm/models/operationsMappers.js +0 -9
  184. package/esm/models/operationsMappers.js.map +0 -1
  185. package/esm/models/parameters.d.ts +0 -15
  186. package/esm/models/parameters.d.ts.map +0 -1
  187. package/esm/models/parameters.js +0 -176
  188. package/esm/models/parameters.js.map +0 -1
  189. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  190. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  191. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  192. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  193. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  194. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  195. package/esm/models/privateLinkResourcesMappers.js +0 -9
  196. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  197. package/esm/models/skusMappers.d.ts +0 -2
  198. package/esm/models/skusMappers.d.ts.map +0 -1
  199. package/esm/models/skusMappers.js +0 -9
  200. package/esm/models/skusMappers.js.map +0 -1
  201. package/esm/models/storageAccountsMappers.d.ts +0 -2
  202. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  203. package/esm/models/storageAccountsMappers.js +0 -9
  204. package/esm/models/storageAccountsMappers.js.map +0 -1
  205. package/esm/models/usagesMappers.d.ts +0 -2
  206. package/esm/models/usagesMappers.d.ts.map +0 -1
  207. package/esm/models/usagesMappers.js +0 -9
  208. package/esm/models/usagesMappers.js.map +0 -1
  209. package/esm/operations/encryptionScopes.d.ts +0 -196
  210. package/esm/operations/encryptionScopes.d.ts.map +0 -1
  211. package/esm/operations/encryptionScopes.js +0 -197
  212. package/esm/operations/encryptionScopes.js.map +0 -1
  213. package/esm/operations/index.d.ts.map +0 -1
  214. package/esm/operations/index.js.map +0 -1
  215. package/esm/operations/managementPolicies.d.ts +0 -109
  216. package/esm/operations/managementPolicies.d.ts.map +0 -1
  217. package/esm/operations/managementPolicies.js +0 -130
  218. package/esm/operations/managementPolicies.js.map +0 -1
  219. package/esm/operations/objectReplicationPoliciesOperations.d.ts +0 -157
  220. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
  221. package/esm/operations/objectReplicationPoliciesOperations.js +0 -162
  222. package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
  223. package/esm/operations/operations.d.ts +0 -28
  224. package/esm/operations/operations.d.ts.map +0 -1
  225. package/esm/operations/operations.js +0 -51
  226. package/esm/operations/operations.js.map +0 -1
  227. package/esm/operations/privateEndpointConnections.d.ts +0 -154
  228. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  229. package/esm/operations/privateEndpointConnections.js +0 -162
  230. package/esm/operations/privateEndpointConnections.js.map +0 -1
  231. package/esm/operations/privateLinkResources.d.ts +0 -43
  232. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  233. package/esm/operations/privateLinkResources.js +0 -58
  234. package/esm/operations/privateLinkResources.js.map +0 -1
  235. package/esm/operations/skus.d.ts +0 -28
  236. package/esm/operations/skus.d.ts.map +0 -1
  237. package/esm/operations/skus.js +0 -54
  238. package/esm/operations/skus.js.map +0 -1
  239. package/esm/operations/storageAccounts.d.ts +0 -436
  240. package/esm/operations/storageAccounts.d.ts.map +0 -1
  241. package/esm/operations/storageAccounts.js +0 -611
  242. package/esm/operations/storageAccounts.js.map +0 -1
  243. package/esm/operations/usages.d.ts +0 -32
  244. package/esm/operations/usages.d.ts.map +0 -1
  245. package/esm/operations/usages.js +0 -56
  246. package/esm/operations/usages.js.map +0 -1
  247. package/esm/storageManagementClient.d.ts +0 -26
  248. package/esm/storageManagementClient.d.ts.map +0 -1
  249. package/esm/storageManagementClient.js +0 -41
  250. package/esm/storageManagementClient.js.map +0 -1
  251. package/esm/storageManagementClientContext.d.ts +0 -16
  252. package/esm/storageManagementClientContext.d.ts.map +0 -1
  253. package/esm/storageManagementClientContext.js +0 -56
  254. package/esm/storageManagementClientContext.js.map +0 -1
  255. package/src/models/encryptionScopesMappers.ts +0 -59
  256. package/src/models/managementPoliciesMappers.ts +0 -57
  257. package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -58
  258. package/src/models/operationsMappers.ts +0 -17
  259. package/src/models/privateEndpointConnectionsMappers.ts +0 -59
  260. package/src/models/privateLinkResourcesMappers.ts +0 -58
  261. package/src/models/skusMappers.ts +0 -15
  262. package/src/models/storageAccountsMappers.ts +0 -69
  263. package/src/models/usagesMappers.ts +0 -14
  264. package/src/storageManagementClientContext.ts +0 -62
@@ -1,2668 +1,1992 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
11
+ /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
12
+ export interface OperationListResult {
13
+ /** List of Storage operations supported by the Storage resource provider. */
14
+ value?: Operation[];
15
+ }
13
16
 
14
- /**
15
- * Display metadata associated with the operation.
16
- */
17
+ /** Storage REST API operation definition. */
18
+ export interface Operation {
19
+ /** Operation name: {provider}/{resource}/{operation} */
20
+ name?: string;
21
+ /** Display metadata associated with the operation. */
22
+ display?: OperationDisplay;
23
+ /** The origin of operations. */
24
+ origin?: string;
25
+ /** One property of operation, include metric specifications. */
26
+ serviceSpecification?: ServiceSpecification;
27
+ }
28
+
29
+ /** Display metadata associated with the operation. */
17
30
  export interface OperationDisplay {
18
- /**
19
- * Service provider: Microsoft Storage.
20
- */
31
+ /** Service provider: Microsoft Storage. */
21
32
  provider?: string;
22
- /**
23
- * Resource on which the operation is performed etc.
24
- */
33
+ /** Resource on which the operation is performed etc. */
25
34
  resource?: string;
26
- /**
27
- * Type of operation: get, read, delete, etc.
28
- */
35
+ /** Type of operation: get, read, delete, etc. */
29
36
  operation?: string;
30
- /**
31
- * Description of the operation.
32
- */
37
+ /** Description of the operation. */
33
38
  description?: string;
34
39
  }
35
40
 
36
- /**
37
- * Dimension of blobs, possibly be blob type or access tier.
38
- */
39
- export interface Dimension {
40
- /**
41
- * Display name of dimension.
42
- */
43
- name?: string;
44
- /**
45
- * Display name of dimension.
46
- */
47
- displayName?: string;
41
+ /** One property of operation, include metric specifications. */
42
+ export interface ServiceSpecification {
43
+ /** Metric specifications of operation. */
44
+ metricSpecifications?: MetricSpecification[];
48
45
  }
49
46
 
50
- /**
51
- * Metric specification of operation.
52
- */
47
+ /** Metric specification of operation. */
53
48
  export interface MetricSpecification {
54
- /**
55
- * Name of metric specification.
56
- */
49
+ /** Name of metric specification. */
57
50
  name?: string;
58
- /**
59
- * Display name of metric specification.
60
- */
51
+ /** Display name of metric specification. */
61
52
  displayName?: string;
62
- /**
63
- * Display description of metric specification.
64
- */
53
+ /** Display description of metric specification. */
65
54
  displayDescription?: string;
66
- /**
67
- * Unit could be Bytes or Count.
68
- */
55
+ /** Unit could be Bytes or Count. */
69
56
  unit?: string;
70
- /**
71
- * Dimensions of blobs, including blob type and access tier.
72
- */
57
+ /** Dimensions of blobs, including blob type and access tier. */
73
58
  dimensions?: Dimension[];
74
- /**
75
- * Aggregation type could be Average.
76
- */
59
+ /** Aggregation type could be Average. */
77
60
  aggregationType?: string;
78
- /**
79
- * The property to decide fill gap with zero or not.
80
- */
61
+ /** The property to decide fill gap with zero or not. */
81
62
  fillGapWithZero?: boolean;
82
- /**
83
- * The category this metric specification belong to, could be Capacity.
84
- */
63
+ /** The category this metric specification belong to, could be Capacity. */
85
64
  category?: string;
86
- /**
87
- * Account Resource Id.
88
- */
65
+ /** Account Resource Id. */
89
66
  resourceIdDimensionNameOverride?: string;
90
67
  }
91
68
 
92
- /**
93
- * One property of operation, include metric specifications.
94
- */
95
- export interface ServiceSpecification {
69
+ /** Dimension of blobs, possibly be blob type or access tier. */
70
+ export interface Dimension {
71
+ /** Display name of dimension. */
72
+ name?: string;
73
+ /** Display name of dimension. */
74
+ displayName?: string;
75
+ }
76
+
77
+ /** The response from the List Storage SKUs operation. */
78
+ export interface StorageSkuListResult {
96
79
  /**
97
- * Metric specifications of operation.
80
+ * Get the list result of storage SKUs and their properties.
81
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
82
  */
99
- metricSpecifications?: MetricSpecification[];
83
+ readonly value?: SkuInformation[];
100
84
  }
101
85
 
102
- /**
103
- * Storage REST API operation definition.
104
- */
105
- export interface Operation {
86
+ /** Storage SKU and its properties */
87
+ export interface SkuInformation {
88
+ /** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
89
+ name: SkuName;
106
90
  /**
107
- * Operation name: {provider}/{resource}/{operation}
91
+ * The SKU tier. This is based on the SKU name.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
108
93
  */
109
- name?: string;
94
+ readonly tier?: SkuTier;
110
95
  /**
111
- * Display metadata associated with the operation.
96
+ * The type of the resource, usually it is 'storageAccounts'.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
112
98
  */
113
- display?: OperationDisplay;
99
+ readonly resourceType?: string;
114
100
  /**
115
- * The origin of operations.
101
+ * Indicates the type of storage account.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
103
  */
117
- origin?: string;
104
+ readonly kind?: Kind;
118
105
  /**
119
- * One property of operation, include metric specifications.
106
+ * The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
107
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
108
  */
121
- serviceSpecification?: ServiceSpecification;
122
- }
123
-
124
- /**
125
- * The parameters used to check the availability of the storage account name.
126
- */
127
- export interface StorageAccountCheckNameAvailabilityParameters {
109
+ readonly locations?: string[];
128
110
  /**
129
- * The storage account name.
111
+ * The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
130
113
  */
131
- name: string;
114
+ readonly capabilities?: SKUCapability[];
115
+ /** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */
116
+ restrictions?: Restriction[];
132
117
  }
133
118
 
134
- /**
135
- * The capability information in the specified SKU, including file encryption, network ACLs, change
136
- * notification, etc.
137
- */
119
+ /** The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. */
138
120
  export interface SKUCapability {
139
121
  /**
140
- * The name of capability, The capability information in the specified SKU, including file
141
- * encryption, network ACLs, change notification, etc.
142
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
122
+ * The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
143
124
  */
144
125
  readonly name?: string;
145
126
  /**
146
127
  * A string value to indicate states of given capability. Possibly 'true' or 'false'.
147
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
128
+ * NOTE: This property will not be serialized. It can only be populated by the server.
148
129
  */
149
130
  readonly value?: string;
150
131
  }
151
132
 
152
- /**
153
- * The restriction because of which SKU cannot be used.
154
- */
133
+ /** The restriction because of which SKU cannot be used. */
155
134
  export interface Restriction {
156
135
  /**
157
136
  * The type of restrictions. As of now only possible value for this is location.
158
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
159
138
  */
160
139
  readonly type?: string;
161
140
  /**
162
- * The value of restrictions. If the restriction type is set to location. This would be different
163
- * locations where the SKU is restricted.
164
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
141
+ * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
143
  */
166
144
  readonly values?: string[];
167
- /**
168
- * The reason for the restriction. As of now this can be "QuotaId" or
169
- * "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as
170
- * the subscription does not belong to that quota. The "NotAvailableForSubscription" is related
171
- * to capacity at DC. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
172
- */
145
+ /** The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. */
173
146
  reasonCode?: ReasonCode;
174
147
  }
175
148
 
176
- /**
177
- * Storage SKU and its properties
178
- */
179
- export interface SkuInformation {
180
- /**
181
- * Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS',
182
- * 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS'
183
- */
184
- name: SkuName;
185
- /**
186
- * Possible values include: 'Standard', 'Premium'
187
- */
188
- tier?: SkuTier;
189
- /**
190
- * The type of the resource, usually it is 'storageAccounts'.
191
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
192
- */
193
- readonly resourceType?: string;
194
- /**
195
- * Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2',
196
- * 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
197
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
198
- */
199
- readonly kind?: Kind;
200
- /**
201
- * The set of locations that the SKU is available. This will be supported and registered Azure
202
- * Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
203
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
204
- */
205
- readonly locations?: string[];
206
- /**
207
- * The capability information in the specified SKU, including file encryption, network ACLs,
208
- * change notification, etc.
209
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
210
- */
211
- readonly capabilities?: SKUCapability[];
212
- /**
213
- * The restrictions because of which SKU cannot be used. This is empty if there are no
214
- * restrictions.
215
- */
216
- restrictions?: Restriction[];
149
+ /** The parameters used to check the availability of the storage account name. */
150
+ export interface StorageAccountCheckNameAvailabilityParameters {
151
+ /** The storage account name. */
152
+ name: string;
153
+ /** The type of resource, Microsoft.Storage/storageAccounts */
154
+ type: "Microsoft.Storage/storageAccounts";
217
155
  }
218
156
 
219
- /**
220
- * The CheckNameAvailability operation response.
221
- */
157
+ /** The CheckNameAvailability operation response. */
222
158
  export interface CheckNameAvailabilityResult {
223
159
  /**
224
- * Gets a boolean value that indicates whether the name is available for you to use. If true, the
225
- * name is available. If false, the name has already been taken or is invalid and cannot be used.
226
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
160
+ * Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
227
162
  */
228
163
  readonly nameAvailable?: boolean;
229
164
  /**
230
- * Gets the reason that a storage account name could not be used. The Reason element is only
231
- * returned if NameAvailable is false. Possible values include: 'AccountNameInvalid',
232
- * 'AlreadyExists'
233
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
165
+ * Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
234
167
  */
235
168
  readonly reason?: Reason;
236
169
  /**
237
170
  * Gets an error message explaining the Reason value in more detail.
238
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
171
+ * NOTE: This property will not be serialized. It can only be populated by the server.
239
172
  */
240
173
  readonly message?: string;
241
174
  }
242
175
 
243
- /**
244
- * The custom domain assigned to this storage account. This can be set via Update.
245
- */
246
- export interface CustomDomain {
247
- /**
248
- * Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.
249
- */
250
- name: string;
251
- /**
252
- * Indicates whether indirect CName validation is enabled. Default value is false. This should
253
- * only be set on updates.
254
- */
255
- useSubDomainName?: boolean;
176
+ /** The parameters used when creating a storage account. */
177
+ export interface StorageAccountCreateParameters {
178
+ /** Required. Gets or sets the SKU name. */
179
+ sku: Sku;
180
+ /** Required. Indicates the type of storage account. */
181
+ kind: Kind;
182
+ /** Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. */
183
+ location: string;
184
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. */
185
+ tags?: { [propertyName: string]: string };
186
+ /** The identity of the resource. */
187
+ identity?: Identity;
188
+ /** User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
189
+ customDomain?: CustomDomain;
190
+ /** Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled. */
191
+ encryption?: Encryption;
192
+ /** Network rule set */
193
+ networkRuleSet?: NetworkRuleSet;
194
+ /** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
195
+ accessTier?: AccessTier;
196
+ /** Provides the identity based authentication settings for Azure Files. */
197
+ azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
198
+ /** Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. */
199
+ enableHttpsTrafficOnly?: boolean;
200
+ /** Account HierarchicalNamespace enabled if sets to true. */
201
+ isHnsEnabled?: boolean;
202
+ /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
203
+ largeFileSharesState?: LargeFileSharesState;
204
+ /** Maintains information about the network routing choice opted by the user for data transfer */
205
+ routingPreference?: RoutingPreference;
206
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
207
+ allowBlobPublicAccess?: boolean;
208
+ /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
209
+ minimumTlsVersion?: MinimumTlsVersion;
210
+ /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
211
+ allowSharedKeyAccess?: boolean;
256
212
  }
257
213
 
258
- /**
259
- * A service that allows server-side encryption to be used.
260
- */
261
- export interface EncryptionService {
214
+ /** The SKU of the storage account. */
215
+ export interface Sku {
216
+ /** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
217
+ name: SkuName;
262
218
  /**
263
- * A boolean indicating whether or not the service encrypts the data as it is stored.
219
+ * The SKU tier. This is based on the SKU name.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
264
221
  */
265
- enabled?: boolean;
222
+ readonly tier?: SkuTier;
223
+ }
224
+
225
+ /** Identity for the resource. */
226
+ export interface Identity {
266
227
  /**
267
- * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only
268
- * returned when encryption is enabled. There might be some unencrypted blobs which were written
269
- * after this time, as it is just a rough estimate.
270
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
228
+ * The principal ID of resource identity.
229
+ * NOTE: This property will not be serialized. It can only be populated by the server.
271
230
  */
272
- readonly lastEnabledTime?: Date;
231
+ readonly principalId?: string;
273
232
  /**
274
- * Encryption key type to be used for the encryption service. 'Account' key type implies that an
275
- * account-scoped encryption key will be used. 'Service' key type implies that a default service
276
- * key is used. Possible values include: 'Service', 'Account'
233
+ * The tenant ID of resource.
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
277
235
  */
278
- keyType?: KeyType;
236
+ readonly tenantId?: string;
237
+ /** The identity type. */
238
+ type: "SystemAssigned";
279
239
  }
280
240
 
281
- /**
282
- * A list of services that support encryption.
283
- */
241
+ /** The custom domain assigned to this storage account. This can be set via Update. */
242
+ export interface CustomDomain {
243
+ /** Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. */
244
+ name: string;
245
+ /** Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. */
246
+ useSubDomainName?: boolean;
247
+ }
248
+
249
+ /** The encryption settings on the storage account. */
250
+ export interface Encryption {
251
+ /** List of services which support encryption. */
252
+ services?: EncryptionServices;
253
+ /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault */
254
+ keySource: KeySource;
255
+ /** A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. */
256
+ requireInfrastructureEncryption?: boolean;
257
+ /** Properties provided by key vault. */
258
+ keyVaultProperties?: KeyVaultProperties;
259
+ }
260
+
261
+ /** A list of services that support encryption. */
284
262
  export interface EncryptionServices {
285
- /**
286
- * The encryption function of the blob storage service.
287
- */
263
+ /** The encryption function of the blob storage service. */
288
264
  blob?: EncryptionService;
289
- /**
290
- * The encryption function of the file storage service.
291
- */
265
+ /** The encryption function of the file storage service. */
292
266
  file?: EncryptionService;
293
- /**
294
- * The encryption function of the table storage service.
295
- */
267
+ /** The encryption function of the table storage service. */
296
268
  table?: EncryptionService;
297
- /**
298
- * The encryption function of the queue storage service.
299
- */
269
+ /** The encryption function of the queue storage service. */
300
270
  queue?: EncryptionService;
301
271
  }
302
272
 
303
- /**
304
- * Properties of key vault.
305
- */
306
- export interface KeyVaultProperties {
273
+ /** A service that allows server-side encryption to be used. */
274
+ export interface EncryptionService {
275
+ /** A boolean indicating whether or not the service encrypts the data as it is stored. */
276
+ enabled?: boolean;
307
277
  /**
308
- * The name of KeyVault key.
278
+ * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.
279
+ * NOTE: This property will not be serialized. It can only be populated by the server.
309
280
  */
281
+ readonly lastEnabledTime?: Date;
282
+ /** Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. */
283
+ keyType?: KeyType;
284
+ }
285
+
286
+ /** Properties of key vault. */
287
+ export interface KeyVaultProperties {
288
+ /** The name of KeyVault key. */
310
289
  keyName?: string;
311
- /**
312
- * The version of KeyVault key.
313
- */
290
+ /** The version of KeyVault key. */
314
291
  keyVersion?: string;
315
- /**
316
- * The Uri of KeyVault.
317
- */
292
+ /** The Uri of KeyVault. */
318
293
  keyVaultUri?: string;
319
294
  /**
320
295
  * The object identifier of the current versioned Key Vault Key in use.
321
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
322
297
  */
323
298
  readonly currentVersionedKeyIdentifier?: string;
324
299
  /**
325
300
  * Timestamp of last rotation of the Key Vault Key.
326
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
302
  */
328
303
  readonly lastKeyRotationTimestamp?: Date;
329
304
  }
330
305
 
331
- /**
332
- * The encryption settings on the storage account.
333
- */
334
- export interface Encryption {
335
- /**
336
- * List of services which support encryption.
337
- */
338
- services?: EncryptionServices;
339
- /**
340
- * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage,
341
- * Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
342
- * Default value: 'Microsoft.Storage'.
343
- */
344
- keySource: KeySource;
345
- /**
346
- * A boolean indicating whether or not the service applies a secondary layer of encryption with
347
- * platform managed keys for data at rest.
348
- */
349
- requireInfrastructureEncryption?: boolean;
350
- /**
351
- * Properties provided by key vault.
352
- */
353
- keyVaultProperties?: KeyVaultProperties;
306
+ /** Network rule set */
307
+ export interface NetworkRuleSet {
308
+ /** Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. */
309
+ bypass?: Bypass;
310
+ /** Sets the virtual network rules */
311
+ virtualNetworkRules?: VirtualNetworkRule[];
312
+ /** Sets the IP ACL rules */
313
+ ipRules?: IPRule[];
314
+ /** Specifies the default action of allow or deny when no other rules match. */
315
+ defaultAction: DefaultAction;
354
316
  }
355
317
 
356
- /**
357
- * Virtual Network rule.
358
- */
318
+ /** Virtual Network rule. */
359
319
  export interface VirtualNetworkRule {
360
- /**
361
- * Resource ID of a subnet, for example:
362
- * /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
363
- */
320
+ /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
364
321
  virtualNetworkResourceId: string;
365
- /**
366
- * The action of virtual network rule. Possible values include: 'Allow'. Default value: 'Allow'.
367
- */
368
- action?: Action;
369
- /**
370
- * Gets the state of virtual network rule. Possible values include: 'provisioning',
371
- * 'deprovisioning', 'succeeded', 'failed', 'networkSourceDeleted'
372
- */
322
+ /** The action of virtual network rule. */
323
+ action?: "Allow";
324
+ /** Gets the state of virtual network rule. */
373
325
  state?: State;
374
326
  }
375
327
 
376
- /**
377
- * IP rule with specific IP or IP range in CIDR format.
378
- */
328
+ /** IP rule with specific IP or IP range in CIDR format. */
379
329
  export interface IPRule {
380
- /**
381
- * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
382
- */
330
+ /** Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */
383
331
  iPAddressOrRange: string;
384
- /**
385
- * The action of IP ACL rule. Possible values include: 'Allow'. Default value: 'Allow'.
386
- */
387
- action?: Action;
332
+ /** The action of IP ACL rule. */
333
+ action?: "Allow";
388
334
  }
389
335
 
390
- /**
391
- * Network rule set
392
- */
393
- export interface NetworkRuleSet {
394
- /**
395
- * Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are
396
- * any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to
397
- * bypass none of those traffics. Possible values include: 'None', 'Logging', 'Metrics',
398
- * 'AzureServices'. Default value: 'AzureServices'.
399
- */
400
- bypass?: Bypass;
401
- /**
402
- * Sets the virtual network rules
403
- */
404
- virtualNetworkRules?: VirtualNetworkRule[];
405
- /**
406
- * Sets the IP ACL rules
407
- */
408
- ipRules?: IPRule[];
409
- /**
410
- * Specifies the default action of allow or deny when no other rules match. Possible values
411
- * include: 'Allow', 'Deny'. Default value: 'Allow'.
412
- */
413
- defaultAction: DefaultAction;
336
+ /** Settings for Azure Files identity based authentication. */
337
+ export interface AzureFilesIdentityBasedAuthentication {
338
+ /** Indicates the directory service used. */
339
+ directoryServiceOptions: DirectoryServiceOptions;
340
+ /** Required if choose AD. */
341
+ activeDirectoryProperties?: ActiveDirectoryProperties;
414
342
  }
415
343
 
416
- /**
417
- * Settings properties for Active Directory (AD).
418
- */
344
+ /** Settings properties for Active Directory (AD). */
419
345
  export interface ActiveDirectoryProperties {
420
- /**
421
- * Specifies the primary domain that the AD DNS server is authoritative for.
422
- */
346
+ /** Specifies the primary domain that the AD DNS server is authoritative for. */
423
347
  domainName: string;
424
- /**
425
- * Specifies the NetBIOS domain name.
426
- */
348
+ /** Specifies the NetBIOS domain name. */
427
349
  netBiosDomainName: string;
428
- /**
429
- * Specifies the Active Directory forest to get.
430
- */
350
+ /** Specifies the Active Directory forest to get. */
431
351
  forestName: string;
432
- /**
433
- * Specifies the domain GUID.
434
- */
352
+ /** Specifies the domain GUID. */
435
353
  domainGuid: string;
436
- /**
437
- * Specifies the security identifier (SID).
438
- */
354
+ /** Specifies the security identifier (SID). */
439
355
  domainSid: string;
440
- /**
441
- * Specifies the security identifier (SID) for Azure Storage.
442
- */
356
+ /** Specifies the security identifier (SID) for Azure Storage. */
443
357
  azureStorageSid: string;
444
358
  }
445
359
 
446
- /**
447
- * Settings for Azure Files identity based authentication.
448
- */
449
- export interface AzureFilesIdentityBasedAuthentication {
450
- /**
451
- * Indicates the directory service used. Possible values include: 'None', 'AADDS', 'AD'
452
- */
453
- directoryServiceOptions: DirectoryServiceOptions;
454
- /**
455
- * Required if choose AD.
456
- */
457
- activeDirectoryProperties?: ActiveDirectoryProperties;
458
- }
459
-
460
- /**
461
- * Routing preference defines the type of network, either microsoft or internet routing to be used
462
- * to deliver the user data, the default option is microsoft routing
463
- */
360
+ /** Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing */
464
361
  export interface RoutingPreference {
465
- /**
466
- * Routing Choice defines the kind of network routing opted by the user. Possible values include:
467
- * 'MicrosoftRouting', 'InternetRouting'
468
- */
362
+ /** Routing Choice defines the kind of network routing opted by the user. */
469
363
  routingChoice?: RoutingChoice;
470
- /**
471
- * A boolean flag which indicates whether microsoft routing storage endpoints are to be published
472
- */
364
+ /** A boolean flag which indicates whether microsoft routing storage endpoints are to be published */
473
365
  publishMicrosoftEndpoints?: boolean;
474
- /**
475
- * A boolean flag which indicates whether internet routing storage endpoints are to be published
476
- */
366
+ /** A boolean flag which indicates whether internet routing storage endpoints are to be published */
477
367
  publishInternetEndpoints?: boolean;
478
368
  }
479
369
 
480
- /**
481
- * Identity for the resource.
482
- */
483
- export interface Identity {
484
- /**
485
- * The principal ID of resource identity.
486
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
487
- */
488
- readonly principalId?: string;
489
- /**
490
- * The tenant ID of resource.
491
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
492
- */
493
- readonly tenantId?: string;
494
- }
495
-
496
- /**
497
- * The SKU of the storage account.
498
- */
499
- export interface Sku {
500
- /**
501
- * Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS',
502
- * 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS'
503
- */
504
- name: SkuName;
505
- /**
506
- * Possible values include: 'Standard', 'Premium'
507
- */
508
- tier?: SkuTier;
509
- }
510
-
511
- /**
512
- * The parameters used when creating a storage account.
513
- */
514
- export interface StorageAccountCreateParameters {
515
- /**
516
- * Required. Gets or sets the SKU name.
517
- */
518
- sku: Sku;
519
- /**
520
- * Required. Indicates the type of storage account. Possible values include: 'Storage',
521
- * 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
522
- */
523
- kind: Kind;
524
- /**
525
- * Required. Gets or sets the location of the resource. This will be one of the supported and
526
- * registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of
527
- * a resource cannot be changed once it is created, but if an identical geo region is specified
528
- * on update, the request will succeed.
529
- */
530
- location: string;
531
- /**
532
- * Gets or sets a list of key value pairs that describe the resource. These tags can be used for
533
- * viewing and grouping this resource (across resource groups). A maximum of 15 tags can be
534
- * provided for a resource. Each tag must have a key with a length no greater than 128 characters
535
- * and a value with a length no greater than 256 characters.
536
- */
537
- tags?: { [propertyName: string]: string };
538
- /**
539
- * The identity of the resource.
540
- */
541
- identity?: Identity;
542
- /**
543
- * User domain assigned to the storage account. Name is the CNAME source. Only one custom domain
544
- * is supported per storage account at this time. To clear the existing custom domain, use an
545
- * empty string for the custom domain name property.
546
- */
547
- customDomain?: CustomDomain;
548
- /**
549
- * Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be
550
- * disabled.
551
- */
552
- encryption?: Encryption;
553
- /**
554
- * Network rule set
555
- */
556
- networkRuleSet?: NetworkRuleSet;
557
- /**
558
- * Required for storage accounts where kind = BlobStorage. The access tier used for billing.
559
- * Possible values include: 'Hot', 'Cool'
560
- */
561
- accessTier?: AccessTier;
562
- /**
563
- * Provides the identity based authentication settings for Azure Files.
564
- */
565
- azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
566
- /**
567
- * Allows https traffic only to storage service if sets to true. The default value is true since
568
- * API version 2019-04-01.
569
- */
570
- enableHttpsTrafficOnly?: boolean;
571
- /**
572
- * Account HierarchicalNamespace enabled if sets to true.
573
- */
574
- isHnsEnabled?: boolean;
575
- /**
576
- * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible
577
- * values include: 'Disabled', 'Enabled'
578
- */
579
- largeFileSharesState?: LargeFileSharesState;
580
- /**
581
- * Maintains information about the network routing choice opted by the user for data transfer
582
- */
583
- routingPreference?: RoutingPreference;
584
- /**
585
- * Allow or disallow public access to all blobs or containers in the storage account. The default
586
- * interpretation is true for this property.
587
- */
588
- allowBlobPublicAccess?: boolean;
589
- /**
590
- * Set the minimum TLS version to be permitted on requests to storage. The default interpretation
591
- * is TLS 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
592
- */
593
- minimumTlsVersion?: MinimumTlsVersion;
594
- }
595
-
596
- /**
597
- * The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object
598
- * via a microsoft routing endpoint.
599
- */
600
- export interface StorageAccountMicrosoftEndpoints {
370
+ /** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. */
371
+ export interface Endpoints {
601
372
  /**
602
373
  * Gets the blob endpoint.
603
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
374
+ * NOTE: This property will not be serialized. It can only be populated by the server.
604
375
  */
605
376
  readonly blob?: string;
606
377
  /**
607
378
  * Gets the queue endpoint.
608
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
609
380
  */
610
381
  readonly queue?: string;
611
382
  /**
612
383
  * Gets the table endpoint.
613
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
614
385
  */
615
386
  readonly table?: string;
616
387
  /**
617
388
  * Gets the file endpoint.
618
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
619
390
  */
620
391
  readonly file?: string;
621
392
  /**
622
393
  * Gets the web endpoint.
623
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
624
395
  */
625
396
  readonly web?: string;
626
397
  /**
627
398
  * Gets the dfs endpoint.
628
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
629
400
  */
630
401
  readonly dfs?: string;
402
+ /** Gets the microsoft routing storage endpoints. */
403
+ microsoftEndpoints?: StorageAccountMicrosoftEndpoints;
404
+ /** Gets the internet routing storage endpoints */
405
+ internetEndpoints?: StorageAccountInternetEndpoints;
631
406
  }
632
407
 
633
- /**
634
- * The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a
635
- * internet routing endpoint.
636
- */
637
- export interface StorageAccountInternetEndpoints {
408
+ /** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. */
409
+ export interface StorageAccountMicrosoftEndpoints {
638
410
  /**
639
411
  * Gets the blob endpoint.
640
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
412
+ * NOTE: This property will not be serialized. It can only be populated by the server.
641
413
  */
642
414
  readonly blob?: string;
415
+ /**
416
+ * Gets the queue endpoint.
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
418
+ */
419
+ readonly queue?: string;
420
+ /**
421
+ * Gets the table endpoint.
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
+ */
424
+ readonly table?: string;
643
425
  /**
644
426
  * Gets the file endpoint.
645
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
427
+ * NOTE: This property will not be serialized. It can only be populated by the server.
646
428
  */
647
429
  readonly file?: string;
648
430
  /**
649
431
  * Gets the web endpoint.
650
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
651
433
  */
652
434
  readonly web?: string;
653
435
  /**
654
436
  * Gets the dfs endpoint.
655
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
656
438
  */
657
439
  readonly dfs?: string;
658
440
  }
659
441
 
660
- /**
661
- * The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object.
662
- */
663
- export interface Endpoints {
442
+ /** The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. */
443
+ export interface StorageAccountInternetEndpoints {
664
444
  /**
665
445
  * Gets the blob endpoint.
666
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
667
447
  */
668
448
  readonly blob?: string;
669
- /**
670
- * Gets the queue endpoint.
671
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
672
- */
673
- readonly queue?: string;
674
- /**
675
- * Gets the table endpoint.
676
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
677
- */
678
- readonly table?: string;
679
449
  /**
680
450
  * Gets the file endpoint.
681
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
682
452
  */
683
453
  readonly file?: string;
684
454
  /**
685
455
  * Gets the web endpoint.
686
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
687
457
  */
688
458
  readonly web?: string;
689
459
  /**
690
460
  * Gets the dfs endpoint.
691
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
461
+ * NOTE: This property will not be serialized. It can only be populated by the server.
692
462
  */
693
463
  readonly dfs?: string;
694
- /**
695
- * Gets the microsoft routing storage endpoints.
696
- */
697
- microsoftEndpoints?: StorageAccountMicrosoftEndpoints;
698
- /**
699
- * Gets the internet routing storage endpoints
700
- */
701
- internetEndpoints?: StorageAccountInternetEndpoints;
702
464
  }
703
465
 
704
- /**
705
- * Statistics related to replication for storage account's Blob, Table, Queue and File services. It
706
- * is only available when geo-redundant replication is enabled for the storage account.
707
- */
466
+ /** Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. */
708
467
  export interface GeoReplicationStats {
709
468
  /**
710
- * The status of the secondary location. Possible values are: - Live: Indicates that the
711
- * secondary location is active and operational. - Bootstrap: Indicates initial synchronization
712
- * from the primary location to the secondary location is in progress.This typically occurs when
713
- * replication is first enabled. - Unavailable: Indicates that the secondary location is
714
- * temporarily unavailable. Possible values include: 'Live', 'Bootstrap', 'Unavailable'
715
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
469
+ * The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.
470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
716
471
  */
717
472
  readonly status?: GeoReplicationStatus;
718
473
  /**
719
- * All primary writes preceding this UTC date/time value are guaranteed to be available for read
720
- * operations. Primary writes following this point in time may or may not be available for reads.
721
- * Element may be default value if value of LastSyncTime is not available, this can happen if
722
- * secondary is offline or we are in bootstrap.
723
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
474
+ * All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
724
476
  */
725
477
  readonly lastSyncTime?: Date;
726
478
  /**
727
479
  * A boolean flag which indicates whether or not account failover is supported for the account.
728
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
729
481
  */
730
482
  readonly canFailover?: boolean;
731
483
  }
732
484
 
733
- /**
734
- * Blob range
735
- */
736
- export interface BlobRestoreRange {
737
- /**
738
- * Blob start range. This is inclusive. Empty means account start.
739
- */
740
- startRange: string;
485
+ /** The Private Endpoint resource. */
486
+ export interface PrivateEndpoint {
741
487
  /**
742
- * Blob end range. This is exclusive. Empty means account end.
488
+ * The ARM identifier for Private Endpoint
489
+ * NOTE: This property will not be serialized. It can only be populated by the server.
743
490
  */
744
- endRange: string;
491
+ readonly id?: string;
745
492
  }
746
493
 
747
- /**
748
- * Blob restore parameters
749
- */
750
- export interface BlobRestoreParameters {
494
+ /** A collection of information about the state of the connection between service consumer and provider. */
495
+ export interface PrivateLinkServiceConnectionState {
496
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
497
+ status?: PrivateEndpointServiceConnectionStatus;
498
+ /** The reason for approval/rejection of the connection. */
499
+ description?: string;
500
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
501
+ actionRequired?: string;
502
+ }
503
+
504
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
505
+ export interface Resource {
751
506
  /**
752
- * Restore blob to the specified time.
507
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
753
509
  */
754
- timeToRestore: Date;
510
+ readonly id?: string;
755
511
  /**
756
- * Blob ranges to restore.
512
+ * The name of the resource
513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
757
514
  */
758
- blobRanges: BlobRestoreRange[];
515
+ readonly name?: string;
516
+ /**
517
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
519
+ */
520
+ readonly type?: string;
759
521
  }
760
522
 
761
- /**
762
- * Blob restore status.
763
- */
523
+ /** Blob restore status. */
764
524
  export interface BlobRestoreStatus {
765
525
  /**
766
- * The status of blob restore progress. Possible values are: - InProgress: Indicates that blob
767
- * restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. -
768
- * Failed: Indicates that blob restore is failed. Possible values include: 'InProgress',
769
- * 'Complete', 'Failed'
770
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
526
+ * The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
771
528
  */
772
529
  readonly status?: BlobRestoreProgressStatus;
773
530
  /**
774
531
  * Failure reason when blob restore is failed.
775
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
776
533
  */
777
534
  readonly failureReason?: string;
778
535
  /**
779
536
  * Id for tracking blob restore request.
780
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
781
538
  */
782
539
  readonly restoreId?: string;
783
540
  /**
784
541
  * Blob restore request parameters.
785
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
786
543
  */
787
544
  readonly parameters?: BlobRestoreParameters;
788
545
  }
789
546
 
790
- /**
791
- * The Private Endpoint resource.
792
- */
793
- export interface PrivateEndpoint {
794
- /**
795
- * The ARM identifier for Private Endpoint
796
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
797
- */
798
- readonly id?: string;
547
+ /** Blob restore parameters */
548
+ export interface BlobRestoreParameters {
549
+ /** Restore blob to the specified time. */
550
+ timeToRestore: Date;
551
+ /** Blob ranges to restore. */
552
+ blobRanges: BlobRestoreRange[];
799
553
  }
800
554
 
801
- /**
802
- * A collection of information about the state of the connection between service consumer and
803
- * provider.
804
- */
805
- export interface PrivateLinkServiceConnectionState {
555
+ /** Blob range */
556
+ export interface BlobRestoreRange {
557
+ /** Blob start range. This is inclusive. Empty means account start. */
558
+ startRange: string;
559
+ /** Blob end range. This is exclusive. Empty means account end. */
560
+ endRange: string;
561
+ }
562
+
563
+ /** The parameters that can be provided when updating the storage account properties. */
564
+ export interface StorageAccountUpdateParameters {
565
+ /** Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value. */
566
+ sku?: Sku;
567
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
568
+ tags?: { [propertyName: string]: string };
569
+ /** The identity of the resource. */
570
+ identity?: Identity;
571
+ /** Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. */
572
+ kind?: Kind;
573
+ /** Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
574
+ customDomain?: CustomDomain;
575
+ /** Provides the encryption settings on the account. The default setting is unencrypted. */
576
+ encryption?: Encryption;
577
+ /** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
578
+ accessTier?: AccessTier;
579
+ /** Provides the identity based authentication settings for Azure Files. */
580
+ azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
581
+ /** Allows https traffic only to storage service if sets to true. */
582
+ enableHttpsTrafficOnly?: boolean;
583
+ /** Network rule set */
584
+ networkRuleSet?: NetworkRuleSet;
585
+ /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
586
+ largeFileSharesState?: LargeFileSharesState;
587
+ /** Maintains information about the network routing choice opted by the user for data transfer */
588
+ routingPreference?: RoutingPreference;
589
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
590
+ allowBlobPublicAccess?: boolean;
591
+ /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
592
+ minimumTlsVersion?: MinimumTlsVersion;
593
+ /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
594
+ allowSharedKeyAccess?: boolean;
595
+ }
596
+
597
+ /** The response from the List Storage Accounts operation. */
598
+ export interface StorageAccountListResult {
806
599
  /**
807
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
808
- * service. Possible values include: 'Pending', 'Approved', 'Rejected'
600
+ * Gets the list of storage accounts and their properties.
601
+ * NOTE: This property will not be serialized. It can only be populated by the server.
809
602
  */
810
- status?: PrivateEndpointServiceConnectionStatus;
603
+ readonly value?: StorageAccount[];
811
604
  /**
812
- * The reason for approval/rejection of the connection.
605
+ * Request URL that can be used to query next page of storage accounts. Returned when total number of requested storage accounts exceed maximum page size.
606
+ * NOTE: This property will not be serialized. It can only be populated by the server.
813
607
  */
814
- description?: string;
608
+ readonly nextLink?: string;
609
+ }
610
+
611
+ /** The response from the ListKeys operation. */
612
+ export interface StorageAccountListKeysResult {
815
613
  /**
816
- * A message indicating if changes on the service provider require any updates on the consumer.
614
+ * Gets the list of storage account keys and their properties for the specified storage account.
615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
817
616
  */
818
- actionRequired?: string;
617
+ readonly keys?: StorageAccountKey[];
819
618
  }
820
619
 
821
- /**
822
- * Common fields that are returned in the response for all Azure Resource Manager resources
823
- * @summary Resource
824
- */
825
- export interface Resource extends BaseResource {
620
+ /** An access key for the storage account. */
621
+ export interface StorageAccountKey {
826
622
  /**
827
- * Fully qualified resource ID for the resource. Ex -
828
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
829
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
623
+ * Name of the key.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
830
625
  */
831
- readonly id?: string;
626
+ readonly keyName?: string;
832
627
  /**
833
- * The name of the resource
834
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
628
+ * Base 64-encoded value of the key.
629
+ * NOTE: This property will not be serialized. It can only be populated by the server.
835
630
  */
836
- readonly name?: string;
631
+ readonly value?: string;
837
632
  /**
838
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
839
- * "Microsoft.Storage/storageAccounts"
840
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
633
+ * Permissions for the key -- read-only or full permissions.
634
+ * NOTE: This property will not be serialized. It can only be populated by the server.
841
635
  */
842
- readonly type?: string;
636
+ readonly permissions?: KeyPermission;
843
637
  }
844
638
 
845
- /**
846
- * The Private Endpoint Connection resource.
847
- */
848
- export interface PrivateEndpointConnection extends Resource {
849
- /**
850
- * The resource of private end point.
851
- */
852
- privateEndpoint?: PrivateEndpoint;
639
+ /** The parameters used to regenerate the storage account key. */
640
+ export interface StorageAccountRegenerateKeyParameters {
641
+ /** The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. */
642
+ keyName: string;
643
+ }
644
+
645
+ /** The response from the List Usages operation. */
646
+ export interface UsageListResult {
647
+ /** Gets or sets the list of Storage Resource Usages. */
648
+ value?: Usage[];
649
+ }
650
+
651
+ /** Describes Storage Resource Usage. */
652
+ export interface Usage {
853
653
  /**
854
- * A collection of information about the state of the connection between service consumer and
855
- * provider.
654
+ * Gets the unit of measurement.
655
+ * NOTE: This property will not be serialized. It can only be populated by the server.
856
656
  */
857
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
657
+ readonly unit?: UsageUnit;
858
658
  /**
859
- * The provisioning state of the private endpoint connection resource. Possible values include:
860
- * 'Succeeded', 'Creating', 'Deleting', 'Failed'
659
+ * Gets the current count of the allocated resources in the subscription.
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
861
661
  */
862
- provisioningState?: PrivateEndpointConnectionProvisioningState;
863
- }
864
-
865
- /**
866
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
867
- * 'tags' and a 'location'
868
- * @summary Tracked Resource
869
- */
870
- export interface TrackedResource extends Resource {
662
+ readonly currentValue?: number;
871
663
  /**
872
- * Resource tags.
664
+ * Gets the maximum count of the resources that can be allocated in the subscription.
665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
873
666
  */
874
- tags?: { [propertyName: string]: string };
667
+ readonly limit?: number;
875
668
  /**
876
- * The geo-location where the resource lives
669
+ * Gets the name of the type of usage.
670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
877
671
  */
878
- location: string;
672
+ readonly name?: UsageName;
879
673
  }
880
674
 
881
- /**
882
- * The storage account.
883
- */
884
- export interface StorageAccount extends TrackedResource {
885
- /**
886
- * Gets the SKU.
887
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
888
- */
889
- readonly sku?: Sku;
675
+ /** The usage names that can be used; currently limited to StorageAccount. */
676
+ export interface UsageName {
890
677
  /**
891
- * Gets the Kind. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
892
- * 'BlockBlobStorage'
893
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
678
+ * Gets a string describing the resource name.
679
+ * NOTE: This property will not be serialized. It can only be populated by the server.
894
680
  */
895
- readonly kind?: Kind;
681
+ readonly value?: string;
896
682
  /**
897
- * The identity of the resource.
898
- */
899
- identity?: Identity;
900
- /**
901
- * Gets the status of the storage account at the time the operation was called. Possible values
902
- * include: 'Creating', 'ResolvingDNS', 'Succeeded'
903
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
904
- */
905
- readonly provisioningState?: ProvisioningState;
906
- /**
907
- * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object.
908
- * Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
909
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
910
- */
911
- readonly primaryEndpoints?: Endpoints;
912
- /**
913
- * Gets the location of the primary data center for the storage account.
914
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
915
- */
916
- readonly primaryLocation?: string;
917
- /**
918
- * Gets the status indicating whether the primary location of the storage account is available or
919
- * unavailable. Possible values include: 'available', 'unavailable'
920
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
921
- */
922
- readonly statusOfPrimary?: AccountStatus;
923
- /**
924
- * Gets the timestamp of the most recent instance of a failover to the secondary location. Only
925
- * the most recent timestamp is retained. This element is not returned if there has never been a
926
- * failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
927
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
928
- */
929
- readonly lastGeoFailoverTime?: Date;
930
- /**
931
- * Gets the location of the geo-replicated secondary for the storage account. Only available if
932
- * the accountType is Standard_GRS or Standard_RAGRS.
933
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
934
- */
935
- readonly secondaryLocation?: string;
936
- /**
937
- * Gets the status indicating whether the secondary location of the storage account is available
938
- * or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible
939
- * values include: 'available', 'unavailable'
940
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
941
- */
942
- readonly statusOfSecondary?: AccountStatus;
943
- /**
944
- * Gets the creation date and time of the storage account in UTC.
945
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
946
- */
947
- readonly creationTime?: Date;
948
- /**
949
- * Gets the custom domain the user assigned to this storage account.
950
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
951
- */
952
- readonly customDomain?: CustomDomain;
953
- /**
954
- * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object
955
- * from the secondary location of the storage account. Only available if the SKU name is
956
- * Standard_RAGRS.
957
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
958
- */
959
- readonly secondaryEndpoints?: Endpoints;
960
- /**
961
- * Gets the encryption settings on the account. If unspecified, the account is unencrypted.
962
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
963
- */
964
- readonly encryption?: Encryption;
965
- /**
966
- * Required for storage accounts where kind = BlobStorage. The access tier used for billing.
967
- * Possible values include: 'Hot', 'Cool'
968
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
969
- */
970
- readonly accessTier?: AccessTier;
971
- /**
972
- * Provides the identity based authentication settings for Azure Files.
973
- */
974
- azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
975
- /**
976
- * Allows https traffic only to storage service if sets to true.
977
- */
978
- enableHttpsTrafficOnly?: boolean;
979
- /**
980
- * Network rule set
981
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
982
- */
983
- readonly networkRuleSet?: NetworkRuleSet;
984
- /**
985
- * Account HierarchicalNamespace enabled if sets to true.
986
- */
987
- isHnsEnabled?: boolean;
988
- /**
989
- * Geo Replication Stats
990
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
991
- */
992
- readonly geoReplicationStats?: GeoReplicationStats;
993
- /**
994
- * If the failover is in progress, the value will be true, otherwise, it will be null.
995
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
996
- */
997
- readonly failoverInProgress?: boolean;
998
- /**
999
- * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible
1000
- * values include: 'Disabled', 'Enabled'
1001
- */
1002
- largeFileSharesState?: LargeFileSharesState;
1003
- /**
1004
- * List of private endpoint connection associated with the specified storage account
1005
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1006
- */
1007
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
1008
- /**
1009
- * Maintains information about the network routing choice opted by the user for data transfer
1010
- */
1011
- routingPreference?: RoutingPreference;
1012
- /**
1013
- * Blob restore status
1014
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1015
- */
1016
- readonly blobRestoreStatus?: BlobRestoreStatus;
1017
- /**
1018
- * Allow or disallow public access to all blobs or containers in the storage account. The default
1019
- * interpretation is true for this property.
1020
- */
1021
- allowBlobPublicAccess?: boolean;
1022
- /**
1023
- * Set the minimum TLS version to be permitted on requests to storage. The default interpretation
1024
- * is TLS 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
1025
- */
1026
- minimumTlsVersion?: MinimumTlsVersion;
1027
- }
1028
-
1029
- /**
1030
- * An access key for the storage account.
1031
- */
1032
- export interface StorageAccountKey {
1033
- /**
1034
- * Name of the key.
1035
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1036
- */
1037
- readonly keyName?: string;
1038
- /**
1039
- * Base 64-encoded value of the key.
1040
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1041
- */
1042
- readonly value?: string;
1043
- /**
1044
- * Permissions for the key -- read-only or full permissions. Possible values include: 'Read',
1045
- * 'Full'
1046
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1047
- */
1048
- readonly permissions?: KeyPermission;
1049
- }
1050
-
1051
- /**
1052
- * The response from the ListKeys operation.
1053
- */
1054
- export interface StorageAccountListKeysResult {
1055
- /**
1056
- * Gets the list of storage account keys and their properties for the specified storage account.
1057
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1058
- */
1059
- readonly keys?: StorageAccountKey[];
1060
- }
1061
-
1062
- /**
1063
- * The parameters used to regenerate the storage account key.
1064
- */
1065
- export interface StorageAccountRegenerateKeyParameters {
1066
- /**
1067
- * The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1,
1068
- * kerb2.
1069
- */
1070
- keyName: string;
1071
- }
1072
-
1073
- /**
1074
- * The parameters that can be provided when updating the storage account properties.
1075
- */
1076
- export interface StorageAccountUpdateParameters {
1077
- /**
1078
- * Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS,
1079
- * Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value.
1080
- */
1081
- sku?: Sku;
1082
- /**
1083
- * Gets or sets a list of key value pairs that describe the resource. These tags can be used in
1084
- * viewing and grouping this resource (across resource groups). A maximum of 15 tags can be
1085
- * provided for a resource. Each tag must have a key no greater in length than 128 characters and
1086
- * a value no greater in length than 256 characters.
1087
- */
1088
- tags?: { [propertyName: string]: string };
1089
- /**
1090
- * The identity of the resource.
1091
- */
1092
- identity?: Identity;
1093
- /**
1094
- * Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one
1095
- * custom domain is supported per storage account at this time. To clear the existing custom
1096
- * domain, use an empty string for the custom domain name property.
1097
- */
1098
- customDomain?: CustomDomain;
1099
- /**
1100
- * Provides the encryption settings on the account. The default setting is unencrypted.
1101
- */
1102
- encryption?: Encryption;
1103
- /**
1104
- * Required for storage accounts where kind = BlobStorage. The access tier used for billing.
1105
- * Possible values include: 'Hot', 'Cool'
1106
- */
1107
- accessTier?: AccessTier;
1108
- /**
1109
- * Provides the identity based authentication settings for Azure Files.
1110
- */
1111
- azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
1112
- /**
1113
- * Allows https traffic only to storage service if sets to true.
1114
- */
1115
- enableHttpsTrafficOnly?: boolean;
1116
- /**
1117
- * Network rule set
1118
- */
1119
- networkRuleSet?: NetworkRuleSet;
1120
- /**
1121
- * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible
1122
- * values include: 'Disabled', 'Enabled'
1123
- */
1124
- largeFileSharesState?: LargeFileSharesState;
1125
- /**
1126
- * Maintains information about the network routing choice opted by the user for data transfer
1127
- */
1128
- routingPreference?: RoutingPreference;
1129
- /**
1130
- * Allow or disallow public access to all blobs or containers in the storage account. The default
1131
- * interpretation is true for this property.
1132
- */
1133
- allowBlobPublicAccess?: boolean;
1134
- /**
1135
- * Set the minimum TLS version to be permitted on requests to storage. The default interpretation
1136
- * is TLS 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
1137
- */
1138
- minimumTlsVersion?: MinimumTlsVersion;
1139
- /**
1140
- * Optional. Indicates the type of storage account. Currently only StorageV2 value supported by
1141
- * server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
1142
- * 'BlockBlobStorage'
1143
- */
1144
- kind?: Kind;
1145
- }
1146
-
1147
- /**
1148
- * The usage names that can be used; currently limited to StorageAccount.
1149
- */
1150
- export interface UsageName {
1151
- /**
1152
- * Gets a string describing the resource name.
1153
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1154
- */
1155
- readonly value?: string;
1156
- /**
1157
- * Gets a localized string describing the resource name.
1158
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
683
+ * Gets a localized string describing the resource name.
684
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1159
685
  */
1160
686
  readonly localizedValue?: string;
1161
687
  }
1162
688
 
1163
- /**
1164
- * Describes Storage Resource Usage.
1165
- */
1166
- export interface Usage {
1167
- /**
1168
- * Gets the unit of measurement. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent',
1169
- * 'CountsPerSecond', 'BytesPerSecond'
1170
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1171
- */
1172
- readonly unit?: UsageUnit;
1173
- /**
1174
- * Gets the current count of the allocated resources in the subscription.
1175
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1176
- */
1177
- readonly currentValue?: number;
1178
- /**
1179
- * Gets the maximum count of the resources that can be allocated in the subscription.
1180
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1181
- */
1182
- readonly limit?: number;
1183
- /**
1184
- * Gets the name of the type of usage.
1185
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1186
- */
1187
- readonly name?: UsageName;
1188
- }
1189
-
1190
- /**
1191
- * The parameters to list SAS credentials of a storage account.
1192
- */
689
+ /** The parameters to list SAS credentials of a storage account. */
1193
690
  export interface AccountSasParameters {
1194
- /**
1195
- * The signed services accessible with the account SAS. Possible values include: Blob (b), Queue
1196
- * (q), Table (t), File (f). Possible values include: 'b', 'q', 't', 'f'
1197
- */
691
+ /** The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). */
1198
692
  services: Services;
1199
- /**
1200
- * The signed resource types that are accessible with the account SAS. Service (s): Access to
1201
- * service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to
1202
- * object-level APIs for blobs, queue messages, table entities, and files. Possible values
1203
- * include: 's', 'c', 'o'
1204
- */
693
+ /** The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. */
1205
694
  resourceTypes: SignedResourceTypes;
1206
- /**
1207
- * The signed permissions for the account SAS. Possible values include: Read (r), Write (w),
1208
- * Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values
1209
- * include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
1210
- */
695
+ /** The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
1211
696
  permissions: Permissions;
1212
- /**
1213
- * An IP address or a range of IP addresses from which to accept requests.
1214
- */
697
+ /** An IP address or a range of IP addresses from which to accept requests. */
1215
698
  iPAddressOrRange?: string;
1216
- /**
1217
- * The protocol permitted for a request made with the account SAS. Possible values include:
1218
- * 'https,http', 'https'
1219
- */
699
+ /** The protocol permitted for a request made with the account SAS. */
1220
700
  protocols?: HttpProtocol;
1221
- /**
1222
- * The time at which the SAS becomes valid.
1223
- */
701
+ /** The time at which the SAS becomes valid. */
1224
702
  sharedAccessStartTime?: Date;
1225
- /**
1226
- * The time at which the shared access signature becomes invalid.
1227
- */
703
+ /** The time at which the shared access signature becomes invalid. */
1228
704
  sharedAccessExpiryTime: Date;
1229
- /**
1230
- * The key to sign the account SAS token with.
1231
- */
705
+ /** The key to sign the account SAS token with. */
1232
706
  keyToSign?: string;
1233
707
  }
1234
708
 
1235
- /**
1236
- * The List SAS credentials operation response.
1237
- */
709
+ /** The List SAS credentials operation response. */
1238
710
  export interface ListAccountSasResponse {
1239
711
  /**
1240
712
  * List SAS credentials of storage account.
1241
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
713
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1242
714
  */
1243
715
  readonly accountSasToken?: string;
1244
716
  }
1245
717
 
1246
- /**
1247
- * The parameters to list service SAS credentials of a specific resource.
1248
- */
718
+ /** The parameters to list service SAS credentials of a specific resource. */
1249
719
  export interface ServiceSasParameters {
1250
- /**
1251
- * The canonical path to the signed resource.
1252
- */
720
+ /** The canonical path to the signed resource. */
1253
721
  canonicalizedResource: string;
1254
- /**
1255
- * The signed services accessible with the service SAS. Possible values include: Blob (b),
1256
- * Container (c), File (f), Share (s). Possible values include: 'b', 'c', 'f', 's'
1257
- */
722
+ /** The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). */
1258
723
  resource?: SignedResource;
1259
- /**
1260
- * The signed permissions for the service SAS. Possible values include: Read (r), Write (w),
1261
- * Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values
1262
- * include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
1263
- */
724
+ /** The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
1264
725
  permissions?: Permissions;
1265
- /**
1266
- * An IP address or a range of IP addresses from which to accept requests.
1267
- */
726
+ /** An IP address or a range of IP addresses from which to accept requests. */
1268
727
  iPAddressOrRange?: string;
1269
- /**
1270
- * The protocol permitted for a request made with the account SAS. Possible values include:
1271
- * 'https,http', 'https'
1272
- */
728
+ /** The protocol permitted for a request made with the account SAS. */
1273
729
  protocols?: HttpProtocol;
1274
- /**
1275
- * The time at which the SAS becomes valid.
1276
- */
730
+ /** The time at which the SAS becomes valid. */
1277
731
  sharedAccessStartTime?: Date;
1278
- /**
1279
- * The time at which the shared access signature becomes invalid.
1280
- */
732
+ /** The time at which the shared access signature becomes invalid. */
1281
733
  sharedAccessExpiryTime?: Date;
1282
- /**
1283
- * A unique value up to 64 characters in length that correlates to an access policy specified for
1284
- * the container, queue, or table.
1285
- */
734
+ /** A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. */
1286
735
  identifier?: string;
1287
- /**
1288
- * The start of partition key.
1289
- */
736
+ /** The start of partition key. */
1290
737
  partitionKeyStart?: string;
1291
- /**
1292
- * The end of partition key.
1293
- */
738
+ /** The end of partition key. */
1294
739
  partitionKeyEnd?: string;
1295
- /**
1296
- * The start of row key.
1297
- */
740
+ /** The start of row key. */
1298
741
  rowKeyStart?: string;
1299
- /**
1300
- * The end of row key.
1301
- */
742
+ /** The end of row key. */
1302
743
  rowKeyEnd?: string;
1303
- /**
1304
- * The key to sign the account SAS token with.
1305
- */
744
+ /** The key to sign the account SAS token with. */
1306
745
  keyToSign?: string;
1307
- /**
1308
- * The response header override for cache control.
1309
- */
746
+ /** The response header override for cache control. */
1310
747
  cacheControl?: string;
1311
- /**
1312
- * The response header override for content disposition.
1313
- */
748
+ /** The response header override for content disposition. */
1314
749
  contentDisposition?: string;
1315
- /**
1316
- * The response header override for content encoding.
1317
- */
750
+ /** The response header override for content encoding. */
1318
751
  contentEncoding?: string;
1319
- /**
1320
- * The response header override for content language.
1321
- */
752
+ /** The response header override for content language. */
1322
753
  contentLanguage?: string;
1323
- /**
1324
- * The response header override for content type.
1325
- */
754
+ /** The response header override for content type. */
1326
755
  contentType?: string;
1327
756
  }
1328
757
 
1329
- /**
1330
- * The List service SAS credentials operation response.
1331
- */
758
+ /** The List service SAS credentials operation response. */
1332
759
  export interface ListServiceSasResponse {
1333
760
  /**
1334
761
  * List service SAS credentials of specific resource.
1335
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
762
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1336
763
  */
1337
764
  readonly serviceSasToken?: string;
1338
765
  }
1339
766
 
1340
- /**
1341
- * Object to define the number of days after last modification.
1342
- */
1343
- export interface DateAfterModification {
1344
- /**
1345
- * Value indicating the age in days after last modification
1346
- */
1347
- daysAfterModificationGreaterThan: number;
767
+ /** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
768
+ export interface ManagementPolicySchema {
769
+ /** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
770
+ rules: ManagementPolicyRule[];
1348
771
  }
1349
772
 
1350
- /**
1351
- * Management policy action for base blob.
1352
- */
773
+ /** An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. */
774
+ export interface ManagementPolicyRule {
775
+ /** Rule is enabled if set to true. */
776
+ enabled?: boolean;
777
+ /** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
778
+ name: string;
779
+ /** The valid value is Lifecycle */
780
+ type: RuleType;
781
+ /** An object that defines the Lifecycle rule. */
782
+ definition: ManagementPolicyDefinition;
783
+ }
784
+
785
+ /** An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. */
786
+ export interface ManagementPolicyDefinition {
787
+ /** An object that defines the action set. */
788
+ actions: ManagementPolicyAction;
789
+ /** An object that defines the filter set. */
790
+ filters?: ManagementPolicyFilter;
791
+ }
792
+
793
+ /** Actions are applied to the filtered blobs when the execution condition is met. */
794
+ export interface ManagementPolicyAction {
795
+ /** The management policy action for base blob */
796
+ baseBlob?: ManagementPolicyBaseBlob;
797
+ /** The management policy action for snapshot */
798
+ snapshot?: ManagementPolicySnapShot;
799
+ /** The management policy action for version */
800
+ version?: ManagementPolicyVersion;
801
+ }
802
+
803
+ /** Management policy action for base blob. */
1353
804
  export interface ManagementPolicyBaseBlob {
1354
- /**
1355
- * The function to tier blobs to cool storage. Support blobs currently at Hot tier
1356
- */
805
+ /** The function to tier blobs to cool storage. Support blobs currently at Hot tier */
1357
806
  tierToCool?: DateAfterModification;
1358
- /**
1359
- * The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier
1360
- */
807
+ /** The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier */
1361
808
  tierToArchive?: DateAfterModification;
1362
- /**
1363
- * The function to delete the blob
1364
- */
1365
- deleteProperty?: DateAfterModification;
809
+ /** The function to delete the blob */
810
+ delete?: DateAfterModification;
811
+ /** This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. */
812
+ enableAutoTierToHotFromCool?: boolean;
1366
813
  }
1367
814
 
1368
- /**
1369
- * Object to define the number of days after creation.
1370
- */
815
+ /** Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive. */
816
+ export interface DateAfterModification {
817
+ /** Value indicating the age in days after last modification */
818
+ daysAfterModificationGreaterThan?: number;
819
+ /** Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy */
820
+ daysAfterLastAccessTimeGreaterThan?: number;
821
+ }
822
+
823
+ /** Management policy action for snapshot. */
824
+ export interface ManagementPolicySnapShot {
825
+ /** The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier */
826
+ tierToCool?: DateAfterCreation;
827
+ /** The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier */
828
+ tierToArchive?: DateAfterCreation;
829
+ /** The function to delete the blob snapshot */
830
+ delete?: DateAfterCreation;
831
+ }
832
+
833
+ /** Object to define the number of days after creation. */
1371
834
  export interface DateAfterCreation {
1372
- /**
1373
- * Value indicating the age in days after creation
1374
- */
835
+ /** Value indicating the age in days after creation */
1375
836
  daysAfterCreationGreaterThan: number;
1376
837
  }
1377
838
 
1378
- /**
1379
- * Management policy action for snapshot.
1380
- */
1381
- export interface ManagementPolicySnapShot {
1382
- /**
1383
- * The function to delete the blob snapshot
1384
- */
1385
- deleteProperty?: DateAfterCreation;
839
+ /** Management policy action for blob version. */
840
+ export interface ManagementPolicyVersion {
841
+ /** The function to tier blob version to cool storage. Support blob version currently at Hot tier */
842
+ tierToCool?: DateAfterCreation;
843
+ /** The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier */
844
+ tierToArchive?: DateAfterCreation;
845
+ /** The function to delete the blob version */
846
+ delete?: DateAfterCreation;
1386
847
  }
1387
848
 
1388
- /**
1389
- * Actions are applied to the filtered blobs when the execution condition is met.
1390
- */
1391
- export interface ManagementPolicyAction {
1392
- /**
1393
- * The management policy action for base blob
1394
- */
1395
- baseBlob?: ManagementPolicyBaseBlob;
1396
- /**
1397
- * The management policy action for snapshot
1398
- */
1399
- snapshot?: ManagementPolicySnapShot;
849
+ /** Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. */
850
+ export interface ManagementPolicyFilter {
851
+ /** An array of strings for prefixes to be match. */
852
+ prefixMatch?: string[];
853
+ /** An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. */
854
+ blobTypes: string[];
855
+ /** An array of blob index tag based filters, there can be at most 10 tag filters */
856
+ blobIndexMatch?: TagFilter[];
1400
857
  }
1401
858
 
1402
- /**
1403
- * Blob index tag based filtering for blob objects
1404
- */
859
+ /** Blob index tag based filtering for blob objects */
1405
860
  export interface TagFilter {
1406
- /**
1407
- * This is the filter tag name, it can have 1 - 128 characters
1408
- */
861
+ /** This is the filter tag name, it can have 1 - 128 characters */
1409
862
  name: string;
1410
- /**
1411
- * This is the comparison operator which is used for object comparison and filtering. Only ==
1412
- * (equality operator) is currently supported
1413
- */
863
+ /** This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported */
1414
864
  op: string;
1415
- /**
1416
- * This is the filter tag value field used for tag based filtering, it can have 0 - 256
1417
- * characters
1418
- */
865
+ /** This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters */
1419
866
  value: string;
1420
867
  }
1421
868
 
1422
- /**
1423
- * Filters limit rule actions to a subset of blobs within the storage account. If multiple filters
1424
- * are defined, a logical AND is performed on all filters.
1425
- */
1426
- export interface ManagementPolicyFilter {
1427
- /**
1428
- * An array of strings for prefixes to be match.
1429
- */
869
+ /** The storage account blob inventory policy rules. */
870
+ export interface BlobInventoryPolicySchema {
871
+ /** Policy is enabled if set to true. */
872
+ enabled: boolean;
873
+ /** Container name where blob inventory files are stored. Must be pre-created. */
874
+ destination: string;
875
+ /** The valid value is Inventory */
876
+ type: InventoryRuleType;
877
+ /** The storage account blob inventory policy rules. The rule is applied when it is enabled. */
878
+ rules: BlobInventoryPolicyRule[];
879
+ }
880
+
881
+ /** An object that wraps the blob inventory rule. Each rule is uniquely defined by name. */
882
+ export interface BlobInventoryPolicyRule {
883
+ /** Rule is enabled when set to true. */
884
+ enabled: boolean;
885
+ /** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
886
+ name: string;
887
+ /** An object that defines the blob inventory policy rule. */
888
+ definition: BlobInventoryPolicyDefinition;
889
+ }
890
+
891
+ /** An object that defines the blob inventory rule. Each definition consists of a set of filters. */
892
+ export interface BlobInventoryPolicyDefinition {
893
+ /** An object that defines the filter set. */
894
+ filters: BlobInventoryPolicyFilter;
895
+ }
896
+
897
+ /** An object that defines the blob inventory rule filter conditions. */
898
+ export interface BlobInventoryPolicyFilter {
899
+ /** An array of strings for blob prefixes to be matched. */
1430
900
  prefixMatch?: string[];
1431
- /**
1432
- * An array of predefined enum values. Only blockBlob is supported.
1433
- */
901
+ /** An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. */
1434
902
  blobTypes: string[];
1435
- /**
1436
- * An array of blob index tag based filters, there can be at most 10 tag filters
1437
- */
1438
- blobIndexMatch?: TagFilter[];
903
+ /** Includes blob versions in blob inventory when value set to true. */
904
+ includeBlobVersions?: boolean;
905
+ /** Includes blob snapshots in blob inventory when value set to true. */
906
+ includeSnapshots?: boolean;
907
+ }
908
+
909
+ /** Metadata pertaining to creation and last modification of the resource. */
910
+ export interface SystemData {
911
+ /** The identity that created the resource. */
912
+ createdBy?: string;
913
+ /** The type of identity that created the resource. */
914
+ createdByType?: CreatedByType;
915
+ /** The timestamp of resource creation (UTC). */
916
+ createdAt?: Date;
917
+ /** The identity that last modified the resource. */
918
+ lastModifiedBy?: string;
919
+ /** The type of identity that last modified the resource. */
920
+ lastModifiedByType?: CreatedByType;
921
+ /** The timestamp of resource last modification (UTC) */
922
+ lastModifiedAt?: Date;
923
+ }
924
+
925
+ /** An error response from the storage resource provider. */
926
+ export interface ErrorResponse {
927
+ /** Azure Storage Resource Provider error response body. */
928
+ error?: ErrorResponseBody;
1439
929
  }
1440
930
 
1441
- /**
1442
- * An object that defines the Lifecycle rule. Each definition is made up with a filters set and an
1443
- * actions set.
1444
- */
1445
- export interface ManagementPolicyDefinition {
1446
- /**
1447
- * An object that defines the action set.
1448
- */
1449
- actions: ManagementPolicyAction;
1450
- /**
1451
- * An object that defines the filter set.
1452
- */
1453
- filters?: ManagementPolicyFilter;
931
+ /** Error response body contract. */
932
+ export interface ErrorResponseBody {
933
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
934
+ code?: string;
935
+ /** A message describing the error, intended to be suitable for display in a user interface. */
936
+ message?: string;
1454
937
  }
1455
938
 
1456
- /**
1457
- * An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.
1458
- */
1459
- export interface ManagementPolicyRule {
939
+ /** List of blob inventory policies returned. */
940
+ export interface ListBlobInventoryPolicy {
1460
941
  /**
1461
- * Rule is enabled if set to true.
942
+ * List of blob inventory policies.
943
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1462
944
  */
1463
- enabled?: boolean;
945
+ readonly value?: BlobInventoryPolicy[];
946
+ }
947
+
948
+ /** List of private endpoint connection associated with the specified storage account */
949
+ export interface PrivateEndpointConnectionListResult {
950
+ /** Array of private endpoint connections */
951
+ value?: PrivateEndpointConnection[];
952
+ }
953
+
954
+ /** A list of private link resources */
955
+ export interface PrivateLinkResourceListResult {
956
+ /** Array of private link resources */
957
+ value?: PrivateLinkResource[];
958
+ }
959
+
960
+ /** List storage account object replication policies. */
961
+ export interface ObjectReplicationPolicies {
962
+ /** The replication policy between two storage accounts. */
963
+ value?: ObjectReplicationPolicy[];
964
+ }
965
+
966
+ /** The replication policy rule between two containers. */
967
+ export interface ObjectReplicationPolicyRule {
968
+ /** Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. */
969
+ ruleId?: string;
970
+ /** Required. Source container name. */
971
+ sourceContainer: string;
972
+ /** Required. Destination container name. */
973
+ destinationContainer: string;
974
+ /** Optional. An object that defines the filter set. */
975
+ filters?: ObjectReplicationPolicyFilter;
976
+ }
977
+
978
+ /** Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. */
979
+ export interface ObjectReplicationPolicyFilter {
980
+ /** Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. */
981
+ prefixMatch?: string[];
982
+ /** Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z */
983
+ minCreationTime?: string;
984
+ }
985
+
986
+ /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
987
+ export interface EncryptionScopeKeyVaultProperties {
988
+ /** The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. */
989
+ keyUri?: string;
990
+ }
991
+
992
+ /** List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes. */
993
+ export interface EncryptionScopeListResult {
1464
994
  /**
1465
- * A rule name can contain any combination of alpha numeric characters. Rule name is
1466
- * case-sensitive. It must be unique within a policy.
995
+ * List of encryption scopes requested.
996
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1467
997
  */
1468
- name: string;
998
+ readonly value?: EncryptionScope[];
1469
999
  /**
1470
- * An object that defines the Lifecycle rule.
1000
+ * Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size.
1001
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1471
1002
  */
1472
- definition: ManagementPolicyDefinition;
1003
+ readonly nextLink?: string;
1473
1004
  }
1474
1005
 
1475
- /**
1476
- * The Storage Account ManagementPolicies Rules. See more details in:
1477
- * https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1478
- */
1479
- export interface ManagementPolicySchema {
1006
+ /** The Private Endpoint Connection resource. */
1007
+ export type PrivateEndpointConnection = Resource & {
1008
+ /** The resource of private end point. */
1009
+ privateEndpoint?: PrivateEndpoint;
1010
+ /** A collection of information about the state of the connection between service consumer and provider. */
1011
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1480
1012
  /**
1481
- * The Storage Account ManagementPolicies Rules. See more details in:
1482
- * https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1013
+ * The provisioning state of the private endpoint connection resource.
1014
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1483
1015
  */
1484
- rules: ManagementPolicyRule[];
1485
- }
1016
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1017
+ };
1486
1018
 
1487
- /**
1488
- * The Get Storage Account ManagementPolicies operation response.
1489
- */
1490
- export interface ManagementPolicy extends Resource {
1019
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1020
+ export type TrackedResource = Resource & {
1021
+ /** Resource tags. */
1022
+ tags?: { [propertyName: string]: string };
1023
+ /** The geo-location where the resource lives */
1024
+ location: string;
1025
+ };
1026
+
1027
+ /** The Get Storage Account ManagementPolicies operation response. */
1028
+ export type ManagementPolicy = Resource & {
1491
1029
  /**
1492
1030
  * Returns the date and time the ManagementPolicies was last modified.
1493
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1031
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1494
1032
  */
1495
1033
  readonly lastModifiedTime?: Date;
1034
+ /** The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
1035
+ policy?: ManagementPolicySchema;
1036
+ };
1037
+
1038
+ /** The storage account blob inventory policy. */
1039
+ export type BlobInventoryPolicy = Resource & {
1496
1040
  /**
1497
- * The Storage Account ManagementPolicy, in JSON format. See more details in:
1498
- * https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1041
+ * Metadata pertaining to creation and last modification of the resource.
1042
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1499
1043
  */
1500
- policy: ManagementPolicySchema;
1501
- }
1044
+ readonly systemData?: SystemData;
1045
+ /**
1046
+ * Returns the last modified date and time of the blob inventory policy.
1047
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1048
+ */
1049
+ readonly lastModifiedTime?: Date;
1050
+ /** The storage account blob inventory policy object. It is composed of policy rules. */
1051
+ policy?: BlobInventoryPolicySchema;
1052
+ };
1502
1053
 
1503
- /**
1504
- * The key vault properties for the encryption scope. This is a required field if encryption scope
1505
- * 'source' attribute is set to 'Microsoft.KeyVault'.
1506
- */
1507
- export interface EncryptionScopeKeyVaultProperties {
1054
+ /** A private link resource */
1055
+ export type PrivateLinkResource = Resource & {
1508
1056
  /**
1509
- * The object identifier for a key vault key object. When applied, the encryption scope will use
1510
- * the key referenced by the identifier to enable customer-managed key support on this encryption
1511
- * scope.
1057
+ * The private link resource group id.
1058
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1512
1059
  */
1513
- keyUri?: string;
1514
- }
1060
+ readonly groupId?: string;
1061
+ /**
1062
+ * The private link resource required member names.
1063
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1064
+ */
1065
+ readonly requiredMembers?: string[];
1066
+ /** The private link resource Private link DNS zone name. */
1067
+ requiredZoneNames?: string[];
1068
+ };
1515
1069
 
1516
- /**
1517
- * The Encryption Scope resource.
1518
- */
1519
- export interface EncryptionScope extends Resource {
1070
+ /** The replication policy between two storage accounts. Multiple rules can be defined in one policy. */
1071
+ export type ObjectReplicationPolicy = Resource & {
1520
1072
  /**
1521
- * The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage,
1522
- * Microsoft.KeyVault. Possible values include: 'Microsoft.Storage', 'Microsoft.KeyVault'
1073
+ * A unique id for object replication policy.
1074
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1523
1075
  */
1524
- source?: EncryptionScopeSource;
1076
+ readonly policyId?: string;
1525
1077
  /**
1526
- * The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
1527
- * Possible values include: 'Enabled', 'Disabled'
1078
+ * Indicates when the policy is enabled on the source account.
1079
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1528
1080
  */
1081
+ readonly enabledTime?: Date;
1082
+ /** Required. Source account name. */
1083
+ sourceAccount?: string;
1084
+ /** Required. Destination account name. */
1085
+ destinationAccount?: string;
1086
+ /** The storage account object replication rules. */
1087
+ rules?: ObjectReplicationPolicyRule[];
1088
+ };
1089
+
1090
+ /** The Encryption Scope resource. */
1091
+ export type EncryptionScope = Resource & {
1092
+ /** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */
1093
+ source?: EncryptionScopeSource;
1094
+ /** The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. */
1529
1095
  state?: EncryptionScopeState;
1530
1096
  /**
1531
1097
  * Gets the creation date and time of the encryption scope in UTC.
1532
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1098
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1533
1099
  */
1534
1100
  readonly creationTime?: Date;
1535
1101
  /**
1536
1102
  * Gets the last modification date and time of the encryption scope in UTC.
1537
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1538
1104
  */
1539
1105
  readonly lastModifiedTime?: Date;
1540
- /**
1541
- * The key vault properties for the encryption scope. This is a required field if encryption
1542
- * scope 'source' attribute is set to 'Microsoft.KeyVault'.
1543
- */
1106
+ /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
1544
1107
  keyVaultProperties?: EncryptionScopeKeyVaultProperties;
1545
- }
1108
+ };
1546
1109
 
1547
- /**
1548
- * Filters limit replication to a subset of blobs within the storage account. A logical OR is
1549
- * performed on values in the filter. If multiple filters are defined, a logical AND is performed
1550
- * on all filters.
1551
- */
1552
- export interface ObjectReplicationPolicyFilter {
1110
+ /** The storage account. */
1111
+ export type StorageAccount = TrackedResource & {
1553
1112
  /**
1554
- * Optional. Filters the results to replicate only blobs whose names begin with the specified
1555
- * prefix.
1113
+ * Gets the SKU.
1114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1556
1115
  */
1557
- prefixMatch?: string[];
1116
+ readonly sku?: Sku;
1558
1117
  /**
1559
- * Blobs created after the time will be replicated to the destination. It must be in datetime
1560
- * format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
1118
+ * Gets the Kind.
1119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1561
1120
  */
1562
- minCreationTime?: string;
1563
- }
1564
-
1565
- /**
1566
- * The replication policy rule between two containers.
1567
- */
1568
- export interface ObjectReplicationPolicyRule {
1121
+ readonly kind?: Kind;
1122
+ /** The identity of the resource. */
1123
+ identity?: Identity;
1569
1124
  /**
1570
- * Rule Id is auto-generated for each new rule on destination account. It is required for put
1571
- * policy on source account.
1125
+ * Gets the status of the storage account at the time the operation was called.
1126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1572
1127
  */
1573
- ruleId?: string;
1128
+ readonly provisioningState?: ProvisioningState;
1574
1129
  /**
1575
- * Required. Source container name.
1130
+ * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
1131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1576
1132
  */
1577
- sourceContainer: string;
1133
+ readonly primaryEndpoints?: Endpoints;
1578
1134
  /**
1579
- * Required. Destination container name.
1135
+ * Gets the location of the primary data center for the storage account.
1136
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1580
1137
  */
1581
- destinationContainer: string;
1138
+ readonly primaryLocation?: string;
1582
1139
  /**
1583
- * Optional. An object that defines the filter set.
1140
+ * Gets the status indicating whether the primary location of the storage account is available or unavailable.
1141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1584
1142
  */
1585
- filters?: ObjectReplicationPolicyFilter;
1586
- }
1587
-
1588
- /**
1589
- * The replication policy between two storage accounts. Multiple rules can be defined in one
1590
- * policy.
1591
- */
1592
- export interface ObjectReplicationPolicy extends Resource {
1143
+ readonly statusOfPrimary?: AccountStatus;
1593
1144
  /**
1594
- * A unique id for object replication policy.
1595
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1145
+ * Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
1146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1596
1147
  */
1597
- readonly policyId?: string;
1148
+ readonly lastGeoFailoverTime?: Date;
1598
1149
  /**
1599
- * Indicates when the policy is enabled on the source account.
1600
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1150
+ * Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
1151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1601
1152
  */
1602
- readonly enabledTime?: Date;
1153
+ readonly secondaryLocation?: string;
1603
1154
  /**
1604
- * Required. Source account name.
1155
+ * Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.
1156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1605
1157
  */
1606
- sourceAccount: string;
1158
+ readonly statusOfSecondary?: AccountStatus;
1607
1159
  /**
1608
- * Required. Destination account name.
1160
+ * Gets the creation date and time of the storage account in UTC.
1161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1609
1162
  */
1610
- destinationAccount: string;
1163
+ readonly creationTime?: Date;
1611
1164
  /**
1612
- * The storage account object replication rules.
1165
+ * Gets the custom domain the user assigned to this storage account.
1166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1613
1167
  */
1614
- rules?: ObjectReplicationPolicyRule[];
1615
- }
1616
-
1617
- /**
1618
- * An error response from the storage resource provider.
1619
- */
1620
- export interface ErrorResponse {
1168
+ readonly customDomain?: CustomDomain;
1621
1169
  /**
1622
- * An identifier for the error. Codes are invariant and are intended to be consumed
1623
- * programmatically.
1170
+ * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.
1171
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1624
1172
  */
1625
- code?: string;
1173
+ readonly secondaryEndpoints?: Endpoints;
1626
1174
  /**
1627
- * A message describing the error, intended to be suitable for display in a user interface.
1175
+ * Gets the encryption settings on the account. If unspecified, the account is unencrypted.
1176
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1628
1177
  */
1629
- message?: string;
1630
- }
1631
-
1632
- /**
1633
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
1634
- * and a location
1635
- * @summary Proxy Resource
1636
- */
1637
- export interface ProxyResource extends Resource {
1638
- }
1639
-
1640
- /**
1641
- * The resource model definition for an Azure Resource Manager resource with an etag.
1642
- * @summary Entity Resource
1643
- */
1644
- export interface AzureEntityResource extends Resource {
1178
+ readonly encryption?: Encryption;
1645
1179
  /**
1646
- * Resource Etag.
1647
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1180
+ * Required for storage accounts where kind = BlobStorage. The access tier used for billing.
1181
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1648
1182
  */
1649
- readonly etag?: string;
1650
- }
1651
-
1652
- /**
1653
- * A private link resource
1654
- */
1655
- export interface PrivateLinkResource extends Resource {
1183
+ readonly accessTier?: AccessTier;
1184
+ /** Provides the identity based authentication settings for Azure Files. */
1185
+ azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
1186
+ /** Allows https traffic only to storage service if sets to true. */
1187
+ enableHttpsTrafficOnly?: boolean;
1656
1188
  /**
1657
- * The private link resource group id.
1658
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1189
+ * Network rule set
1190
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1659
1191
  */
1660
- readonly groupId?: string;
1192
+ readonly networkRuleSet?: NetworkRuleSet;
1193
+ /** Account HierarchicalNamespace enabled if sets to true. */
1194
+ isHnsEnabled?: boolean;
1661
1195
  /**
1662
- * The private link resource required member names.
1663
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1196
+ * Geo Replication Stats
1197
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1664
1198
  */
1665
- readonly requiredMembers?: string[];
1199
+ readonly geoReplicationStats?: GeoReplicationStats;
1666
1200
  /**
1667
- * The private link resource Private link DNS zone name.
1201
+ * If the failover is in progress, the value will be true, otherwise, it will be null.
1202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1668
1203
  */
1669
- requiredZoneNames?: string[];
1670
- }
1671
-
1672
- /**
1673
- * A list of private link resources
1674
- */
1675
- export interface PrivateLinkResourceListResult {
1204
+ readonly failoverInProgress?: boolean;
1205
+ /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
1206
+ largeFileSharesState?: LargeFileSharesState;
1676
1207
  /**
1677
- * Array of private link resources
1208
+ * List of private endpoint connection associated with the specified storage account
1209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1678
1210
  */
1679
- value?: PrivateLinkResource[];
1680
- }
1681
-
1682
- /**
1683
- * Optional Parameters.
1684
- */
1685
- export interface StorageAccountsGetPropertiesOptionalParams extends msRest.RequestOptionsBase {
1211
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1212
+ /** Maintains information about the network routing choice opted by the user for data transfer */
1213
+ routingPreference?: RoutingPreference;
1686
1214
  /**
1687
- * May be used to expand the properties within account's properties. By default, data is not
1688
- * included when fetching properties. Currently we only support geoReplicationStats and
1689
- * blobRestoreStatus. Possible values include: 'geoReplicationStats', 'blobRestoreStatus'
1215
+ * Blob restore status
1216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1690
1217
  */
1691
- expand?: StorageAccountExpand;
1692
- }
1218
+ readonly blobRestoreStatus?: BlobRestoreStatus;
1219
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
1220
+ allowBlobPublicAccess?: boolean;
1221
+ /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
1222
+ minimumTlsVersion?: MinimumTlsVersion;
1223
+ /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
1224
+ allowSharedKeyAccess?: boolean;
1225
+ };
1693
1226
 
1694
- /**
1695
- * Optional Parameters.
1696
- */
1697
- export interface StorageAccountsListKeysOptionalParams extends msRest.RequestOptionsBase {
1698
- /**
1699
- * Specifies type of the key to be listed. Possible value is kerb. Possible values include:
1700
- * 'kerb'
1701
- */
1702
- expand?: ListKeyExpand;
1227
+ /** Known values of {@link SkuName} that the service accepts. */
1228
+ export enum KnownSkuName {
1229
+ StandardLRS = "Standard_LRS",
1230
+ StandardGRS = "Standard_GRS",
1231
+ StandardRagrs = "Standard_RAGRS",
1232
+ StandardZRS = "Standard_ZRS",
1233
+ PremiumLRS = "Premium_LRS",
1234
+ PremiumZRS = "Premium_ZRS",
1235
+ StandardGzrs = "Standard_GZRS",
1236
+ StandardRagzrs = "Standard_RAGZRS"
1703
1237
  }
1704
1238
 
1705
1239
  /**
1706
- * An interface representing StorageManagementClientOptions.
1240
+ * Defines values for SkuName. \
1241
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
1242
+ * this enum contains the known values that the service supports.
1243
+ * ### Known values supported by the service
1244
+ * **Standard_LRS** \
1245
+ * **Standard_GRS** \
1246
+ * **Standard_RAGRS** \
1247
+ * **Standard_ZRS** \
1248
+ * **Premium_LRS** \
1249
+ * **Premium_ZRS** \
1250
+ * **Standard_GZRS** \
1251
+ * **Standard_RAGZRS**
1707
1252
  */
1708
- export interface StorageManagementClientOptions extends AzureServiceClientOptions {
1709
- baseUri?: string;
1710
- }
1253
+ export type SkuName = string;
1711
1254
 
1712
- /**
1713
- * @interface
1714
- * Result of the request to list Storage operations. It contains a list of operations and a URL
1715
- * link to get the next set of results.
1716
- * @extends Array<Operation>
1717
- */
1718
- export interface OperationListResult extends Array<Operation> {
1255
+ /** Known values of {@link Kind} that the service accepts. */
1256
+ export enum KnownKind {
1257
+ Storage = "Storage",
1258
+ StorageV2 = "StorageV2",
1259
+ BlobStorage = "BlobStorage",
1260
+ FileStorage = "FileStorage",
1261
+ BlockBlobStorage = "BlockBlobStorage"
1719
1262
  }
1720
1263
 
1721
1264
  /**
1722
- * @interface
1723
- * The response from the List Storage SKUs operation.
1724
- * @extends Array<SkuInformation>
1265
+ * Defines values for Kind. \
1266
+ * {@link KnownKind} can be used interchangeably with Kind,
1267
+ * this enum contains the known values that the service supports.
1268
+ * ### Known values supported by the service
1269
+ * **Storage** \
1270
+ * **StorageV2** \
1271
+ * **BlobStorage** \
1272
+ * **FileStorage** \
1273
+ * **BlockBlobStorage**
1725
1274
  */
1726
- export interface StorageSkuListResult extends Array<SkuInformation> {
1727
- }
1275
+ export type Kind = string;
1728
1276
 
1729
- /**
1730
- * @interface
1731
- * The response from the List Storage Accounts operation.
1732
- * @extends Array<StorageAccount>
1733
- */
1734
- export interface StorageAccountListResult extends Array<StorageAccount> {
1735
- /**
1736
- * Request URL that can be used to query next page of storage accounts. Returned when total
1737
- * number of requested storage accounts exceed maximum page size.
1738
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1739
- */
1740
- readonly nextLink?: string;
1277
+ /** Known values of {@link ReasonCode} that the service accepts. */
1278
+ export enum KnownReasonCode {
1279
+ QuotaId = "QuotaId",
1280
+ NotAvailableForSubscription = "NotAvailableForSubscription"
1741
1281
  }
1742
1282
 
1743
1283
  /**
1744
- * @interface
1745
- * The response from the List Usages operation.
1746
- * @extends Array<Usage>
1284
+ * Defines values for ReasonCode. \
1285
+ * {@link KnownReasonCode} can be used interchangeably with ReasonCode,
1286
+ * this enum contains the known values that the service supports.
1287
+ * ### Known values supported by the service
1288
+ * **QuotaId** \
1289
+ * **NotAvailableForSubscription**
1747
1290
  */
1748
- export interface UsageListResult extends Array<Usage> {
1291
+ export type ReasonCode = string;
1292
+
1293
+ /** Known values of {@link KeyType} that the service accepts. */
1294
+ export enum KnownKeyType {
1295
+ Service = "Service",
1296
+ Account = "Account"
1749
1297
  }
1750
1298
 
1751
1299
  /**
1752
- * @interface
1753
- * List of private endpoint connection associated with the specified storage account
1754
- * @extends Array<PrivateEndpointConnection>
1300
+ * Defines values for KeyType. \
1301
+ * {@link KnownKeyType} can be used interchangeably with KeyType,
1302
+ * this enum contains the known values that the service supports.
1303
+ * ### Known values supported by the service
1304
+ * **Service** \
1305
+ * **Account**
1755
1306
  */
1756
- export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
1307
+ export type KeyType = string;
1308
+
1309
+ /** Known values of {@link KeySource} that the service accepts. */
1310
+ export enum KnownKeySource {
1311
+ MicrosoftStorage = "Microsoft.Storage",
1312
+ MicrosoftKeyvault = "Microsoft.Keyvault"
1757
1313
  }
1758
1314
 
1759
1315
  /**
1760
- * @interface
1761
- * List storage account object replication policies.
1762
- * @extends Array<ObjectReplicationPolicy>
1316
+ * Defines values for KeySource. \
1317
+ * {@link KnownKeySource} can be used interchangeably with KeySource,
1318
+ * this enum contains the known values that the service supports.
1319
+ * ### Known values supported by the service
1320
+ * **Microsoft.Storage** \
1321
+ * **Microsoft.Keyvault**
1763
1322
  */
1764
- export interface ObjectReplicationPolicies extends Array<ObjectReplicationPolicy> {
1323
+ export type KeySource = string;
1324
+
1325
+ /** Known values of {@link Bypass} that the service accepts. */
1326
+ export enum KnownBypass {
1327
+ None = "None",
1328
+ Logging = "Logging",
1329
+ Metrics = "Metrics",
1330
+ AzureServices = "AzureServices"
1765
1331
  }
1766
1332
 
1767
1333
  /**
1768
- * @interface
1769
- * List of encryption scopes requested, and if paging is required, a URL to the next page of
1770
- * encryption scopes.
1771
- * @extends Array<EncryptionScope>
1334
+ * Defines values for Bypass. \
1335
+ * {@link KnownBypass} can be used interchangeably with Bypass,
1336
+ * this enum contains the known values that the service supports.
1337
+ * ### Known values supported by the service
1338
+ * **None** \
1339
+ * **Logging** \
1340
+ * **Metrics** \
1341
+ * **AzureServices**
1772
1342
  */
1773
- export interface EncryptionScopeListResult extends Array<EncryptionScope> {
1774
- /**
1775
- * Request URL that can be used to query next page of encryption scopes. Returned when total
1776
- * number of requested encryption scopes exceeds the maximum page size.
1777
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1778
- */
1779
- readonly nextLink?: string;
1343
+ export type Bypass = string;
1344
+
1345
+ /** Known values of {@link DirectoryServiceOptions} that the service accepts. */
1346
+ export enum KnownDirectoryServiceOptions {
1347
+ None = "None",
1348
+ Aadds = "AADDS",
1349
+ AD = "AD"
1780
1350
  }
1781
1351
 
1782
1352
  /**
1783
- * Defines values for ReasonCode.
1784
- * Possible values include: 'QuotaId', 'NotAvailableForSubscription'
1785
- * @readonly
1786
- * @enum {string}
1353
+ * Defines values for DirectoryServiceOptions. \
1354
+ * {@link KnownDirectoryServiceOptions} can be used interchangeably with DirectoryServiceOptions,
1355
+ * this enum contains the known values that the service supports.
1356
+ * ### Known values supported by the service
1357
+ * **None** \
1358
+ * **AADDS** \
1359
+ * **AD**
1787
1360
  */
1788
- export type ReasonCode = 'QuotaId' | 'NotAvailableForSubscription';
1361
+ export type DirectoryServiceOptions = string;
1789
1362
 
1790
- /**
1791
- * Defines values for SkuName.
1792
- * Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS',
1793
- * 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS'
1794
- * @readonly
1795
- * @enum {string}
1796
- */
1797
- export type SkuName = 'Standard_LRS' | 'Standard_GRS' | 'Standard_RAGRS' | 'Standard_ZRS' | 'Premium_LRS' | 'Premium_ZRS' | 'Standard_GZRS' | 'Standard_RAGZRS';
1363
+ /** Known values of {@link LargeFileSharesState} that the service accepts. */
1364
+ export enum KnownLargeFileSharesState {
1365
+ Disabled = "Disabled",
1366
+ Enabled = "Enabled"
1367
+ }
1798
1368
 
1799
1369
  /**
1800
- * Defines values for SkuTier.
1801
- * Possible values include: 'Standard', 'Premium'
1802
- * @readonly
1803
- * @enum {string}
1370
+ * Defines values for LargeFileSharesState. \
1371
+ * {@link KnownLargeFileSharesState} can be used interchangeably with LargeFileSharesState,
1372
+ * this enum contains the known values that the service supports.
1373
+ * ### Known values supported by the service
1374
+ * **Disabled** \
1375
+ * **Enabled**
1804
1376
  */
1805
- export type SkuTier = 'Standard' | 'Premium';
1377
+ export type LargeFileSharesState = string;
1806
1378
 
1807
- /**
1808
- * Defines values for Kind.
1809
- * Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
1810
- * 'BlockBlobStorage'
1811
- * @readonly
1812
- * @enum {string}
1813
- */
1814
- export type Kind = 'Storage' | 'StorageV2' | 'BlobStorage' | 'FileStorage' | 'BlockBlobStorage';
1379
+ /** Known values of {@link RoutingChoice} that the service accepts. */
1380
+ export enum KnownRoutingChoice {
1381
+ MicrosoftRouting = "MicrosoftRouting",
1382
+ InternetRouting = "InternetRouting"
1383
+ }
1815
1384
 
1816
1385
  /**
1817
- * Defines values for Reason.
1818
- * Possible values include: 'AccountNameInvalid', 'AlreadyExists'
1819
- * @readonly
1820
- * @enum {string}
1386
+ * Defines values for RoutingChoice. \
1387
+ * {@link KnownRoutingChoice} can be used interchangeably with RoutingChoice,
1388
+ * this enum contains the known values that the service supports.
1389
+ * ### Known values supported by the service
1390
+ * **MicrosoftRouting** \
1391
+ * **InternetRouting**
1821
1392
  */
1822
- export type Reason = 'AccountNameInvalid' | 'AlreadyExists';
1393
+ export type RoutingChoice = string;
1823
1394
 
1824
- /**
1825
- * Defines values for KeyType.
1826
- * Possible values include: 'Service', 'Account'
1827
- * @readonly
1828
- * @enum {string}
1829
- */
1830
- export type KeyType = 'Service' | 'Account';
1395
+ /** Known values of {@link MinimumTlsVersion} that the service accepts. */
1396
+ export enum KnownMinimumTlsVersion {
1397
+ TLS10 = "TLS1_0",
1398
+ TLS11 = "TLS1_1",
1399
+ TLS12 = "TLS1_2"
1400
+ }
1831
1401
 
1832
1402
  /**
1833
- * Defines values for KeySource.
1834
- * Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'
1835
- * @readonly
1836
- * @enum {string}
1403
+ * Defines values for MinimumTlsVersion. \
1404
+ * {@link KnownMinimumTlsVersion} can be used interchangeably with MinimumTlsVersion,
1405
+ * this enum contains the known values that the service supports.
1406
+ * ### Known values supported by the service
1407
+ * **TLS1_0** \
1408
+ * **TLS1_1** \
1409
+ * **TLS1_2**
1837
1410
  */
1838
- export type KeySource = 'Microsoft.Storage' | 'Microsoft.Keyvault';
1411
+ export type MinimumTlsVersion = string;
1839
1412
 
1840
- /**
1841
- * Defines values for Action.
1842
- * Possible values include: 'Allow'
1843
- * @readonly
1844
- * @enum {string}
1845
- */
1846
- export type Action = 'Allow';
1413
+ /** Known values of {@link GeoReplicationStatus} that the service accepts. */
1414
+ export enum KnownGeoReplicationStatus {
1415
+ Live = "Live",
1416
+ Bootstrap = "Bootstrap",
1417
+ Unavailable = "Unavailable"
1418
+ }
1847
1419
 
1848
1420
  /**
1849
- * Defines values for State.
1850
- * Possible values include: 'provisioning', 'deprovisioning', 'succeeded', 'failed',
1851
- * 'networkSourceDeleted'
1852
- * @readonly
1853
- * @enum {string}
1421
+ * Defines values for GeoReplicationStatus. \
1422
+ * {@link KnownGeoReplicationStatus} can be used interchangeably with GeoReplicationStatus,
1423
+ * this enum contains the known values that the service supports.
1424
+ * ### Known values supported by the service
1425
+ * **Live** \
1426
+ * **Bootstrap** \
1427
+ * **Unavailable**
1854
1428
  */
1855
- export type State = 'provisioning' | 'deprovisioning' | 'succeeded' | 'failed' | 'networkSourceDeleted';
1429
+ export type GeoReplicationStatus = string;
1856
1430
 
1857
- /**
1858
- * Defines values for Bypass.
1859
- * Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices'
1860
- * @readonly
1861
- * @enum {string}
1862
- */
1863
- export type Bypass = 'None' | 'Logging' | 'Metrics' | 'AzureServices';
1431
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1432
+ export enum KnownPrivateEndpointServiceConnectionStatus {
1433
+ Pending = "Pending",
1434
+ Approved = "Approved",
1435
+ Rejected = "Rejected"
1436
+ }
1864
1437
 
1865
1438
  /**
1866
- * Defines values for DefaultAction.
1867
- * Possible values include: 'Allow', 'Deny'
1868
- * @readonly
1869
- * @enum {string}
1439
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
1440
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1441
+ * this enum contains the known values that the service supports.
1442
+ * ### Known values supported by the service
1443
+ * **Pending** \
1444
+ * **Approved** \
1445
+ * **Rejected**
1870
1446
  */
1871
- export type DefaultAction = 'Allow' | 'Deny';
1447
+ export type PrivateEndpointServiceConnectionStatus = string;
1872
1448
 
1873
- /**
1874
- * Defines values for DirectoryServiceOptions.
1875
- * Possible values include: 'None', 'AADDS', 'AD'
1876
- * @readonly
1877
- * @enum {string}
1878
- */
1879
- export type DirectoryServiceOptions = 'None' | 'AADDS' | 'AD';
1449
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1450
+ export enum KnownPrivateEndpointConnectionProvisioningState {
1451
+ Succeeded = "Succeeded",
1452
+ Creating = "Creating",
1453
+ Deleting = "Deleting",
1454
+ Failed = "Failed"
1455
+ }
1880
1456
 
1881
1457
  /**
1882
- * Defines values for AccessTier.
1883
- * Possible values include: 'Hot', 'Cool'
1884
- * @readonly
1885
- * @enum {string}
1458
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1459
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1460
+ * this enum contains the known values that the service supports.
1461
+ * ### Known values supported by the service
1462
+ * **Succeeded** \
1463
+ * **Creating** \
1464
+ * **Deleting** \
1465
+ * **Failed**
1886
1466
  */
1887
- export type AccessTier = 'Hot' | 'Cool';
1467
+ export type PrivateEndpointConnectionProvisioningState = string;
1888
1468
 
1889
- /**
1890
- * Defines values for LargeFileSharesState.
1891
- * Possible values include: 'Disabled', 'Enabled'
1892
- * @readonly
1893
- * @enum {string}
1894
- */
1895
- export type LargeFileSharesState = 'Disabled' | 'Enabled';
1469
+ /** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */
1470
+ export enum KnownBlobRestoreProgressStatus {
1471
+ InProgress = "InProgress",
1472
+ Complete = "Complete",
1473
+ Failed = "Failed"
1474
+ }
1896
1475
 
1897
1476
  /**
1898
- * Defines values for RoutingChoice.
1899
- * Possible values include: 'MicrosoftRouting', 'InternetRouting'
1900
- * @readonly
1901
- * @enum {string}
1477
+ * Defines values for BlobRestoreProgressStatus. \
1478
+ * {@link KnownBlobRestoreProgressStatus} can be used interchangeably with BlobRestoreProgressStatus,
1479
+ * this enum contains the known values that the service supports.
1480
+ * ### Known values supported by the service
1481
+ * **InProgress** \
1482
+ * **Complete** \
1483
+ * **Failed**
1902
1484
  */
1903
- export type RoutingChoice = 'MicrosoftRouting' | 'InternetRouting';
1485
+ export type BlobRestoreProgressStatus = string;
1904
1486
 
1905
- /**
1906
- * Defines values for MinimumTlsVersion.
1907
- * Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
1908
- * @readonly
1909
- * @enum {string}
1910
- */
1911
- export type MinimumTlsVersion = 'TLS1_0' | 'TLS1_1' | 'TLS1_2';
1487
+ /** Known values of {@link Services} that the service accepts. */
1488
+ export enum KnownServices {
1489
+ B = "b",
1490
+ Q = "q",
1491
+ T = "t",
1492
+ F = "f"
1493
+ }
1912
1494
 
1913
1495
  /**
1914
- * Defines values for GeoReplicationStatus.
1915
- * Possible values include: 'Live', 'Bootstrap', 'Unavailable'
1916
- * @readonly
1917
- * @enum {string}
1496
+ * Defines values for Services. \
1497
+ * {@link KnownServices} can be used interchangeably with Services,
1498
+ * this enum contains the known values that the service supports.
1499
+ * ### Known values supported by the service
1500
+ * **b** \
1501
+ * **q** \
1502
+ * **t** \
1503
+ * **f**
1918
1504
  */
1919
- export type GeoReplicationStatus = 'Live' | 'Bootstrap' | 'Unavailable';
1505
+ export type Services = string;
1920
1506
 
1921
- /**
1922
- * Defines values for BlobRestoreProgressStatus.
1923
- * Possible values include: 'InProgress', 'Complete', 'Failed'
1924
- * @readonly
1925
- * @enum {string}
1926
- */
1927
- export type BlobRestoreProgressStatus = 'InProgress' | 'Complete' | 'Failed';
1507
+ /** Known values of {@link SignedResourceTypes} that the service accepts. */
1508
+ export enum KnownSignedResourceTypes {
1509
+ S = "s",
1510
+ C = "c",
1511
+ O = "o"
1512
+ }
1928
1513
 
1929
1514
  /**
1930
- * Defines values for ProvisioningState.
1931
- * Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded'
1932
- * @readonly
1933
- * @enum {string}
1515
+ * Defines values for SignedResourceTypes. \
1516
+ * {@link KnownSignedResourceTypes} can be used interchangeably with SignedResourceTypes,
1517
+ * this enum contains the known values that the service supports.
1518
+ * ### Known values supported by the service
1519
+ * **s** \
1520
+ * **c** \
1521
+ * **o**
1934
1522
  */
1935
- export type ProvisioningState = 'Creating' | 'ResolvingDNS' | 'Succeeded';
1523
+ export type SignedResourceTypes = string;
1936
1524
 
1937
- /**
1938
- * Defines values for AccountStatus.
1939
- * Possible values include: 'available', 'unavailable'
1940
- * @readonly
1941
- * @enum {string}
1942
- */
1943
- export type AccountStatus = 'available' | 'unavailable';
1525
+ /** Known values of {@link Permissions} that the service accepts. */
1526
+ export enum KnownPermissions {
1527
+ R = "r",
1528
+ D = "d",
1529
+ W = "w",
1530
+ L = "l",
1531
+ A = "a",
1532
+ C = "c",
1533
+ U = "u",
1534
+ P = "p"
1535
+ }
1944
1536
 
1945
1537
  /**
1946
- * Defines values for PrivateEndpointServiceConnectionStatus.
1947
- * Possible values include: 'Pending', 'Approved', 'Rejected'
1948
- * @readonly
1949
- * @enum {string}
1538
+ * Defines values for Permissions. \
1539
+ * {@link KnownPermissions} can be used interchangeably with Permissions,
1540
+ * this enum contains the known values that the service supports.
1541
+ * ### Known values supported by the service
1542
+ * **r** \
1543
+ * **d** \
1544
+ * **w** \
1545
+ * **l** \
1546
+ * **a** \
1547
+ * **c** \
1548
+ * **u** \
1549
+ * **p**
1950
1550
  */
1951
- export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected';
1551
+ export type Permissions = string;
1952
1552
 
1953
- /**
1954
- * Defines values for PrivateEndpointConnectionProvisioningState.
1955
- * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
1956
- * @readonly
1957
- * @enum {string}
1958
- */
1959
- export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
1553
+ /** Known values of {@link SignedResource} that the service accepts. */
1554
+ export enum KnownSignedResource {
1555
+ B = "b",
1556
+ C = "c",
1557
+ F = "f",
1558
+ S = "s"
1559
+ }
1960
1560
 
1961
1561
  /**
1962
- * Defines values for KeyPermission.
1963
- * Possible values include: 'Read', 'Full'
1964
- * @readonly
1965
- * @enum {string}
1562
+ * Defines values for SignedResource. \
1563
+ * {@link KnownSignedResource} can be used interchangeably with SignedResource,
1564
+ * this enum contains the known values that the service supports.
1565
+ * ### Known values supported by the service
1566
+ * **b** \
1567
+ * **c** \
1568
+ * **f** \
1569
+ * **s**
1966
1570
  */
1967
- export type KeyPermission = 'Read' | 'Full';
1571
+ export type SignedResource = string;
1968
1572
 
1969
- /**
1970
- * Defines values for UsageUnit.
1971
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond',
1972
- * 'BytesPerSecond'
1973
- * @readonly
1974
- * @enum {string}
1975
- */
1976
- export type UsageUnit = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountsPerSecond' | 'BytesPerSecond';
1573
+ /** Known values of {@link ManagementPolicyName} that the service accepts. */
1574
+ export enum KnownManagementPolicyName {
1575
+ Default = "default"
1576
+ }
1977
1577
 
1978
1578
  /**
1979
- * Defines values for Services.
1980
- * Possible values include: 'b', 'q', 't', 'f'
1981
- * @readonly
1982
- * @enum {string}
1579
+ * Defines values for ManagementPolicyName. \
1580
+ * {@link KnownManagementPolicyName} can be used interchangeably with ManagementPolicyName,
1581
+ * this enum contains the known values that the service supports.
1582
+ * ### Known values supported by the service
1583
+ * **default**
1983
1584
  */
1984
- export type Services = 'b' | 'q' | 't' | 'f';
1585
+ export type ManagementPolicyName = string;
1985
1586
 
1986
- /**
1987
- * Defines values for SignedResourceTypes.
1988
- * Possible values include: 's', 'c', 'o'
1989
- * @readonly
1990
- * @enum {string}
1991
- */
1992
- export type SignedResourceTypes = 's' | 'c' | 'o';
1587
+ /** Known values of {@link RuleType} that the service accepts. */
1588
+ export enum KnownRuleType {
1589
+ Lifecycle = "Lifecycle"
1590
+ }
1993
1591
 
1994
1592
  /**
1995
- * Defines values for Permissions.
1996
- * Possible values include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
1997
- * @readonly
1998
- * @enum {string}
1593
+ * Defines values for RuleType. \
1594
+ * {@link KnownRuleType} can be used interchangeably with RuleType,
1595
+ * this enum contains the known values that the service supports.
1596
+ * ### Known values supported by the service
1597
+ * **Lifecycle**
1999
1598
  */
2000
- export type Permissions = 'r' | 'd' | 'w' | 'l' | 'a' | 'c' | 'u' | 'p';
1599
+ export type RuleType = string;
2001
1600
 
2002
- /**
2003
- * Defines values for HttpProtocol.
2004
- * Possible values include: 'https,http', 'https'
2005
- * @readonly
2006
- * @enum {string}
2007
- */
2008
- export type HttpProtocol = 'https,http' | 'https';
1601
+ /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
1602
+ export enum KnownBlobInventoryPolicyName {
1603
+ Default = "default"
1604
+ }
2009
1605
 
2010
1606
  /**
2011
- * Defines values for SignedResource.
2012
- * Possible values include: 'b', 'c', 'f', 's'
2013
- * @readonly
2014
- * @enum {string}
2015
- */
2016
- export type SignedResource = 'b' | 'c' | 'f' | 's';
1607
+ * Defines values for BlobInventoryPolicyName. \
1608
+ * {@link KnownBlobInventoryPolicyName} can be used interchangeably with BlobInventoryPolicyName,
1609
+ * this enum contains the known values that the service supports.
1610
+ * ### Known values supported by the service
1611
+ * **default**
1612
+ */
1613
+ export type BlobInventoryPolicyName = string;
1614
+
1615
+ /** Known values of {@link InventoryRuleType} that the service accepts. */
1616
+ export enum KnownInventoryRuleType {
1617
+ Inventory = "Inventory"
1618
+ }
1619
+
1620
+ /**
1621
+ * Defines values for InventoryRuleType. \
1622
+ * {@link KnownInventoryRuleType} can be used interchangeably with InventoryRuleType,
1623
+ * this enum contains the known values that the service supports.
1624
+ * ### Known values supported by the service
1625
+ * **Inventory**
1626
+ */
1627
+ export type InventoryRuleType = string;
1628
+
1629
+ /** Known values of {@link CreatedByType} that the service accepts. */
1630
+ export enum KnownCreatedByType {
1631
+ User = "User",
1632
+ Application = "Application",
1633
+ ManagedIdentity = "ManagedIdentity",
1634
+ Key = "Key"
1635
+ }
2017
1636
 
2018
- /**
2019
- * Defines values for EncryptionScopeSource.
2020
- * Possible values include: 'Microsoft.Storage', 'Microsoft.KeyVault'
2021
- * @readonly
2022
- * @enum {string}
1637
+ /**
1638
+ * Defines values for CreatedByType. \
1639
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1640
+ * this enum contains the known values that the service supports.
1641
+ * ### Known values supported by the service
1642
+ * **User** \
1643
+ * **Application** \
1644
+ * **ManagedIdentity** \
1645
+ * **Key**
2023
1646
  */
2024
- export type EncryptionScopeSource = 'Microsoft.Storage' | 'Microsoft.KeyVault';
1647
+ export type CreatedByType = string;
2025
1648
 
2026
- /**
2027
- * Defines values for EncryptionScopeState.
2028
- * Possible values include: 'Enabled', 'Disabled'
2029
- * @readonly
2030
- * @enum {string}
2031
- */
2032
- export type EncryptionScopeState = 'Enabled' | 'Disabled';
1649
+ /** Known values of {@link EncryptionScopeSource} that the service accepts. */
1650
+ export enum KnownEncryptionScopeSource {
1651
+ MicrosoftStorage = "Microsoft.Storage",
1652
+ MicrosoftKeyVault = "Microsoft.KeyVault"
1653
+ }
2033
1654
 
2034
1655
  /**
2035
- * Defines values for StorageAccountExpand.
2036
- * Possible values include: 'geoReplicationStats', 'blobRestoreStatus'
2037
- * @readonly
2038
- * @enum {string}
2039
- */
2040
- export type StorageAccountExpand = 'geoReplicationStats' | 'blobRestoreStatus';
1656
+ * Defines values for EncryptionScopeSource. \
1657
+ * {@link KnownEncryptionScopeSource} can be used interchangeably with EncryptionScopeSource,
1658
+ * this enum contains the known values that the service supports.
1659
+ * ### Known values supported by the service
1660
+ * **Microsoft.Storage** \
1661
+ * **Microsoft.KeyVault**
1662
+ */
1663
+ export type EncryptionScopeSource = string;
2041
1664
 
2042
- /**
2043
- * Defines values for ListKeyExpand.
2044
- * Possible values include: 'kerb'
2045
- * @readonly
2046
- * @enum {string}
2047
- */
2048
- export type ListKeyExpand = 'kerb';
1665
+ /** Known values of {@link EncryptionScopeState} that the service accepts. */
1666
+ export enum KnownEncryptionScopeState {
1667
+ Enabled = "Enabled",
1668
+ Disabled = "Disabled"
1669
+ }
2049
1670
 
2050
1671
  /**
2051
- * Contains response data for the list operation.
2052
- */
2053
- export type OperationsListResponse = OperationListResult & {
2054
- /**
2055
- * The underlying HTTP response.
2056
- */
2057
- _response: msRest.HttpResponse & {
2058
- /**
2059
- * The response body as text (string format)
2060
- */
2061
- bodyAsText: string;
1672
+ * Defines values for EncryptionScopeState. \
1673
+ * {@link KnownEncryptionScopeState} can be used interchangeably with EncryptionScopeState,
1674
+ * this enum contains the known values that the service supports.
1675
+ * ### Known values supported by the service
1676
+ * **Enabled** \
1677
+ * **Disabled**
1678
+ */
1679
+ export type EncryptionScopeState = string;
1680
+ /** Defines values for SkuTier. */
1681
+ export type SkuTier = "Standard" | "Premium";
1682
+ /** Defines values for Reason. */
1683
+ export type Reason = "AccountNameInvalid" | "AlreadyExists";
1684
+ /** Defines values for State. */
1685
+ export type State =
1686
+ | "provisioning"
1687
+ | "deprovisioning"
1688
+ | "succeeded"
1689
+ | "failed"
1690
+ | "networkSourceDeleted";
1691
+ /** Defines values for DefaultAction. */
1692
+ export type DefaultAction = "Allow" | "Deny";
1693
+ /** Defines values for AccessTier. */
1694
+ export type AccessTier = "Hot" | "Cool";
1695
+ /** Defines values for ProvisioningState. */
1696
+ export type ProvisioningState = "Creating" | "ResolvingDNS" | "Succeeded";
1697
+ /** Defines values for AccountStatus. */
1698
+ export type AccountStatus = "available" | "unavailable";
1699
+ /** Defines values for StorageAccountExpand. */
1700
+ export type StorageAccountExpand = "geoReplicationStats" | "blobRestoreStatus";
1701
+ /** Defines values for KeyPermission. */
1702
+ export type KeyPermission = "Read" | "Full";
1703
+ /** Defines values for UsageUnit. */
1704
+ export type UsageUnit =
1705
+ | "Count"
1706
+ | "Bytes"
1707
+ | "Seconds"
1708
+ | "Percent"
1709
+ | "CountsPerSecond"
1710
+ | "BytesPerSecond";
1711
+ /** Defines values for HttpProtocol. */
1712
+ export type HttpProtocol = "https,http" | "https";
1713
+
1714
+ /** Optional parameters. */
1715
+ export interface OperationsListOptionalParams
1716
+ extends coreClient.OperationOptions {}
1717
+
1718
+ /** Contains response data for the list operation. */
1719
+ export type OperationsListResponse = OperationListResult;
1720
+
1721
+ /** Optional parameters. */
1722
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {}
1723
+
1724
+ /** Contains response data for the list operation. */
1725
+ export type SkusListResponse = StorageSkuListResult;
1726
+
1727
+ /** Optional parameters. */
1728
+ export interface StorageAccountsCheckNameAvailabilityOptionalParams
1729
+ extends coreClient.OperationOptions {}
1730
+
1731
+ /** Contains response data for the checkNameAvailability operation. */
1732
+ export type StorageAccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1733
+
1734
+ /** Optional parameters. */
1735
+ export interface StorageAccountsCreateOptionalParams
1736
+ extends coreClient.OperationOptions {
1737
+ /** Delay to wait until next poll, in milliseconds. */
1738
+ updateIntervalInMs?: number;
1739
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1740
+ resumeFrom?: string;
1741
+ }
1742
+
1743
+ /** Contains response data for the create operation. */
1744
+ export type StorageAccountsCreateResponse = StorageAccount;
1745
+
1746
+ /** Optional parameters. */
1747
+ export interface StorageAccountsDeleteOptionalParams
1748
+ extends coreClient.OperationOptions {}
1749
+
1750
+ /** Optional parameters. */
1751
+ export interface StorageAccountsGetPropertiesOptionalParams
1752
+ extends coreClient.OperationOptions {
1753
+ /** May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. */
1754
+ expand?: StorageAccountExpand;
1755
+ }
2062
1756
 
2063
- /**
2064
- * The response body as parsed JSON or XML
2065
- */
2066
- parsedBody: OperationListResult;
2067
- };
2068
- };
1757
+ /** Contains response data for the getProperties operation. */
1758
+ export type StorageAccountsGetPropertiesResponse = StorageAccount;
2069
1759
 
2070
- /**
2071
- * Contains response data for the list operation.
2072
- */
2073
- export type SkusListResponse = StorageSkuListResult & {
2074
- /**
2075
- * The underlying HTTP response.
2076
- */
2077
- _response: msRest.HttpResponse & {
2078
- /**
2079
- * The response body as text (string format)
2080
- */
2081
- bodyAsText: string;
1760
+ /** Optional parameters. */
1761
+ export interface StorageAccountsUpdateOptionalParams
1762
+ extends coreClient.OperationOptions {}
2082
1763
 
2083
- /**
2084
- * The response body as parsed JSON or XML
2085
- */
2086
- parsedBody: StorageSkuListResult;
2087
- };
2088
- };
1764
+ /** Contains response data for the update operation. */
1765
+ export type StorageAccountsUpdateResponse = StorageAccount;
2089
1766
 
2090
- /**
2091
- * Contains response data for the checkNameAvailability operation.
2092
- */
2093
- export type StorageAccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult & {
2094
- /**
2095
- * The underlying HTTP response.
2096
- */
2097
- _response: msRest.HttpResponse & {
2098
- /**
2099
- * The response body as text (string format)
2100
- */
2101
- bodyAsText: string;
1767
+ /** Optional parameters. */
1768
+ export interface StorageAccountsListOptionalParams
1769
+ extends coreClient.OperationOptions {}
2102
1770
 
2103
- /**
2104
- * The response body as parsed JSON or XML
2105
- */
2106
- parsedBody: CheckNameAvailabilityResult;
2107
- };
2108
- };
1771
+ /** Contains response data for the list operation. */
1772
+ export type StorageAccountsListResponse = StorageAccountListResult;
2109
1773
 
2110
- /**
2111
- * Contains response data for the create operation.
2112
- */
2113
- export type StorageAccountsCreateResponse = StorageAccount & {
2114
- /**
2115
- * The underlying HTTP response.
2116
- */
2117
- _response: msRest.HttpResponse & {
2118
- /**
2119
- * The response body as text (string format)
2120
- */
2121
- bodyAsText: string;
1774
+ /** Optional parameters. */
1775
+ export interface StorageAccountsListByResourceGroupOptionalParams
1776
+ extends coreClient.OperationOptions {}
2122
1777
 
2123
- /**
2124
- * The response body as parsed JSON or XML
2125
- */
2126
- parsedBody: StorageAccount;
2127
- };
2128
- };
1778
+ /** Contains response data for the listByResourceGroup operation. */
1779
+ export type StorageAccountsListByResourceGroupResponse = StorageAccountListResult;
2129
1780
 
2130
- /**
2131
- * Contains response data for the getProperties operation.
2132
- */
2133
- export type StorageAccountsGetPropertiesResponse = StorageAccount & {
2134
- /**
2135
- * The underlying HTTP response.
2136
- */
2137
- _response: msRest.HttpResponse & {
2138
- /**
2139
- * The response body as text (string format)
2140
- */
2141
- bodyAsText: string;
1781
+ /** Optional parameters. */
1782
+ export interface StorageAccountsListKeysOptionalParams
1783
+ extends coreClient.OperationOptions {}
2142
1784
 
2143
- /**
2144
- * The response body as parsed JSON or XML
2145
- */
2146
- parsedBody: StorageAccount;
2147
- };
2148
- };
1785
+ /** Contains response data for the listKeys operation. */
1786
+ export type StorageAccountsListKeysResponse = StorageAccountListKeysResult;
2149
1787
 
2150
- /**
2151
- * Contains response data for the update operation.
2152
- */
2153
- export type StorageAccountsUpdateResponse = StorageAccount & {
2154
- /**
2155
- * The underlying HTTP response.
2156
- */
2157
- _response: msRest.HttpResponse & {
2158
- /**
2159
- * The response body as text (string format)
2160
- */
2161
- bodyAsText: string;
1788
+ /** Optional parameters. */
1789
+ export interface StorageAccountsRegenerateKeyOptionalParams
1790
+ extends coreClient.OperationOptions {}
2162
1791
 
2163
- /**
2164
- * The response body as parsed JSON or XML
2165
- */
2166
- parsedBody: StorageAccount;
2167
- };
2168
- };
1792
+ /** Contains response data for the regenerateKey operation. */
1793
+ export type StorageAccountsRegenerateKeyResponse = StorageAccountListKeysResult;
2169
1794
 
2170
- /**
2171
- * Contains response data for the list operation.
2172
- */
2173
- export type StorageAccountsListResponse = StorageAccountListResult & {
2174
- /**
2175
- * The underlying HTTP response.
2176
- */
2177
- _response: msRest.HttpResponse & {
2178
- /**
2179
- * The response body as text (string format)
2180
- */
2181
- bodyAsText: string;
1795
+ /** Optional parameters. */
1796
+ export interface StorageAccountsListAccountSASOptionalParams
1797
+ extends coreClient.OperationOptions {}
2182
1798
 
2183
- /**
2184
- * The response body as parsed JSON or XML
2185
- */
2186
- parsedBody: StorageAccountListResult;
2187
- };
2188
- };
1799
+ /** Contains response data for the listAccountSAS operation. */
1800
+ export type StorageAccountsListAccountSASResponse = ListAccountSasResponse;
2189
1801
 
2190
- /**
2191
- * Contains response data for the listByResourceGroup operation.
2192
- */
2193
- export type StorageAccountsListByResourceGroupResponse = StorageAccountListResult & {
2194
- /**
2195
- * The underlying HTTP response.
2196
- */
2197
- _response: msRest.HttpResponse & {
2198
- /**
2199
- * The response body as text (string format)
2200
- */
2201
- bodyAsText: string;
1802
+ /** Optional parameters. */
1803
+ export interface StorageAccountsListServiceSASOptionalParams
1804
+ extends coreClient.OperationOptions {}
2202
1805
 
2203
- /**
2204
- * The response body as parsed JSON or XML
2205
- */
2206
- parsedBody: StorageAccountListResult;
2207
- };
2208
- };
1806
+ /** Contains response data for the listServiceSAS operation. */
1807
+ export type StorageAccountsListServiceSASResponse = ListServiceSasResponse;
2209
1808
 
2210
- /**
2211
- * Contains response data for the listKeys operation.
2212
- */
2213
- export type StorageAccountsListKeysResponse = StorageAccountListKeysResult & {
2214
- /**
2215
- * The underlying HTTP response.
2216
- */
2217
- _response: msRest.HttpResponse & {
2218
- /**
2219
- * The response body as text (string format)
2220
- */
2221
- bodyAsText: string;
1809
+ /** Optional parameters. */
1810
+ export interface StorageAccountsFailoverOptionalParams
1811
+ extends coreClient.OperationOptions {
1812
+ /** Delay to wait until next poll, in milliseconds. */
1813
+ updateIntervalInMs?: number;
1814
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1815
+ resumeFrom?: string;
1816
+ }
2222
1817
 
2223
- /**
2224
- * The response body as parsed JSON or XML
2225
- */
2226
- parsedBody: StorageAccountListKeysResult;
2227
- };
2228
- };
1818
+ /** Optional parameters. */
1819
+ export interface StorageAccountsRestoreBlobRangesOptionalParams
1820
+ extends coreClient.OperationOptions {
1821
+ /** Delay to wait until next poll, in milliseconds. */
1822
+ updateIntervalInMs?: number;
1823
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1824
+ resumeFrom?: string;
1825
+ }
2229
1826
 
2230
- /**
2231
- * Contains response data for the regenerateKey operation.
2232
- */
2233
- export type StorageAccountsRegenerateKeyResponse = StorageAccountListKeysResult & {
2234
- /**
2235
- * The underlying HTTP response.
2236
- */
2237
- _response: msRest.HttpResponse & {
2238
- /**
2239
- * The response body as text (string format)
2240
- */
2241
- bodyAsText: string;
1827
+ /** Contains response data for the restoreBlobRanges operation. */
1828
+ export type StorageAccountsRestoreBlobRangesResponse = BlobRestoreStatus;
2242
1829
 
2243
- /**
2244
- * The response body as parsed JSON or XML
2245
- */
2246
- parsedBody: StorageAccountListKeysResult;
2247
- };
2248
- };
1830
+ /** Optional parameters. */
1831
+ export interface StorageAccountsRevokeUserDelegationKeysOptionalParams
1832
+ extends coreClient.OperationOptions {}
2249
1833
 
2250
- /**
2251
- * Contains response data for the listAccountSAS operation.
2252
- */
2253
- export type StorageAccountsListAccountSASResponse = ListAccountSasResponse & {
2254
- /**
2255
- * The underlying HTTP response.
2256
- */
2257
- _response: msRest.HttpResponse & {
2258
- /**
2259
- * The response body as text (string format)
2260
- */
2261
- bodyAsText: string;
1834
+ /** Optional parameters. */
1835
+ export interface StorageAccountsListNextOptionalParams
1836
+ extends coreClient.OperationOptions {}
2262
1837
 
2263
- /**
2264
- * The response body as parsed JSON or XML
2265
- */
2266
- parsedBody: ListAccountSasResponse;
2267
- };
2268
- };
1838
+ /** Contains response data for the listNext operation. */
1839
+ export type StorageAccountsListNextResponse = StorageAccountListResult;
2269
1840
 
2270
- /**
2271
- * Contains response data for the listServiceSAS operation.
2272
- */
2273
- export type StorageAccountsListServiceSASResponse = ListServiceSasResponse & {
2274
- /**
2275
- * The underlying HTTP response.
2276
- */
2277
- _response: msRest.HttpResponse & {
2278
- /**
2279
- * The response body as text (string format)
2280
- */
2281
- bodyAsText: string;
1841
+ /** Optional parameters. */
1842
+ export interface UsagesListByLocationOptionalParams
1843
+ extends coreClient.OperationOptions {}
2282
1844
 
2283
- /**
2284
- * The response body as parsed JSON or XML
2285
- */
2286
- parsedBody: ListServiceSasResponse;
2287
- };
2288
- };
1845
+ /** Contains response data for the listByLocation operation. */
1846
+ export type UsagesListByLocationResponse = UsageListResult;
2289
1847
 
2290
- /**
2291
- * Contains response data for the restoreBlobRanges operation.
2292
- */
2293
- export type StorageAccountsRestoreBlobRangesResponse = BlobRestoreStatus & {
2294
- /**
2295
- * The underlying HTTP response.
2296
- */
2297
- _response: msRest.HttpResponse & {
2298
- /**
2299
- * The response body as text (string format)
2300
- */
2301
- bodyAsText: string;
1848
+ /** Optional parameters. */
1849
+ export interface ManagementPoliciesGetOptionalParams
1850
+ extends coreClient.OperationOptions {}
2302
1851
 
2303
- /**
2304
- * The response body as parsed JSON or XML
2305
- */
2306
- parsedBody: BlobRestoreStatus;
2307
- };
2308
- };
1852
+ /** Contains response data for the get operation. */
1853
+ export type ManagementPoliciesGetResponse = ManagementPolicy;
2309
1854
 
2310
- /**
2311
- * Contains response data for the beginCreate operation.
2312
- */
2313
- export type StorageAccountsBeginCreateResponse = StorageAccount & {
2314
- /**
2315
- * The underlying HTTP response.
2316
- */
2317
- _response: msRest.HttpResponse & {
2318
- /**
2319
- * The response body as text (string format)
2320
- */
2321
- bodyAsText: string;
1855
+ /** Optional parameters. */
1856
+ export interface ManagementPoliciesCreateOrUpdateOptionalParams
1857
+ extends coreClient.OperationOptions {}
2322
1858
 
2323
- /**
2324
- * The response body as parsed JSON or XML
2325
- */
2326
- parsedBody: StorageAccount;
2327
- };
2328
- };
1859
+ /** Contains response data for the createOrUpdate operation. */
1860
+ export type ManagementPoliciesCreateOrUpdateResponse = ManagementPolicy;
2329
1861
 
2330
- /**
2331
- * Contains response data for the beginRestoreBlobRanges operation.
2332
- */
2333
- export type StorageAccountsBeginRestoreBlobRangesResponse = BlobRestoreStatus & {
2334
- /**
2335
- * The underlying HTTP response.
2336
- */
2337
- _response: msRest.HttpResponse & {
2338
- /**
2339
- * The response body as text (string format)
2340
- */
2341
- bodyAsText: string;
1862
+ /** Optional parameters. */
1863
+ export interface ManagementPoliciesDeleteOptionalParams
1864
+ extends coreClient.OperationOptions {}
2342
1865
 
2343
- /**
2344
- * The response body as parsed JSON or XML
2345
- */
2346
- parsedBody: BlobRestoreStatus;
2347
- };
2348
- };
1866
+ /** Optional parameters. */
1867
+ export interface BlobInventoryPoliciesGetOptionalParams
1868
+ extends coreClient.OperationOptions {}
2349
1869
 
2350
- /**
2351
- * Contains response data for the listNext operation.
2352
- */
2353
- export type StorageAccountsListNextResponse = StorageAccountListResult & {
2354
- /**
2355
- * The underlying HTTP response.
2356
- */
2357
- _response: msRest.HttpResponse & {
2358
- /**
2359
- * The response body as text (string format)
2360
- */
2361
- bodyAsText: string;
1870
+ /** Contains response data for the get operation. */
1871
+ export type BlobInventoryPoliciesGetResponse = BlobInventoryPolicy;
2362
1872
 
2363
- /**
2364
- * The response body as parsed JSON or XML
2365
- */
2366
- parsedBody: StorageAccountListResult;
2367
- };
2368
- };
1873
+ /** Optional parameters. */
1874
+ export interface BlobInventoryPoliciesCreateOrUpdateOptionalParams
1875
+ extends coreClient.OperationOptions {}
2369
1876
 
2370
- /**
2371
- * Contains response data for the listByLocation operation.
2372
- */
2373
- export type UsagesListByLocationResponse = UsageListResult & {
2374
- /**
2375
- * The underlying HTTP response.
2376
- */
2377
- _response: msRest.HttpResponse & {
2378
- /**
2379
- * The response body as text (string format)
2380
- */
2381
- bodyAsText: string;
1877
+ /** Contains response data for the createOrUpdate operation. */
1878
+ export type BlobInventoryPoliciesCreateOrUpdateResponse = BlobInventoryPolicy;
2382
1879
 
2383
- /**
2384
- * The response body as parsed JSON or XML
2385
- */
2386
- parsedBody: UsageListResult;
2387
- };
2388
- };
1880
+ /** Optional parameters. */
1881
+ export interface BlobInventoryPoliciesDeleteOptionalParams
1882
+ extends coreClient.OperationOptions {}
2389
1883
 
2390
- /**
2391
- * Contains response data for the get operation.
2392
- */
2393
- export type ManagementPoliciesGetResponse = ManagementPolicy & {
2394
- /**
2395
- * The underlying HTTP response.
2396
- */
2397
- _response: msRest.HttpResponse & {
2398
- /**
2399
- * The response body as text (string format)
2400
- */
2401
- bodyAsText: string;
1884
+ /** Optional parameters. */
1885
+ export interface BlobInventoryPoliciesListOptionalParams
1886
+ extends coreClient.OperationOptions {}
2402
1887
 
2403
- /**
2404
- * The response body as parsed JSON or XML
2405
- */
2406
- parsedBody: ManagementPolicy;
2407
- };
2408
- };
1888
+ /** Contains response data for the list operation. */
1889
+ export type BlobInventoryPoliciesListResponse = ListBlobInventoryPolicy;
2409
1890
 
2410
- /**
2411
- * Contains response data for the createOrUpdate operation.
2412
- */
2413
- export type ManagementPoliciesCreateOrUpdateResponse = ManagementPolicy & {
2414
- /**
2415
- * The underlying HTTP response.
2416
- */
2417
- _response: msRest.HttpResponse & {
2418
- /**
2419
- * The response body as text (string format)
2420
- */
2421
- bodyAsText: string;
1891
+ /** Optional parameters. */
1892
+ export interface PrivateEndpointConnectionsListOptionalParams
1893
+ extends coreClient.OperationOptions {}
2422
1894
 
2423
- /**
2424
- * The response body as parsed JSON or XML
2425
- */
2426
- parsedBody: ManagementPolicy;
2427
- };
2428
- };
1895
+ /** Contains response data for the list operation. */
1896
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
2429
1897
 
2430
- /**
2431
- * Contains response data for the list operation.
2432
- */
2433
- export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult & {
2434
- /**
2435
- * The underlying HTTP response.
2436
- */
2437
- _response: msRest.HttpResponse & {
2438
- /**
2439
- * The response body as text (string format)
2440
- */
2441
- bodyAsText: string;
1898
+ /** Optional parameters. */
1899
+ export interface PrivateEndpointConnectionsGetOptionalParams
1900
+ extends coreClient.OperationOptions {}
2442
1901
 
2443
- /**
2444
- * The response body as parsed JSON or XML
2445
- */
2446
- parsedBody: PrivateEndpointConnectionListResult;
2447
- };
2448
- };
1902
+ /** Contains response data for the get operation. */
1903
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2449
1904
 
2450
- /**
2451
- * Contains response data for the get operation.
2452
- */
2453
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
2454
- /**
2455
- * The underlying HTTP response.
2456
- */
2457
- _response: msRest.HttpResponse & {
2458
- /**
2459
- * The response body as text (string format)
2460
- */
2461
- bodyAsText: string;
1905
+ /** Optional parameters. */
1906
+ export interface PrivateEndpointConnectionsPutOptionalParams
1907
+ extends coreClient.OperationOptions {}
2462
1908
 
2463
- /**
2464
- * The response body as parsed JSON or XML
2465
- */
2466
- parsedBody: PrivateEndpointConnection;
2467
- };
2468
- };
1909
+ /** Contains response data for the put operation. */
1910
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
2469
1911
 
2470
- /**
2471
- * Contains response data for the put operation.
2472
- */
2473
- export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection & {
2474
- /**
2475
- * The underlying HTTP response.
2476
- */
2477
- _response: msRest.HttpResponse & {
2478
- /**
2479
- * The response body as text (string format)
2480
- */
2481
- bodyAsText: string;
1912
+ /** Optional parameters. */
1913
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
1914
+ extends coreClient.OperationOptions {}
2482
1915
 
2483
- /**
2484
- * The response body as parsed JSON or XML
2485
- */
2486
- parsedBody: PrivateEndpointConnection;
2487
- };
2488
- };
1916
+ /** Optional parameters. */
1917
+ export interface PrivateLinkResourcesListByStorageAccountOptionalParams
1918
+ extends coreClient.OperationOptions {}
2489
1919
 
2490
- /**
2491
- * Contains response data for the listByStorageAccount operation.
2492
- */
2493
- export type PrivateLinkResourcesListByStorageAccountResponse = PrivateLinkResourceListResult & {
2494
- /**
2495
- * The underlying HTTP response.
2496
- */
2497
- _response: msRest.HttpResponse & {
2498
- /**
2499
- * The response body as text (string format)
2500
- */
2501
- bodyAsText: string;
1920
+ /** Contains response data for the listByStorageAccount operation. */
1921
+ export type PrivateLinkResourcesListByStorageAccountResponse = PrivateLinkResourceListResult;
2502
1922
 
2503
- /**
2504
- * The response body as parsed JSON or XML
2505
- */
2506
- parsedBody: PrivateLinkResourceListResult;
2507
- };
2508
- };
1923
+ /** Optional parameters. */
1924
+ export interface ObjectReplicationPoliciesListOptionalParams
1925
+ extends coreClient.OperationOptions {}
2509
1926
 
2510
- /**
2511
- * Contains response data for the list operation.
2512
- */
2513
- export type ObjectReplicationPoliciesListResponse = ObjectReplicationPolicies & {
2514
- /**
2515
- * The underlying HTTP response.
2516
- */
2517
- _response: msRest.HttpResponse & {
2518
- /**
2519
- * The response body as text (string format)
2520
- */
2521
- bodyAsText: string;
1927
+ /** Contains response data for the list operation. */
1928
+ export type ObjectReplicationPoliciesListResponse = ObjectReplicationPolicies;
2522
1929
 
2523
- /**
2524
- * The response body as parsed JSON or XML
2525
- */
2526
- parsedBody: ObjectReplicationPolicies;
2527
- };
2528
- };
1930
+ /** Optional parameters. */
1931
+ export interface ObjectReplicationPoliciesGetOptionalParams
1932
+ extends coreClient.OperationOptions {}
2529
1933
 
2530
- /**
2531
- * Contains response data for the get operation.
2532
- */
2533
- export type ObjectReplicationPoliciesGetResponse = ObjectReplicationPolicy & {
2534
- /**
2535
- * The underlying HTTP response.
2536
- */
2537
- _response: msRest.HttpResponse & {
2538
- /**
2539
- * The response body as text (string format)
2540
- */
2541
- bodyAsText: string;
1934
+ /** Contains response data for the get operation. */
1935
+ export type ObjectReplicationPoliciesGetResponse = ObjectReplicationPolicy;
2542
1936
 
2543
- /**
2544
- * The response body as parsed JSON or XML
2545
- */
2546
- parsedBody: ObjectReplicationPolicy;
2547
- };
2548
- };
1937
+ /** Optional parameters. */
1938
+ export interface ObjectReplicationPoliciesCreateOrUpdateOptionalParams
1939
+ extends coreClient.OperationOptions {}
2549
1940
 
2550
- /**
2551
- * Contains response data for the createOrUpdate operation.
2552
- */
2553
- export type ObjectReplicationPoliciesCreateOrUpdateResponse = ObjectReplicationPolicy & {
2554
- /**
2555
- * The underlying HTTP response.
2556
- */
2557
- _response: msRest.HttpResponse & {
2558
- /**
2559
- * The response body as text (string format)
2560
- */
2561
- bodyAsText: string;
1941
+ /** Contains response data for the createOrUpdate operation. */
1942
+ export type ObjectReplicationPoliciesCreateOrUpdateResponse = ObjectReplicationPolicy;
2562
1943
 
2563
- /**
2564
- * The response body as parsed JSON or XML
2565
- */
2566
- parsedBody: ObjectReplicationPolicy;
2567
- };
2568
- };
1944
+ /** Optional parameters. */
1945
+ export interface ObjectReplicationPoliciesDeleteOptionalParams
1946
+ extends coreClient.OperationOptions {}
2569
1947
 
2570
- /**
2571
- * Contains response data for the put operation.
2572
- */
2573
- export type EncryptionScopesPutResponse = EncryptionScope & {
2574
- /**
2575
- * The underlying HTTP response.
2576
- */
2577
- _response: msRest.HttpResponse & {
2578
- /**
2579
- * The response body as text (string format)
2580
- */
2581
- bodyAsText: string;
1948
+ /** Optional parameters. */
1949
+ export interface EncryptionScopesPutOptionalParams
1950
+ extends coreClient.OperationOptions {}
2582
1951
 
2583
- /**
2584
- * The response body as parsed JSON or XML
2585
- */
2586
- parsedBody: EncryptionScope;
2587
- };
2588
- };
1952
+ /** Contains response data for the put operation. */
1953
+ export type EncryptionScopesPutResponse = EncryptionScope;
2589
1954
 
2590
- /**
2591
- * Contains response data for the patch operation.
2592
- */
2593
- export type EncryptionScopesPatchResponse = EncryptionScope & {
2594
- /**
2595
- * The underlying HTTP response.
2596
- */
2597
- _response: msRest.HttpResponse & {
2598
- /**
2599
- * The response body as text (string format)
2600
- */
2601
- bodyAsText: string;
1955
+ /** Optional parameters. */
1956
+ export interface EncryptionScopesPatchOptionalParams
1957
+ extends coreClient.OperationOptions {}
2602
1958
 
2603
- /**
2604
- * The response body as parsed JSON or XML
2605
- */
2606
- parsedBody: EncryptionScope;
2607
- };
2608
- };
1959
+ /** Contains response data for the patch operation. */
1960
+ export type EncryptionScopesPatchResponse = EncryptionScope;
2609
1961
 
2610
- /**
2611
- * Contains response data for the get operation.
2612
- */
2613
- export type EncryptionScopesGetResponse = EncryptionScope & {
2614
- /**
2615
- * The underlying HTTP response.
2616
- */
2617
- _response: msRest.HttpResponse & {
2618
- /**
2619
- * The response body as text (string format)
2620
- */
2621
- bodyAsText: string;
1962
+ /** Optional parameters. */
1963
+ export interface EncryptionScopesGetOptionalParams
1964
+ extends coreClient.OperationOptions {}
2622
1965
 
2623
- /**
2624
- * The response body as parsed JSON or XML
2625
- */
2626
- parsedBody: EncryptionScope;
2627
- };
2628
- };
1966
+ /** Contains response data for the get operation. */
1967
+ export type EncryptionScopesGetResponse = EncryptionScope;
2629
1968
 
2630
- /**
2631
- * Contains response data for the list operation.
2632
- */
2633
- export type EncryptionScopesListResponse = EncryptionScopeListResult & {
2634
- /**
2635
- * The underlying HTTP response.
2636
- */
2637
- _response: msRest.HttpResponse & {
2638
- /**
2639
- * The response body as text (string format)
2640
- */
2641
- bodyAsText: string;
1969
+ /** Optional parameters. */
1970
+ export interface EncryptionScopesListOptionalParams
1971
+ extends coreClient.OperationOptions {}
2642
1972
 
2643
- /**
2644
- * The response body as parsed JSON or XML
2645
- */
2646
- parsedBody: EncryptionScopeListResult;
2647
- };
2648
- };
1973
+ /** Contains response data for the list operation. */
1974
+ export type EncryptionScopesListResponse = EncryptionScopeListResult;
2649
1975
 
2650
- /**
2651
- * Contains response data for the listNext operation.
2652
- */
2653
- export type EncryptionScopesListNextResponse = EncryptionScopeListResult & {
2654
- /**
2655
- * The underlying HTTP response.
2656
- */
2657
- _response: msRest.HttpResponse & {
2658
- /**
2659
- * The response body as text (string format)
2660
- */
2661
- bodyAsText: string;
1976
+ /** Optional parameters. */
1977
+ export interface EncryptionScopesListNextOptionalParams
1978
+ extends coreClient.OperationOptions {}
2662
1979
 
2663
- /**
2664
- * The response body as parsed JSON or XML
2665
- */
2666
- parsedBody: EncryptionScopeListResult;
2667
- };
2668
- };
1980
+ /** Contains response data for the listNext operation. */
1981
+ export type EncryptionScopesListNextResponse = EncryptionScopeListResult;
1982
+
1983
+ /** Optional parameters. */
1984
+ export interface StorageManagementClientOptionalParams
1985
+ extends coreClient.ServiceClientOptions {
1986
+ /** server parameter */
1987
+ $host?: string;
1988
+ /** Api Version */
1989
+ apiVersion?: string;
1990
+ /** Overrides client endpoint. */
1991
+ endpoint?: string;
1992
+ }