Storage Insights - Create Or Update
Depolama içgörüleri oluşturma veya güncelleştirme.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}?api-version=2015-03-20
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak Grubu adı. Regex pattern: |
storage
|
path | True |
string |
storageInsightsConfigs kaynağının adı |
subscription
|
path | True |
string |
Abonelik Kimliği. |
workspace
|
path | True |
string |
Log Analytics Çalışma Alanı adı. |
api-version
|
query | True |
string |
İstemci API sürümü. |
İstek Gövdesi
Name | Gerekli | Tür | Description |
---|---|---|---|
properties.storageAccount | True |
Depolama hesabı bağlantı ayrıntıları |
|
eTag |
string |
Depolama içgörüsünün ETag'i. |
|
properties.containers |
string[] |
Çalışma alanının okuması gereken blob kapsayıcılarının adları |
|
properties.tables |
string[] |
Çalışma alanının okuması gereken Azure tablolarının adları |
|
tags |
object |
Kaynak etiketleri |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam yanıt tanımı. |
|
201 Created |
Yanıt tanımı oluşturuldu. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
StorageInsightsCreate
Sample Request
PUT 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": "1234"
}
}
}
Sample Response
{
"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 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"
}
{
"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 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"
}
Tanımlar
Name | Description |
---|---|
Storage |
Depolama hesabı bağlantısını açıklar. |
Storage |
Üst düzey depolama içgörüleri kaynak kapsayıcısı. |
Storage |
Çalışma alanıyla depolama içgörü bağlantısının durumu |
Storage |
Depolama içgörüsünün durumu. |
StorageAccount
Depolama hesabı bağlantısını açıklar.
Name | Tür | Description |
---|---|---|
id |
string |
Depolama hesabı kaynağının Azure Resource Manager kimliği. |
key |
string |
Depolama hesabı anahtarı. |
StorageInsight
Üst düzey depolama içgörüleri kaynak kapsayıcısı.
Name | Tür | Description |
---|---|---|
eTag |
string |
Depolama içgörüsünün ETag'i. |
id |
string |
Kaynak Kimliği. |
name |
string |
Kaynak adı. |
properties.containers |
string[] |
Çalışma alanının okuması gereken blob kapsayıcılarının adları |
properties.status |
Depolama içgörüsünün durumu |
|
properties.storageAccount |
Depolama hesabı bağlantı ayrıntıları |
|
properties.tables |
string[] |
Çalışma alanının okuması gereken Azure tablolarının adları |
tags |
object |
Kaynak etiketleri |
type |
string |
Kaynak türü. |
StorageInsightState
Çalışma alanıyla depolama içgörü bağlantısının durumu
Name | Tür | Description |
---|---|---|
ERROR |
string |
|
OK |
string |
StorageInsightStatus
Depolama içgörüsünün durumu.
Name | Tür | Description |
---|---|---|
description |
string |
Depolama içgörüsünün durumunun açıklaması. |
state |
Çalışma alanıyla depolama içgörü bağlantısının durumu |