OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
REST API Operation Details of a REST API operation, returned from the Resource Provider Operations API.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationInner() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Action |
actionType()
Get the action |
|
Operation |
display()
Get the display property: Localized display information for this particular operation. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| Boolean |
isDataAction()
Get the is |
| 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. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withDisplay(OperationDisplay display)
Set the display property: Localized display information for this particular operation. |
Methods inherited from java.lang.Object
Constructor Details
OperationInner
public OperationInner()
Creates an instance of OperationInner class.
Method Details
actionType
public ActionType actionType()
Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
Returns:
display
public OperationDisplay display()
Get the display property: Localized display information for this particular operation.
Returns:
fromJson
public static OperationInner fromJson(JsonReader jsonReader)
Reads an instance of OperationInner from the JsonReader.
Parameters:
Returns:
Throws:
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 ARM/control-plane operations.
Returns:
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:
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:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationInner withDisplay(OperationDisplay display)
Set the display property: Localized display information for this particular operation.
Parameters:
Returns: