Storage Insights - Get

Gets a storage insight instance.

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 Required Type Description
resourceGroupName
path True

string

The Resource Group name.

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

storageInsightName
path True

string

Name of the storageInsightsConfigs resource

subscriptionId
path True

string

The Subscription ID.

workspaceName
path True

string

The Log Analytics Workspace name.

api-version
query True

string

The client API version.

Responses

Name Type Description
200 OK

StorageInsight

OK response definition.

Security

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 impersonate your user account

Examples

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

Definitions

Name Description
StorageAccount

Describes a storage account connection.

StorageInsight

The top level storage insight resource container.

StorageInsightState

The state of the storage insight connection to the workspace

StorageInsightStatus

The status of the storage insight.

StorageAccount

Describes a storage account connection.

Name Type Description
id

string

The Azure Resource Manager ID of the storage account resource.

key

string

The storage account key.

StorageInsight

The top level storage insight resource container.

Name Type Description
eTag

string

The ETag of the storage insight.

id

string

Resource ID.

name

string

Resource name.

properties.containers

string[]

The names of the blob containers that the workspace should read

properties.status

StorageInsightStatus

The status of the storage insight

properties.storageAccount

StorageAccount

The storage account connection details

properties.tables

string[]

The names of the Azure tables that the workspace should read

tags

object

Resource tags

type

string

Resource type.

StorageInsightState

The state of the storage insight connection to the workspace

Name Type Description
ERROR

string

OK

string

StorageInsightStatus

The status of the storage insight.

Name Type Description
description

string

Description of the state of the storage insight.

state

StorageInsightState

The state of the storage insight connection to the workspace