Storage Insights - List By Workspace

Lists the storage insight instances within a workspace

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

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The Resource Group name.

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

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

StorageInsightListResult

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

StorageInsightsList

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/aztest5048/storageInsightConfigs?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"
      },
      "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.

StorageInsightListResult

The list storage insights operation response.

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.

StorageInsightListResult

The list storage insights operation response.

Name Type Description
@odata.nextLink

string

The link (url) to the next page of results.

value

StorageInsight[]

A list of storage insight items.

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