Partager via


DaprComponent Class

Definition

Dapr component configuration

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DaprComponentTypeConverter))]
public class DaprComponent : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDaprComponent
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DaprComponentTypeConverter))>]
type DaprComponent = class
    interface IDaprComponent
    interface IJsonSerializable
Public Class DaprComponent
Implements IDaprComponent
Inheritance
DaprComponent
Attributes
Implements

Constructors

DaprComponent()

Creates an new DaprComponent instance.

Properties

Metadata

Component metadata

Name

Component name

Type

Component type

Version

Component version

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DaprComponent.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DaprComponent.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDaprComponent.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DaprComponent into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to