This commit is contained in:
Shawn Weisfeld Build 2021-03-26 19:46:15 +00:00
Родитель 6cf415a6df
Коммит 38ccdc15d7
49 изменённых файлов: 962 добавлений и 69 удалений

Просмотреть файл

@ -14,7 +14,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/categories/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -260,7 +260,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@ Azure Data Lake Storage Gen2 is built on Azure Blob storage and provides a set o
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -376,7 +376,7 @@ Azure Data Lake Storage Gen2 is built on Azure Blob storage and provides a set o
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -27,7 +27,7 @@ This can be applicable for below migration patterns:
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -419,7 +419,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@ Below will be covered as part of this guide:
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/analytics/adls-gen1-to-gen2-migration/bi-directional/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -519,7 +519,7 @@ After all the applications and workloads are stable on Gen2, Turn off any remain
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -25,7 +25,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -544,7 +544,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -496,7 +496,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/analytics/adls-gen1-to-gen2-migration/incremental/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -454,7 +454,7 @@ Install-Module az.storage -RequiredVersion 1.13.3-preview -Repository PSGallery
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@ Incremental copy pattern using Azure data factory # Refer Incremental copy patt
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/analytics/adls-gen1-to-gen2-migration/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -327,7 +327,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -16,7 +16,7 @@ This guide covers the following tasks:">
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/analytics/adls-gen1-to-gen2-migration/lift-and-shift/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -444,7 +444,7 @@ Install-Module az.storage -RequiredVersion 1.13.3-preview -Repository PSGallery
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/analytics/adls-gen1-to-gen2-migration/utilities/ageing-analysis/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -417,7 +417,7 @@ Login-AzAccount -ServicePrincipal -TenantId $TenantId -Credential $Credential
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -757,7 +757,7 @@ If instead your high priority scenario is to understand the weather patterns in
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/analytics/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -244,7 +244,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -250,7 +250,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -0,0 +1,391 @@
<!DOCTYPE html>
<html lang="en" dir=>
<head>
<meta name="generator" content="Hugo 0.82.0" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Azure Blob Storage - Setup Object Replication with ARM Templates # Object replication asynchronously copies block blobs between a source storage account and a destination account.
You can find a good overview of the service here, and instructions on how to deploy it via the portal here.
Here we are going to focus on deploying Object Replication with ARM. You will see we are doing this in 3 steps with three templates orchestrated with some CLI code.">
<meta name="theme-color" content="#FFFFFF"><meta property="og:title" content="Azure Blob Storage - Setup Object Replication with ARM Templates" />
<meta property="og:description" content="Azure Blob Storage - Setup Object Replication with ARM Templates # Object replication asynchronously copies block blobs between a source storage account and a destination account.
You can find a good overview of the service here, and instructions on how to deploy it via the portal here.
Here we are going to focus on deploying Object Replication with ARM. You will see we are doing this in 3 steps with three templates orchestrated with some CLI code." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-object-replication-arm/" /><meta property="article:section" content="docs" />
<title>Azure Blob Storage - Setup Object Replication with ARM Templates | Azure Storage</title>
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
-->
</head>
<body dir=>
<input type="checkbox" class="hidden toggle" id="menu-control" />
<input type="checkbox" class="hidden toggle" id="toc-control" />
<main class="container flex">
<aside class="book-menu">
<div class="book-menu-content">
<nav>
<h2 class="book-brand">
<a href="/"><img src="/images/azure-icon.png" alt="Logo" /><span>Azure Storage</span>
</a>
</h2>
<div class="book-search">
<input type="text" id="book-search-input" placeholder="Search" aria-label="Search" maxlength="64" data-hotkeys="s/" />
<div class="book-search-spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>
<ul>
<li>
<a href="https://azurestorage.com/docs/analytics/" class="">Analytics</a>
</li>
<li>
<a href="https://azurestorage.com/docs/application-and-user-data/" class="">Application and User Data</a>
</li>
<li>
<a href="https://azurestorage.com/docs/backup-and-archive/" class="">Backup and Archive</a>
</li>
<li>
<a href="https://azurestorage.com/docs/hpc-iot-and-ai/" class="">HPC IoT and AI</a>
</li>
<li>
<a href="https://azurestorage.com/docs/storage-partners/" class="">Storage Partners</a>
</li>
<li>
<a href="https://azurestorage.com/docs/tools-and-utilities/" class="">Tools and Utilities</a>
</li>
<li>
<a href="https://azurestorage.com/docs/whats-new/" class="">What&#39;s New</a>
</li>
</ul>
</nav>
<script>(function(){var a=document.querySelector("aside.book-menu nav");addEventListener("beforeunload",function(b){localStorage.setItem("menu.scrollTop",a.scrollTop)}),a.scrollTop=localStorage.getItem("menu.scrollTop")})()</script>
</div>
</aside>
<div class="book-page">
<header class="book-header">
<div class="flex align-center justify-between">
<label for="menu-control">
<img src="/svg/menu.svg" class="book-icon" alt="Menu" />
</label>
<strong>Azure Blob Storage - Setup Object Replication with ARM Templates</strong>
<label for="toc-control">
<img src="/svg/toc.svg" class="book-icon" alt="Table of Contents" />
</label>
</div>
<aside class="hidden clearfix">
<nav id="TableOfContents">
<ul>
<li><a href="#variable-and-resource-group-setup">Variable and Resource Group Setup</a></li>
<li><a href="#create-the-source--destination-storage-accounts">Create the source &amp; destination storage accounts</a></li>
<li><a href="#create-the-destination-object-replication-endpoint">Create the destination Object Replication endpoint</a></li>
<li><a href="#create-the-source-object-replication-endpoint">Create the source Object Replication endpoint</a></li>
</ul>
</nav>
</aside>
</header>
<article class="markdown"><h1 id="azure-blob-storage---setup-object-replication-with-arm-templates">
Azure Blob Storage - Setup Object Replication with ARM Templates
<a class="anchor" href="#azure-blob-storage---setup-object-replication-with-arm-templates">#</a>
</h1>
<p>Object replication asynchronously copies block blobs between a source storage account and a destination account.</p>
<p>You can find a good overview of the service <a href="https://docs.microsoft.com/azure/storage/blobs/object-replication-overview">here</a>, and instructions on how to deploy it via the portal <a href="https://docs.microsoft.com/azure/storage/blobs/object-replication-configure">here</a>.</p>
<p>Here we are going to focus on deploying Object Replication with ARM. You will see we are doing this in 3 steps with three templates orchestrated with some CLI code. This needs to be done in separate steps to 1) allow time for the Change Feed and Versioning features to be provisioned before creating the destination object replication endpoint and 2) to allow us to query the policy and rule information from the destination endpoint to pass into the creation of the source object replication endpoint.</p>
<h2 id="variable-and-resource-group-setup">
Variable and Resource Group Setup
<a class="anchor" href="#variable-and-resource-group-setup">#</a>
</h2>
<ul>
<li>In this sample we are using the same container name for source and destination this is not required</li>
<li>In this sample we are using the same region for source and destination this is not required</li>
<li>In this sample we are using the same durability (i.e. LRS) for source and destination this is not required</li>
</ul>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">RG<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;&lt;resource group name&gt;&#34;</span>
LOCATION<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;&lt;region name i.e. westus&gt;&#34;</span>
SRCACCT<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;&lt;name of source storage account&gt;&#34;</span>
DESTACCT<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;&lt;name of destination storage account&gt;&#34;</span>
CONTAINER<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;&lt;name of container&gt;&#34;</span>
az group create --name $RG --location $LOCATION
</code></pre></div><h2 id="create-the-source--destination-storage-accounts">
Create the source &amp; destination storage accounts
<a class="anchor" href="#create-the-source--destination-storage-accounts">#</a>
</h2>
<p>Get the ARM template <a href="step01.json">here</a></p>
<ul>
<li>Make sure that your accounts have Change Feed and Versioning features enabled</li>
</ul>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">az deployment group create <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --name TestDeployment <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --resource-group $RG <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --template-file step01.json <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --parameters <span style="color:#e6db74">&#34;storageNameSrc=</span>$SRCACCT<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;storageNameDest=</span>$DESTACCT<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;containerName=</span>$CONTAINER<span style="color:#e6db74">&#34;</span>
</code></pre></div><h2 id="create-the-destination-object-replication-endpoint">
Create the destination Object Replication endpoint
<a class="anchor" href="#create-the-destination-object-replication-endpoint">#</a>
</h2>
<p>Get the ARM template <a href="step02.json">here</a></p>
<ul>
<li>You might need to wait a bit for the features you enabled in the last step to turn on before doing this</li>
</ul>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">az deployment group create <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --name TestDeployment <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --resource-group $RG <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --template-file step02.json <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --parameters <span style="color:#e6db74">&#34;storageNameSrc=</span>$SRCACCT<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;storageNameDest=</span>$DESTACCT<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;containerName=</span>$CONTAINER<span style="color:#e6db74">&#34;</span>
</code></pre></div><h2 id="create-the-source-object-replication-endpoint">
Create the source Object Replication endpoint
<a class="anchor" href="#create-the-source-object-replication-endpoint">#</a>
</h2>
<p>Get the ARM template <a href="step03.json">here</a></p>
<blockquote>
<p>NOTE: Here I am just pulling the first policy and rule, since I only have 1, if you have more than 1 you will need to change the &ndash;query</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">POLICY<span style="color:#f92672">=</span><span style="color:#66d9ef">$(</span>az storage account or-policy list --account-name $DESTACCT --query <span style="color:#e6db74">&#39;[0].policyId&#39;</span> --output tsv<span style="color:#66d9ef">)</span>
RULE<span style="color:#f92672">=</span><span style="color:#66d9ef">$(</span>az storage account or-policy list --account-name $DESTACCT --query <span style="color:#e6db74">&#39;[0].rules[0].ruleId&#39;</span> --output tsv<span style="color:#66d9ef">)</span>
az deployment group create <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --name TestDeployment <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --resource-group $RG <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --template-file step03.json <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> --parameters <span style="color:#e6db74">&#34;storageNameSrc=</span>$SRCACCT<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;storageNameDest=</span>$DESTACCT<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;containerName=</span>$CONTAINER<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;policyId=</span>$POLICY<span style="color:#e6db74">&#34;</span> <span style="color:#ae81ff">\
</span><span style="color:#ae81ff"></span> <span style="color:#e6db74">&#34;ruleId=</span>$RULE<span style="color:#e6db74">&#34;</span>
</code></pre></div></article>
<footer class="book-footer">
<div class="flex flex-wrap justify-between">
</div>
<hr />
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>
<div class="book-comments">
</div>
<label for="menu-control" class="hidden book-menu-overlay"></label>
</div>
<aside class="book-toc">
<div class="book-toc-content">
<nav id="TableOfContents">
<ul>
<li><a href="#variable-and-resource-group-setup">Variable and Resource Group Setup</a></li>
<li><a href="#create-the-source--destination-storage-accounts">Create the source &amp; destination storage accounts</a></li>
<li><a href="#create-the-destination-object-replication-endpoint">Create the destination Object Replication endpoint</a></li>
<li><a href="#create-the-source-object-replication-endpoint">Create the source Object Replication endpoint</a></li>
</ul>
</nav>
</div>
</aside>
</main>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>
<script>
$('a[href^="http://"], a[href^="https://"]').not('a[href*="'+location.hostname+'"]').attr('target','_blank');
</script>
<script type="text/javascript">
!function(T,l,y){var S=T.location,u="script",k="instrumentationKey",D="ingestionendpoint",C="disableExceptionTracking",E="ai.device.",I="toLowerCase",b="crossOrigin",w="POST",e="appInsightsSDK",t=y.name||"appInsights";(y.name||T[e])&&(T[e]=t);var n=T[t]||function(d){var g=!1,f=!1,m={initialize:!0,queue:[],sv:"4",version:2,config:d};function v(e,t){var n={},a="Browser";return n[E+"id"]=a[I](),n[E+"type"]=a,n["ai.operation.name"]=S&&S.pathname||"_unknown_",n["ai.internal.sdkVersion"]="javascript:snippet_"+(m.sv||m.version),{time:function(){var e=new Date;function t(e){var t=""+e;return 1===t.length&&(t="0"+t),t}return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+((e.getUTCMilliseconds()/1e3).toFixed(3)+"").slice(2,5)+"Z"}(),iKey:e,name:"Microsoft.ApplicationInsights."+e.replace(/-/g,"")+"."+t,sampleRate:100,tags:n,data:{baseData:{ver:2}}}}var h=d.url||y.src;if(h){function a(e){var t,n,a,i,r,o,s,c,p,l,u;g=!0,m.queue=[],f||(f=!0,t=h,s=function(){var e={},t=d.connectionString;if(t)for(var n=t.split(";"),a=0;a<n.length;a++){var i=n[a].split("=");2===i.length&&(e[i[0][I]()]=i[1])}if(!e[D]){var r=e.endpointsuffix,o=r?e.location:null;e[D]="https://"+(o?o+".":"")+"dc."+(r||"services.visualstudio.com")}return e}(),c=s[k]||d[k]||"",p=s[D],l=p?p+"/v2/track":config.endpointUrl,(u=[]).push((n="SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)",a=t,i=l,(o=(r=v(c,"Exception")).data).baseType="ExceptionData",o.baseData.exceptions=[{typeName:"SDKLoadFailed",message:n.replace(/\./g,"-"),hasFullStack:!1,stack:n+"\nSnippet failed to load ["+a+"] -- Telemetry is disabled\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\nHost: "+(S&&S.pathname||"_unknown_")+"\nEndpoint: "+i,parsedStack:[]}],r)),u.push(function(e,t,n,a){var i=v(c,"Message"),r=i.data;r.baseType="MessageData";var o=r.baseData;return o.message='AI (Internal): 99 message:"'+("SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) ("+n+")").replace(/\"/g,"")+'"',o.properties={endpoint:a},i}(0,0,t,l)),function(e,t){if(JSON){var n=T.fetch;if(n&&!y.useXhr)n(t,{method:w,body:JSON.stringify(e),mode:"cors"});else if(XMLHttpRequest){var a=new XMLHttpRequest;a.open(w,t),a.setRequestHeader("Content-type","application/json"),a.send(JSON.stringify(e))}}}(u,l))}function i(e,t){f||setTimeout(function(){!t&&m.core||a()},500)}var e=function(){var n=l.createElement(u);n.src=h;var e=y[b];return!e&&""!==e||"undefined"==n[b]||(n[b]=e),n.onload=i,n.onerror=a,n.onreadystatechange=function(e,t){"loaded"!==n.readyState&&"complete"!==n.readyState||i(0,t)},n}();y.ld<0?l.getElementsByTagName("head")[0].appendChild(e):setTimeout(function(){l.getElementsByTagName(u)[0].parentNode.appendChild(e)},y.ld||0)}try{m.cookie=l.cookie}catch(p){}function t(e){for(;e.length;)!function(t){m[t]=function(){var e=arguments;g||m.queue.push(function(){m[t].apply(m,e)})}}(e.pop())}var n="track",r="TrackPage",o="TrackEvent";t([n+"Event",n+"PageView",n+"Exception",n+"Trace",n+"DependencyData",n+"Metric",n+"PageViewPerformance","start"+r,"stop"+r,"start"+o,"stop"+o,"addTelemetryInitializer","setAuthenticatedUserContext","clearAuthenticatedUserContext","flush"]),m.SeverityLevel={Verbose:0,Information:1,Warning:2,Error:3,Critical:4};var s=(d.extensionConfig||{}).ApplicationInsightsAnalytics||{};if(!0!==d[C]&&!0!==s[C]){method="onerror",t(["_"+method]);var c=T[method];T[method]=function(e,t,n,a,i){var r=c&&c(e,t,n,a,i);return!0!==r&&m["_"+method]({message:e,url:t,lineNumber:n,columnNumber:a,error:i}),r},d.autoExceptionInstrumented=!0}return m}(y.cfg);(T[t]=n).queue&&0===n.queue.length&&n.trackPageView({})}(window,document,{
src: "https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js",
cfg: {
instrumentationKey: "0600b273-5440-42cc-9fe4-51924c721ce0"
}});
</script>
</body>
</html>

Просмотреть файл

@ -0,0 +1,100 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageNameSrc": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"storageNameDest": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"containerName": {
"type": "string",
"metadata": {
"description": "The container name to use in the source/dest accounts."
}
}
},
"variables": {
"location": "[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"name": "[parameters('storageNameSrc')]",
"location": "[variables('location')]",
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2",
"properties": { },
"resources": [
{
"type": "blobServices/containers",
"apiVersion": "2019-06-01",
"name": "[concat('default/', parameters('containerName'))]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameSrc'))]"
]
},
{
"type": "Microsoft.Storage/storageAccounts/blobServices",
"apiVersion": "2020-08-01-preview",
"name": "[concat(parameters('storageNameSrc'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameSrc'))]"
],
"properties": {
"changeFeed": {
"enabled": "true"
},
"isVersioningEnabled": "true"
}
}
]
},
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"name": "[parameters('storageNameDest')]",
"location": "[variables('location')]",
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2",
"properties": { },
"resources": [
{
"type": "blobServices/containers",
"apiVersion": "2019-06-01",
"name": "[concat('default/', parameters('containerName'))]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameDest'))]"
]
},
{
"type": "Microsoft.Storage/storageAccounts/blobServices",
"apiVersion": "2020-08-01-preview",
"name": "[concat(parameters('storageNameDest'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameDest'))]"
],
"properties": {
"changeFeed": {
"enabled": "true"
},
"isVersioningEnabled": "true"
}
}
]
}
],
"outputs": {}
}

