你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Operations - List
列出所有可用的 OperationalInsights Rest API 操作。
GET https://management.azure.com/providers/Microsoft.OperationalInsights/operations?api-version=2023-09-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 | 模拟用户帐户 |
示例
Get specific operation status
示例请求
GET https://management.azure.com/providers/Microsoft.OperationalInsights/operations?api-version=2023-09-01
示例响应
{
"value": [
{
"name": "Microsoft.OperationalInsights/workspaces/write",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Workspace",
"operation": "Create Workspace",
"description": "Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Workspace",
"operation": "Get Workspace",
"description": "Gets an existing workspace"
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/delete",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Workspace",
"operation": "Delete Workspace",
"description": "Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Registration Certificate",
"operation": "Generates Registration Certificate for Workspace.",
"description": "Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Storage Insight Configuration",
"operation": "Create Storage Configuration",
"description": "Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Storage Insight Configuration",
"operation": "Get Storage Configuration",
"description": "Gets a storage configuration."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Storage Insight Configuration",
"operation": "Delete Storage Configuration",
"description": "Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account."
}
},
{
"name": "Microsoft.OperationalInsights/register/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Register",
"operation": "Register a subscription to a resource provider.",
"description": "Register a subscription to a resource provider."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/sharedKeys/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Shared Keys",
"operation": "List Workspace Shared Keys",
"description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/sharedKeys/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Shared Keys",
"operation": "List Workspace Shared Keys",
"description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/listKeys/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "List Keys",
"operation": "List Workspace Keys",
"description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/listKeys/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "List Keys",
"operation": "List Workspace Keys",
"description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/managementGroups/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Management Group",
"operation": "Get Management Groups for Workspace",
"description": "Gets the names and metadata for System Center Operations Manager management groups connected to this workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/usages/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Usage Metric",
"operation": "Get Usage Data for Workspace",
"description": "Gets usage data for a workspace including the amount of data read by the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/search/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Search",
"operation": "Search Workspace Data",
"description": "Executes a search query"
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/schema/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Search Schema",
"operation": "Get Search Schema",
"description": "Gets the search schema for the workspace. Search schema includes the exposed fields and their types."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/datasources/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Data Source",
"operation": "Get datasources under a workspace.",
"description": "Get datasources under a workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/datasources/write",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Data Source",
"operation": "Create/Update datasources under a workspace.",
"description": "Create/Update datasources under a workspace."
}
},
{},
{},
{},
{},
{
"name": "Microsoft.OperationalInsights/workspaces/notificationSettings/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Notification Settings",
"operation": "Get Notification Settings",
"description": "Get the user's notification settings for the workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/notificationSettings/write",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Notification Settings",
"operation": "Put Notification Settings",
"description": "Set the user's notification settings for the workspace."
}
},
{},
{},
{},
{
"name": "Microsoft.OperationalInsights/workspaces/configurationScopes/delete",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Configuration Scope",
"operation": "Delete Configuration Scope",
"description": "Delete Configuration Scope"
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/linkedServices/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Linked Services",
"operation": "Get linked services under given workspace.",
"description": "Get linked services under given workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/linkedServices/write",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Linked Services",
"operation": "Create/Update linked services under given workspace.",
"description": "Create/Update linked services under given workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/linkedServices/delete",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Linked Services",
"operation": "Delete linked services under given workspace.",
"description": "Delete linked services under given workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Intelligence Packs",
"operation": "List Intelligence Packs",
"description": "Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Intelligence Packs",
"operation": "Enable Intelligence Pack",
"description": "Enables an intelligence pack for a given workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Intelligence Packs",
"operation": "Disable Intelligence Pack",
"description": "Disables an intelligence pack for a given workspace."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/analytics/query/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "analytics",
"operation": "Search using new engine.",
"description": "Search using new engine."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/analytics/query/schema/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "analytics",
"operation": "Get search schema V2.",
"description": "Get search schema V2."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/api/query/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "analytics",
"operation": "Search using new engine.",
"description": "Search using new engine."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/api/query/schema/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "analytics",
"operation": "Get search schema V2.",
"description": "Get search schema V2."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/purge/action",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "analytics",
"operation": "Delete specified data from workspace",
"description": "Delete specified data from workspace"
}
},
{
"name": "Microsoft.OperationalInsights/linkTargets/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Unlinked Account",
"operation": "List Unlinked Accounts",
"description": "Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation."
}
},
{
"name": "Microsoft.OperationalInsights/workspaces/metricDefinitions/read",
"display": {
"provider": "Microsoft Operational Insights",
"resource": "Metric Definitions",
"operation": "Metric Definition operation",
"description": "Get Metric Definitions under workspace"
}
}
],
"nextLink": ""
}
定义
名称 | 说明 |
---|---|
Display |
显示与操作关联的元数据。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Operation |
支持 OperationalInsights 资源提供程序的操作。 |
Operation |
列出解决方案操作的请求的结果。 |
Display
显示与操作关联的元数据。
名称 | 类型 | 说明 |
---|---|---|
description |
string |
操作说明 |
operation |
string |
操作类型:获取、读取、删除等。 |
provider |
string |
服务提供商:Microsoft OperationsManagement。 |
resource |
string |
对其执行操作的资源等。 |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
Operation
支持 OperationalInsights 资源提供程序的操作。
名称 | 类型 | 说明 |
---|---|---|
display |
显示与操作关联的元数据。 |
|
name |
string |
操作名称:{provider}/{resource}/{operation} |
OperationListResult
列出解决方案操作的请求的结果。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一组操作列表结果的 URL(如果有)。 |
value |
OperationsManagement 资源提供程序支持的解决方案操作的列表。 |