operationalinsights

package
v11.2.1-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package operationalinsights implements the Azure ARM Operationalinsights service API version 2015-03-20.

Operational Insights Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Operationalinsights
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type CoreSummary

type CoreSummary struct {
	Status            *string `json:"Status,omitempty"`
	NumberOfDocuments *int64  `json:"NumberOfDocuments,omitempty"`
}

CoreSummary is the core summary of a search.

type LinkTarget

type LinkTarget struct {
	CustomerID    *string `json:"customerId,omitempty"`
	DisplayName   *string `json:"accountName,omitempty"`
	WorkspaceName *string `json:"workspaceName,omitempty"`
	Location      *string `json:"location,omitempty"`
}

LinkTarget is metadata for a workspace that isn't linked to an Azure subscription.

type ListLinkTarget

type ListLinkTarget struct {
	autorest.Response `json:"-"`
	Value             *[]LinkTarget `json:"value,omitempty"`
}

ListLinkTarget is

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

ManagementClient is the base client for Operationalinsights.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type ProxyResource

type ProxyResource struct {
	ID   *string             `json:"id,omitempty"`
	Name *string             `json:"name,omitempty"`
	Type *string             `json:"type,omitempty"`
	Tags *map[string]*string `json:"tags,omitempty"`
}

ProxyResource is common properties of proxy resource.

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the resource definition.

type SavedSearch

type SavedSearch struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	Etag                   *string `json:"etag,omitempty"`
	*SavedSearchProperties `json:"properties,omitempty"`
}

SavedSearch is value object for saved search results.

type SavedSearchProperties

type SavedSearchProperties struct {
	Category    *string `json:"Category,omitempty"`
	DisplayName *string `json:"DisplayName,omitempty"`
	Query       *string `json:"Query,omitempty"`
	Version     *int64  `json:"Version,omitempty"`
	Tags        *[]Tag  `json:"Tags,omitempty"`
}

SavedSearchProperties is value object for saved search results.

type SavedSearchesClient

type SavedSearchesClient struct {
	ManagementClient
}

SavedSearchesClient is the operational Insights Client

func NewSavedSearchesClient

func NewSavedSearchesClient(subscriptionID string) SavedSearchesClient

NewSavedSearchesClient creates an instance of the SavedSearchesClient client.

func NewSavedSearchesClientWithBaseURI

func NewSavedSearchesClientWithBaseURI(baseURI string, subscriptionID string) SavedSearchesClient

NewSavedSearchesClientWithBaseURI creates an instance of the SavedSearchesClient client.

func (SavedSearchesClient) CreateOrUpdate

func (client SavedSearchesClient) CreateOrUpdate(resourceGroupName string, workspaceName string, savedSearchName string, parameters SavedSearch) (result SavedSearch, err error)

CreateOrUpdate creates or updates a saved search for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name savedSearchName is the id of the saved search. parameters is the parameters required to save a search.

func (SavedSearchesClient) CreateOrUpdatePreparer

func (client SavedSearchesClient) CreateOrUpdatePreparer(resourceGroupName string, workspaceName string, savedSearchName string, parameters SavedSearch) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SavedSearchesClient) CreateOrUpdateResponder

func (client SavedSearchesClient) CreateOrUpdateResponder(resp *http.Response) (result SavedSearch, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SavedSearchesClient) CreateOrUpdateSender

func (client SavedSearchesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SavedSearchesClient) Delete

func (client SavedSearchesClient) Delete(resourceGroupName string, workspaceName string, savedSearchName string) (result autorest.Response, err error)

Delete deletes the specified saved search in a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name savedSearchName is name of the saved search.

func (SavedSearchesClient) DeletePreparer

func (client SavedSearchesClient) DeletePreparer(resourceGroupName string, workspaceName string, savedSearchName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SavedSearchesClient) DeleteResponder

func (client SavedSearchesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SavedSearchesClient) DeleteSender

func (client SavedSearchesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SavedSearchesClient) Get

func (client SavedSearchesClient) Get(resourceGroupName string, workspaceName string, savedSearchName string) (result SavedSearch, err error)

Get gets the specified saved search for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name savedSearchName is the id of the saved search.

func (SavedSearchesClient) GetPreparer

func (client SavedSearchesClient) GetPreparer(resourceGroupName string, workspaceName string, savedSearchName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SavedSearchesClient) GetResponder

