Click or drag to resize
Bucket Class
Bucket是OSS上的命名空间。
Inheritance Hierarchy
SystemObject
  Aliyun.OpenServices.OpenStorageServiceBucket

Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5492.31618
Syntax
public class Bucket

The Bucket type exposes the following members.

Methods
Properties
  NameDescription
Public propertyCreationDate
获取/设置Bucket的创建时间。
Public propertyLocation
获取/设置Bucket的Location。
Public propertyName
获取/设置Bucket的名称。
Public propertyOwner
获取/设置Bucket的Owner
Top
Remarks

Bucket名在整个 OSS 中具有全局唯一性,且不能修改;存储在OSS上的每个Object必须都包含在某个Bucket中。 一个应用,例如图片分享网站,可以对应一个或多个 Bucket。一个用户最多可创建 10 个Bucket, 但每个Bucket 中存放的Object的数量和大小总和没有限制,用户不需要考虑数据的可扩展性。

Bucket 命名规范

  • 只能包括小写字母,数字和短横线(-)
  • 必须以小写字母或者数字开头
  • 长度必须在 3-63 字节之间

See Also