Freigeben über


BlobsModelFactory.UserDelegationKey Methode

Definition

Überlädt

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

Initialisiert eine neue instance von UserDelegationKey.

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

Erstellt eine neue UserDelegationKey-instance für die Simulation.

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

Initialisiert eine neue instance von 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

Parameter

signedObjectId
String

Die Azure Active Directory-Objekt-ID im GUID-Format.

signedTenantId
String

Die Azure Active Directory-Mandanten-ID im GUID-Format.

signedStartsOn
DateTimeOffset

Datum und Uhrzeit, zu der der Schlüssel aktiv ist.

signedExpiresOn
DateTimeOffset

Datum und Uhrzeit des Schlüsselablaufs.

signedService
String

Abkürzung des Azure Storage-Diensts, der den Schlüssel akzeptiert.

signedVersion
String

Die Dienstversion, die den Schlüssel erstellt hat.

value
String

Der Schlüssel als Base64-Zeichenfolge.

Gibt zurück

Eine neue UserDelegationKey instance zum Simulieren.

Ausnahmen

signedObjectId, signedTenantId, signedServicesignedVersion oder value ist NULL.

Gilt für:

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

Erstellt eine neue UserDelegationKey-instance für die Simulation.

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

Parameter

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

Gibt zurück

Gilt für: