在storage account的Blob service下创建Container,上传文件,在Advanced下选择
Authentication type | Account key |
上传文件LICENSE ,会自动生成文件夹licenses。当前复制文件url粘贴到地址栏会被浏览器阻挡。
需要回到文件位置,切换到Generate SAS tab,赋值如下:
Permissions | Read |
Start date | yesterday’s date |
Start time | current time |
Expiry date | tomorrow’s date |
Expiry time | current time |
Allowed IP addresses | leave blank |
Allowed protocols | HTTP |
Signing key | Key 1 |
并点击 Generate SAS token and URL ,再次复制Blob SAS URL ,则访问成功。
本文参照:
附:
GRS和LRS:
在Storage account 的Configuration中的Replication下选择: Geo-redundant storage (GRS) Locally redundant storage (LRS)
在Geo-replication 下查看。 Geo-redundant storage (GRS) 有2个点; Locally redundant storage (LRS) 只有1个点。