Просмотреть файл

@ -0,0 +1,44 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageNameSrc": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"storageNameDest": {
"type": "string",
"metadata": {
"description": "The dest storage account name."
}
},
"containerName": {
"type": "string",
"metadata": {
"description": "The container name to use in the source/dest accounts."
}
}
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts/ObjectReplicationPolicies",
"apiVersion": "2019-06-01",
"name" : "[concat(parameters('storageNameDest'), '/default')]",
"properties": {
"sourceAccount": "[parameters('storageNameSrc')]",
"destinationAccount": "[parameters('storageNameDest')]",
"rules": [
{
"sourceContainer": "[parameters('containerName')]",
"destinationContainer": "[parameters('containerName')]",
"filters": {
//Any prefixMatch filters here
}
}
]
}
}
]
}

Просмотреть файл

@ -0,0 +1,53 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyId" : {
"type" : "string"
},
"ruleId" : {
"type" : "string"
},
"storageNameSrc": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"storageNameDest": {
"type": "string",
"metadata": {
"description": "The dest storage account name."
}
},
"containerName": {
"type": "string",
"metadata": {
"description": "The container name to use in the source/dest accounts."
}
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts/ObjectReplicationPolicies",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('storageNameSrc'), '/', parameters('policyId'))]",
"properties": {
"policyId": "[parameters('policyId')]",
"sourceAccount": "[parameters('storageNameSrc')]",
"destinationAccount": "[parameters('storageNameDest')]",
"rules": [
{
"ruleId": "[parameters('ruleId')]",
"sourceContainer": "[parameters('containerName')]",
"destinationContainer": "[parameters('containerName')]",
"filters": {
//Any prefixMatch filters here
}
}
]
}
}
]
}

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -333,7 +333,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -250,7 +250,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -251,7 +251,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -369,7 +369,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -301,7 +301,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -305,7 +305,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/application-and-user-data/code-samples/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -236,7 +236,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -19,7 +19,7 @@ The PowerShell script AzureStorageSupportedCharacterScrubber.ps1 provides a turn
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -441,7 +441,7 @@ Destination name<span style="color:#960050;background-color:#1e0010">:</span> Ba
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@ Basics # Azure Blob Storage data protection features Enterprises, partners, an
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/application-and-user-data/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -259,6 +259,7 @@ https://github.com/alex-shpak/hugo-book
<li><a href="./basics/optimize-your-costs-with-azure-blob-storage">Optimize your costs with Azure Blob Storage</a> In this video, learn about the Azure Blob Storage features that help you save cost and keep your Total Cost of Ownership (TCO) low.</li>
<li><a href="./basics/nfs-3-support-for-azure-blob-storage">NFS 3.0 support for Azure Blob Storage</a> In this video, we introduce Azure Blob NFS 3.0 support, the only public cloud object storage offering native file system compatibility. Learn about NFS support and how to accelerate your workload migration from on premise datacenters to Azure.</li>
<li><a href="./basics/azure-blob-storage-upload-apis">Azure Blob Storage Upload API&rsquo;s</a></li>
<li><a href="./basics/azure-blob-storage-object-replication-arm">Azure Blob Storage - Setup Object Replication with ARM Templates</a></li>
</ul>
</article>
@ -279,7 +280,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -6,6 +6,17 @@
<description>Recent content in Application and User Data on Azure Storage</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://azurestorage.com/docs/application-and-user-data/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Azure Blob Storage - Setup Object Replication with ARM Templates</title>
<link>https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-object-replication-arm/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-object-replication-arm/</guid>
<description>Azure Blob Storage - Setup Object Replication with ARM Templates # Object replication asynchronously copies block blobs between a source storage account and a destination account.
You can find a good overview of the service here, and instructions on how to deploy it via the portal here.
Here we are going to focus on deploying Object Replication with ARM. You will see we are doing this in 3 steps with three templates orchestrated with some CLI code.</description>
</item>
<item>
<title>Azure Blob Storage data protection features</title>
<link>https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-data-protection-features/</link>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -242,7 +242,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/backup-and-archive/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -254,7 +254,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -344,7 +344,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -248,7 +248,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -344,7 +344,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -242,7 +242,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/docs/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -236,7 +236,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -377,7 +377,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -246,7 +246,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -17,7 +17,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
@ -255,7 +255,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1 @@
'use strict';(function(){const a=document.querySelector('#book-search-input'),b=document.querySelector('#book-search-results');if(!a)return;a.addEventListener('focus',c),a.addEventListener('keyup',d),document.addEventListener('keypress',f);function f(b){if(a===document.activeElement)return;const c=String.fromCharCode(b.charCode);if(!g(c))return;a.focus(),b.preventDefault()}function g(b){const c=a.getAttribute('data-hotkeys')||'';return c.indexOf(b)>=0}function c(){a.removeEventListener('focus',c),a.required=!0,e('/flexsearch.min.js'),e('/en.search-data.min.b449aaffc4f599940445847d5349eefb6ba08915462c4311d830ad254f06f71d.js',function(){a.required=!1,d()})}function d(){while(b.firstChild)b.removeChild(b.firstChild);if(!a.value)return;const c=window.bookSearchIndex.search(a.value,10);c.forEach(function(a){const c=h('<li><a href></a><small></small></li>'),d=c.querySelector('a'),e=c.querySelector('small');d.href=a.href,d.textContent=a.title,e.textContent=a.section,b.appendChild(c)})}function e(b,c){const a=document.createElement('script');a.defer=!0,a.async=!1,a.src=b,a.onload=c,document.head.appendChild(a)}function h(b){const a=document.createElement('div');return a.innerHTML=b,a.firstChild}})()

