CloudBlobContainer.GetUserDelegationSharedAccessSignature Method
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.
Returns an user-delegation-based shared access signature for the container, with credentials solely based on the UserDelegationKey provided.
public string GetUserDelegationSharedAccessSignature (Microsoft.Azure.Storage.UserDelegationKey delegationKey, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers = default, Microsoft.Azure.Storage.SharedAccessProtocol? protocols = default, Microsoft.Azure.Storage.IPAddressOrRange ipAddressOrRange = default);
member this.GetUserDelegationSharedAccessSignature : Microsoft.Azure.Storage.UserDelegationKey * Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy * Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders * Nullable<Microsoft.Azure.Storage.SharedAccessProtocol> * Microsoft.Azure.Storage.IPAddressOrRange -> string
Public Function GetUserDelegationSharedAccessSignature (delegationKey As UserDelegationKey, policy As SharedAccessBlobPolicy, Optional headers As SharedAccessBlobHeaders = Nothing, Optional protocols As Nullable(Of SharedAccessProtocol) = Nothing, Optional ipAddressOrRange As IPAddressOrRange = Nothing) As String
Parameters
- delegationKey
- UserDelegationKey
UserDelegationKey for signing this SAS token.
- policy
- SharedAccessBlobPolicy
A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.
- headers
- SharedAccessBlobHeaders
A SharedAccessBlobHeaders object specifying optional header values to set for a blob container accessed with this SAS.
- protocols
- Nullable<SharedAccessProtocol>
The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol.
- ipAddressOrRange
- IPAddressOrRange
The allowed IP address or IP address range. Null if you don't want to restrict based on IP address.
Returns
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기