你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Operations - Get
Lists连接群集资源的所有可用 API 操作。
GET https://management.azure.com/providers/Microsoft.Kubernetes/operations?api-version=2024-01-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
api-version
|
query | True |
string |
要用于此操作的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
Other Status Codes |
描述操作失败原因的资源提供程序错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
ListConnectedClusterOperationsExample
Sample Request
GET https://management.azure.com/providers/Microsoft.Kubernetes/operations?api-version=2024-01-01
Sample Response
{
"value": [
{
"name": "Microsoft.Kubernetes/connectedClusters/write",
"display": {
"provider": "Microsoft.connectedClusters",
"resource": "connectedClusters",
"operation": "Create ConnectedCluster",
"description": "Create any ConnectedCluster"
}
},
{
"name": "Microsoft.Kubernetes/connectedClusters/read",
"display": {
"provider": "Microsoft.Kubernetes",
"resource": "connectedClusters",
"operation": "Get ConnectedCluster",
"description": "Get any ConnectedCluster"
}
},
{
"name": "Microsoft.Kubernetes/connectedClusters/delete",
"display": {
"provider": "Microsoft.Kubernetes",
"resource": "connectedClusters",
"operation": "Delete ConnectedCluster",
"description": "Delete any ConnectedCluster"
}
}
],
"nextLink": "https://serviceRoot/subscriptions/subId/resourcegroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters?api-version=2019-11-01-preview&$skiptoken=X'12345'"
}
定义
名称 | 说明 |
---|---|
Display |
表示操作的对象。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Operation |
连接的群集 API 操作 |
Operation |
连接的群集 API 操作的分页列表。 |
Display
表示操作的对象。
名称 | 类型 | 说明 |
---|---|---|
description |
string |
操作说明。 |
operation |
string |
操作类型:读取、写入、删除等。 |
provider |
string |
服务提供商:Microsoft.connectedClusters |
resource |
string |
对其执行操作的连接群集资源 |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
Operation
连接的群集 API 操作
名称 | 类型 | 说明 |
---|---|---|
display |
表示操作的对象。 |
|
name |
string |
操作名称:{Microsoft.Kubernetes}/{resource}/{operation} |
OperationList
连接的群集 API 操作的分页列表。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取连接群集 API 操作的下一页的链接。 |
value |
连接的群集 API 操作的列表。 |