Class StorageCredentials
- Namespace
- Microsoft.Azure.Cosmos.Table
- Assembly
- Microsoft.Azure.Cosmos.Table.dll
public sealed class StorageCredentials
- Inheritance
-
StorageCredentials
- Inherited Members
-
Constructors
StorageCredentials()
public StorageCredentials()
StorageCredentials(string)
public StorageCredentials(string sasToken)
Parameters
sasToken
string
StorageCredentials(string, string)
public StorageCredentials(string accountName, string keyValue)
Parameters
accountName
string
keyValue
string
StorageCredentials(string, string, string)
public StorageCredentials(string accountName, string keyValue, string keyName)
Parameters
accountName
string
keyValue
string
keyName
string
Properties
AccountName
public string AccountName { get; }
Property Value
- string
IsAnonymous
public bool IsAnonymous { get; }
Property Value
- bool
IsSAS
public bool IsSAS { get; }
Property Value
- bool
IsSharedKey
public bool IsSharedKey { get; }
Property Value
- bool
Key
public string Key { get; }
Property Value
- string
KeyName
public string KeyName { get; }
Property Value
- string
SASSignature
public string SASSignature { get; }
Property Value
- string
SASToken
public string SASToken { get; }
Property Value
- string
Methods
Equals(StorageCredentials)
public bool Equals(StorageCredentials other)
Parameters
other
StorageCredentials
Returns
- bool
public StorageUri TransformUri(StorageUri resourceUri)
Parameters
resourceUri
StorageUri
Returns
- StorageUri
public Uri TransformUri(Uri resourceUri)
Parameters
resourceUri
Uri
Returns
- Uri
UpdateKey(string)
public void UpdateKey(string keyValue)
Parameters
keyValue
string
UpdateKey(string, string)
public void UpdateKey(string keyValue, string keyName)
Parameters
keyValue
string
keyName
string
UpdateSASToken(string)
public void UpdateSASToken(string sasToken)
Parameters
sasToken
string