Просмотреть файл

@ -17,7 +17,7 @@ Azure Storage Day - Free digital event on April 29 # The Azure Storage Day digi
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -727,7 +727,7 @@ or trademarks, whether by implication, estoppel or otherwise.</p>
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -20,6 +20,17 @@ This can be applicable for below migration patterns:
As part of this, we will configure services in workloads used and update the applications to point to Gen2 mount.</description>
</item>
<item>
<title>Azure Blob Storage - Setup Object Replication with ARM Templates</title>
<link>https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-object-replication-arm/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-object-replication-arm/</guid>
<description>Azure Blob Storage - Setup Object Replication with ARM Templates # Object replication asynchronously copies block blobs between a source storage account and a destination account.
You can find a good overview of the service here, and instructions on how to deploy it via the portal here.
Here we are going to focus on deploying Object Replication with ARM. You will see we are doing this in 3 steps with three templates orchestrated with some CLI code.</description>
</item>
<item>
<title>Azure blob storage data management and retention</title>
<link>https://azurestorage.com/docs/application-and-user-data/code-samples/data-retention/</link>

Просмотреть файл

@ -11,6 +11,8 @@
<loc>https://azurestorage.com/docs/application-and-user-data/code-samples/</loc>
</url><url>
<loc>https://azurestorage.com/docs/analytics/adls-gen1-to-gen2-migration/application-update/</loc>
</url><url>
<loc>https://azurestorage.com/docs/application-and-user-data/basics/azure-blob-storage-object-replication-arm/</loc>
</url><url>
<loc>https://azurestorage.com/docs/application-and-user-data/code-samples/data-retention/</loc>
</url><url>

