azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights Index | Files | Directories

package operationalinsights

import "github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights"

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

Operational Insights Client

Index

Package Files

client.go datasources.go linkedservices.go models.go operations.go version.go workspaces.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

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

BaseClient is the base client for Operationalinsights.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type DataSource Uses

type DataSource struct {
    autorest.Response `json:"-"`
    // Properties - The data source properties in raw json format, each kind of data source have it's own schema.
    Properties interface{} `json:"properties,omitempty"`
    // ETag - The ETag of the data source.
    ETag *string `json:"eTag,omitempty"`
    // Kind - Possible values include: 'AzureActivityLog', 'ChangeTrackingPath', 'ChangeTrackingDefaultPath', 'ChangeTrackingDefaultRegistry', 'ChangeTrackingCustomRegistry', 'CustomLog', 'CustomLogCollection', 'GenericDataSource', 'IISLogs', 'LinuxPerformanceObject', 'LinuxPerformanceCollection', 'LinuxSyslog', 'LinuxSyslogCollection', 'WindowsEvent', 'WindowsPerformanceCounter'
    Kind DataSourceKind `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

DataSource datasources under OMS Workspace.

func (DataSource) MarshalJSON Uses

func (ds DataSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataSource.

type DataSourceFilter Uses

type DataSourceFilter struct {
    // Kind - Possible values include: 'AzureActivityLog', 'ChangeTrackingPath', 'ChangeTrackingDefaultPath', 'ChangeTrackingDefaultRegistry', 'ChangeTrackingCustomRegistry', 'CustomLog', 'CustomLogCollection', 'GenericDataSource', 'IISLogs', 'LinuxPerformanceObject', 'LinuxPerformanceCollection', 'LinuxSyslog', 'LinuxSyslogCollection', 'WindowsEvent', 'WindowsPerformanceCounter'
    Kind DataSourceKind `json:"kind,omitempty"`
}

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

type DataSourceKind Uses

type DataSourceKind string

DataSourceKind enumerates the values for data source kind.

const (
    // AzureActivityLog ...
    AzureActivityLog DataSourceKind = "AzureActivityLog"
    // ChangeTrackingCustomRegistry ...
    ChangeTrackingCustomRegistry DataSourceKind = "ChangeTrackingCustomRegistry"
    // ChangeTrackingDefaultPath ...
    ChangeTrackingDefaultPath DataSourceKind = "ChangeTrackingDefaultPath"
    // ChangeTrackingDefaultRegistry ...
    ChangeTrackingDefaultRegistry DataSourceKind = "ChangeTrackingDefaultRegistry"
    // ChangeTrackingPath ...
    ChangeTrackingPath DataSourceKind = "ChangeTrackingPath"
    // CustomLog ...
    CustomLog DataSourceKind = "CustomLog"
    // CustomLogCollection ...
    CustomLogCollection DataSourceKind = "CustomLogCollection"
    // GenericDataSource ...
    GenericDataSource DataSourceKind = "GenericDataSource"
    // IISLogs ...
    IISLogs DataSourceKind = "IISLogs"
    // LinuxPerformanceCollection ...
    LinuxPerformanceCollection DataSourceKind = "LinuxPerformanceCollection"
    // LinuxPerformanceObject ...
    LinuxPerformanceObject DataSourceKind = "LinuxPerformanceObject"
    // LinuxSyslog ...
    LinuxSyslog DataSourceKind = "LinuxSyslog"
    // LinuxSyslogCollection ...
    LinuxSyslogCollection DataSourceKind = "LinuxSyslogCollection"
    // WindowsEvent ...
    WindowsEvent DataSourceKind = "WindowsEvent"
    // WindowsPerformanceCounter ...
    WindowsPerformanceCounter DataSourceKind = "WindowsPerformanceCounter"
)

func PossibleDataSourceKindValues Uses

func PossibleDataSourceKindValues() []DataSourceKind

PossibleDataSourceKindValues returns an array of possible values for the DataSourceKind const type.

type DataSourceListResult Uses

type DataSourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of datasources.
    Value *[]DataSource `json:"value,omitempty"`
    // NextLink - The link (url) to the next page of datasources.
    NextLink *string `json:"nextLink,omitempty"`
}

DataSourceListResult the list data source by workspace operation response.

func (DataSourceListResult) IsEmpty Uses

func (dslr DataSourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataSourceListResultIterator Uses

type DataSourceListResultIterator struct {
    // contains filtered or unexported fields
}

DataSourceListResultIterator provides access to a complete listing of DataSource values.

func NewDataSourceListResultIterator Uses

func NewDataSourceListResultIterator(page DataSourceListResultPage) DataSourceListResultIterator

Creates a new instance of the DataSourceListResultIterator type.

func (*DataSourceListResultIterator) Next Uses

func (iter *DataSourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataSourceListResultIterator) NextWithContext Uses

func (iter *DataSourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataSourceListResultIterator) NotDone Uses

func (iter DataSourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataSourceListResultIterator) Response Uses

func (iter DataSourceListResultIterator) Response() DataSourceListResult

Response returns the raw server response from the last page request.

func (DataSourceListResultIterator) Value Uses

func (iter DataSourceListResultIterator) Value() DataSource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataSourceListResultPage Uses

type DataSourceListResultPage struct {
    // contains filtered or unexported fields
}

DataSourceListResultPage contains a page of DataSource values.

func NewDataSourceListResultPage Uses

func NewDataSourceListResultPage(getNextPage func(context.Context, DataSourceListResult) (DataSourceListResult, error)) DataSourceListResultPage

Creates a new instance of the DataSourceListResultPage type.

func (*DataSourceListResultPage) Next Uses

func (page *DataSourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataSourceListResultPage) NextWithContext Uses

func (page *DataSourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataSourceListResultPage) NotDone Uses

func (page DataSourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataSourceListResultPage) Response Uses

func (page DataSourceListResultPage) Response() DataSourceListResult

Response returns the raw server response from the last page request.

func (DataSourceListResultPage) Values Uses

func (page DataSourceListResultPage) Values() []DataSource

Values returns the slice of values for the current page or nil if there are no values.

type DataSourcesClient Uses

type DataSourcesClient struct {
    BaseClient
}

DataSourcesClient is the operational Insights Client

func NewDataSourcesClient Uses

func NewDataSourcesClient(subscriptionID string) DataSourcesClient

NewDataSourcesClient creates an instance of the DataSourcesClient client.

func NewDataSourcesClientWithBaseURI Uses

func NewDataSourcesClientWithBaseURI(baseURI string, subscriptionID string) DataSourcesClient

NewDataSourcesClientWithBaseURI creates an instance of the DataSourcesClient client.

func (DataSourcesClient) CreateOrUpdate Uses

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

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

func (DataSourcesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DataSourcesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

Delete deletes a data source instance. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace that contains the datasource. dataSourceName - name of the datasource.

func (DataSourcesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (DataSourcesClient) DeleteResponder Uses

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 Uses

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 Uses

func (client DataSourcesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceName string) (result DataSource, err error)

Get gets a datasource instance. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace that contains the datasource. dataSourceName - name of the datasource

func (DataSourcesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (DataSourcesClient) GetResponder Uses

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 Uses

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 Uses

func (client DataSourcesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, filter string, skiptoken string) (result DataSourceListResultPage, err error)

ListByWorkspace gets the first page of data source instances in a workspace with the link to the next page. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - the workspace that contains the data sources. filter - the filter to apply on the operation. skiptoken - starting point of the collection of data source instances.

func (DataSourcesClient) ListByWorkspaceComplete Uses

func (client DataSourcesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, filter string, skiptoken string) (result DataSourceListResultIterator, err error)

ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.

func (DataSourcesClient) ListByWorkspacePreparer Uses

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

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (DataSourcesClient) ListByWorkspaceResponder Uses

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 Uses

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 Uses

type EntityStatus string

EntityStatus enumerates the values for entity status.

const (
    // Canceled ...
    Canceled EntityStatus = "Canceled"
    // Creating ...
    Creating EntityStatus = "Creating"
    // Deleting ...
    Deleting EntityStatus = "Deleting"
    // Failed ...
    Failed EntityStatus = "Failed"
    // ProvisioningAccount ...
    ProvisioningAccount EntityStatus = "ProvisioningAccount"
    // Succeeded ...
    Succeeded EntityStatus = "Succeeded"
)

func PossibleEntityStatusValues Uses

func PossibleEntityStatusValues() []EntityStatus

PossibleEntityStatusValues returns an array of possible values for the EntityStatus const type.

type IntelligencePack Uses

type IntelligencePack struct {
    // Name - The name of the intelligence pack.
    Name *string `json:"name,omitempty"`
    // Enabled - The enabled boolean for the intelligence pack.
    Enabled *bool `json:"enabled,omitempty"`
    // DisplayName - The display name of the intelligence pack.
    DisplayName *string `json:"displayName,omitempty"`
}

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

type LinkedService Uses

type LinkedService struct {
    autorest.Response `json:"-"`
    // LinkedServiceProperties - The properties of the linked service.
    *LinkedServiceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

LinkedService the top level Linked service resource container.

func (LinkedService) MarshalJSON Uses

func (ls LinkedService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LinkedService.

func (*LinkedService) UnmarshalJSON Uses

func (ls *LinkedService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LinkedService struct.

type LinkedServiceListResult Uses

type LinkedServiceListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets or sets a list of linked service instances.
    Value *[]LinkedService `json:"value,omitempty"`
}

LinkedServiceListResult the list linked service operation response.

type LinkedServiceProperties Uses

type LinkedServiceProperties struct {
    // ResourceID - The resource id of the resource that will be linked to the workspace.
    ResourceID *string `json:"resourceId,omitempty"`
}

LinkedServiceProperties linked service properties.

type LinkedServicesClient Uses

type LinkedServicesClient struct {
    BaseClient
}

LinkedServicesClient is the operational Insights Client

func NewLinkedServicesClient Uses

func NewLinkedServicesClient(subscriptionID string) LinkedServicesClient

NewLinkedServicesClient creates an instance of the LinkedServicesClient client.

func NewLinkedServicesClientWithBaseURI Uses

func NewLinkedServicesClientWithBaseURI(baseURI string, subscriptionID string) LinkedServicesClient

NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client.

func (LinkedServicesClient) CreateOrUpdate Uses

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

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

func (LinkedServicesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LinkedServicesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

Delete deletes a linked service instance. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace that contains the linkedServices resource linkedServiceName - name of the linked service.

func (LinkedServicesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (LinkedServicesClient) DeleteResponder Uses

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 Uses

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 Uses

func (client LinkedServicesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string) (result LinkedService, err error)

Get gets a linked service instance. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace that contains the linkedServices resource linkedServiceName - name of the linked service.

func (LinkedServicesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (LinkedServicesClient) GetResponder Uses

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 Uses

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 Uses

func (client LinkedServicesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result LinkedServiceListResult, err error)

ListByWorkspace gets the linked services instances in a workspace. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace that contains the linked services.

func (LinkedServicesClient) ListByWorkspacePreparer Uses

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

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (LinkedServicesClient) ListByWorkspaceResponder Uses

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 Uses

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 Uses

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

ListIntelligencePack ...

type ManagementGroup Uses

type ManagementGroup struct {
    // ManagementGroupProperties - The properties of the management group.
    *ManagementGroupProperties `json:"properties,omitempty"`
}

ManagementGroup a management group that is connected to a workspace

func (ManagementGroup) MarshalJSON Uses

func (mg ManagementGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagementGroup.

func (*ManagementGroup) UnmarshalJSON Uses

func (mg *ManagementGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ManagementGroup struct.

type ManagementGroupProperties Uses

type ManagementGroupProperties struct {
    // ServerCount - The number of servers connected to the management group.
    ServerCount *int32 `json:"serverCount,omitempty"`
    // IsGateway - Gets or sets a value indicating whether the management group is a gateway.
    IsGateway *bool `json:"isGateway,omitempty"`
    // Name - The name of the management group.
    Name *string `json:"name,omitempty"`
    // ID - The unique ID of the management group.
    ID  *string `json:"id,omitempty"`
    // Created - The datetime that the management group was created.
    Created *date.Time `json:"created,omitempty"`
    // DataReceived - The last datetime that the management group received data.
    DataReceived *date.Time `json:"dataReceived,omitempty"`
    // Version - The version of System Center that is managing the management group.
    Version *string `json:"version,omitempty"`
    // Sku - The SKU of System Center that is managing the management group.
    Sku *string `json:"sku,omitempty"`
}

ManagementGroupProperties management group properties.

type MetricName Uses

type MetricName struct {
    // Value - The system name of the metric.
    Value *string `json:"value,omitempty"`
    // LocalizedValue - The localized name of the metric.
    LocalizedValue *string `json:"localizedValue,omitempty"`
}

MetricName the name of a metric.

type Operation Uses

type Operation struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - Display metadata associated with the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation supported operation of OperationalInsights resource provider.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - Service provider: Microsoft OperationsManagement.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - Type of operation: get, read, delete, etc.
    Operation *string `json:"operation,omitempty"`
}

OperationDisplay display metadata associated with the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of solution operations supported by the OperationsManagement resource provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list solution operations.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the operational Insights Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available OperationalInsights Rest API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender Uses

func (client OperationsClient) 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.

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ProxyResource common properties of proxy resource.

func (ProxyResource) MarshalJSON Uses

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type Resource Uses

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

Resource the resource definition.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type SharedKeys Uses

type SharedKeys struct {
    autorest.Response `json:"-"`
    // PrimarySharedKey - The primary shared key of a workspace.
    PrimarySharedKey *string `json:"primarySharedKey,omitempty"`
    // SecondarySharedKey - The secondary shared key of a workspace.
    SecondarySharedKey *string `json:"secondarySharedKey,omitempty"`
}

SharedKeys the shared keys for a workspace.

type Sku Uses

type Sku struct {
    // Name - The name of the SKU. Possible values include: 'Free', 'Standard', 'Premium', 'PerNode', 'PerGB2018', 'Standalone'
    Name SkuNameEnum `json:"name,omitempty"`
}

Sku the SKU (tier) of a workspace.

type SkuNameEnum Uses

type SkuNameEnum string

SkuNameEnum enumerates the values for sku name enum.

const (
    // Free ...
    Free SkuNameEnum = "Free"
    // PerGB2018 ...
    PerGB2018 SkuNameEnum = "PerGB2018"
    // PerNode ...
    PerNode SkuNameEnum = "PerNode"
    // Premium ...
    Premium SkuNameEnum = "Premium"
    // Standalone ...
    Standalone SkuNameEnum = "Standalone"
    // Standard ...
    Standard SkuNameEnum = "Standard"
)

func PossibleSkuNameEnumValues Uses

func PossibleSkuNameEnumValues() []SkuNameEnum

PossibleSkuNameEnumValues returns an array of possible values for the SkuNameEnum const type.

type UsageMetric Uses

type UsageMetric struct {
    // Name - The name of the metric.
    Name *MetricName `json:"name,omitempty"`
    // Unit - The units used for the metric.
    Unit *string `json:"unit,omitempty"`
    // CurrentValue - The current value of the metric.
    CurrentValue *float64 `json:"currentValue,omitempty"`
    // Limit - The quota limit for the metric.
    Limit *float64 `json:"limit,omitempty"`
    // NextResetTime - The time that the metric's value will reset.
    NextResetTime *date.Time `json:"nextResetTime,omitempty"`
    // QuotaPeriod - The quota period that determines the length of time between value resets.
    QuotaPeriod *string `json:"quotaPeriod,omitempty"`
}

UsageMetric a metric describing the usage of a resource.

type Workspace Uses

type Workspace struct {
    autorest.Response `json:"-"`
    // WorkspaceProperties - Workspace properties.
    *WorkspaceProperties `json:"properties,omitempty"`
    // ETag - The ETag of the workspace.
    ETag *string `json:"eTag,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

Workspace the top level Workspace resource container.

func (Workspace) MarshalJSON Uses

func (w Workspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workspace.

func (*Workspace) UnmarshalJSON Uses

func (w *Workspace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Workspace struct.

type WorkspaceListManagementGroupsResult Uses

type WorkspaceListManagementGroupsResult struct {
    autorest.Response `json:"-"`
    // Value - Gets or sets a list of management groups attached to the workspace.
    Value *[]ManagementGroup `json:"value,omitempty"`
}

WorkspaceListManagementGroupsResult the list workspace management groups operation response.

type WorkspaceListResult Uses

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

WorkspaceListResult the list workspaces operation response.

type WorkspaceListUsagesResult Uses

type WorkspaceListUsagesResult struct {
    autorest.Response `json:"-"`
    // Value - Gets or sets a list of usage metrics for a workspace.
    Value *[]UsageMetric `json:"value,omitempty"`
}

WorkspaceListUsagesResult the list workspace usages operation response.

type WorkspaceProperties Uses

type WorkspaceProperties struct {
    // ProvisioningState - The provisioning state of the workspace. Possible values include: 'Creating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount'
    ProvisioningState EntityStatus `json:"provisioningState,omitempty"`
    // Source - READ-ONLY; This is a read-only legacy property. It is always set to 'Azure' by the service. Kept here for backward compatibility.
    Source *string `json:"source,omitempty"`
    // CustomerID - READ-ONLY; This is a read-only property. Represents the ID associated with the workspace.
    CustomerID *string `json:"customerId,omitempty"`
    // PortalURL - READ-ONLY; This is a legacy property and is not used anymore. Kept here for backward compatibility.
    PortalURL *string `json:"portalUrl,omitempty"`
    // Sku - The SKU of the workspace.
    Sku *Sku `json:"sku,omitempty"`
    // RetentionInDays - The workspace data retention in days. -1 means Unlimited retention for the Unlimited Sku. 730 days is the maximum allowed for all other Skus.
    RetentionInDays *int32 `json:"retentionInDays,omitempty"`
}

WorkspaceProperties workspace properties.

type WorkspacesClient Uses

type WorkspacesClient struct {
    BaseClient
}

WorkspacesClient is the operational Insights Client

func NewWorkspacesClient Uses

func NewWorkspacesClient(subscriptionID string) WorkspacesClient

NewWorkspacesClient creates an instance of the WorkspacesClient client.

func NewWorkspacesClientWithBaseURI Uses

func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient

NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client.

func (WorkspacesClient) CreateOrUpdate Uses

func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (result WorkspacesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a workspace. Parameters: resourceGroupName - the resource group name of the workspace. workspaceName - the name of the workspace. parameters - the parameters required to create or update a workspace.

func (WorkspacesClient) CreateOrUpdatePreparer Uses

func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspacesClient) CreateOrUpdateResponder Uses

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 Uses

func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error)

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

func (WorkspacesClient) Delete Uses

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

Delete deletes a workspace instance. Parameters: resourceGroupName - the resource group name of the workspace. workspaceName - name of the Log Analytics Workspace.

func (WorkspacesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (WorkspacesClient) DeleteResponder Uses

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 Uses

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 Uses

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

DisableIntelligencePack disables an intelligence pack for a given workspace. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace. intelligencePackName - the name of the intelligence pack to be disabled.

func (WorkspacesClient) DisableIntelligencePackPreparer Uses

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

DisableIntelligencePackPreparer prepares the DisableIntelligencePack request.

func (WorkspacesClient) DisableIntelligencePackResponder Uses

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 Uses

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 Uses

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

EnableIntelligencePack enables an intelligence pack for a given workspace. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace. intelligencePackName - the name of the intelligence pack to be enabled.

func (WorkspacesClient) EnableIntelligencePackPreparer Uses

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

EnableIntelligencePackPreparer prepares the EnableIntelligencePack request.

func (WorkspacesClient) EnableIntelligencePackResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)

Get gets a workspace instance. Parameters: resourceGroupName - the resource group name of the workspace. workspaceName - name of the Log Analytics Workspace.

func (WorkspacesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (WorkspacesClient) GetResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) GetSharedKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result SharedKeys, err error)

GetSharedKeys gets the shared keys for a workspace. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace.

func (WorkspacesClient) GetSharedKeysPreparer Uses

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

GetSharedKeysPreparer prepares the GetSharedKeys request.

func (WorkspacesClient) GetSharedKeysResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) List(ctx context.Context) (result WorkspaceListResult, err error)

List gets the workspaces in a subscription.

func (WorkspacesClient) ListByResourceGroup Uses

func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListResult, err error)

ListByResourceGroup gets workspaces in a resource group. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive.

func (WorkspacesClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkspacesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) ListIntelligencePacks(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - name of the Log Analytics Workspace.

func (WorkspacesClient) ListIntelligencePacksPreparer Uses

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

ListIntelligencePacksPreparer prepares the ListIntelligencePacks request.

func (WorkspacesClient) ListIntelligencePacksResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) ListManagementGroups(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceListManagementGroupsResult, err error)

ListManagementGroups gets a list of management groups connected to a workspace. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - the name of the workspace.

func (WorkspacesClient) ListManagementGroupsPreparer Uses

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

ListManagementGroupsPreparer prepares the ListManagementGroups request.

func (WorkspacesClient) ListManagementGroupsResponder Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (WorkspacesClient) ListResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) ListUsages(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceListUsagesResult, err error)

ListUsages gets a list of usage metrics for a workspace. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. workspaceName - the name of the workspace.

func (WorkspacesClient) ListUsagesPreparer Uses

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

ListUsagesPreparer prepares the ListUsages request.

func (WorkspacesClient) ListUsagesResponder Uses

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 Uses

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.

func (WorkspacesClient) Update Uses

func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (result Workspace, err error)

Update updates a workspace. Parameters: resourceGroupName - the resource group name of the workspace. workspaceName - the name of the workspace. parameters - the parameters required to patch a workspace.

func (WorkspacesClient) UpdatePreparer Uses

func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkspacesClient) UpdateResponder Uses

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

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (WorkspacesClient) UpdateSender Uses

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

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

type WorkspacesCreateOrUpdateFuture Uses

type WorkspacesCreateOrUpdateFuture struct {
    azure.Future
}

WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WorkspacesCreateOrUpdateFuture) Result Uses

func (future *WorkspacesCreateOrUpdateFuture) Result(client WorkspacesClient) (w Workspace, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

PathSynopsis
operationalinsightsapi

Package operationalinsights imports 10 packages (graph) and is imported by 11 packages. Updated 2019-10-30. Refresh now. Tools for package owners.