你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AccountSasParameters 构造函数

定义

重载

AccountSasParameters()

初始化 AccountSasParameters 类的新实例。

AccountSasParameters(String, String, String, DateTime, String, Nullable<HttpProtocol>, Nullable<DateTime>, String)

初始化 AccountSasParameters 类的新实例。

AccountSasParameters()

初始化 AccountSasParameters 类的新实例。

public AccountSasParameters ();
Public Sub New ()

适用于

AccountSasParameters(String, String, String, DateTime, String, Nullable<HttpProtocol>, Nullable<DateTime>, String)

初始化 AccountSasParameters 类的新实例。

public AccountSasParameters (string services, string resourceTypes, string permissions, DateTime sharedAccessExpiryTime, string iPAddressOrRange = default, Microsoft.Azure.Management.Storage.Models.HttpProtocol? protocols = default, DateTime? sharedAccessStartTime = default, string keyToSign = default);
new Microsoft.Azure.Management.Storage.Models.AccountSasParameters : string * string * string * DateTime * string * Nullable<Microsoft.Azure.Management.Storage.Models.HttpProtocol> * Nullable<DateTime> * string -> Microsoft.Azure.Management.Storage.Models.AccountSasParameters
Public Sub New (services As String, resourceTypes As String, permissions As String, sharedAccessExpiryTime As DateTime, Optional iPAddressOrRange As String = Nothing, Optional protocols As Nullable(Of HttpProtocol) = Nothing, Optional sharedAccessStartTime As Nullable(Of DateTime) = Nothing, Optional keyToSign As String = Nothing)

参数

services
String

可通过帐户 SAS 访问的已签名服务。 可能的值包括:Blob (b) 、Queue (q) 、Table (t) 、File (f) 。 可能的值包括:“b”、“q”、“t”、“f”

resourceTypes
String

可通过帐户 SAS 访问的已签名资源类型。 服务 () :访问服务级别 API;容器 (c) :访问容器级 API;对象 (o) :访问 Blob、队列消息、表实体和文件的对象级 API。 可能的值包括:'s'、'c'、'o'

permissions
String

帐户 SAS 的已签名权限。 可能的值包括:Read (r) 、Write (w) 、Delete (d) 、List (l) 、Add (a) 、Create (c) 、Update (u) 和 Process (p) 。 可能的值包括:“r”、“d”、“w”、“l”、“a”、“c”、“u”、“p”

sharedAccessExpiryTime
DateTime

共享访问签名失效的时间。

iPAddressOrRange
String

从中接受请求的 IP 地址或 IP 地址范围。

protocols
Nullable<HttpProtocol>

允许通过帐户 SAS 发出的请求的协议。 可能的值包括:“https,http”,“https”

sharedAccessStartTime
Nullable<DateTime>

SAS 生效的时间。

keyToSign
String

用于对帐户 SAS 令牌进行签名的密钥。

适用于