OperationsDiscovery Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.OperationsDiscovery
- com.
public class OperationsDiscovery
Operations discovery class.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| OperationsDiscovery() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Display |
display()
Get the display value. |
| java.lang.Boolean |
isDataAction()
Get indicates whether the operation is a data action. |
| java.lang.String |
name()
Get gets or sets Name of the API. |
| java.lang.String |
origin()
Get gets or sets Origin. |
| java.lang.Object |
properties()
Get the properties value. |
|
Operations |
withDisplay(Display display)
Set the display value. |
|
Operations |
withIsDataAction(Boolean isDataAction)
Set indicates whether the operation is a data action. |
|
Operations |
withName(String name)
Set gets or sets Name of the API. |
|
Operations |
withOrigin(String origin)
Set gets or sets Origin. |
|
Operations |
withProperties(Object properties)
Set the properties value. |
Methods inherited from java.lang.Object
Constructor Details
OperationsDiscovery
public OperationsDiscovery()
Method Details
display
public Display display()
Get the display value.
Returns:
isDataAction
public Boolean isDataAction()
Get indicates whether the operation is a data action.
Returns:
name
public String name()
Get gets or sets Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include: Microsoft.Compute/virtualMachine/capture/action Microsoft.Compute/virtualMachine/restart/action Microsoft.Compute/virtualMachine/write Microsoft.Compute/virtualMachine/read Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used. As a note: all resource providers would need to include the "{Resource Provider Namespace}/register/action" operation in their response. This API is used to register for their service, and should include details about the operation (e.g. a localized name for the resource provider + any special considerations like PII release).
Returns:
origin
public String origin()
Get gets or sets Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is "user,system".
Returns:
properties
public Object properties()
Get the properties value.
Returns:
withDisplay
public OperationsDiscovery withDisplay(Display display)
Set the display value.
Parameters:
Returns:
withIsDataAction
public OperationsDiscovery withIsDataAction(Boolean isDataAction)
Set indicates whether the operation is a data action.
Parameters:
Returns:
withName
public OperationsDiscovery withName(String name)
Set gets or sets Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include: Microsoft.Compute/virtualMachine/capture/action Microsoft.Compute/virtualMachine/restart/action Microsoft.Compute/virtualMachine/write Microsoft.Compute/virtualMachine/read Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used. As a note: all resource providers would need to include the "{Resource Provider Namespace}/register/action" operation in their response. This API is used to register for their service, and should include details about the operation (e.g. a localized name for the resource provider + any special considerations like PII release).
Parameters:
Returns:
withOrigin
public OperationsDiscovery withOrigin(String origin)
Set gets or sets Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is "user,system".
Parameters:
Returns:
withProperties
public OperationsDiscovery withProperties(Object properties)
Set the properties value.
Parameters:
Returns: