BlobsModelFactory.UserDelegationKey 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.
Overloads
UserDelegationKey(String, String, DateTimeOffset, DateTimeOffset, String, String, String) |
Initializes a new instance of UserDelegationKey. |
UserDelegationKey(String, String, String, String, String, DateTimeOffset, DateTimeOffset) |
Creates a new UserDelegationKey instance for mocking. |
UserDelegationKey(String, String, DateTimeOffset, DateTimeOffset, String, String, String)
- Source:
- BlobsModelFactory.cs
- Source:
- BlobsModelFactory.cs
Initializes a new instance of UserDelegationKey.
public static Azure.Storage.Blobs.Models.UserDelegationKey UserDelegationKey (string signedObjectId = default, string signedTenantId = default, DateTimeOffset signedStartsOn = default, DateTimeOffset signedExpiresOn = default, string signedService = default, string signedVersion = default, string value = default);
static member UserDelegationKey : string * string * DateTimeOffset * DateTimeOffset * string * string * string -> Azure.Storage.Blobs.Models.UserDelegationKey
Public Shared Function UserDelegationKey (Optional signedObjectId As String = Nothing, Optional signedTenantId As String = Nothing, Optional signedStartsOn As DateTimeOffset = Nothing, Optional signedExpiresOn As DateTimeOffset = Nothing, Optional signedService As String = Nothing, Optional signedVersion As String = Nothing, Optional value As String = Nothing) As UserDelegationKey
Parameters
- signedObjectId
- String
The Azure Active Directory object ID in GUID format.
- signedTenantId
- String
The Azure Active Directory tenant ID in GUID format.
- signedStartsOn
- DateTimeOffset
The date-time the key is active.
- signedExpiresOn
- DateTimeOffset
The date-time the key expires.
- signedService
- String
Abbreviation of the Azure Storage service that accepts the key.
- signedVersion
- String
The service version that created the key.
- value
- String
The key as a base64 string.
Returns
A new UserDelegationKey instance for mocking.
Exceptions
signedObjectId
, signedTenantId
, signedService
, signedVersion
or value
is null.
Applies to
UserDelegationKey(String, String, String, String, String, DateTimeOffset, DateTimeOffset)
- Source:
- BlobsModelFactory.cs
- Source:
- BlobsModelFactory.cs
Creates a new UserDelegationKey instance for mocking.
public static Azure.Storage.Blobs.Models.UserDelegationKey UserDelegationKey (string signedObjectId, string signedTenantId, string signedService, string signedVersion, string value, DateTimeOffset signedExpiresOn, DateTimeOffset signedStartsOn);
static member UserDelegationKey : string * string * string * string * string * DateTimeOffset * DateTimeOffset -> Azure.Storage.Blobs.Models.UserDelegationKey
Public Shared Function UserDelegationKey (signedObjectId As String, signedTenantId As String, signedService As String, signedVersion As String, value As String, signedExpiresOn As DateTimeOffset, signedStartsOn As DateTimeOffset) As UserDelegationKey
Parameters
- signedObjectId
- String
- signedTenantId
- String
- signedService
- String
- signedVersion
- String
- value
- String
- signedExpiresOn
- DateTimeOffset
- signedStartsOn
- DateTimeOffset