Operations - List
列出可用的 ServiceLinker REST API作。
GET https://management.azure.com/providers/Microsoft.ServiceLinker/operations?api-version=2022-11-01-preview
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
api-version
|
query | True |
string minLength: 1 |
用于此操作的 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
还行。 请求已成功。 |
|
| Other Status Codes |
描述作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
GetConfiguration
示例请求
示例响应
{
"value": [
{
"display": {
"description": "Register the subscription for Microsoft.ServiceLinker",
"operation": "Register the Microsoft.ServiceLinker",
"provider": "Microsoft.ServiceLinker",
"resource": "Microsoft.ServiceLinker"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/register/action"
},
{
"display": {
"description": "Unregister the subscription for Microsoft.ServiceLinker",
"operation": "Unregister the Microsoft.ServiceLinker",
"provider": "Microsoft.ServiceLinker",
"resource": "Microsoft.ServiceLinker"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/unregister/action"
},
{
"display": {
"description": "read operations",
"operation": "read_operations",
"provider": "Microsoft.ServiceLinker",
"resource": "operations"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/operations/read"
},
{
"display": {
"description": "list dryrun jobs",
"operation": "Dryrun_List",
"provider": "Microsoft.ServiceLinker",
"resource": "dryruns"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/dryruns/read"
},
{
"display": {
"description": "get a dryrun job",
"operation": "Dryrun_Get",
"provider": "Microsoft.ServiceLinker",
"resource": "dryruns"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/dryruns/read"
},
{
"display": {
"description": "create a dryrun job to do necessary check before actual creation",
"operation": "Dryrun_Create",
"provider": "Microsoft.ServiceLinker",
"resource": "dryruns"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/dryruns/write"
},
{
"display": {
"description": "delete a dryrun job",
"operation": "Dryrun_Delete",
"provider": "Microsoft.ServiceLinker",
"resource": "dryruns"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/dryruns/delete"
},
{
"display": {
"description": "add a dryrun job to do necessary check before actual creation",
"operation": "Dryrun_Update",
"provider": "Microsoft.ServiceLinker",
"resource": "dryruns"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/dryruns/write"
},
{
"display": {
"description": "read operationStatuses",
"operation": "read_operationStatuses",
"provider": "Microsoft.ServiceLinker",
"resource": "locations/operationStatuses"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/locations/operationStatuses/read"
},
{
"display": {
"description": "write operationStatuses",
"operation": "write_operationStatuses",
"provider": "Microsoft.ServiceLinker",
"resource": "locations/operationStatuses"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/locations/operationStatuses/write"
},
{
"display": {
"description": "Returns list of Linkers which connects to the resource.",
"operation": "Linker_List",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/read"
},
{
"display": {
"description": "Returns Linker resource for a given name.",
"operation": "Linker_Get",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/read"
},
{
"display": {
"description": "Create or update linker resource.",
"operation": "Linker_CreateOrUpdate",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/write"
},
{
"display": {
"description": "Delete a link.",
"operation": "Linker_Delete",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/delete"
},
{
"display": {
"description": "Operation to update an existing link.",
"operation": "Linker_Update",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/write"
},
{
"display": {
"description": "Validate a link.",
"operation": "Linker_Validate",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/validateLinker/action"
},
{
"display": {
"description": "list source configurations for a linker.",
"operation": "Linker_ListConfigurations",
"provider": "Microsoft.ServiceLinker",
"resource": "linkers"
},
"isDataAction": false,
"name": "Microsoft.ServiceLinker/linkers/listConfigurations/action"
}
]
}
定义
| 名称 | 说明 |
|---|---|
|
Action |
指示如何应用连接器作,例如选择退出网络配置、选择加入配置。 |
| Display |
此特定操作的本地化显示信息。 |
|
Error |
资源管理错误附加信息。 |
|
Error |
错误详细信息。 |
|
Error |
错误响应 |
| Operation |
REST API 操作 |
|
Operation |
Azure 资源提供程序支持的 REST API 操作列表。 它包含用于获取下一组结果的 URL 链接。 |
| Origin |
操作的预期执行程序;与基于资源的访问控制 (RBAC) 和审核日志 UX 中一样。 默认值为“user,system” |
ActionType
指示如何应用连接器作,例如选择退出网络配置、选择加入配置。
| 值 | 说明 |
|---|---|
| enable | |
| optOut |
Display
此特定操作的本地化显示信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| description |
string |
操作的简短本地化友好说明;适用于工具提示和详细视图。 |
| operation |
string |
操作的简洁本地化友好名称;适用于下拉列表。 例如“创建或更新虚拟机”、“重启虚拟机”。 |
| provider |
string |
资源提供程序名称的本地化友好形式,例如“Microsoft Monitoring Insights”或“Microsoft计算”。 |
| resource |
string |
与此操作相关的资源类型的本地化友好名称。 例如“虚拟机”或“作业计划集合”。 |
ErrorAdditionalInfo
资源管理错误附加信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| info |
object |
其他信息。 |
| type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| additionalInfo |
错误附加信息。 |
|
| code |
string |
错误代码。 |
| details |
错误详细信息。 |
|
| message |
string |
错误消息。 |
| target |
string |
错误目标。 |
ErrorResponse
错误响应
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
Operation
REST API 操作
| 名称 | 类型 | 说明 |
|---|---|---|
| actionType |
枚举。 指示操作类型。 “内部”是指仅适用于内部 API 的操作。 |
|
| display |
此特定操作的本地化显示信息。 |
|
| isDataAction |
boolean |
操作是否适用于数据平面。 对于数据平面操作,这是“true”,ARM/控制平面操作为“false”。 |
| name |
string |
操作的名称,根据 Resource-Based 访问控制(RBAC)。 示例:“Microsoft.Compute/virtualMachines/write”、“Microsoft.Compute/virtualMachines/capture/action” |
| origin |
操作的预期执行程序;与基于资源的访问控制 (RBAC) 和审核日志 UX 中一样。 默认值为“user,system” |
OperationListResult
Azure 资源提供程序支持的 REST API 操作列表。 它包含用于获取下一组结果的 URL 链接。
| 名称 | 类型 | 说明 |
|---|---|---|
| nextLink |
string |
用于获取下一组操作列表结果的 URL(如果有)。 |
| value |
资源提供程序支持的操作列表 |
Origin
操作的预期执行程序;与基于资源的访问控制 (RBAC) 和审核日志 UX 中一样。 默认值为“user,system”
| 值 | 说明 |
|---|---|
| user | |
| system | |
| user,system |