Просмотреть файл

@ -15,7 +15,7 @@
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.431662c1a02a398a5f27e0b5427110bd724c4cfae955414b3a70f1d60c95febe.js" integrity="sha256-QxZiwaAqOYpfJ&#43;C1QnEQvXJMTPrpVUFLOnDx1gyV/r4="></script>
<script defer src="/en.search.min.a018530142b92a41fc4bee09f2c7f5bbccee7f1dfec1b89b5551f93dcc3a9981.js" integrity="sha256-oBhTAUK5KkH8S&#43;4J8sf1u8zufx3&#43;wbibVVH5Pcw6mYE="></script>
<link rel="alternate" type="application/rss+xml" href="https://azurestorage.com/tags/index.xml" title="Azure Storage" />
<!--
Made with Book Theme
@ -260,7 +260,7 @@ https://github.com/alex-shpak/hugo-book
Azure Storage &copy;2021 <br />
Visit the <a href="https://azure.microsoft.com/services/storage/">Azure Storage homepage</a> or read our <a href="https://docs.microsoft.com/azure/storage/">getting started guide</a> or the <a href="https://azure.microsoft.com/blog/topics/storage-backup-and-recovery/">Azure Storage Blog</a>. <br />
Contact us: <a href="mailto:azurestoragefeedback@microsoft.com?subject=AzureStorage.com%20Feedback">azurestoragefeedback@microsoft.com</a>.<br />
Generated on Mon, Mar 22 2021 14:37:40 UTC
Generated on Fri, Mar 26 2021 19:46:13 UTC
</footer>

Просмотреть файл

@ -25,3 +25,4 @@ Coming soon . . .
- [Optimize your costs with Azure Blob Storage](./basics/optimize-your-costs-with-azure-blob-storage) In this video, learn about the Azure Blob Storage features that help you save cost and keep your Total Cost of Ownership (TCO) low.
- [NFS 3.0 support for Azure Blob Storage](./basics/nfs-3-support-for-azure-blob-storage) In this video, we introduce Azure Blob NFS 3.0 support, the only public cloud object storage offering native file system compatibility. Learn about NFS support and how to accelerate your workload migration from on premise datacenters to Azure.
- [Azure Blob Storage Upload API's](./basics/azure-blob-storage-upload-apis)
- [Azure Blob Storage - Setup Object Replication with ARM Templates](./basics/azure-blob-storage-object-replication-arm)

Просмотреть файл

@ -0,0 +1,80 @@
---
title: Azure Blob Storage - Setup Object Replication with ARM Templates
---
# Azure Blob Storage - Setup Object Replication with ARM Templates
Object replication asynchronously copies block blobs between a source storage account and a destination account.
You can find a good overview of the service [here](https://docs.microsoft.com/azure/storage/blobs/object-replication-overview), and instructions on how to deploy it via the portal [here](https://docs.microsoft.com/azure/storage/blobs/object-replication-configure).
Here we are going to focus on deploying Object Replication with ARM. You will see we are doing this in 3 steps with three templates orchestrated with some CLI code. This needs to be done in separate steps to 1) allow time for the Change Feed and Versioning features to be provisioned before creating the destination object replication endpoint and 2) to allow us to query the policy and rule information from the destination endpoint to pass into the creation of the source object replication endpoint.
## Variable and Resource Group Setup
- In this sample we are using the same container name for source and destination this is not required
- In this sample we are using the same region for source and destination this is not required
- In this sample we are using the same durability (i.e. LRS) for source and destination this is not required
``` bash
RG="<resource group name>"
LOCATION="<region name i.e. westus>"
SRCACCT="<name of source storage account>"
DESTACCT="<name of destination storage account>"
CONTAINER="<name of container>"
az group create --name $RG --location $LOCATION
```
## Create the source & destination storage accounts
Get the ARM template [here](step01.json)
- Make sure that your accounts have Change Feed and Versioning features enabled
``` bash
az deployment group create \
--name TestDeployment \
--resource-group $RG \
--template-file step01.json \
--parameters "storageNameSrc=$SRCACCT" \
"storageNameDest=$DESTACCT" \
"containerName=$CONTAINER"
```
## Create the destination Object Replication endpoint
Get the ARM template [here](step02.json)
- You might need to wait a bit for the features you enabled in the last step to turn on before doing this
``` bash
az deployment group create \
--name TestDeployment \
--resource-group $RG \
--template-file step02.json \
--parameters "storageNameSrc=$SRCACCT" \
"storageNameDest=$DESTACCT" \
"containerName=$CONTAINER"
```
## Create the source Object Replication endpoint
Get the ARM template [here](step03.json)
> NOTE: Here I am just pulling the first policy and rule, since I only have 1, if you have more than 1 you will need to change the --query
``` bash
POLICY=$(az storage account or-policy list --account-name $DESTACCT --query '[0].policyId' --output tsv)
RULE=$(az storage account or-policy list --account-name $DESTACCT --query '[0].rules[0].ruleId' --output tsv)
az deployment group create \
--name TestDeployment \
--resource-group $RG \
--template-file step03.json \
--parameters "storageNameSrc=$SRCACCT" \
"storageNameDest=$DESTACCT" \
"containerName=$CONTAINER" \
"policyId=$POLICY" \
"ruleId=$RULE"
```

Просмотреть файл

@ -0,0 +1,100 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageNameSrc": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"storageNameDest": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"containerName": {
"type": "string",
"metadata": {
"description": "The container name to use in the source/dest accounts."
}
}
},
"variables": {
"location": "[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"name": "[parameters('storageNameSrc')]",
"location": "[variables('location')]",
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2",
"properties": { },
"resources": [
{
"type": "blobServices/containers",
"apiVersion": "2019-06-01",
"name": "[concat('default/', parameters('containerName'))]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameSrc'))]"
]
},
{
"type": "Microsoft.Storage/storageAccounts/blobServices",
"apiVersion": "2020-08-01-preview",
"name": "[concat(parameters('storageNameSrc'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameSrc'))]"
],
"properties": {
"changeFeed": {
"enabled": "true"
},
"isVersioningEnabled": "true"
}
}
]
},
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"name": "[parameters('storageNameDest')]",
"location": "[variables('location')]",
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2",
"properties": { },
"resources": [
{
"type": "blobServices/containers",
"apiVersion": "2019-06-01",
"name": "[concat('default/', parameters('containerName'))]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameDest'))]"
]
},
{
"type": "Microsoft.Storage/storageAccounts/blobServices",
"apiVersion": "2020-08-01-preview",
"name": "[concat(parameters('storageNameDest'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageNameDest'))]"
],
"properties": {
"changeFeed": {
"enabled": "true"
},
"isVersioningEnabled": "true"
}
}
]
}
],
"outputs": {}
}

Просмотреть файл

@ -0,0 +1,44 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageNameSrc": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"storageNameDest": {
"type": "string",
"metadata": {
"description": "The dest storage account name."
}
},
"containerName": {
"type": "string",
"metadata": {
"description": "The container name to use in the source/dest accounts."
}
}
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts/ObjectReplicationPolicies",
"apiVersion": "2019-06-01",
"name" : "[concat(parameters('storageNameDest'), '/default')]",
"properties": {
"sourceAccount": "[parameters('storageNameSrc')]",
"destinationAccount": "[parameters('storageNameDest')]",
"rules": [
{
"sourceContainer": "[parameters('containerName')]",
"destinationContainer": "[parameters('containerName')]",
"filters": {
//Any prefixMatch filters here
}
}
]
}
}
]
}

Просмотреть файл

@ -0,0 +1,53 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyId" : {
"type" : "string"
},
"ruleId" : {
"type" : "string"
},
"storageNameSrc": {
"type": "string",
"metadata": {
"description": "The source storage account name."
}
},
"storageNameDest": {
"type": "string",
"metadata": {
"description": "The dest storage account name."
}
},
"containerName": {
"type": "string",
"metadata": {
"description": "The container name to use in the source/dest accounts."
}
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts/ObjectReplicationPolicies",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('storageNameSrc'), '/', parameters('policyId'))]",
"properties": {
"policyId": "[parameters('policyId')]",
"sourceAccount": "[parameters('storageNameSrc')]",
"destinationAccount": "[parameters('storageNameDest')]",
"rules": [
{
"ruleId": "[parameters('ruleId')]",
"sourceContainer": "[parameters('containerName')]",
"destinationContainer": "[parameters('containerName')]",
"filters": {
//Any prefixMatch filters here
}
}
]
}
}
]
}