Udostępnij za pośrednictwem


ScriptSecretSerializer.DeserializeSecrets Method

Definition

Overloads

DeserializeSecrets(ScriptSecretsType, String)
DeserializeSecrets<T>(String)

DeserializeSecrets(ScriptSecretsType, String)

public static Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecrets DeserializeSecrets (Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecretsType secretsType, string secretsJson);
static member DeserializeSecrets : Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecretsType * string -> Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecrets
Public Shared Function DeserializeSecrets (secretsType As ScriptSecretsType, secretsJson As String) As ScriptSecrets

Parameters

secretsType
ScriptSecretsType
secretsJson
String

Returns

Applies to

DeserializeSecrets<T>(String)

public static T DeserializeSecrets<T> (string secretsJson) where T : Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecrets;
static member DeserializeSecrets : string -> 'T (requires 'T :> Microsoft.Azure.WebJobs.Script.WebHost.ScriptSecrets)
Public Shared Function DeserializeSecrets(Of T As ScriptSecrets) (secretsJson As String) As T

Type Parameters

T

Parameters

secretsJson
String

Returns

T

Applies to