共用方式為


Operation Constructors

Definition

Overloads

Operation()

Initializes a new instance of the Operation class.

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

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, Nullable<Boolean>, OperationDisplay, String, String)

Initializes a new instance of the Operation class.

public Operation (string name = default, bool? isDataAction = default, Microsoft.Azure.Management.Chaos.Models.OperationDisplay display = default, string origin = default, string actionType = default);
new Microsoft.Azure.Management.Chaos.Models.Operation : string * Nullable<bool> * Microsoft.Azure.Management.Chaos.Models.OperationDisplay * string * string -> Microsoft.Azure.Management.Chaos.Models.Operation
Public Sub New (Optional name As String = Nothing, Optional isDataAction As Nullable(Of Boolean) = Nothing, Optional display As OperationDisplay = Nothing, Optional origin As String = Nothing, Optional actionType As String = Nothing)

Parameters

name
String

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"

isDataAction
Nullable<Boolean>

Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.

display
OperationDisplay

Localized display information for this particular operation.

origin
String

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Possible values include: 'user', 'system', 'user,system'

actionType
String

Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Possible values include: 'Internal'

Applies to