Partager via


BlobsModelFactory.UserDelegationKey Méthode

Définition

Surcharges

UserDelegationKey(String, String, DateTimeOffset, DateTimeOffset, String, String, String)

Initialise une nouvelle instance de UserDelegationKey.

UserDelegationKey(String, String, String, String, String, DateTimeOffset, DateTimeOffset)

Crée un instance UserDelegationKey pour les moqueries.

UserDelegationKey(String, String, DateTimeOffset, DateTimeOffset, String, String, String)

Initialise une nouvelle instance de 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

Paramètres

signedObjectId
String

ID d’objet Azure Active Directory au format GUID.

signedTenantId
String

ID de locataire Azure Active Directory au format GUID.

signedStartsOn
DateTimeOffset

Date-heure à laquelle la clé est active.

signedExpiresOn
DateTimeOffset

Date-heure d’expiration de la clé.

signedService
String

Abréviation du service Stockage Azure qui accepte la clé.

signedVersion
String

Version du service qui a créé la clé.

value
String

Clé sous forme de chaîne base64.

Retours

Une nouvelle UserDelegationKey instance de moqueries.

Exceptions

signedObjectId, signedTenantId, signedServicesignedVersion ou value a la valeur null.

S’applique à

UserDelegationKey(String, String, String, String, String, DateTimeOffset, DateTimeOffset)

Crée un instance UserDelegationKey pour les moqueries.

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

Paramètres

signedObjectId
String
signedTenantId
String
signedService
String
signedVersion
String
value
String
signedExpiresOn
DateTimeOffset
signedStartsOn
DateTimeOffset

Retours

S’applique à