AccountSasParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AccountSasParameters() |
Initializes a new instance of the AccountSasParameters class. |
AccountSasParameters(String, String, String, 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(String, String, String, DateTime, String, Nullable<HttpProtocol>, Nullable<DateTime>, String)
Initializes a new instance of the AccountSasParameters class.
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)
Parameters
- services
- String
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
- String
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
- String
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'
- keyToSign
- String
The key to sign the account SAS token with.
Applies to
Azure SDK for .NET