你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Operations - List
Lists Microsoft.VirtualMachineImages 提供程序的可用操作
GET https://management.azure.com/providers/Microsoft.VirtualMachineImages/operations?api-version=2022-07-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
api-version
|
query | True |
string |
客户端 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
操作成功。 响应包含可用操作的列表。 |
|
Other Status Codes |
描述操作失败原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Retrieve operations list
示例请求
GET https://management.azure.com/providers/Microsoft.VirtualMachineImages/operations?api-version=2022-07-01
示例响应
{
"value": [
{
"name": "Microsoft.VirtualMachineImages/register/action",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Register Virtual Machine Image Builder RP",
"description": "Register Virtual Machine Image Builder RP"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/unregister/action",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Unregister Virtual Machine Image Builder RP",
"description": "Unregister Virtual Machine Image Builder RP"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/read",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Get a VM image template instance resource",
"resource": "VM Image template",
"description": "Get a VM image template instance resource"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/write",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Create or update a VM image template instance resource",
"resource": "VM Image template",
"description": "Create or update a VM image template instance resource"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/delete",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Delete a VM image template instance resource",
"resource": "VM Image template",
"description": "Delete a VM image template instance resource"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/run/action",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Execute a VM image template to produce its outputs",
"resource": "VM Image template",
"description": "Execute a VM image template to produce its outputs"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/runOutputs/read",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Get a VM image template run output resource",
"resource": "VM Image template run output",
"description": "Get a VM image template run output resource"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/operations/read",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "List available Virtual Machine Image Builder Operations",
"resource": "Operation",
"description": "List available Virtual Machine Image Builder Operations"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/locations/operations/read",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Get the status of an asynchronous operation",
"resource": "Asynchronous Operation",
"description": "Get the status of an asynchronous operation"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/cancel/action",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Cancel a running image build",
"resource": "VM Image template",
"description": "Cancel a running image build"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/triggers/write",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Create or update a trigger for a VM image template resource",
"resource": "Trigger",
"description": "Create or update a trigger for a VM image template resource"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/triggers/read",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Get a trigger for a VM image template resource",
"resource": "Trigger",
"description": "Get a trigger for a VM image template resource"
},
"isDataAction": false
},
{
"name": "Microsoft.VirtualMachineImages/imageTemplates/triggers/delete",
"display": {
"provider": "Virtual Machine Image Builder",
"operation": "Delete a trigger for a VM image template resource",
"resource": "Trigger",
"description": "Delete a trigger for a VM image template resource"
},
"isDataAction": false
}
]
}
定义
名称 | 说明 |
---|---|
Cloud |
来自 Azure VM 映像生成器服务的错误响应。 |
Cloud |
来自 Azure VM 映像生成器服务的错误响应。 |
Display |
描述操作的 对象。 |
Operation |
REST API 操作 |
Operation |
列出 REST API 操作的请求的结果。 它包含一个操作列表和一个 URL nextLink,用于获取下一组结果。 |
CloudError
来自 Azure VM 映像生成器服务的错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
有关错误的详细信息。 |
CloudErrorBody
来自 Azure VM 映像生成器服务的错误响应。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误的标识符。 代码是固定的,旨在以编程方式使用。 |
details |
有关错误的其他详细信息的列表。 |
|
message |
string |
描述错误的消息,该消息适用于在用户界面中显示。 |
target |
string |
特定错误的目标。 例如,属性的名称出错。 |
Display
描述操作的 对象。
名称 | 类型 | 说明 |
---|---|---|
description |
string |
操作的友好名称 |
operation |
string |
运算类型。 |
provider |
string |
资源提供程序的友好名称。 |
resource |
string |
对其执行操作的资源类型。 |
Operation
REST API 操作
名称 | 类型 | 说明 |
---|---|---|
display |
描述操作的 对象。 |
|
isDataAction |
boolean |
指示操作是否应用于数据平面的标志。 |
name |
string |
操作名称。 |
origin |
string |
操作的预期执行程序。 |
properties |
object |
操作的属性。 |
OperationListResult
列出 REST API 操作的请求的结果。 它包含一个操作列表和一个 URL nextLink,用于获取下一组结果。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一组操作列表结果的 URL(如果有)。 |
value |
资源提供程序支持的操作的列表。 |