Storage Insights - Get
获取存储见解实例。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}?api-version=2015-03-20
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
资源组名称。 |
|
storage
|
path | True |
string |
storageInsightsConfigs 资源的名称 |
|
subscription
|
path | True |
string |
订阅 ID。 |
|
workspace
|
path | True |
string |
Log Analytics 工作区名称。 |
|
api-version
|
query | True |
string |
客户端 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
确定响应定义。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
StorageInsightsGet
示例请求
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/aztest5048/storageInsightConfigs/AzTestSI1110?api-version=2015-03-20
示例响应
{
"properties": {
"containers": [
"wad-iis-logfiles"
],
"tables": [
"WADWindowsEventLogsTable",
"LinuxSyslogVer2v0"
],
"storageAccount": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945",
"key": "Storage Account Key"
},
"status": {
"state": "OK"
}
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110",
"name": "AzTestSI1110",
"type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs"
}
定义
| 名称 | 说明 |
|---|---|
|
Storage |
描述存储帐户连接。 |
|
Storage |
顶级存储见解资源容器。 |
|
Storage |
与工作区的存储见解连接的状态 |
|
Storage |
存储见解的状态。 |
StorageAccount
描述存储帐户连接。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
存储帐户资源的 Azure 资源管理器 ID。 |
| key |
string |
存储帐户密钥。 |
StorageInsight
顶级存储见解资源容器。
| 名称 | 类型 | 说明 |
|---|---|---|
| eTag |
string |
存储见解的 ETag。 |
| id |
string |
资源 ID。 |
| name |
string |
资源名称。 |
| properties.containers |
string[] |
工作区应读取的 Blob 容器的名称 |
| properties.status |
存储见解的状态 |
|
| properties.storageAccount |
存储帐户连接详细信息 |
|
| properties.tables |
string[] |
工作区应读取的 Azure 表的名称 |
| tags |
object |
资源标记 |
| type |
string |
资源类型。 |
StorageInsightState
与工作区的存储见解连接的状态
| 值 | 说明 |
|---|---|
| OK | |
| ERROR |
StorageInsightStatus
存储见解的状态。
| 名称 | 类型 | 说明 |
|---|---|---|
| description |
string |
存储见解的状态说明。 |
| state |
与工作区的存储见解连接的状态 |