Condividi tramite


DaprMetadata Class

Definition

Dapr component metadata.

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

Constructors

DaprMetadata()

Creates an new DaprMetadata instance.

Properties

Name

Metadata property name.

SecretRef

Name of the Dapr Component secret from which to pull the metadata property value.

Value

Metadata property value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DaprMetadata.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DaprMetadata.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DaprMetadata into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to