共用方式為


Operation Constructors

Definition

Overloads

Operation()

Initializes a new instance of the Operation class.

Operation(String, OperationDisplay, String, Nullable<Boolean>, IDictionary<String,Object>)

Initializes a new instance of the Operation class.

Operation()

Initializes a new instance of the Operation class.

public Operation ();
Public Sub New ()

Applies to

Operation(String, OperationDisplay, String, Nullable<Boolean>, IDictionary<String,Object>)

Initializes a new instance of the Operation class.

public Operation (string name = default, Microsoft.Azure.Management.DigitalTwins.Models.OperationDisplay display = default, string origin = default, bool? isDataAction = default, System.Collections.Generic.IDictionary<string,object> properties = default);
new Microsoft.Azure.Management.DigitalTwins.Models.Operation : string * Microsoft.Azure.Management.DigitalTwins.Models.OperationDisplay * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.Azure.Management.DigitalTwins.Models.Operation
Public Sub New (Optional name As String = Nothing, Optional display As OperationDisplay = Nothing, Optional origin As String = Nothing, Optional isDataAction As Nullable(Of Boolean) = Nothing, Optional properties As IDictionary(Of String, Object) = Nothing)

Parameters

name
String

Operation name: {provider}/{resource}/{read | write | action | delete}

display
OperationDisplay

Operation properties display

origin
String

The intended executor of the operation.

isDataAction
Nullable<Boolean>

If the operation is a data action (for data plane rbac).

properties
IDictionary<String,Object>

Operation properties.

Applies to