@azure/arm-storage-profile-2020-09-01-hybrid 2.0.1-alpha.20221128.1 → 2.1.1-alpha.20221223.1

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 (211) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/dist/index.js +266 -53
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +60 -0
  9. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +39 -0
  13. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +39 -0
  17. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +52 -0
  21. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js.map +1 -0
  22. package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/encryptionScopesGetSample.js +39 -0
  25. package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +1 -0
  26. package/dist-esm/samples-dev/encryptionScopesListSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/encryptionScopesListSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/encryptionScopesListSample.js +52 -0
  29. package/dist-esm/samples-dev/encryptionScopesListSample.js.map +1 -0
  30. package/dist-esm/samples-dev/encryptionScopesPatchSample.d.ts +2 -0
  31. package/dist-esm/samples-dev/encryptionScopesPatchSample.d.ts.map +1 -0
  32. package/dist-esm/samples-dev/encryptionScopesPatchSample.js +45 -0
  33. package/dist-esm/samples-dev/encryptionScopesPatchSample.js.map +1 -0
  34. package/dist-esm/samples-dev/encryptionScopesPutSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/encryptionScopesPutSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/encryptionScopesPutSample.js +40 -0
  37. package/dist-esm/samples-dev/encryptionScopesPutSample.js.map +1 -0
  38. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.d.ts +2 -0
  39. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.d.ts.map +1 -0
  40. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +225 -0
  41. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +1 -0
  42. package/dist-esm/samples-dev/managementPoliciesDeleteSample.d.ts +2 -0
  43. package/dist-esm/samples-dev/managementPoliciesDeleteSample.d.ts.map +1 -0
  44. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +39 -0
  45. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js.map +1 -0
  46. package/dist-esm/samples-dev/managementPoliciesGetSample.d.ts +2 -0
  47. package/dist-esm/samples-dev/managementPoliciesGetSample.d.ts.map +1 -0
  48. package/dist-esm/samples-dev/managementPoliciesGetSample.js +39 -0
  49. package/dist-esm/samples-dev/managementPoliciesGetSample.js.map +1 -0
  50. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.d.ts +2 -0
  51. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.d.ts.map +1 -0
  52. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +152 -0
  53. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +1 -0
  54. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.d.ts +2 -0
  55. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.d.ts.map +1 -0
  56. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +39 -0
  57. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js.map +1 -0
  58. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +39 -0
  61. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js.map +1 -0
  62. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.d.ts +2 -0
  63. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.d.ts.map +1 -0
  64. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +52 -0
  65. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js.map +1 -0
  66. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/operationsListSample.js +51 -0
  69. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  70. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  71. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  72. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +39 -0
  73. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  74. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  75. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  76. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +39 -0
  77. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  78. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
  79. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
  80. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +52 -0
  81. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
  82. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +2 -0
  83. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +1 -0
  84. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +45 -0
  85. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -0
  86. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.d.ts +2 -0
  87. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.d.ts.map +1 -0
  88. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +38 -0
  89. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js.map +1 -0
  90. package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
  91. package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
  92. package/dist-esm/samples-dev/skusListSample.js +50 -0
  93. package/dist-esm/samples-dev/skusListSample.js.map +1 -0
  94. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.d.ts +2 -0
  95. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.d.ts.map +1 -0
  96. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +40 -0
  97. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +1 -0
  98. package/dist-esm/samples-dev/storageAccountsCreateSample.d.ts +2 -0
  99. package/dist-esm/samples-dev/storageAccountsCreateSample.d.ts.map +1 -0
  100. package/dist-esm/samples-dev/storageAccountsCreateSample.js +61 -0
  101. package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +1 -0
  102. package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts +2 -0
  103. package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts.map +1 -0
  104. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +38 -0
  105. package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +1 -0
  106. package/dist-esm/samples-dev/storageAccountsFailoverSample.d.ts +2 -0
  107. package/dist-esm/samples-dev/storageAccountsFailoverSample.d.ts.map +1 -0
  108. package/dist-esm/samples-dev/storageAccountsFailoverSample.js +38 -0
  109. package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +1 -0
  110. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.d.ts +2 -0
  111. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.d.ts.map +1 -0
  112. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +56 -0
  113. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +1 -0
  114. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.d.ts +2 -0
  115. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.d.ts.map +1 -0
  116. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +47 -0
  117. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +1 -0
  118. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.d.ts +2 -0
  119. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.d.ts.map +1 -0
  120. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +51 -0
  121. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js.map +1 -0
  122. package/dist-esm/samples-dev/storageAccountsListKeysSample.d.ts +2 -0
  123. package/dist-esm/samples-dev/storageAccountsListKeysSample.d.ts.map +1 -0
  124. package/dist-esm/samples-dev/storageAccountsListKeysSample.js +38 -0
  125. package/dist-esm/samples-dev/storageAccountsListKeysSample.js.map +1 -0
  126. package/dist-esm/samples-dev/storageAccountsListSample.d.ts +2 -0
  127. package/dist-esm/samples-dev/storageAccountsListSample.d.ts.map +1 -0
  128. package/dist-esm/samples-dev/storageAccountsListSample.js +50 -0
  129. package/dist-esm/samples-dev/storageAccountsListSample.js.map +1 -0
  130. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.d.ts +2 -0
  131. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.d.ts.map +1 -0
  132. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +44 -0
  133. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +1 -0
  134. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.d.ts +2 -0
  135. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.d.ts.map +1 -0
  136. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +62 -0
  137. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +1 -0
  138. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.d.ts +2 -0
  139. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.d.ts.map +1 -0
  140. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +45 -0
  141. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +1 -0
  142. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.d.ts +2 -0
  143. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.d.ts.map +1 -0
  144. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +38 -0
  145. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js.map +1 -0
  146. package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts +2 -0
  147. package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts.map +1 -0
  148. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +119 -0
  149. package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +1 -0
  150. package/dist-esm/samples-dev/usagesListByLocationSample.d.ts +2 -0
  151. package/dist-esm/samples-dev/usagesListByLocationSample.d.ts.map +1 -0
  152. package/dist-esm/samples-dev/usagesListByLocationSample.js +51 -0
  153. package/dist-esm/samples-dev/usagesListByLocationSample.js.map +1 -0
  154. package/dist-esm/src/index.d.ts +1 -0
  155. package/dist-esm/src/index.d.ts.map +1 -1
  156. package/dist-esm/src/index.js +1 -0
  157. package/dist-esm/src/index.js.map +1 -1
  158. package/dist-esm/src/models/index.d.ts +93 -16
  159. package/dist-esm/src/models/index.d.ts.map +1 -1
  160. package/dist-esm/src/models/index.js +77 -0
  161. package/dist-esm/src/models/index.js.map +1 -1
  162. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -1
  163. package/dist-esm/src/operations/blobInventoryPolicies.js +8 -4
  164. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -1
  165. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -1
  166. package/dist-esm/src/operations/encryptionScopes.js +19 -8
  167. package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
  168. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  169. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +8 -4
  170. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -1
  171. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  172. package/dist-esm/src/operations/operations.js +8 -4
  173. package/dist-esm/src/operations/operations.js.map +1 -1
  174. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  175. package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
  176. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  177. package/dist-esm/src/operations/skus.d.ts.map +1 -1
  178. package/dist-esm/src/operations/skus.js +8 -4
  179. package/dist-esm/src/operations/skus.js.map +1 -1
  180. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
  181. package/dist-esm/src/operations/storageAccounts.js +36 -15
  182. package/dist-esm/src/operations/storageAccounts.js.map +1 -1
  183. package/dist-esm/src/operations/usages.d.ts.map +1 -1
  184. package/dist-esm/src/operations/usages.js +8 -4
  185. package/dist-esm/src/operations/usages.js.map +1 -1
  186. package/dist-esm/src/pagingHelper.d.ts +13 -0
  187. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  188. package/dist-esm/src/pagingHelper.js +32 -0
  189. package/dist-esm/src/pagingHelper.js.map +1 -0
  190. package/dist-esm/src/storageManagementClient.d.ts +2 -0
  191. package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
  192. package/dist-esm/src/storageManagementClient.js +54 -5
  193. package/dist-esm/src/storageManagementClient.js.map +1 -1
  194. package/dist-esm/test/sampleTest.js +11 -13
  195. package/dist-esm/test/sampleTest.js.map +1 -1
  196. package/package.json +24 -11
  197. package/review/arm-storage-profile-2020-09-01-hybrid.api.md +48 -103
  198. package/src/index.ts +1 -0
  199. package/src/models/index.ts +93 -16
  200. package/src/operations/blobInventoryPolicies.ts +17 -7
  201. package/src/operations/encryptionScopes.ts +27 -10
  202. package/src/operations/objectReplicationPoliciesOperations.ts +15 -5
  203. package/src/operations/operations.ts +10 -5
  204. package/src/operations/privateEndpointConnections.ts +15 -5
  205. package/src/operations/skus.ts +10 -5
  206. package/src/operations/storageAccounts.ts +45 -18
  207. package/src/operations/usages.ts +10 -5
  208. package/src/pagingHelper.ts +39 -0
  209. package/src/storageManagementClient.ts +70 -5
  210. package/tsconfig.json +8 -2
  211. package/types/arm-storage-profile-2020-09-01-hybrid.d.ts +104 -16
