Partager via


OperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.artifactsigning.fluent.models.OperationInner

Implements

public final class OperationInner
implements JsonSerializable<OperationInner>

REST API Operation Details of a REST API operation, returned from the Resource Provider Operations API.

Method Summary

Modifier and Type Method and Description
ActionType actionType()

Get the actionType property: Extensible enum.

OperationDisplay display()

Get the display property: Localized display information for this particular operation.

static OperationInner fromJson(JsonReader jsonReader)

Reads an instance of OperationInner from the JsonReader.

Boolean isDataAction()

Get the isDataAction property: Whether the operation applies to data-plane.

String name()

Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC).

Origin origin()

Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

actionType

public ActionType actionType()

Get the actionType property: Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

Returns:

the actionType value.

display

public OperationDisplay display()

Get the display property: Localized display information for this particular operation.

Returns:

the display value.

fromJson

public static OperationInner fromJson(JsonReader jsonReader)

Reads an instance of OperationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the OperationInner.

isDataAction

public Boolean isDataAction()

Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations.

Returns:

the isDataAction value.

name

public String name()

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

Returns:

the name value.

origin

public Origin origin()

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

Returns:

the origin value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to