Condividi tramite


Dapr Class

Definition

Container App Dapr configuration.

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

Constructors

Dapr()

Creates an new Dapr instance.

Properties

AppId

Dapr application identifier

AppPort

Tells Dapr which port your application is listening on

AppProtocol

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http

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 and grpc 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 Dapr.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Dapr.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Dapr into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to