Partager via


BatchVmExtension.ProtectedSettings Propriété

Définition

L’extension peut contenir protectedSettings ou protectedSettingsFromKeyVault ou aucun paramètre protégé.

Pour affecter un objet à cette propriété, utilisez FromObjectAsJson<T>(T, JsonSerializerOptions).

Pour affecter une chaîne json déjà mise en forme à cette propriété, utilisez FromString(String).

Exemples :

  • BinaryData.FromObjectAsJson(« foo »)Crée une charge utile de « foo ».
  • BinaryData.FromString(« \"foo\" »)Crée une charge utile de « foo ».
  • BinaryData.FromObjectAsJson(new { key = « value » })Crée une charge utile de { « key »: « value » }.
  • BinaryData.FromString(« {\"key\ »: \"value\"} »)Crée une charge utile de { « key »: « value » }.

public BinaryData ProtectedSettings { get; set; }
member this.ProtectedSettings : BinaryData with get, set
Public Property ProtectedSettings As BinaryData

Valeur de propriété

S’applique à