Class OperationInner
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.fluent.models.OperationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationInner>
public final class OperationInner
extends Object
implements com.azure.json.JsonSerializable<OperationInner>
REST API Operation
Details of a REST API operation, returned from the Resource Provider Operations API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actionType property: Enum.display()Get the display property: Localized display information for this particular operation.static OperationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OperationInner from the JsonReader.Get the isDataAction property: Whether the operation applies to data-plane.name()Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC).origin()Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDisplay(OperationDisplay display) Set the display property: Localized display information for this particular operation.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OperationInner
public OperationInner()Creates an instance of OperationInner class.
-
-
Method Details
-
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.
-
isDataAction
Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.- Returns:
- the isDataAction value.
-
display
Get the display property: Localized display information for this particular operation.- Returns:
- the display value.
-
withDisplay
Set the display property: Localized display information for this particular operation.- Parameters:
display- the display value to set.- Returns:
- the OperationInner object itself.
-
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.
-
actionType
Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.- Returns:
- the actionType value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OperationInner>- Throws:
IOException
-
fromJson
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.
-