Share via


Storage Insights - Get

Lekéri a storage insight-példányt.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}?api-version=2015-03-20

URI-paraméterek

Name In Kötelező Típus Description
resourceGroupName
path True

string

Az erőforráscsoport neve.

Regex pattern: ^[-\w\._\(\)]+$

storageInsightName
path True

string

A storageInsightsConfigs erőforrás neve

subscriptionId
path True

string

Az előfizetés azonosítója.

workspaceName
path True

string

A Log Analytics-munkaterület neve.

api-version
query True

string

Az ügyfél API-verziója.

Válaszok

Name Típus Description
200 OK

StorageInsight

OK válaszdefiníció.

Biztonság

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 felhasználói fiók megszemélyesítése

Példák

StorageInsightsGet

Sample Request

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

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 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"
}

Definíciók

Name Description
StorageAccount

A tárfiók kapcsolatát ismerteti.

StorageInsight

A legfelső szintű tárolóelemző erőforrástárolója.

StorageInsightState

A tárterület-megállapítási kapcsolat állapota a munkaterülethez

StorageInsightStatus

A tárolási megállapítás állapota.

StorageAccount

A tárfiók kapcsolatát ismerteti.

Name Típus Description
id

string

A tárfiók-erőforrás Azure Resource Manager azonosítója.

key

string

A tárfiókkulcs.

StorageInsight

A legfelső szintű tárolóelemző erőforrástárolója.

Name Típus Description
eTag

string

A tárolási megállapítás ETagje.

id

string

Erőforrás-azonosító.

name

string

Erőforrás neve.

properties.containers

string[]

A blobtárolók neve, amelyeket a munkaterületnek el kell olvasnia

properties.status

StorageInsightStatus

A tárolási megállapítás állapota

properties.storageAccount

StorageAccount

A tárfiók kapcsolatának részletei

properties.tables

string[]

Azon Azure-táblák nevei, amelyeket a munkaterületnek el kell olvasnia

tags

object

Erőforráscímkék

type

string

Erőforrástípus.

StorageInsightState

A tárterület-megállapítási kapcsolat állapota a munkaterülethez

Name Típus Description
ERROR

string

OK

string

StorageInsightStatus

A tárolási megállapítás állapota.

Name Típus Description
description

string

A tárolási megállapítás állapotának leírása.

state

StorageInsightState

A tárterület-megállapítási kapcsolat állapota a munkaterülethez