operationalinsights

package
v10.0.1-beta+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package operationalinsights implements the Azure ARM Operationalinsights service API version 2015-11-01-preview.

Azure Log Analytics API reference

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 DataSource

type DataSource 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"`
	Properties        *map[string]interface{} `json:"properties,omitempty"`
	ETag              *string                 `json:"eTag,omitempty"`
	Kind              DataSourceKind          `json:"kind,omitempty"`
}

DataSource is datasources under OMS Workspace.

type DataSourceFilter

type DataSourceFilter struct {
	Kind DataSourceKind `json:"kind,omitempty"`
}

DataSourceFilter is dataSource filter. Right now, only filter by kind is supported.

type DataSourceKind

type DataSourceKind string

DataSourceKind enumerates the values for data source kind.

const (
	// AzureActivityLog specifies the azure activity log state for data source
	// kind.
	AzureActivityLog DataSourceKind = "AzureActivityLog"
	// ChangeTrackingCustomRegistry specifies the change tracking custom
	// registry state for data source kind.
	ChangeTrackingCustomRegistry DataSourceKind = "ChangeTrackingCustomRegistry"
	// ChangeTrackingDefaultPath specifies the change tracking default path
	// state for data source kind.
	ChangeTrackingDefaultPath DataSourceKind = "ChangeTrackingDefaultPath"
	// ChangeTrackingDefaultRegistry specifies the change tracking default
	// registry state for data source kind.
	ChangeTrackingDefaultRegistry DataSourceKind = "ChangeTrackingDefaultRegistry"
	// ChangeTrackingPath specifies the change tracking path state for data
	// source kind.
	ChangeTrackingPath DataSourceKind = "ChangeTrackingPath"
	// CustomLog specifies the custom log state for data source kind.
	CustomLog DataSourceKind = "CustomLog"
	// CustomLogCollection specifies the custom log collection state for data
	// source kind.
	CustomLogCollection DataSourceKind = "CustomLogCollection"
	// GenericDataSource specifies the generic data source state for data
	// source kind.
	GenericDataSource DataSourceKind = "GenericDataSource"
	// IISLogs specifies the iis logs state for data source kind.
	IISLogs DataSourceKind = "IISLogs"
	// LinuxPerformanceCollection specifies the linux performance collection
	// state for data source kind.
	LinuxPerformanceCollection DataSourceKind = "LinuxPerformanceCollection"
	// LinuxPerformanceObject specifies the linux performance object state for
	// data source kind.
	LinuxPerformanceObject DataSourceKind = "LinuxPerformanceObject"
	// LinuxSyslog specifies the linux syslog state for data source kind.
	LinuxSyslog DataSourceKind = "LinuxSyslog"
	// LinuxSyslogCollection specifies the linux syslog collection state for
	// data source kind.
	LinuxSyslogCollection DataSourceKind = "LinuxSyslogCollection"
	// WindowsEvent specifies the windows event state for data source kind.
	WindowsEvent DataSourceKind = "WindowsEvent"
	// WindowsPerformanceCounter specifies the windows performance counter
	// state for data source kind.
	WindowsPerformanceCounter DataSourceKind = "WindowsPerformanceCounter"
)

type DataSourceListResult

type DataSourceListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DataSource `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

DataSourceListResult is the list data source by workspace operation response.

func (DataSourceListResult) DataSourceListResultPreparer

func (client DataSourceListResult) DataSourceListResultPreparer() (*http.Request, error)

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

type DataSourcesClient

type DataSourcesClient struct {
	ManagementClient
}

DataSourcesClient is the azure Log Analytics API reference

func NewDataSourcesClient

func NewDataSourcesClient(subscriptionID string) DataSourcesClient

NewDataSourcesClient creates an instance of the DataSourcesClient client.

func NewDataSourcesClientWithBaseURI

func NewDataSourcesClientWithBaseURI(baseURI string, subscriptionID string) DataSourcesClient

NewDataSourcesClientWithBaseURI creates an instance of the DataSourcesClient client.

func (DataSourcesClient) CreateOrUpdate

func (client DataSourcesClient) CreateOrUpdate(resourceGroupName string, workspaceName string, dataSourceName string, parameters DataSource) (result DataSource, err error)

CreateOrUpdate create or update a data source.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that will contain the datasource dataSourceName is the name of the datasource resource. parameters is the parameters required to create or update a datasource.

func (DataSourcesClient) CreateOrUpdatePreparer

func (client DataSourcesClient) CreateOrUpdatePreparer(resourceGroupName string, workspaceName string, dataSourceName string, parameters DataSource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DataSourcesClient) CreateOrUpdateResponder

func (client DataSourcesClient) CreateOrUpdateResponder(resp *http.Response) (result DataSource, err error)

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

func (DataSourcesClient) CreateOrUpdateSender

func (client DataSourcesClient) 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 (DataSourcesClient) Delete

func (client DataSourcesClient) Delete(resourceGroupName string, workspaceName string, dataSourceName string) (result autorest.Response, err error)

Delete deletes a data source instance.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that contains the datasource. dataSourceName is name of the datasource.

func (DataSourcesClient) DeletePreparer

func (client DataSourcesClient) DeletePreparer(resourceGroupName string, workspaceName string, dataSourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataSourcesClient) DeleteResponder

func (client DataSourcesClient) 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 (DataSourcesClient) DeleteSender

func (client DataSourcesClient) 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 (DataSourcesClient) Get

func (client DataSourcesClient) Get(resourceGroupName string, workspaceName string, dataSourceName string) (result DataSource, err error)

Get gets a datasource instance.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that contains the datasource. dataSourceName is name of the datasource

func (DataSourcesClient) GetPreparer

func (client DataSourcesClient) GetPreparer(resourceGroupName string, workspaceName string, dataSourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataSourcesClient) GetResponder

func (client DataSourcesClient) GetResponder(resp *http.Response) (result DataSource, err error)

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

func (DataSourcesClient) GetSender

func (client DataSourcesClient) 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 (DataSourcesClient) ListByWorkspace

func (client DataSourcesClient) ListByWorkspace(resourceGroupName string, workspaceName string, filter string, skiptoken string) (result DataSourceListResult, err error)

ListByWorkspace gets the first page of data source instances in a workspace with the link to the next page.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is the workspace that contains the data sources. filter is the filter to apply on the operation. skiptoken is starting point of the collection of data source instances.

func (DataSourcesClient) ListByWorkspaceNextResults

func (client DataSourcesClient) ListByWorkspaceNextResults(lastResults DataSourceListResult) (result DataSourceListResult, err error)

ListByWorkspaceNextResults retrieves the next set of results, if any.

func (DataSourcesClient) ListByWorkspacePreparer

func (client DataSourcesClient) ListByWorkspacePreparer(resourceGroupName string, workspaceName string, filter string, skiptoken string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (DataSourcesClient) ListByWorkspaceResponder

func (client DataSourcesClient) ListByWorkspaceResponder(resp *http.Response) (result DataSourceListResult, err error)

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

func (DataSourcesClient) ListByWorkspaceSender

func (client DataSourcesClient) 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 EntityStatus

type EntityStatus string

EntityStatus enumerates the values for entity status.

const (
	// Canceled specifies the canceled state for entity status.
	Canceled EntityStatus = "Canceled"
	// Creating specifies the creating state for entity status.
	Creating EntityStatus = "Creating"
	// Deleting specifies the deleting state for entity status.
	Deleting EntityStatus = "Deleting"
	// Failed specifies the failed state for entity status.
	Failed EntityStatus = "Failed"
	// ProvisioningAccount specifies the provisioning account state for entity
	// status.
	ProvisioningAccount EntityStatus = "ProvisioningAccount"
	// Succeeded specifies the succeeded state for entity status.
	Succeeded EntityStatus = "Succeeded"
)

type IntelligencePack

type IntelligencePack struct {
	Name    *string `json:"name,omitempty"`
	Enabled *bool   `json:"enabled,omitempty"`
}

IntelligencePack is intelligence Pack containing a string name and boolean indicating if it's enabled.

type LinkedService

type LinkedService 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"`
	*LinkedServiceProperties `json:"properties,omitempty"`
}

LinkedService is the top level Linked service resource container.

type LinkedServiceListResult

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

LinkedServiceListResult is the list linked service operation response.

type LinkedServiceProperties

type LinkedServiceProperties struct {
	ResourceID *string `json:"resourceId,omitempty"`
}

LinkedServiceProperties is linked service properties.

type LinkedServicesClient

type LinkedServicesClient struct {
	ManagementClient
}

LinkedServicesClient is the azure Log Analytics API reference

func NewLinkedServicesClient

func NewLinkedServicesClient(subscriptionID string) LinkedServicesClient

NewLinkedServicesClient creates an instance of the LinkedServicesClient client.

func NewLinkedServicesClientWithBaseURI

