SavedSearchesOperations interface

Interface representing a SavedSearches operations.

Properties

createOrUpdate

Creates or updates a saved search for a given workspace.

delete

Deletes the specified saved search in a given workspace.

get

Gets the specified saved search for a given workspace.

listByWorkspace

Gets the saved searches for a given Log Analytics Workspace

Property Details

createOrUpdate

Creates or updates a saved search for a given workspace.

createOrUpdate: (resourceGroupName: string, workspaceName: string, savedSearchId: string, parameters: SavedSearch, options?: SavedSearchesCreateOrUpdateOptionalParams) => Promise<SavedSearch>

Property Value

(resourceGroupName: string, workspaceName: string, savedSearchId: string, parameters: SavedSearch, options?: SavedSearchesCreateOrUpdateOptionalParams) => Promise<SavedSearch>

delete

Deletes the specified saved search in a given workspace.

delete: (resourceGroupName: string, workspaceName: string, savedSearchId: string, options?: SavedSearchesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, workspaceName: string, savedSearchId: string, options?: SavedSearchesDeleteOptionalParams) => Promise<void>

get

Gets the specified saved search for a given workspace.

get: (resourceGroupName: string, workspaceName: string, savedSearchId: string, options?: SavedSearchesGetOptionalParams) => Promise<SavedSearch>

Property Value

(resourceGroupName: string, workspaceName: string, savedSearchId: string, options?: SavedSearchesGetOptionalParams) => Promise<SavedSearch>

listByWorkspace

Gets the saved searches for a given Log Analytics Workspace

listByWorkspace: (resourceGroupName: string, workspaceName: string, options?: SavedSearchesListByWorkspaceOptionalParams) => Promise<SavedSearchesListResult>

Property Value

(resourceGroupName: string, workspaceName: string, options?: SavedSearchesListByWorkspaceOptionalParams) => Promise<SavedSearchesListResult>