DaprConfig Class

Definition

App Dapr configuration.

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

Constructors

DaprConfig()

Creates an new DaprConfig instance.

Properties

AppId

Dapr application identifier

AppPort

Tells Dapr which port your application is listening on

EnableApiLogging

Enables API logging for the Dapr sidecar

Enabled

Boolean indicating if the Dapr side car is enabled

HttpMaxRequestSize

Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB.

HttpReadBufferSize

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

LogLevel

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DaprConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DaprConfig.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DaprConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to