func NewLinkedServicesClientWithBaseURI(baseURI string, subscriptionID string) LinkedServicesClient

NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client.

func (LinkedServicesClient) CreateOrUpdate

func (client LinkedServicesClient) CreateOrUpdate(resourceGroupName string, workspaceName string, linkedServiceName string, parameters LinkedService) (result LinkedService, err error)

CreateOrUpdate create or update a linked service.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that will contain the linkedServices resource linkedServiceName is name of the linkedServices resource parameters is the parameters required to create or update a linked service.

func (LinkedServicesClient) CreateOrUpdatePreparer

func (client LinkedServicesClient) CreateOrUpdatePreparer(resourceGroupName string, workspaceName string, linkedServiceName string, parameters LinkedService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LinkedServicesClient) CreateOrUpdateResponder

func (client LinkedServicesClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedService, err error)

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

func (LinkedServicesClient) CreateOrUpdateSender

func (client LinkedServicesClient) 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 (LinkedServicesClient) Delete

func (client LinkedServicesClient) Delete(resourceGroupName string, workspaceName string, linkedServiceName string) (result autorest.Response, err error)

Delete deletes a linked service instance.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that contains the linkedServices resource linkedServiceName is name of the linked service.

func (LinkedServicesClient) DeletePreparer

func (client LinkedServicesClient) DeletePreparer(resourceGroupName string, workspaceName string, linkedServiceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LinkedServicesClient) DeleteResponder

func (client LinkedServicesClient) 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 (LinkedServicesClient) DeleteSender

func (client LinkedServicesClient) 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 (LinkedServicesClient) Get

func (client LinkedServicesClient) Get(resourceGroupName string, workspaceName string, linkedServiceName string) (result LinkedService, err error)

Get gets a linked service instance.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that contains the linkedServices resource linkedServiceName is name of the linked service.

func (LinkedServicesClient) GetPreparer

func (client LinkedServicesClient) GetPreparer(resourceGroupName string, workspaceName string, linkedServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LinkedServicesClient) GetResponder

func (client LinkedServicesClient) GetResponder(resp *http.Response) (result LinkedService, err error)

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

func (LinkedServicesClient) GetSender

func (client LinkedServicesClient) 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 (LinkedServicesClient) ListByWorkspace

func (client LinkedServicesClient) ListByWorkspace(resourceGroupName string, workspaceName string) (result LinkedServiceListResult, err error)

ListByWorkspace gets the linked services instances in a workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace that contains the linked services.

func (LinkedServicesClient) ListByWorkspacePreparer

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

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (LinkedServicesClient) ListByWorkspaceResponder

func (client LinkedServicesClient) ListByWorkspaceResponder(resp *http.Response) (result LinkedServiceListResult, err error)

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

func (LinkedServicesClient) ListByWorkspaceSender

func (client LinkedServicesClient) 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 ListIntelligencePack

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

ListIntelligencePack 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 ManagementGroup

type ManagementGroup struct {
	*ManagementGroupProperties `json:"properties,omitempty"`
}

ManagementGroup is a management group that is connected to a workspace

type ManagementGroupProperties

type ManagementGroupProperties struct {
	ServerCount  *int32     `json:"serverCount,omitempty"`
	IsGateway    *bool      `json:"isGateway,omitempty"`
	Name         *string    `json:"name,omitempty"`
	ID           *string    `json:"id,omitempty"`
	Created      *date.Time `json:"created,omitempty"`
	DataReceived *date.Time `json:"dataReceived,omitempty"`
	Version      *string    `json:"version,omitempty"`
	Sku          *string    `json:"sku,omitempty"`
}

ManagementGroupProperties is management group properties.

type MetricName

type MetricName struct {
	Value          *string `json:"value,omitempty"`
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

MetricName is the name of a metric.

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 SharedKeys

type SharedKeys struct {
	autorest.Response  `json:"-"`
	PrimarySharedKey   *string `json:"primarySharedKey,omitempty"`
	SecondarySharedKey *string `json:"secondarySharedKey,omitempty"`
}

SharedKeys is the shared keys for a workspace.

type Sku

type Sku struct {
	Name SkuNameEnum `json:"name,omitempty"`
}

Sku is the SKU (tier) of a workspace.

type SkuNameEnum

type SkuNameEnum string

SkuNameEnum enumerates the values for sku name enum.

const (
	// Free specifies the free state for sku name enum.
	Free SkuNameEnum = "Free"
	// PerNode specifies the per node state for sku name enum.
	PerNode SkuNameEnum = "PerNode"
	// Premium specifies the premium state for sku name enum.
	Premium SkuNameEnum = "Premium"
	// Standalone specifies the standalone state for sku name enum.
	Standalone SkuNameEnum = "Standalone"
	// Standard specifies the standard state for sku name enum.
	Standard SkuNameEnum = "Standard"
	// Unlimited specifies the unlimited state for sku name enum.
	Unlimited SkuNameEnum = "Unlimited"
)

type UsageMetric

type UsageMetric struct {
	Name          *MetricName `json:"name,omitempty"`
	Unit          *string     `json:"unit,omitempty"`
	CurrentValue  *float64    `json:"currentValue,omitempty"`
	Limit         *float64    `json:"limit,omitempty"`
	NextResetTime *date.Time  `json:"nextResetTime,omitempty"`
	QuotaPeriod   *string     `json:"quotaPeriod,omitempty"`
}

UsageMetric is a metric describing the usage of a resource.

type Workspace

type Workspace struct {
	autorest.Response    `json:"-"`
	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"`
	*WorkspaceProperties `json:"properties,omitempty"`
	ETag                 *string `json:"eTag,omitempty"`
}

Workspace is the top level Workspace resource container.

type WorkspaceListManagementGroupsResult

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

WorkspaceListManagementGroupsResult is the list workspace managmement groups operation response.

type WorkspaceListResult

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

WorkspaceListResult is the list workspaces operation response.

type WorkspaceListUsagesResult

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

WorkspaceListUsagesResult is the list workspace usages operation response.

type WorkspaceProperties

type WorkspaceProperties struct {
	ProvisioningState EntityStatus `json:"provisioningState,omitempty"`
	Source            *string      `json:"source,omitempty"`
	CustomerID        *string      `json:"customerId,omitempty"`
	PortalURL         *string      `json:"portalUrl,omitempty"`
	Sku               *Sku         `json:"sku,omitempty"`
	RetentionInDays   *int32       `json:"retentionInDays,omitempty"`
}

WorkspaceProperties is workspace properties.

type WorkspacesClient

type WorkspacesClient struct {
	ManagementClient
}

WorkspacesClient is the azure Log Analytics API reference

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) CreateOrUpdate

func (client WorkspacesClient) CreateOrUpdate(resourceGroupName string, workspaceName string, parameters Workspace, cancel <-chan struct{}) (<-chan Workspace, <-chan error)

CreateOrUpdate create or update a workspace. 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 resource group name of the workspace. workspaceName is the name of the workspace. parameters is the parameters required to create or update a workspace.

func (WorkspacesClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspacesClient) CreateOrUpdateResponder

func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)

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

func (WorkspacesClient) CreateOrUpdateSender

func (client WorkspacesClient) 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 (WorkspacesClient) Delete

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

Delete deletes a workspace instance.

resourceGroupName is the resource group name of the workspace. workspaceName is name of the Log Analytics Workspace.

