Share via


Dapr Constructors

Definition

Overloads

Dapr()

Initializes a new instance of the Dapr class.

Dapr(Nullable<Boolean>, String, Nullable<Int32>, IList<DaprComponent>)

Initializes a new instance of the Dapr class.

Dapr()

Initializes a new instance of the Dapr class.

public Dapr ();
Public Sub New ()

Applies to

Dapr(Nullable<Boolean>, String, Nullable<Int32>, IList<DaprComponent>)

Initializes a new instance of the Dapr class.

public Dapr (bool? enabled = default, string appId = default, int? appPort = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DaprComponent> components = default);
new Microsoft.Azure.Management.WebSites.Models.Dapr : Nullable<bool> * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.DaprComponent> -> Microsoft.Azure.Management.WebSites.Models.Dapr
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional appId As String = Nothing, Optional appPort As Nullable(Of Integer) = Nothing, Optional components As IList(Of DaprComponent) = Nothing)

Parameters

enabled
Nullable<Boolean>

Boolean indicating if the Dapr side car is enabled

appId
String

Dapr application identifier

appPort
Nullable<Int32>

Port on which the Dapr side car

components
IList<DaprComponent>

Collection of Dapr components

Applies to