共用方式為


AccountSasParameters Constructors

Definition

Overloads

AccountSasParameters()

Initializes a new instance of the AccountSasParameters class.

AccountSasParameters(Services, SignedResourceTypes, Permissions, DateTime, String, Nullable<HttpProtocol>, Nullable<DateTime>, String)

Initializes a new instance of the AccountSasParameters class.

AccountSasParameters()

Initializes a new instance of the AccountSasParameters class.

public AccountSasParameters ();
Public Sub New ()

Applies to

AccountSasParameters(Services, SignedResourceTypes, Permissions, DateTime, String, Nullable<HttpProtocol>, Nullable<DateTime>, String)

Initializes a new instance of the AccountSasParameters class.

public AccountSasParameters (Microsoft.Azure.Management.Storage.Fluent.Models.Services services, Microsoft.Azure.Management.Storage.Fluent.Models.SignedResourceTypes resourceTypes, Microsoft.Azure.Management.Storage.Fluent.Models.Permissions permissions, DateTime sharedAccessExpiryTime, string iPAddressOrRange = default, Microsoft.Azure.Management.Storage.Fluent.Models.HttpProtocol? protocols = default, DateTime? sharedAccessStartTime = default, string keyToSign = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.AccountSasParameters : Microsoft.Azure.Management.Storage.Fluent.Models.Services * Microsoft.Azure.Management.Storage.Fluent.Models.SignedResourceTypes * Microsoft.Azure.Management.Storage.Fluent.Models.Permissions * DateTime * string * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.HttpProtocol> * Nullable<DateTime> * string -> Microsoft.Azure.Management.Storage.Fluent.Models.AccountSasParameters
Public Sub New (services As Services, resourceTypes As SignedResourceTypes, permissions As Permissions, 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)

Parameters

services
Services

The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: 'b', 'q', 't', 'f'

resourceTypes
SignedResourceTypes

The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Possible values include: 's', 'c', 'o'

permissions
Permissions

The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'

sharedAccessExpiryTime
DateTime

The time at which the shared access signature becomes invalid.

iPAddressOrRange
String

An IP address or a range of IP addresses from which to accept requests.

protocols
Nullable<HttpProtocol>

The protocol permitted for a request made with the account SAS. Possible values include: 'https,http', 'https'

sharedAccessStartTime
Nullable<DateTime>

The time at which the SAS becomes valid.

keyToSign
String

The key to sign the account SAS token with.

Applies to