Operations - List
Lists all available Relay REST API operations.
GET https://management.azure.com/providers/Microsoft.Relay/operations?api-version=2021-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
Client API version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
Other Status Codes |
Relay 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
RelayOperationsList
Sample Request
Sample Response
{
"value": [
{
"name": "Microsoft.Relay/checkNameAvailability/action",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Non Resource Operation",
"operation": "Get namespace availability."
}
},
{
"name": "Microsoft.Relay/register/action",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Relay Resource Provider",
"operation": "Registers the Relay Resource Provider"
}
},
{
"name": "Microsoft.Relay/namespaces/write",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace",
"operation": "Create Or Update Namespace "
}
},
{
"name": "Microsoft.Relay/namespaces/read",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace",
"operation": "Get Namespace Resource"
}
},
{
"name": "Microsoft.Relay/namespaces/Delete",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace",
"operation": "Delete Namespace"
}
},
{
"name": "Microsoft.Relay/namespaces/Relays/write",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Relay",
"operation": "Create or Update Relay"
}
},
{
"name": "Microsoft.Relay/namespaces/Relays/read",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Relay",
"operation": "Get Relay"
}
},
{
"name": "Microsoft.Relay/namespaces/Relays/Delete",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Relay",
"operation": "Delete Relay"
}
},
{
"name": "Microsoft.Relay/namespaces/metricDefinitions/read",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace metrics",
"operation": "Get Namespace metrics"
}
},
{
"name": "Microsoft.Relay/namespaces/diagnosticSettings/read",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace diagnostic settings",
"operation": "Get Namespace diagnostic settings"
}
},
{
"name": "Microsoft.Relay/namespaces/diagnosticSettings/write",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace diagnostic settings",
"operation": "Create or Update Namespace diagnostic settings"
}
},
{
"name": "Microsoft.Relay/namespaces/logDefinitions/read",
"display": {
"provider": "Microsoft Azure Relay",
"resource": "Namespace logs",
"operation": "Get Namespace logs"
}
}
]
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Operation |
A Relay REST API operation |
Operation |
Operation display payload |
Operation |
Result of the request to list Relay operations. It contains a list of operations and a URL link to get the next set of results. |
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
A Relay REST API operation
Name | Type | Description |
---|---|---|
display |
Display of the operation |
|
isDataAction |
boolean |
Indicates whether the operation is a data action |
name |
string |
Operation name: {provider}/{resource}/{operation} |
origin |
string |
Origin of the operation |
OperationDisplay
Operation display payload
Name | Type | Description |
---|---|---|
description |
string |
Localized friendly description for the operation |
operation |
string |
Localized friendly name for the operation |
provider |
string |
Resource provider of the operation |
resource |
string |
Resource of the operation |
OperationListResult
Result of the request to list Relay operations. It contains a list of operations and a 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 Relay operations supported by the Microsoft.Relay resource provider. |