CloudBlobContainer.GetSharedAccessSignature CloudBlobContainer.GetSharedAccessSignature CloudBlobContainer.GetSharedAccessSignature Method

Definition

Overloads

GetSharedAccessSignature(SharedAccessBlobPolicy) GetSharedAccessSignature(SharedAccessBlobPolicy) GetSharedAccessSignature(SharedAccessBlobPolicy)

Returns a shared access signature for the container.

GetSharedAccessSignature(SharedAccessBlobPolicy, String) GetSharedAccessSignature(SharedAccessBlobPolicy, String) GetSharedAccessSignature(SharedAccessBlobPolicy, String)

Returns a shared access signature for the container.

GetSharedAccessSignature(SharedAccessBlobPolicy, String, Nullable<SharedAccessProtocol>, IPAddressOrRange) GetSharedAccessSignature(SharedAccessBlobPolicy, String, Nullable<SharedAccessProtocol>, IPAddressOrRange)

Returns a shared access signature for the container.

GetSharedAccessSignature(SharedAccessBlobPolicy) GetSharedAccessSignature(SharedAccessBlobPolicy) GetSharedAccessSignature(SharedAccessBlobPolicy)

Returns a shared access signature for the container.

public string GetSharedAccessSignature (Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy policy);
member this.GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy -> string
Public Function GetSharedAccessSignature (policy As SharedAccessBlobPolicy) As String
Parameters
policy
SharedAccessBlobPolicy SharedAccessBlobPolicy SharedAccessBlobPolicy

A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.

Returns

A shared access signature, as a URI query string.

Remarks

The query string returned includes the leading question mark.

GetSharedAccessSignature(SharedAccessBlobPolicy, String) GetSharedAccessSignature(SharedAccessBlobPolicy, String) GetSharedAccessSignature(SharedAccessBlobPolicy, String)

Returns a shared access signature for the container.

public string GetSharedAccessSignature (Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier);
member this.GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy * string -> string
Public Function GetSharedAccessSignature (policy As SharedAccessBlobPolicy, groupPolicyIdentifier As String) As String
Parameters
policy
SharedAccessBlobPolicy SharedAccessBlobPolicy SharedAccessBlobPolicy

A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.

groupPolicyIdentifier
String String String

A container-level access policy.

Returns

A shared access signature, as a URI query string.

Remarks

The query string returned includes the leading question mark.

GetSharedAccessSignature(SharedAccessBlobPolicy, String, Nullable<SharedAccessProtocol>, IPAddressOrRange) GetSharedAccessSignature(SharedAccessBlobPolicy, String, Nullable<SharedAccessProtocol>, IPAddressOrRange)

Returns a shared access signature for the container.

public string GetSharedAccessSignature (Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier, Nullable<Microsoft.WindowsAzure.Storage.SharedAccessProtocol> protocols, Microsoft.WindowsAzure.Storage.IPAddressOrRange ipAddressOrRange);
member this.GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy * string * Nullable<Microsoft.WindowsAzure.Storage.SharedAccessProtocol> * Microsoft.WindowsAzure.Storage.IPAddressOrRange -> string
Parameters
policy
SharedAccessBlobPolicy SharedAccessBlobPolicy SharedAccessBlobPolicy

A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.

groupPolicyIdentifier
String String String

A container-level access policy.

protocols
Nullable<SharedAccessProtocol>

The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol.

ipAddressOrRange
IPAddressOrRange IPAddressOrRange IPAddressOrRange

The allowed IP address or IP address range. Null if you don't want to restrict based on IP address.

Returns

A shared access signature, as a URI query string.

Remarks

The query string returned includes the leading question mark.

Applies to