Dapr Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |