Operations - List
Exposes all available operations for discovery purposes.
GET https://management.azure.com/providers/Microsoft.Security/operations?api-version=2024-10-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List the operations for the Microsoft.Security (Microsoft Defender for Cloud) resource provider
Sample request
Sample response
{
"value": [
{
"name": "Microsoft.Security/defenderforstoragesettings/read",
"display": {
"provider": "Microsoft Security",
"resource": "DefenderForStorageSettings",
"operation": "Get defenderForStorageSettings",
"description": "Gets the defenderforstoragesettings for the scope"
},
"origin": "user"
},
{
"name": "Microsoft.Security/defenderforstoragesettings/write",
"display": {
"provider": "Microsoft Security",
"resource": "DefenderForStorageSettings",
"operation": "Update defenderForStorageSettings",
"description": "Creates or updates the defenderforstoragesettings for the scope"
},
"origin": "user"
},
{
"name": "Microsoft.Security/defenderforstoragesettings/delete",
"display": {
"provider": "Microsoft Security",
"resource": "DefenderForStorageSettings",
"operation": "Delete defenderForStorageSettings",
"description": "Deletes the defenderforstoragesettings for the scope"
},
"origin": "user"
}
]
}
Definitions
Name | Description |
---|---|
Action |
Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
Display |
Localized display information for this particular operation. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Operation |
REST API Operation |
Operation |
A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. |
Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" |
ActionType
Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
Name | Type | Description |
---|---|---|
Internal |
string |
Display
Localized display information for this particular operation.
Name | Type | Description |
---|---|---|
description |
string |
The short, localized friendly description of the operation; suitable for tool tips and detailed views. |
operation |
string |
The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". |
provider |
string |
The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". |
resource |
string |
The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
Operation
REST API Operation
Name | Type | Description |
---|---|---|
actionType |
Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
|
display |
Localized display information for this particular operation. |
|
isDataAction |
boolean |
Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. |
name |
string |
The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" |
origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" |
OperationListResult
A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
Name | Type | Description |
---|---|---|
nextLink |
string |
URL to get the next set of operation list results (if there are any). |
value |
List of operations supported by the resource provider |
Origin
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
Name | Type | Description |
---|---|---|
system |
string |
|
user |
string |
|
user,system |
string |