index.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <link rel="canonical" href="https://OLC-LOC-Bioinformatics.github.io/AzureStorage/set_tier/">
  9. <link rel="shortcut icon" href="../img/favicon.ico">
  10. <title>Set Tier - OLC Bioinformatics Azure Storage</title>
  11. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" />
  12. <link rel="stylesheet" href="../css/theme.css" />
  13. <link rel="stylesheet" href="../css/theme_extra.css" />
  14. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" />
  15. <script>
  16. // Current page data
  17. var mkdocs_page_name = "Set Tier";
  18. var mkdocs_page_input_path = "set_tier.md";
  19. var mkdocs_page_url = "/AzureStorage/set_tier/";
  20. </script>
  21. <script src="../js/jquery-2.1.1.min.js" defer></script>
  22. <script src="../js/modernizr-2.8.3.min.js" defer></script>
  23. <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
  24. <script>hljs.initHighlightingOnLoad();</script>
  25. </head>
  26. <body class="wy-body-for-nav" role="document">
  27. <div class="wy-grid-for-nav">
  28. <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
  29. <div class="wy-side-scroll">
  30. <div class="wy-side-nav-search">
  31. <a href=".." class="icon icon-home"> OLC Bioinformatics Azure Storage</a>
  32. <div role="search">
  33. <form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
  34. <input type="text" name="q" placeholder="Search docs" title="Type search term here" />
  35. </form>
  36. </div>
  37. </div>
  38. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  39. <ul>
  40. <li class="toctree-l1"><a class="reference internal" href="..">Home</a>
  41. </li>
  42. </ul>
  43. <ul>
  44. <li class="toctree-l1"><a class="reference internal" href="../install/">Installation</a>
  45. </li>
  46. </ul>
  47. <ul>
  48. <li class="toctree-l1"><a class="reference internal" href="../credentials/">Credentials</a>
  49. </li>
  50. </ul>
  51. <ul>
  52. <li class="toctree-l1"><a class="reference internal" href="../upload/">Upload</a>
  53. </li>
  54. </ul>
  55. <ul>
  56. <li class="toctree-l1"><a class="reference internal" href="../sas_url/">SAS URL</a>
  57. </li>
  58. </ul>
  59. <ul>
  60. <li class="toctree-l1"><a class="reference internal" href="../move/">Move</a>
  61. </li>
  62. </ul>
  63. <ul>
  64. <li class="toctree-l1"><a class="reference internal" href="../download/">Download</a>
  65. </li>
  66. </ul>
  67. <ul class="current">
  68. <li class="toctree-l1 current"><a class="reference internal current" href="./">Set Tier</a>
  69. <ul class="current">
  70. <li class="toctree-l2"><a class="reference internal" href="#general-usage">General usage</a>
  71. </li>
  72. <li class="toctree-l2"><a class="reference internal" href="#azuretier-container">AzureTier container</a>
  73. <ul>
  74. <li class="toctree-l3"><a class="reference internal" href="#required-arguments">Required arguments:</a>
  75. </li>
  76. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments">Optional arguments:</a>
  77. </li>
  78. <li class="toctree-l3"><a class="reference internal" href="#example-command">Example command:</a>
  79. </li>
  80. <li class="toctree-l3"><a class="reference internal" href="#usage">Usage</a>
  81. </li>
  82. </ul>
  83. </li>
  84. <li class="toctree-l2"><a class="reference internal" href="#azuretier-file">AzureTier file</a>
  85. <ul>
  86. <li class="toctree-l3"><a class="reference internal" href="#required-arguments_1">Required arguments:</a>
  87. </li>
  88. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments_1">Optional arguments:</a>
  89. </li>
  90. <li class="toctree-l3"><a class="reference internal" href="#example-command_1">Example command:</a>
  91. </li>
  92. <li class="toctree-l3"><a class="reference internal" href="#usage_1">Usage</a>
  93. </li>
  94. </ul>
  95. </li>
  96. <li class="toctree-l2"><a class="reference internal" href="#azuretier-folder">AzureTier folder</a>
  97. <ul>
  98. <li class="toctree-l3"><a class="reference internal" href="#required-arguments_2">Required arguments:</a>
  99. </li>
  100. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments_2">Optional arguments:</a>
  101. </li>
  102. <li class="toctree-l3"><a class="reference internal" href="#example-command_2">Example command:</a>
  103. </li>
  104. <li class="toctree-l3"><a class="reference internal" href="#usage_2">Usage</a>
  105. </li>
  106. </ul>
  107. </li>
  108. </ul>
  109. </li>
  110. </ul>
  111. <ul>
  112. <li class="toctree-l1"><a class="reference internal" href="../delete/">Delete</a>
  113. </li>
  114. </ul>
  115. <ul>
  116. <li class="toctree-l1"><a class="reference internal" href="../automate/">Automate</a>
  117. </li>
  118. </ul>
  119. <ul>
  120. <li class="toctree-l1"><a class="reference internal" href="../list/">List</a>
  121. </li>
  122. </ul>
  123. </div>
  124. </div>
  125. </nav>
  126. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  127. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  128. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  129. <a href="..">OLC Bioinformatics Azure Storage</a>
  130. </nav>
  131. <div class="wy-nav-content">
  132. <div class="rst-content">
  133. <div role="navigation" aria-label="breadcrumbs navigation">
  134. <ul class="wy-breadcrumbs">
  135. <li><a href="..">Docs</a> &raquo;</li>
  136. <li>Set Tier</li>
  137. <li class="wy-breadcrumbs-aside">
  138. <a href="https://github.com/OLC-LOC-Bioinformatics/AzureStorage/edit/main/docs/set_tier.md"
  139. class="icon icon-github"> Edit on GitHub</a>
  140. </li>
  141. </ul>
  142. <hr/>
  143. </div>
  144. <div role="main">
  145. <div class="section">
  146. <h2 id="azuretier">AzureTier</h2>
  147. <p>Set the storage tier (<code>Hot</code>, <code>Cool</code>, or <code>Archive</code>) for containers, files, or folders in your Azure storage account</p>
  148. <p>Choose either the <a href="#azuretier-container"><code>container</code></a>, <a href="#azuretier-file"><code>file</code></a>, or <a href="#azuretier-folder"><code>folder</code></a> functionality</p>
  149. <h4 id="general-usage">General usage</h4>
  150. <pre><code>usage: AzureTier [-h] {container,file,folder} ...
  151. Set the storage tier of containers/files/folders in Azure storage
  152. optional arguments:
  153. -h, --help show this help message and exit
  154. Available functionality:
  155. {container,file,folder}
  156. container Change the storage tier of a container in Azure storage
  157. file Change the storage tier of a file in Azure storage
  158. folder Change the storage tier of a folder in Azure storage
  159. </code></pre>
  160. <h3 id="azuretier-container">AzureTier container</h3>
  161. <p>Set the storage tier of a container in your Azure storage account</p>
  162. <h4 id="required-arguments">Required arguments:</h4>
  163. <ul>
  164. <li>container name</li>
  165. <li>account name</li>
  166. <li>storage tier</li>
  167. </ul>
  168. <h4 id="optional-arguments">Optional arguments:</h4>
  169. <ul>
  170. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  171. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  172. </ul>
  173. <h4 id="example-command">Example command:</h4>
  174. <p>These commands will use <code>container-name</code> as the name of the container and <code>account_name</code> as the name of the storage account</p>
  175. <p>To change the storage tier of a container to <code>Cool</code></p>
  176. <p><code>AzureTier -a account_name -c container-name -s Cool</code></p>
  177. <h4 id="usage">Usage</h4>
  178. <pre><code>usage: AzureTier container [-h] -c CONTAINER_NAME -a ACCOUNT_NAME
  179. [-p PASSPHRASE] [-v VERBOSITY] -s STORAGE_TIER
  180. Change the storage tier of a container in Azure storage
  181. optional arguments:
  182. -h, --help show this help message and exit
  183. -c CONTAINER_NAME, --container_name CONTAINER_NAME
  184. Name of the Azure storage container. Note that container names must be lowercase, between 3 and 63 characters, start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Consecutive dashes are not permitted.
  185. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  186. Name of the Azure storage account
  187. -p PASSPHRASE, --passphrase PASSPHRASE
  188. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  189. -v VERBOSITY, --verbosity VERBOSITY
  190. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  191. -s STORAGE_TIER, --storage_tier STORAGE_TIER
  192. Set the storage tier for a container/file/folder. Options are &quot;Hot&quot;, &quot;Cool&quot;, and &quot;Archive&quot;
  193. </code></pre>
  194. <h3 id="azuretier-file">AzureTier file</h3>
  195. <p>Set the storage tier of a file in your Azure storage account</p>
  196. <h4 id="required-arguments_1">Required arguments:</h4>
  197. <ul>
  198. <li>container name</li>
  199. <li>account name</li>
  200. <li>file name</li>
  201. <li>storage tier</li>
  202. </ul>
  203. <h4 id="optional-arguments_1">Optional arguments:</h4>
  204. <ul>
  205. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  206. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  207. </ul>
  208. <h4 id="example-command_1">Example command:</h4>
  209. <p>These commands will use <code>container-name</code> as the name of the container and <code>account_name</code> as the name of the storage account</p>
  210. <p>To change the storage tier of the file <code>file_name.gz</code> to <code>Archive</code></p>
  211. <p><code>AzureTier -a account_name -c container-name -f file_name.gz -s Archive</code></p>
  212. <h4 id="usage_1">Usage</h4>
  213. <pre><code>usage: AzureTier file [-h] -c CONTAINER_NAME -a ACCOUNT_NAME [-p PASSPHRASE]
  214. [-v VERBOSITY] -s STORAGE_TIER -f FILE
  215. Change the storage tier of a file in Azure storage
  216. optional arguments:
  217. -h, --help show this help message and exit
  218. -c CONTAINER_NAME, --container_name CONTAINER_NAME
  219. Name of the Azure storage container. Note that container names must be lowercase, between 3 and 63 characters, start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Consecutive dashes are not permitted.
  220. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  221. Name of the Azure storage account
  222. -p PASSPHRASE, --passphrase PASSPHRASE
  223. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  224. -v VERBOSITY, --verbosity VERBOSITY
  225. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  226. -s STORAGE_TIER, --storage_tier STORAGE_TIER
  227. Set the storage tier for a container/file/folder. Options are &quot;Hot&quot;, &quot;Cool&quot;, and &quot;Archive&quot;
  228. -f FILE, --file FILE Name of file in Azure storage that will have its storage tier sete.g. 220202-m05722/2022-SEQ-0001_S1_L001_R1_001.fastq.gz
  229. </code></pre>
  230. <h3 id="azuretier-folder">AzureTier folder</h3>
  231. <p>Set the storage tier of a folder in your Azure storage account</p>
  232. <h4 id="required-arguments_2">Required arguments:</h4>
  233. <ul>
  234. <li>container name</li>
  235. <li>account name</li>
  236. <li>folder name</li>
  237. <li>storage tier</li>
  238. </ul>
  239. <h4 id="optional-arguments_2">Optional arguments:</h4>
  240. <ul>
  241. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  242. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  243. </ul>
  244. <h4 id="example-command_2">Example command:</h4>
  245. <p>These commands will use <code>container-name</code> as the name of the container and <code>account_name</code> as the name of the storage account</p>
  246. <p>To change the storage tier of the folder <code>results/folder_name</code> to <code>Hot</code></p>
  247. <p><code>AzureTier -a account_name -c container-name -f results/folder_name -s Hot</code></p>
  248. <h4 id="usage_2">Usage</h4>
  249. <pre><code>usage: AzureTier folder [-h] -c CONTAINER_NAME -a ACCOUNT_NAME [-p PASSPHRASE]
  250. [-v VERBOSITY] -s STORAGE_TIER -f FOLDER
  251. Change the storage tier of a folder in Azure storage
  252. optional arguments:
  253. -h, --help show this help message and exit
  254. -c CONTAINER_NAME, --container_name CONTAINER_NAME
  255. Name of the Azure storage container. Note that container names must be lowercase, between 3 and 63 characters, start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Consecutive dashes are not permitted.
  256. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  257. Name of the Azure storage account
  258. -p PASSPHRASE, --passphrase PASSPHRASE
  259. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  260. -v VERBOSITY, --verbosity VERBOSITY
  261. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  262. -s STORAGE_TIER, --storage_tier STORAGE_TIER
  263. Set the storage tier for a container/file/folder. Options are &quot;Hot&quot;, &quot;Cool&quot;, and &quot;Archive&quot;
  264. -f FOLDER, --folder FOLDER
  265. Name of the folder in Azure storage that will have its storage tier set e.g. InterOp
  266. </code></pre>
  267. </div>
  268. </div>
  269. <footer>
  270. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  271. <a href="../delete/" class="btn btn-neutral float-right" title="Delete">Next <span class="icon icon-circle-arrow-right"></span></a>
  272. <a href="../download/" class="btn btn-neutral" title="Download"><span class="icon icon-circle-arrow-left"></span> Previous</a>
  273. </div>
  274. <hr/>
  275. <div role="contentinfo">
  276. <!-- Copyright etc -->
  277. </div>
  278. Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  279. </footer>
  280. </div>
  281. </div>
  282. </section>
  283. </div>
  284. <div class="rst-versions" role="note" aria-label="versions">
  285. <span class="rst-current-version" data-toggle="rst-current-version">
  286. <a href="https://github.com/OLC-LOC-Bioinformatics/AzureStorage/" class="fa fa-github" style="float: left; color: #fcfcfc"> GitHub</a>
  287. <span><a href="../download/" style="color: #fcfcfc;">&laquo; Previous</a></span>
  288. <span style="margin-left: 15px"><a href="../delete/" style="color: #fcfcfc">Next &raquo;</a></span>
  289. </span>
  290. </div>
  291. <script>var base_url = '..';</script>
  292. <script src="../js/theme.js" defer></script>
  293. <script src="../search/main.js" defer></script>
  294. <script defer>
  295. window.onload = function () {
  296. SphinxRtdTheme.Navigation.enable(true);
  297. };
  298. </script>
  299. </body>
  300. </html>