func (client SavedSearchesClient) GetResponder(resp *http.Response) (result SavedSearch, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SavedSearchesClient) GetResults

func (client SavedSearchesClient) GetResults(resourceGroupName string, workspaceName string, savedSearchName string) (result SearchResultsResponse, err error)

GetResults gets the results from a saved search for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name savedSearchName is the name of the saved search.

func (SavedSearchesClient) GetResultsPreparer

func (client SavedSearchesClient) GetResultsPreparer(resourceGroupName string, workspaceName string, savedSearchName string) (*http.Request, error)

GetResultsPreparer prepares the GetResults request.

func (SavedSearchesClient) GetResultsResponder

func (client SavedSearchesClient) GetResultsResponder(resp *http.Response) (result SearchResultsResponse, err error)

GetResultsResponder handles the response to the GetResults request. The method always closes the http.Response Body.

func (SavedSearchesClient) GetResultsSender

func (client SavedSearchesClient) GetResultsSender(req *http.Request) (*http.Response, error)

GetResultsSender sends the GetResults request. The method will close the http.Response Body if it receives an error.

func (SavedSearchesClient) GetSender

func (client SavedSearchesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SavedSearchesClient) ListByWorkspace

func (client SavedSearchesClient) ListByWorkspace(resourceGroupName string, workspaceName string) (result SavedSearchesListResult, err error)

ListByWorkspace gets the saved searches for a given Log Analytics Workspace

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name

func (SavedSearchesClient) ListByWorkspacePreparer