func (WorkspacesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (WorkspacesClient) DeleteResponder

func (client WorkspacesClient) 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 (WorkspacesClient) DeleteSender

func (client WorkspacesClient) 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 (WorkspacesClient) DisableIntelligencePack

func (client WorkspacesClient) DisableIntelligencePack(resourceGroupName string, workspaceName string, intelligencePackName string) (result autorest.Response, err error)

DisableIntelligencePack disables an intelligence pack for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace. intelligencePackName is the name of the intelligence pack to be disabled.

func (WorkspacesClient) DisableIntelligencePackPreparer

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

DisableIntelligencePackPreparer prepares the DisableIntelligencePack request.

func (WorkspacesClient) DisableIntelligencePackResponder

func (client WorkspacesClient) DisableIntelligencePackResponder(resp *http.Response) (result autorest.Response, err error)

DisableIntelligencePackResponder handles the response to the DisableIntelligencePack request. The method always closes the http.Response Body.

func (WorkspacesClient) DisableIntelligencePackSender

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

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

func (WorkspacesClient) EnableIntelligencePack

func (client WorkspacesClient) EnableIntelligencePack(resourceGroupName string, workspaceName string, intelligencePackName string) (result autorest.Response, err error)

EnableIntelligencePack enables an intelligence pack for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace. intelligencePackName is the name of the intelligence pack to be enabled.

func (WorkspacesClient) EnableIntelligencePackPreparer

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

EnableIntelligencePackPreparer prepares the EnableIntelligencePack request.

func (WorkspacesClient) EnableIntelligencePackResponder

func (client WorkspacesClient) EnableIntelligencePackResponder(resp *http.Response) (result autorest.Response, err error)

EnableIntelligencePackResponder handles the response to the EnableIntelligencePack request. The method always closes the http.Response Body.

func (WorkspacesClient) EnableIntelligencePackSender

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

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

func (WorkspacesClient) Get

func (client WorkspacesClient) Get(resourceGroupName string, workspaceName string) (result Workspace, err error)

Get gets a workspace instance.

resourceGroupName is the resource group name of the workspace. workspaceName is name of the Log Analytics Workspace.

func (WorkspacesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (WorkspacesClient) GetResponder

func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)

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

func (WorkspacesClient) GetSender

func (client WorkspacesClient) 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 (WorkspacesClient) GetSharedKeys

func (client WorkspacesClient) GetSharedKeys(resourceGroupName string, workspaceName string) (result SharedKeys, err error)

GetSharedKeys gets the shared keys for a workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace.

func (WorkspacesClient) GetSharedKeysPreparer

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

GetSharedKeysPreparer prepares the GetSharedKeys request.

func (WorkspacesClient) GetSharedKeysResponder

func (client WorkspacesClient) GetSharedKeysResponder(resp *http.Response) (result SharedKeys, err error)

GetSharedKeysResponder handles the response to the GetSharedKeys request. The method always closes the http.Response Body.

func (WorkspacesClient) GetSharedKeysSender

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

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

func (WorkspacesClient) List

func (client WorkspacesClient) List() (result WorkspaceListResult, err error)

List gets the workspaces in a subscription.

func (WorkspacesClient) ListByResourceGroup

func (client WorkspacesClient) ListByResourceGroup(resourceGroupName string) (result WorkspaceListResult, err error)

ListByResourceGroup gets workspaces in a resource group.

resourceGroupName is the name of the resource group to get. The name is case insensitive.

func (WorkspacesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkspacesClient) ListByResourceGroupResponder

func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (WorkspacesClient) ListByResourceGroupSender

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

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

func (WorkspacesClient) ListIntelligencePacks

func (client WorkspacesClient) ListIntelligencePacks(resourceGroupName string, workspaceName string) (result ListIntelligencePack, err error)

ListIntelligencePacks lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.

resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name of the Log Analytics Workspace.

func (WorkspacesClient) ListIntelligencePacksPreparer

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

ListIntelligencePacksPreparer prepares the ListIntelligencePacks request.

func (WorkspacesClient) ListIntelligencePacksResponder

func (client WorkspacesClient) ListIntelligencePacksResponder(resp *http.Response) (result ListIntelligencePack, err error)

ListIntelligencePacksResponder handles the response to the ListIntelligencePacks request. The method always closes the http.Response Body.

func (WorkspacesClient) ListIntelligencePacksSender

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

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

func (WorkspacesClient) ListManagementGroups

func (client WorkspacesClient) ListManagementGroups(resourceGroupName string, workspaceName string) (result WorkspaceListManagementGroupsResult, err error)

ListManagementGroups gets a list of management groups connected to a workspace.

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

func (WorkspacesClient) ListManagementGroupsPreparer

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

ListManagementGroupsPreparer prepares the ListManagementGroups request.

func (WorkspacesClient) ListManagementGroupsResponder

func (client WorkspacesClient) ListManagementGroupsResponder(resp *http.Response) (result WorkspaceListManagementGroupsResult, err error)

ListManagementGroupsResponder handles the response to the ListManagementGroups request. The method always closes the http.Response Body.

func (WorkspacesClient) ListManagementGroupsSender

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

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

func (WorkspacesClient) ListPreparer

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

ListPreparer prepares the List request.

func (WorkspacesClient) ListResponder

func (client WorkspacesClient) ListResponder(resp *http.Response) (result WorkspaceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkspacesClient) ListSender

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

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

func (WorkspacesClient) ListUsages

func (client WorkspacesClient) ListUsages(resourceGroupName string, workspaceName string) (result WorkspaceListUsagesResult, err error)

ListUsages gets a list of usage metrics for a workspace.

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

func (WorkspacesClient) ListUsagesPreparer

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

ListUsagesPreparer prepares the ListUsages request.

func (WorkspacesClient) ListUsagesResponder

func (client WorkspacesClient) ListUsagesResponder(resp *http.Response) (result WorkspaceListUsagesResult, err error)

ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.

func (WorkspacesClient) ListUsagesSender

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

ListUsagesSender sends the ListUsages 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