BlobSasBuilder 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
BlobSasBuilder(BlobContainerSasPermissions, DateTimeOffset) |
Initializes a new instance of the BlobSasBuilder class to create a Blob Container Service Sas. |
BlobSasBuilder(BlobSasPermissions, DateTimeOffset) |
Initializes a new instance of the BlobSasBuilder class to create a Blob Service Sas. |
BlobSasBuilder(BlobContainerSasPermissions, DateTimeOffset)
- Source:
- BlobSasBuilder.cs
- Source:
- BlobSasBuilder.cs
Initializes a new instance of the BlobSasBuilder class to create a Blob Container Service Sas.
public BlobSasBuilder (Azure.Storage.Sas.BlobContainerSasPermissions permissions, DateTimeOffset expiresOn);
new Azure.Storage.Sas.BlobSasBuilder : Azure.Storage.Sas.BlobContainerSasPermissions * DateTimeOffset -> Azure.Storage.Sas.BlobSasBuilder
Public Sub New (permissions As BlobContainerSasPermissions, expiresOn As DateTimeOffset)
Parameters
- permissions
- BlobContainerSasPermissions
The permissions associated with the shared access signature. The user is restricted to operations allowed by the permissions. This field must be omitted if it has been specified in an associated stored access policy.
- expiresOn
- DateTimeOffset
The time at which the shared access signature becomes invalid. This field must be omitted if it has been specified in an associated stored access policy.
Applies to
BlobSasBuilder(BlobSasPermissions, DateTimeOffset)
- Source:
- BlobSasBuilder.cs
- Source:
- BlobSasBuilder.cs
Initializes a new instance of the BlobSasBuilder class to create a Blob Service Sas.
public BlobSasBuilder (Azure.Storage.Sas.BlobSasPermissions permissions, DateTimeOffset expiresOn);
new Azure.Storage.Sas.BlobSasBuilder : Azure.Storage.Sas.BlobSasPermissions * DateTimeOffset -> Azure.Storage.Sas.BlobSasBuilder
Public Sub New (permissions As BlobSasPermissions, expiresOn As DateTimeOffset)
Parameters
- permissions
- BlobSasPermissions
The permissions associated with the shared access signature. The user is restricted to operations allowed by the permissions. This field must be omitted if it has been specified in an associated stored access policy.
- expiresOn
- DateTimeOffset
The time at which the shared access signature becomes invalid. This field must be omitted if it has been specified in an associated stored access policy.
Applies to
Azure SDK for .NET