@@ -131,7 +131,7 @@ export declare interface BlobInventoryPoliciesListOptionalParams extends coreCli
131
131
  export declare type BlobInventoryPoliciesListResponse = ListBlobInventoryPolicy;
132
132
 
133
133
  /** The storage account blob inventory policy. */
134
- export declare type BlobInventoryPolicy = Resource & {
134
+ export declare interface BlobInventoryPolicy extends Resource {
135
135
  /**
136
136
  * Metadata pertaining to creation and last modification of the resource.
137
137
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -144,7 +144,7 @@ export declare type BlobInventoryPolicy = Resource & {
144
144
  readonly lastModifiedTime?: Date;
145
145
  /** The storage account blob inventory policy object. It is composed of policy rules. */
146
146
  policy?: BlobInventoryPolicySchema;
147
- };
147
+ }
148
148
 
149
149
  /** An object that defines the blob inventory rule. Each definition consists of a set of filters. */
150
150
  export declare interface BlobInventoryPolicyDefinition {
@@ -346,7 +346,7 @@ export declare interface Encryption {
346
346
  }
347
347
 
348
348
  /** The Encryption Scope resource. */
349
- export declare type EncryptionScope = Resource & {
349
+ export declare interface EncryptionScope extends Resource {
350
350
  /** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */
351
351
  source?: EncryptionScopeSource;
352
352
  /** The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. */
@@ -363,7 +363,7 @@ export declare type EncryptionScope = Resource & {
363
363
  readonly lastModifiedTime?: Date;
364
364
  /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
365
365
  keyVaultProperties?: EncryptionScopeKeyVaultProperties;
366
- };
366
+ }
367
367
 
368
368
  /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
369
369
  export declare interface EncryptionScopeKeyVaultProperties {
@@ -608,6 +608,15 @@ export declare interface GeoReplicationStats {
608
608
  */
609
609
  export declare type GeoReplicationStatus = string;
610
610
 
611
+ /**
612
+ * Given the last `.value` produced by the `byPage` iterator,
613
+ * returns a continuation token that can be used to begin paging from
614
+ * that point later.
615
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
616
+ * @returns The continuation token that can be passed into byPage() during future calls.
617
+ */
618
+ export declare function getContinuationToken(page: unknown): string | undefined;
619
+
611
620
  /** Defines values for HttpProtocol. */
612
621
  export declare type HttpProtocol = "https,http" | "https";
613
622
 
@@ -703,178 +712,255 @@ export declare type Kind = string;
703
712
 
704
713
  /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
705
714
  export declare enum KnownBlobInventoryPolicyName {
715
+ /** Default */
706
716
  Default = "default"
707
717
  }
708
718
 
709
719
  /** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */
710
720
  export declare enum KnownBlobRestoreProgressStatus {
721
+ /** InProgress */
711
722
  InProgress = "InProgress",
723
+ /** Complete */
712
724
  Complete = "Complete",
725
+ /** Failed */
713
726
  Failed = "Failed"
714
727
  }
715
728
 
716
729
  /** Known values of {@link Bypass} that the service accepts. */
717
730
  export declare enum KnownBypass {
731
+ /** None */
718
732
  None = "None",
733
+ /** Logging */
719
734
  Logging = "Logging",
735
+ /** Metrics */
720
736
  Metrics = "Metrics",
737
+ /** AzureServices */
721
738
  AzureServices = "AzureServices"
722
739
  }
723
740
 
724
741
  /** Known values of {@link CreatedByType} that the service accepts. */
725
742
  export declare enum KnownCreatedByType {
743
+ /** User */
726
744
  User = "User",
745
+ /** Application */
727
746
  Application = "Application",
747
+ /** ManagedIdentity */
728
748
  ManagedIdentity = "ManagedIdentity",
749
+ /** Key */
729
750
  Key = "Key"
730
751
  }
731
752
 
732
753
  /** Known values of {@link DirectoryServiceOptions} that the service accepts. */
733
754
  export declare enum KnownDirectoryServiceOptions {
755
+ /** None */
734
756
  None = "None",
757
+ /** Aadds */
735
758
  Aadds = "AADDS",
759
+ /** AD */
736
760
  AD = "AD"
737
761
  }
738
762
 
739
763
  /** Known values of {@link EncryptionScopeSource} that the service accepts. */
740
764
  export declare enum KnownEncryptionScopeSource {
765
+ /** MicrosoftStorage */
741
766
  MicrosoftStorage = "Microsoft.Storage",
767
+ /** MicrosoftKeyVault */
742
768
  MicrosoftKeyVault = "Microsoft.KeyVault"
743
769
  }
744
770
 
745
771
  /** Known values of {@link EncryptionScopeState} that the service accepts. */
746
772
  export declare enum KnownEncryptionScopeState {
773
+ /** Enabled */
747
774
  Enabled = "Enabled",
775
+ /** Disabled */
748
776
  Disabled = "Disabled"
749
777
  }
750
778
 
751
779
  /** Known values of {@link GeoReplicationStatus} that the service accepts. */
752
780
  export declare enum KnownGeoReplicationStatus {
781
+ /** Live */
753
782
  Live = "Live",
783
+ /** Bootstrap */
754
784
  Bootstrap = "Bootstrap",
785
+ /** Unavailable */
755
786
  Unavailable = "Unavailable"
756
787
  }
757
788
 
758
789
  /** Known values of {@link InventoryRuleType} that the service accepts. */
759
790
  export declare enum KnownInventoryRuleType {
791
+ /** Inventory */
760
792
  Inventory = "Inventory"
761
793
  }
762
794
 
763
795
  /** Known values of {@link KeySource} that the service accepts. */
764
796
  export declare enum KnownKeySource {
797
+ /** MicrosoftStorage */
765
798
  MicrosoftStorage = "Microsoft.Storage",
799
+ /** MicrosoftKeyvault */
766
800
  MicrosoftKeyvault = "Microsoft.Keyvault"
767
801
  }
768
802
 
769
803
  /** Known values of {@link KeyType} that the service accepts. */
770
804
  export declare enum KnownKeyType {
805
+ /** Service */
771
806
  Service = "Service",
807
+ /** Account */
772
808
  Account = "Account"
773
809
  }
774
810
 
775
811
  /** Known values of {@link Kind} that the service accepts. */
776
812
  export declare enum KnownKind {
813
+ /** Storage */
777
814
  Storage = "Storage",
815
+ /** StorageV2 */
778
816
  StorageV2 = "StorageV2",
817
+ /** BlobStorage */
779
818
  BlobStorage = "BlobStorage",
819
+ /** FileStorage */
780
820
  FileStorage = "FileStorage",
821
+ /** BlockBlobStorage */
781
822
  BlockBlobStorage = "BlockBlobStorage"
782
823
  }
783
824
 
784
825
  /** Known values of {@link LargeFileSharesState} that the service accepts. */
785
826
  export declare enum KnownLargeFileSharesState {
827
+ /** Disabled */
786
828
  Disabled = "Disabled",
829
+ /** Enabled */
787
830
  Enabled = "Enabled"
788
831
  }
789
832
 
790
833
  /** Known values of {@link ManagementPolicyName} that the service accepts. */
791
834
  export declare enum KnownManagementPolicyName {
835
+ /** Default */
792
836
  Default = "default"
793
837
  }
794
838
 
795
839
  /** Known values of {@link MinimumTlsVersion} that the service accepts. */
796
840
  export declare enum KnownMinimumTlsVersion {
841
+ /** TLS10 */
797
842
  TLS10 = "TLS1_0",
843
+ /** TLS11 */
798
844
  TLS11 = "TLS1_1",
845
+ /** TLS12 */
799
846
  TLS12 = "TLS1_2"
800
847
  }
801
848
 
802
849
  /** Known values of {@link Permissions} that the service accepts. */
803
850
  export declare enum KnownPermissions {
851
+ /** R */
804
852
  R = "r",
853
+ /** D */
805
854
  D = "d",
855
+ /** W */
806
856
  W = "w",
857
+ /** L */
807
858
  L = "l",
859
+ /** A */
808
860
  A = "a",
861
+ /** C */
809
862
  C = "c",
863
+ /** U */
810
864
  U = "u",
865
+ /** P */
811
866
  P = "p"
812
867
  }
813
868
 
814
869
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
815
870
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
871
+ /** Succeeded */
816
872
  Succeeded = "Succeeded",
873
+ /** Creating */
817
874
  Creating = "Creating",
875
+ /** Deleting */
818
876
  Deleting = "Deleting",
877
+ /** Failed */
819
878
  Failed = "Failed"
820
879
  }
821
880
 
822
881
  /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
823
882
  export declare enum KnownPrivateEndpointServiceConnectionStatus {
883
+ /** Pending */
824
884
  Pending = "Pending",
885
+ /** Approved */
825
886
  Approved = "Approved",
887
+ /** Rejected */
826
888
  Rejected = "Rejected"
827
889
  }
828
890
 
829
891
  /** Known values of {@link ReasonCode} that the service accepts. */
830
892
  export declare enum KnownReasonCode {
893
+ /** QuotaId */
831
894
  QuotaId = "QuotaId",
895
+ /** NotAvailableForSubscription */
832
896
  NotAvailableForSubscription = "NotAvailableForSubscription"
833
897
  }
834
898
 
835
899
  /** Known values of {@link RoutingChoice} that the service accepts. */
836
900
  export declare enum KnownRoutingChoice {
901
+ /** MicrosoftRouting */
837
902
  MicrosoftRouting = "MicrosoftRouting",
903
+ /** InternetRouting */
838
904
  InternetRouting = "InternetRouting"
839
905
  }
840
906
 
841
907
  /** Known values of {@link RuleType} that the service accepts. */
842
908
  export declare enum KnownRuleType {
909
+ /** Lifecycle */
843
910
  Lifecycle = "Lifecycle"
844
911
  }
845
912
 
846
913
  /** Known values of {@link Services} that the service accepts. */
847
914
  export declare enum KnownServices {
915
+ /** B */
848
916
  B = "b",
917
+ /** Q */
849
918
  Q = "q",
919
+ /** T */
850
920
  T = "t",
921
+ /** F */
851
922
  F = "f"
852
923
  }
853
924
 
854
925
  /** Known values of {@link SignedResource} that the service accepts. */
855
926
  export declare enum KnownSignedResource {
927
+ /** B */
856
928
  B = "b",
929
+ /** C */
857
930
  C = "c",
931
+ /** F */
858
932
  F = "f",
933
+ /** S */
859
934
  S = "s"
860
935
  }
861
936
 
862
937
  /** Known values of {@link SignedResourceTypes} that the service accepts. */
863
938
  export declare enum KnownSignedResourceTypes {
939
+ /** S */
864
940
  S = "s",
941
+ /** C */
865
942
  C = "c",
943
+ /** O */
866
944
  O = "o"
867
945
  }
868
946
 
869
947
  /** Known values of {@link SkuName} that the service accepts. */
870
948
  export declare enum KnownSkuName {
949
+ /** StandardLRS */
871
950
  StandardLRS = "Standard_LRS",
951
+ /** StandardGRS */
872
952
  StandardGRS = "Standard_GRS",
953
+ /** StandardRagrs */
873
954
  StandardRagrs = "Standard_RAGRS",
955
+ /** StandardZRS */
874
956
  StandardZRS = "Standard_ZRS",
957
+ /** PremiumLRS */
875
958
  PremiumLRS = "Premium_LRS",
959
+ /** PremiumZRS */
876
960
  PremiumZRS = "Premium_ZRS",
961
+ /** StandardGzrs */
877
962
  StandardGzrs = "Standard_GZRS",
963
+ /** StandardRagzrs */
878
964
  StandardRagzrs = "Standard_RAGZRS"
879
965
  }
880
966
 
@@ -975,7 +1061,7 @@ export declare interface ManagementPoliciesGetOptionalParams extends coreClient.
975
1061
  export declare type ManagementPoliciesGetResponse = ManagementPolicy;
976
1062
 
977
1063
  /** The Get Storage Account ManagementPolicies operation response. */
978
- export declare type ManagementPolicy = Resource & {
1064
+ export declare interface ManagementPolicy extends Resource {
979
1065
  /**
980
1066
  * Returns the date and time the ManagementPolicies was last modified.
981
1067
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -983,7 +1069,7 @@ export declare type ManagementPolicy = Resource & {
983
1069
  readonly lastModifiedTime?: Date;
984
1070
  /** The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
985
1071
  policy?: ManagementPolicySchema;
986
- };
1072
+ }
987
1073
 
988
1074
  /** Actions are applied to the filtered blobs when the execution condition is met. */
989
1075
  export declare interface ManagementPolicyAction {
@@ -1201,7 +1287,7 @@ export declare interface ObjectReplicationPoliciesOperations {
1201
1287
  }
1202
1288
 
1203
1289
  /** The replication policy between two storage accounts. Multiple rules can be defined in one policy. */
1204
- export declare type ObjectReplicationPolicy = Resource & {
1290
+ export declare interface ObjectReplicationPolicy extends Resource {
1205
1291
  /**
1206
1292
  * A unique id for object replication policy.
1207
1293
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1218,7 +1304,7 @@ export declare type ObjectReplicationPolicy = Resource & {
1218
1304
  destinationAccount?: string;
1219
1305
  /** The storage account object replication rules. */
1220
1306
  rules?: ObjectReplicationPolicyRule[];
1221
- };
1307
+ }
1222
1308
 
1223
1309
  /** 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. */
1224
1310
  export declare interface ObjectReplicationPolicyFilter {
@@ -1313,7 +1399,7 @@ export declare interface PrivateEndpoint {
1313
1399
  }
1314
1400
 
1315
1401
  /** The Private Endpoint Connection resource. */
1316
- export declare type PrivateEndpointConnection = Resource & {
1402
+ export declare interface PrivateEndpointConnection extends Resource {
1317
1403
  /** The resource of private end point. */
1318
1404
  privateEndpoint?: PrivateEndpoint;
1319
1405
  /** A collection of information about the state of the connection between service consumer and provider. */
@@ -1323,7 +1409,7 @@ export declare type PrivateEndpointConnection = Resource & {
1323
1409
  * NOTE: This property will not be serialized. It can only be populated by the server.
1324
1410
  */
1325
1411
  readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1326
- };
1412
+ }
1327
1413
 
1328
1414
  /** List of private endpoint connection associated with the specified storage account */
1329
1415
  export declare interface PrivateEndpointConnectionListResult {
@@ -1431,7 +1517,7 @@ export declare type PrivateEndpointConnectionsPutResponse = PrivateEndpointConne
1431
1517
  export declare type PrivateEndpointServiceConnectionStatus = string;
1432
1518
 
1433
1519
  /** A private link resource */
1434
- export declare type PrivateLinkResource = Resource & {
1520
+ export declare interface PrivateLinkResource extends Resource {
1435
1521
  /**
1436
1522
  * The private link resource group id.
1437
1523
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1444,7 +1530,7 @@ export declare type PrivateLinkResource = Resource & {
1444
1530
  readonly requiredMembers?: string[];
1445
1531
  /** The private link resource Private link DNS zone name. */
1446
1532
  requiredZoneNames?: string[];
1447
- };
1533
+ }
1448
1534
 
1449
1535
  /** A list of private link resources */
1450
1536
  export declare interface PrivateLinkResourceListResult {
@@ -1741,7 +1827,7 @@ export declare type SkuTier = "Standard" | "Premium";
1741
1827
  export declare type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
1742
1828
 
1743
1829
  /** The storage account. */
1744
- export declare type StorageAccount = TrackedResource & {
1830
+ export declare interface StorageAccount extends TrackedResource {
1745
1831
  /**
1746
1832
  * Gets the SKU.
1747
1833
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1855,7 +1941,7 @@ export declare type StorageAccount = TrackedResource & {
1855
1941
  minimumTlsVersion?: MinimumTlsVersion;
1856
1942
  /** 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. */
1857
1943
  allowSharedKeyAccess?: boolean;
1858
- };
1944
+ }
1859
1945
 
1860
1946
  /** The parameters used to check the availability of the storage account name. */
1861
1947
  export declare interface StorageAccountCheckNameAvailabilityParameters {
@@ -2364,6 +2450,8 @@ export declare class StorageManagementClient extends coreClient.ServiceClient {
2364
2450
  * @param options The parameter options
2365
2451
  */
2366
2452
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageManagementClientOptionalParams);
2453
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
2454
+ private addCustomApiVersionPolicy;
2367
2455
  operations: Operations;
2368
2456
  skus: Skus;
2369
2457
  storageAccounts: StorageAccounts;
@@ -2422,14 +2510,14 @@ export declare interface TagFilter {
2422
2510
  }
2423
2511
 
2424
2512
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2425
- export declare type TrackedResource = Resource & {
2513
+ export declare interface TrackedResource extends Resource {
2426
2514
  /** Resource tags. */
2427
2515
  tags?: {
2428
2516
  [propertyName: string]: string;
2429
2517
  };
2430
2518
  /** The geo-location where the resource lives */
2431
2519
  location: string;
2432
- };
2520
+ }
2433
2521
 
2434
2522
  /** Describes Storage Resource Usage. */
2435
2523
  export declare interface Usage {