CloudBlob.GetSharedAccessSignature CloudBlob.GetSharedAccessSignature CloudBlob.GetSharedAccessSignature Method

Definition

Overloads

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

Returns a shared access signature for the blob.

GetSharedAccessSignature(SharedAccessBlobPolicy, SharedAccessBlobHeaders) GetSharedAccessSignature(SharedAccessBlobPolicy, SharedAccessBlobHeaders) GetSharedAccessSignature(SharedAccessBlobPolicy, SharedAccessBlobHeaders)

Returns a shared access signature for the blob.

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

Returns a shared access signature for the blob.

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

Returns a shared access signature for the blob.

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

Returns a shared access signature for the blob.

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

Returns a shared access signature for the blob.

public string GetSharedAccessSignature (Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy policy);
abstract member GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy -> string
override 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, SharedAccessBlobHeaders) GetSharedAccessSignature(SharedAccessBlobPolicy, SharedAccessBlobHeaders) GetSharedAccessSignature(SharedAccessBlobPolicy, SharedAccessBlobHeaders)

Returns a shared access signature for the blob.

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

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

headers
SharedAccessBlobHeaders SharedAccessBlobHeaders SharedAccessBlobHeaders

A SharedAccessBlobHeaders object specifying optional header values to set for a blob accessed with this SAS.

Returns

A shared access signature, as a URI query string.

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

Returns a shared access signature for the blob.

public string GetSharedAccessSignature (Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier);
abstract member GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy * string -> string
override 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 string identifying a stored access policy.

Returns

A shared access signature, as a URI query string.

Remarks

The query string returned includes the leading question mark.

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

Returns a shared access signature for the blob.

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

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

headers
SharedAccessBlobHeaders SharedAccessBlobHeaders SharedAccessBlobHeaders

A SharedAccessBlobHeaders object specifying optional header values to set for a blob accessed with this SAS.

groupPolicyIdentifier
String String String

A string identifying a stored access policy.

Returns

A shared access signature, as a URI query string.

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

Returns a shared access signature for the blob.

public string GetSharedAccessSignature (Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobHeaders headers, string groupPolicyIdentifier, Nullable<Microsoft.WindowsAzure.Storage.SharedAccessProtocol> protocols, Microsoft.WindowsAzure.Storage.IPAddressOrRange ipAddressOrRange);
abstract member GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy * Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobHeaders * string * Nullable<Microsoft.WindowsAzure.Storage.SharedAccessProtocol> * Microsoft.WindowsAzure.Storage.IPAddressOrRange -> string
override this.GetSharedAccessSignature : Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy * Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobHeaders * 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.

headers
SharedAccessBlobHeaders SharedAccessBlobHeaders SharedAccessBlobHeaders

A SharedAccessBlobHeaders object specifying optional header values to set for a blob accessed with this SAS.

groupPolicyIdentifier
String String String

A string identifying a stored 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.

Applies to