func (client SavedSearchesClient) ListByWorkspacePreparer(resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (SavedSearchesClient) ListByWorkspaceResponder

func (client SavedSearchesClient) ListByWorkspaceResponder(resp *http.Response) (result SavedSearchesListResult, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (SavedSearchesClient) ListByWorkspaceSender

func (client SavedSearchesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

type SavedSearchesListResult

type SavedSearchesListResult struct {
	autorest.Response `json:"-"`
	Metadata          *SearchMetadata `json:"__metadata,omitempty"`
	Value             *[]SavedSearch  `json:"value,omitempty"`
}

SavedSearchesListResult is the saved search operation response.

type SearchError

type SearchError struct {
	Type    *string `json:"type,omitempty"`
	Message *string `json:"message,omitempty"`
}

SearchError is details for a search error.

type SearchGetSchemaResponse

type SearchGetSchemaResponse struct {
	autorest.Response `json:"-"`
	Metadata          *SearchMetadata      `json:"__metadata,omitempty"`
	Value             *[]SearchSchemaValue `json:"value,omitempty"`
}

SearchGetSchemaResponse is the get schema operation response.

type SearchHighlight

type SearchHighlight struct {
	Pre  *string `json:"pre,omitempty"`
	Post *string `json:"post,omitempty"`
}

SearchHighlight is highlight details.

type SearchMetadata

type SearchMetadata struct {
	SearchID                 *string               `json:"RequestId,omitempty"`
	ResultType               *string               `json:"resultType,omitempty"`
	Total                    *int64                `json:"total,omitempty"`
	Top                      *int64                `json:"top,omitempty"`
	ID                       *string               `json:"id,omitempty"`
	CoreSummaries            *[]CoreSummary        `json:"CoreSummaries,omitempty"`
	Status                   *string               `json:"Status,omitempty"`
	StartTime                *date.Time            `json:"StartTime,omitempty"`
	LastUpdated              *date.Time            `json:"LastUpdated,omitempty"`
	ETag                     *string               `json:"ETag,omitempty"`
	Sort                     *[]SearchSort         `json:"sort,omitempty"`
	RequestTime              *int64                `json:"requestTime,omitempty"`
	AggregatedValueField     *string               `json:"aggregatedValueField,omitempty"`
	AggregatedGroupingFields *string               `json:"aggregatedGroupingFields,omitempty"`
	Sum                      *int64                `json:"sum,omitempty"`
	Max                      *int64                `json:"max,omitempty"`
	Schema                   *SearchMetadataSchema `json:"schema,omitempty"`
}

SearchMetadata is metadata for search results.

type SearchMetadataSchema

type SearchMetadataSchema struct {
	Name    *string `json:"name,omitempty"`
	Version *int32  `json:"version,omitempty"`
}

SearchMetadataSchema is schema metadata for search.

type SearchParameters

type SearchParameters struct {
	Top       *int64           `json:"top,omitempty"`
	Highlight *SearchHighlight `json:"highlight,omitempty"`
	Query     *string          `json:"query,omitempty"`
	Start     *date.Time       `json:"start,omitempty"`
	End       *date.Time       `json:"end,omitempty"`
}

SearchParameters is parameters specifying the search query and range.

type SearchResultsResponse

type SearchResultsResponse struct {
	autorest.Response `json:"-"`
	ID                *string                   `json:"id,omitempty"`
	Metadata          *SearchMetadata           `json:"__metadata,omitempty"`
	Value             *[]map[string]interface{} `json:"value,omitempty"`
	Error             *SearchError              `json:"error,omitempty"`
}

SearchResultsResponse is the get search result operation response.

type SearchSchemaValue

type SearchSchemaValue struct {
	Name        *string   `json:"name,omitempty"`
	DisplayName *string   `json:"displayName,omitempty"`
	Type        *string   `json:"type,omitempty"`
	Indexed     *bool     `json:"indexed,omitempty"`
	Stored      *bool     `json:"stored,omitempty"`
	Facet       *bool     `json:"facet,omitempty"`
	OwnerType   *[]string `json:"ownerType,omitempty"`
}

SearchSchemaValue is value object for schema results.

type SearchSort

type SearchSort struct {
	Name  *string        `json:"name,omitempty"`
	Order SearchSortEnum `json:"order,omitempty"`
}

SearchSort is the sort parameters for search.

type SearchSortEnum

type SearchSortEnum string

SearchSortEnum enumerates the values for search sort enum.

const (
	// Asc specifies the asc state for search sort enum.
	Asc SearchSortEnum = "asc"
	// Desc specifies the desc state for search sort enum.
	Desc SearchSortEnum = "desc"
)

type StorageAccount

type StorageAccount struct {
	ID  *string `json:"id,omitempty"`
	Key *string `json:"key,omitempty"`
}

StorageAccount is describes a storage account connection.

type StorageInsight

type StorageInsight struct {
	autorest.Response         `json:"-"`
	ID                        *string             `json:"id,omitempty"`
	Name                      *string             `json:"name,omitempty"`
	Type                      *string             `json:"type,omitempty"`
	Tags                      *map[string]*string `json:"tags,omitempty"`
	*StorageInsightProperties `json:"properties,omitempty"`
	ETag                      *string `json:"eTag,omitempty"`
}

StorageInsight is the top level storage insight resource container.

type StorageInsightListResult

type StorageInsightListResult struct {
	autorest.Response `json:"-"`
	Value             *[]StorageInsight `json:"value,omitempty"`
	OdataNextLink     *string           `json:"@odata.nextLink,omitempty"`
}

StorageInsightListResult is the list storage insights operation response.

func (StorageInsightListResult) StorageInsightListResultPreparer

func (client StorageInsightListResult) StorageInsightListResultPreparer() (*http.Request, error)

StorageInsightListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type StorageInsightProperties

type StorageInsightProperties struct {
	Containers     *[]string             `json:"containers,omitempty"`
	Tables         *[]string             `json:"tables,omitempty"`
	StorageAccount *StorageAccount       `json:"storageAccount,omitempty"`
	Status         *StorageInsightStatus `json:"status,omitempty"`
}

StorageInsightProperties is storage insight properties.

type StorageInsightState

type StorageInsightState string

StorageInsightState enumerates the values for storage insight state.

const (
	// ERROR specifies the error state for storage insight state.
	ERROR StorageInsightState = "ERROR"
	// OK specifies the ok state for storage insight state.
	OK StorageInsightState = "OK"
)

type StorageInsightStatus

type StorageInsightStatus struct {
	State       StorageInsightState `json:"state,omitempty"`
	Description *string             `json:"description,omitempty"`
}

StorageInsightStatus is the status of the storage insight.

type StorageInsightsClient

type StorageInsightsClient struct {
	ManagementClient
}

StorageInsightsClient is the operational Insights Client

func NewStorageInsightsClient

func NewStorageInsightsClient(subscriptionID string) StorageInsightsClient

NewStorageInsightsClient creates an instance of the StorageInsightsClient client.

func NewStorageInsightsClientWithBaseURI

func NewStorageInsightsClientWithBaseURI(baseURI string, subscriptionID string) StorageInsightsClient

NewStorageInsightsClientWithBaseURI creates an instance of the StorageInsightsClient client.

func (StorageInsightsClient) CreateOrUpdate

func (client StorageInsightsClient) CreateOrUpdate(resourceGroupName string, workspaceName string, storageInsightName string, parameters StorageInsight) (result StorageInsight, err error)

CreateOrUpdate create or update a storage insight.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics Workspace name that will contain the storageInsightsConfigs resource storageInsightName is name of the storageInsightsConfigs resource parameters is the parameters required to create or update a storage insight.

func (StorageInsightsClient) CreateOrUpdatePreparer

func (client StorageInsightsClient) CreateOrUpdatePreparer(resourceGroupName string, workspaceName string, storageInsightName string, parameters StorageInsight) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (StorageInsightsClient) CreateOrUpdateResponder

func (client StorageInsightsClient) CreateOrUpdateResponder(resp *http.Response) (result StorageInsight, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (StorageInsightsClient) CreateOrUpdateSender

func (client StorageInsightsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (StorageInsightsClient) Delete

func (client StorageInsightsClient) Delete(resourceGroupName string, workspaceName string, storageInsightName string) (result autorest.Response, err error)

Delete deletes a storageInsightsConfigs resource

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics Workspace name that contains the storageInsightsConfigs resource storageInsightName is name of the storageInsightsConfigs resource

func (StorageInsightsClient) DeletePreparer

func (client StorageInsightsClient) DeletePreparer(resourceGroupName string, workspaceName string, storageInsightName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StorageInsightsClient) DeleteResponder

func (client StorageInsightsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (StorageInsightsClient) DeleteSender

func (client StorageInsightsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (StorageInsightsClient) Get

func (client StorageInsightsClient) Get(resourceGroupName string, workspaceName string, storageInsightName string) (result StorageInsight, err error)

Get gets a storage insight instance.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics Workspace name that contains the storageInsightsConfigs resource storageInsightName is name of the storageInsightsConfigs resource

func (StorageInsightsClient) GetPreparer

func (client StorageInsightsClient) GetPreparer(resourceGroupName string, workspaceName string, storageInsightName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StorageInsightsClient) GetResponder

func (client StorageInsightsClient) GetResponder(resp *http.Response) (result StorageInsight, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (StorageInsightsClient) GetSender

func (client StorageInsightsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (StorageInsightsClient) ListByWorkspace

func (client StorageInsightsClient) ListByWorkspace(resourceGroupName string, workspaceName string) (result StorageInsightListResult, err error)

ListByWorkspace lists the storage insight instances within a workspace

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics Workspace name that will contain the storageInsightsConfigs resource

func (StorageInsightsClient) ListByWorkspaceComplete

func (client StorageInsightsClient) ListByWorkspaceComplete(resourceGroupName string, workspaceName string, cancel <-chan struct{}) (<-chan StorageInsight, <-chan error)

ListByWorkspaceComplete gets all elements from the list without paging.

func (StorageInsightsClient) ListByWorkspaceNextResults

func (client StorageInsightsClient) ListByWorkspaceNextResults(lastResults StorageInsightListResult) (result StorageInsightListResult, err error)

ListByWorkspaceNextResults retrieves the next set of results, if any.

func (StorageInsightsClient) ListByWorkspacePreparer

func (client StorageInsightsClient) ListByWorkspacePreparer(resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (StorageInsightsClient) ListByWorkspaceResponder

func (client StorageInsightsClient) ListByWorkspaceResponder(resp *http.Response) (result StorageInsightListResult, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (StorageInsightsClient) ListByWorkspaceSender

func (client StorageInsightsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

type Tag

type Tag struct {
	Name  *string `json:"Name,omitempty"`
	Value *string `json:"Value,omitempty"`
}

Tag is a tag of a saved search.

type WorkspacesClient

type WorkspacesClient struct {
	ManagementClient
}

WorkspacesClient is the operational Insights Client

func NewWorkspacesClient

func NewWorkspacesClient(subscriptionID string) WorkspacesClient

NewWorkspacesClient creates an instance of the WorkspacesClient client.

func NewWorkspacesClientWithBaseURI

func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient

NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client.

func (WorkspacesClient) GetSchema

func (client WorkspacesClient) GetSchema(resourceGroupName string, workspaceName string) (result SearchGetSchemaResponse, err error)

GetSchema gets the schema for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name

func (WorkspacesClient) GetSchemaPreparer

func (client WorkspacesClient) GetSchemaPreparer(resourceGroupName string, workspaceName string) (*http.Request, error)

GetSchemaPreparer prepares the GetSchema request.

func (WorkspacesClient) GetSchemaResponder

func (client WorkspacesClient) GetSchemaResponder(resp *http.Response) (result SearchGetSchemaResponse, err error)

GetSchemaResponder handles the response to the GetSchema request. The method always closes the http.Response Body.

func (WorkspacesClient) GetSchemaSender

func (client WorkspacesClient) GetSchemaSender(req *http.Request) (*http.Response, error)

GetSchemaSender sends the GetSchema request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) GetSearchResults

func (client WorkspacesClient) GetSearchResults(resourceGroupName string, workspaceName string, parameters SearchParameters, cancel <-chan struct{}) (<-chan SearchResultsResponse, <-chan error)

GetSearchResults submit a search for a given workspace. The response will contain an id to track the search. User can use the id to poll the search status and get the full search result later if the search takes long time to finish. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name parameters is the parameters required to execute a search query.

func (WorkspacesClient) GetSearchResultsPreparer

func (client WorkspacesClient) GetSearchResultsPreparer(resourceGroupName string, workspaceName string, parameters SearchParameters, cancel <-chan struct{}) (*http.Request, error)

GetSearchResultsPreparer prepares the GetSearchResults request.

func (WorkspacesClient) GetSearchResultsResponder

func (client WorkspacesClient) GetSearchResultsResponder(resp *http.Response) (result SearchResultsResponse, err error)

GetSearchResultsResponder handles the response to the GetSearchResults request. The method always closes the http.Response Body.

func (WorkspacesClient) GetSearchResultsSender

func (client WorkspacesClient) GetSearchResultsSender(req *http.Request) (*http.Response, error)

GetSearchResultsSender sends the GetSearchResults request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) ListLinkTargets

func (client WorkspacesClient) ListLinkTargets() (result ListLinkTarget, err error)

ListLinkTargets get a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored.

func (WorkspacesClient) ListLinkTargetsPreparer

func (client WorkspacesClient) ListLinkTargetsPreparer() (*http.Request, error)

ListLinkTargetsPreparer prepares the ListLinkTargets request.

func (WorkspacesClient) ListLinkTargetsResponder

func (client WorkspacesClient) ListLinkTargetsResponder(resp *http.Response) (result ListLinkTarget, err error)

ListLinkTargetsResponder handles the response to the ListLinkTargets request. The method always closes the http.Response Body.

func (WorkspacesClient) ListLinkTargetsSender

func (client WorkspacesClient) ListLinkTargetsSender(req *http.Request) (*http.Response, error)

ListLinkTargetsSender sends the ListLinkTargets request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) UpdateSearchResults

func (client WorkspacesClient) UpdateSearchResults(resourceGroupName string, workspaceName string, ID string) (result SearchResultsResponse, err error)

UpdateSearchResults gets updated search results for a given search query.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is log Analytics workspace name ID is the id of the search that will have results updated. You can get the id from the response of the GetResults call.

func (WorkspacesClient) UpdateSearchResultsPreparer

func (client WorkspacesClient) UpdateSearchResultsPreparer(resourceGroupName string, workspaceName string, ID string) (*http.Request, error)

UpdateSearchResultsPreparer prepares the UpdateSearchResults request.

func (WorkspacesClient) UpdateSearchResultsResponder

func (client WorkspacesClient) UpdateSearchResultsResponder(resp *http.Response) (result SearchResultsResponse, err error)

UpdateSearchResultsResponder handles the response to the UpdateSearchResults request. The method always closes the http.Response Body.

func (WorkspacesClient) UpdateSearchResultsSender

func (client WorkspacesClient) UpdateSearchResultsSender(req *http.Request) (*http.Response, error)

UpdateSearchResultsSender sends the UpdateSearchResults request. The method will close the http.Response Body if it receives an error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL