azcopy makeazcopy make

创建容器或文件共享。Creates a container or file share.


创建由给定资源 URL 表示的容器或文件共享。Create a container or file share represented by the given resource URL.

azcopy make [resourceURL] [flags]


azcopy make "https://[account-name].[blob,file,dfs][top-level-resource-name]?<SAS token>"


选项Option 说明Description
-h、--help-h, --help 显示 make 命令的帮助内容。Show help content for the make command.
--quota-gb uint32--quota-gb uint32 指定共享的最大大小(以千兆字节 (GB) 为单位),0 表示接受文件服务的默认配额。Specifies the maximum size of the share in gigabytes (GB), zero means you accept the file service's default quota.

从父命令继承的选项Options inherited from parent commands

选项Option 说明Description
--cap-mbps 浮点数--cap-mbps float 以兆位/秒为单位限制传输速率。Caps the transfer rate, in megabits per second. 瞬间吞吐量可能与上限略有不同。Moment-by-moment throughput might vary slightly from the cap. 如果此选项设置为零,或者省略,则吞吐量不受限制。If this option is set to zero, or it is omitted, the throughput isn't capped.
--output-type string--output-type string 命令输出的格式。Format of the command's output. 选项包括:text、json。The choices include: text, json. 默认值为“text”。The default value is "text".
--trusted-microsoft-suffixes 字符串--trusted-microsoft-suffixes string 指定可在其中发送 Azure Active Directory 登录令牌的其他域后缀。Specifies additional domain suffixes where Azure Active Directory login tokens may be sent. 默认值为“;;;” 。The default is ';;;'. 此处列出的任何内容都会添加到默认值。Any listed here are added to the default. 为安全起见,应只在此处放置 Azure 域。For security, you should only put Azure domains here. 用分号分隔多个条目。Separate multiple entries with semi-colons.

另请参阅See also