Share via


Storage Insights - Get

Hiermee haalt u een opslag-inzichtexemplaar op.

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

URI-parameters

Name In Vereist Type Description
resourceGroupName
path True

string

De naam van de resourcegroep.

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

storageInsightName
path True

string

Naam van de resource storageInsightsConfigs

subscriptionId
path True

string

De abonnements-id.

workspaceName
path True

string

De naam van de Log Analytics-werkruimte.

api-version
query True

string

De client-API-versie.

Antwoorden

Name Type Description
200 OK

StorageInsight

Definitie van OK-antwoord.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Voorbeelden

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

Definities

Name Description
StorageAccount

Beschrijft een verbinding met een opslagaccount.

StorageInsight

De opslagresourcecontainer op het hoogste niveau.

StorageInsightState

De status van de verbinding met opslaginformatie met de werkruimte

StorageInsightStatus

De status van het opslag-inzicht.

StorageAccount

Beschrijft een verbinding met een opslagaccount.

Name Type Description
id

string

De Azure Resource Manager-id van de opslagaccountresource.

key

string

De opslagaccountsleutel.

StorageInsight

De opslagresourcecontainer op het hoogste niveau.

Name Type Description
eTag

string

De ETag van het opslag-inzicht.

id

string

Resource-id.

name

string

Resourcenaam.

properties.containers

string[]

De namen van de blobcontainers die door de werkruimte moeten worden gelezen

properties.status

StorageInsightStatus

De status van het opslag-inzicht

properties.storageAccount

StorageAccount

De verbindingsgegevens van het opslagaccount

properties.tables

string[]

De namen van de Azure-tabellen die door de werkruimte moeten worden gelezen

tags

object

Resourcetags

type

string

Resourcetype.

StorageInsightState

De status van de verbinding met opslaginformatie met de werkruimte

Name Type Description
ERROR

string

OK

string

StorageInsightStatus

De status van het opslag-inzicht.

Name Type Description
description

string

Beschrijving van de status van het opslag-inzicht.

state

StorageInsightState

De status van de verbinding met opslaginformatie met de werkruimte