你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Operations - List
Lists所有可用的 HDInsight REST API 操作。
GET https://management.azure.com/providers/Microsoft.HDInsight/operations?api-version=2021-06-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
api-version
|
query | True |
string |
HDInsight 客户端 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 | 模拟用户帐户 |
示例
Lists all of the available operations
Sample Request
Sample Response
{
"value": [
{
"name": "Microsoft.HDInsight/register/action",
"display": {
"provider": "Microsoft.HDInsight",
"resource": null,
"operation": "Register HDInsight resource provider",
"description": "Register HDInsight resource provider for the subscription"
},
"properties": null
},
{
"name": "Microsoft.HDInsight/unregister/action",
"display": {
"provider": "Microsoft.HDInsight",
"resource": null,
"operation": "Unregister HDInsight resource provider",
"description": "Unregister HDInsight resource provider for the subscription"
},
"properties": null
}
]
}
定义
名称 | 说明 |
---|---|
Dimension |
Dimension 的定义。 |
Error |
描述错误响应的格式。 |
Metric |
指标规范的详细信息。 |
Operation |
HDInsight REST API 操作。 |
Operation |
表示操作的对象。 |
Operation |
列出 HDInsight 操作的请求的结果。 它包含操作列表和用于获取下一组结果的 URL 链接。 |
Operation |
操作的详细信息。 |
Service |
服务的规范。 |
Dimension
Dimension 的定义。
名称 | 类型 | 说明 |
---|---|---|
displayName |
string |
维度的显示名称。 |
internalName |
string |
维度的显示名称。 |
name |
string |
维的名称。 |
toBeExportedForShoebox |
boolean |
标志指示是否为 shoebox 导出指标。 |
ErrorResponse
描述错误响应的格式。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码 |
message |
string |
指示操作失败原因的错误消息。 |
MetricSpecifications
指标规范的详细信息。
名称 | 类型 | 说明 |
---|---|---|
aggregationType |
string |
指标规范的聚合类型。 |
category |
string |
指标的类别。 |
delegateMetricNameOverride |
string |
委托指标的替代名称。 |
dimensions |
指标规范的维度。 |
|
displayDescription |
string |
指标规范的显示说明。 |
displayName |
string |
指标规范的显示名称。 |
enableRegionalMdmAccount |
boolean |
标志指示是否启用区域 mdm 帐户。 |
fillGapWithZero |
boolean |
标志指示是否用零填充间隙。 |
isInternal |
boolean |
标志指示指标是否为内部指标。 |
metricFilterPattern |
string |
指标筛选器模式。 |
name |
string |
指标规范的名称。 |
resourceIdDimensionNameOverride |
string |
资源 ID 维度名称的替代名称。 |
sourceMdmAccount |
string |
源 mdm 帐户。 |
sourceMdmNamespace |
string |
源 mdm 命名空间。 |
supportedAggregationTypes |
string[] |
指标规范支持的聚合类型。 |
supportedTimeGrainTypes |
string[] |
指标规范支持的时间粒度类型。 |
unit |
string |
指标规范的单位。 |
Operation
HDInsight REST API 操作。
名称 | 类型 | 说明 |
---|---|---|
display |
操作的显示。 |
|
name |
string |
操作名称:{provider}/{resource}/{operation} |
properties |
操作属性。 |
OperationDisplay
表示操作的对象。
名称 | 类型 | 说明 |
---|---|---|
description |
string |
操作的本地化友好说明 |
operation |
string |
操作类型:读取、写入、删除等。 |
provider |
string |
服务提供商:Microsoft.HDInsight |
resource |
string |
对其执行操作的资源:群集、应用程序等。 |
OperationListResult
列出 HDInsight 操作的请求的结果。 它包含操作列表和用于获取下一组结果的 URL 链接。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一组操作列表结果的 URL(如果有)。 |
value |
HDInsight 资源提供程序支持的 HDInsight 操作的列表。 |
OperationProperties
操作的详细信息。
名称 | 类型 | 说明 |
---|---|---|
serviceSpecification |
服务的规范。 |
ServiceSpecification
服务的规范。
名称 | 类型 | 说明 |
---|---|---|
metricSpecifications |
指标规范。 |