Compartilhar via


DaprSecret Class

Definition

Dapr component Secret for ListSecrets Action

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprSecretTypeConverter))]
public class DaprSecret : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprSecret
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprSecretTypeConverter))>]
type DaprSecret = class
    interface IDaprSecret
    interface IJsonSerializable
Public Class DaprSecret
Implements IDaprSecret
Inheritance
DaprSecret
Attributes
Implements

Constructors

DaprSecret()

Creates an new DaprSecret instance.

Properties

Name

Secret Name.

Value

Secret Value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DaprSecret.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DaprSecret.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprSecret.

FromJsonString(String)

Creates a new instance of DaprSecret, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DaprSecret into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to