| Description | : List the operations for the provider |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "ProviderOperations_List",
"Description": {
"new": "List the operations for the provider",
"old": "Result of the request to list REST API operations"
},
"$parameters": [
{
"#name": "api-version",
"Description": {
"new": "The API version to use for this operation.",
"old": "Client API version."
}
}
],
"$responses": {
"200": {
"Description": {
"new": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.",
"old": "Result of the request to list REST API operations"
},
"$properties": [
{
"#name": "value",
"Description": {
"new": "List of operations supported by the resource provider",
"old": "List of operations supported by the resource provider."
},
"$items": {
"Description": {
"new": "Details of a REST API operation, returned from the Resource Provider Operations API",
"old": "The REST API operation supported by DevTestLab ResourceProvider."
},
"$properties": [
{
"#name": "name",
"Description": {
"new": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"",
"old": "Operation name: {provider}/{resource}/{operation}"
}
},
{
"@added_0da1596487504d70a5a674b42d6f8548": {
"#name": "isDataAction",
"Description": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.",
"Required": false,
"Type": "boolean"
}
},
{
"#name": "display",
"Description": {
"new": "Localized display information for this particular operation.",
"old": "The object that describes the operations"
},
"$properties": [
{
"#name": "provider",
"Description": {
"new": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".",
"old": "Friendly name of the resource provider"
}
},
{
"#name": "resource",
"Description": {
"new": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".",
"old": "Resource type on which the operation is performed."
}
},
{
"#name": "operation",
"Description": {
"new": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".",
"old": "Operation type: read, write, delete, listKeys/action, etc."
}
},
{
"#name": "description",
"Description": {
"new": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
"old": "Friendly name of the operation"
}
}
]
},
{
"@added_86cf98b34c324824a3c99f7ac4df515a": {
"#name": "origin",
"Description": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
"Enum": [
[
"user",
""
],
[
"system",
""
],
[
"user,system",
""
]
],
"Required": false,
"Type": "string"
}
},
{
"@added_bbdf0985882e4431a2d65485a5682b69": {
"#name": "actionType",
"Description": "Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
"Enum": [
[
"Internal",
""
]
],
"Required": false,
"Type": "string"
}
}
]
}
},
{
"#name": "nextLink",
"Description": {
"new": "URL to get the next set of operation list results (if there are any).",
"old": "URL to get the next set of operation list results if there are any."
}
}
]
},
"default": {
"Description": {
"new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
"old": "Error from a REST request."
},
"$properties": [
{
"#name": "error",
"Description": {
"new": "The error object.",
"old": "The cloud error that occurred"
},
"$properties": [
{
"#name": "details",
"Description": {
"new": "The error details.",
"old": "Inner errors."
}
},
{
"@added_eb32bff9e9d04bdd95203471bc5b675e": {
"#name": "additionalInfo",
"Description": "The error additional info.",
"Required": false,
"Type": "array",
"$items": {
"Description": "The resource management error additional info.",
"Type": "object",
"$properties": [
{
"#name": "type",
"Description": "The additional info type.",
"Required": false,
"Type": "string"
},
{
"#name": "info",
"Description": "The additional info.",
"Required": false,
"Type": "object"
}
]
}
}
}
]
}
]
}
}
}
⚼ Request
GET:
/providers/Microsoft.DevTestLab/operations
{
api-version:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
name:
string
,
isDataAction:
boolean
,
display:
{
,
provider:
string
,
resource:
string
,
operation:
string
,
description:
string
,
}
origin:
enum
,
actionType:
enum
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}