Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package operationalinsights implements the Azure ARM Operationalinsights service API version .
Operational Insights Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AssociatedWorkspace
- type AvailableServiceTier
- type AvailableServiceTiersClient
- func (client AvailableServiceTiersClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result ListAvailableServiceTier, err error)
- func (client AvailableServiceTiersClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client AvailableServiceTiersClient) ListByWorkspaceResponder(resp *http.Response) (result ListAvailableServiceTier, err error)
- func (client AvailableServiceTiersClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type AzureEntityResource
- type AzureResourceProperties
- type BaseClient
- type BillingType
- type CapacityReservationProperties
- type Cluster
- type ClusterEntityStatus
- type ClusterListResult
- type ClusterListResultIterator
- func (iter *ClusterListResultIterator) Next() error
- func (iter *ClusterListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ClusterListResultIterator) NotDone() bool
- func (iter ClusterListResultIterator) Response() ClusterListResult
- func (iter ClusterListResultIterator) Value() Cluster
- type ClusterListResultPage
- type ClusterPatch
- type ClusterPatchProperties
- type ClusterProperties
- type ClusterSku
- type ClusterSkuNameEnum
- type ClustersClient
- func (client ClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, ...) (result ClustersCreateOrUpdateFuture, err error)
- func (client ClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error)
- func (client ClustersClient) CreateOrUpdateResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) CreateOrUpdateSender(req *http.Request) (future ClustersCreateOrUpdateFuture, err error)
- func (client ClustersClient) Delete(ctx context.Context, resourceGroupName string, clusterName string) (result ClustersDeleteFuture, err error)
- func (client ClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)
- func (client ClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error)
- func (client ClustersClient) Get(ctx context.Context, resourceGroupName string, clusterName string) (result Cluster, err error)
- func (client ClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)
- func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) List(ctx context.Context) (result ClusterListResultPage, err error)
- func (client ClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ClusterListResultPage, err error)
- func (client ClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ClusterListResultIterator, err error)
- func (client ClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ClusterListResult, err error)
- func (client ClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) ListComplete(ctx context.Context) (result ClusterListResultIterator, err error)
- func (client ClustersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterListResult, err error)
- func (client ClustersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) Update(ctx context.Context, resourceGroupName string, clusterName string, ...) (result ClustersUpdateFuture, err error)
- func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error)
- func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpdateFuture, err error)
- type ClustersCreateOrUpdateFuture
- type ClustersDeleteFuture
- type ClustersUpdateFuture
- type Column
- type ColumnDataTypeHintEnum
- type ColumnTypeEnum
- type CoreSummary
- type CreatedByType
- type DataExport
- type DataExportListResult
- type DataExportProperties
- type DataExportsClient
- func (client DataExportsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result DataExport, err error)
- func (client DataExportsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataExportsClient) CreateOrUpdateResponder(resp *http.Response) (result DataExport, err error)
- func (client DataExportsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DataExportsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client DataExportsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataExportsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataExportsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DataExportsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result DataExport, err error)
- func (client DataExportsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataExportsClient) GetResponder(resp *http.Response) (result DataExport, err error)
- func (client DataExportsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DataExportsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result DataExportListResult, err error)
- func (client DataExportsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client DataExportsClient) ListByWorkspaceResponder(resp *http.Response) (result DataExportListResult, err error)
- func (client DataExportsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type DataIngestionStatus
- type DataSource
- type DataSourceFilter
- type DataSourceKind
- type DataSourceListResult
- type DataSourceListResultIterator
- func (iter *DataSourceListResultIterator) Next() error
- func (iter *DataSourceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DataSourceListResultIterator) NotDone() bool
- func (iter DataSourceListResultIterator) Response() DataSourceListResult
- func (iter DataSourceListResultIterator) Value() DataSource
- type DataSourceListResultPage
- func (page *DataSourceListResultPage) Next() error
- func (page *DataSourceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DataSourceListResultPage) NotDone() bool
- func (page DataSourceListResultPage) Response() DataSourceListResult
- func (page DataSourceListResultPage) Values() []DataSource
- type DataSourceType
- type DataSourcesClient
- func (client DataSourcesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result DataSource, err error)
- func (client DataSourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataSourcesClient) CreateOrUpdateResponder(resp *http.Response) (result DataSource, err error)
- func (client DataSourcesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DataSourcesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client DataSourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataSourcesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataSourcesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DataSourcesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result DataSource, err error)
- func (client DataSourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataSourcesClient) GetResponder(resp *http.Response) (result DataSource, err error)
- func (client DataSourcesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DataSourcesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result DataSourceListResultPage, err error)
- func (client DataSourcesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result DataSourceListResultIterator, err error)
- func (client DataSourcesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client DataSourcesClient) ListByWorkspaceResponder(resp *http.Response) (result DataSourceListResult, err error)
- func (client DataSourcesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type DeletedWorkspacesClient
- func (client DeletedWorkspacesClient) List(ctx context.Context) (result WorkspaceListResult, err error)
- func (client DeletedWorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListResult, err error)
- func (client DeletedWorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client DeletedWorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error)
- func (client DeletedWorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client DeletedWorkspacesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client DeletedWorkspacesClient) ListResponder(resp *http.Response) (result WorkspaceListResult, err error)
- func (client DeletedWorkspacesClient) ListSender(req *http.Request) (*http.Response, error)
- type Destination
- type DestinationMetaData
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type GatewaysClient
- func (client GatewaysClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client GatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client GatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GatewaysClient) DeleteSender(req *http.Request) (*http.Response, error)
- type Identity
- type IdentityType
- type IdentityTypeForCluster
- type IntelligencePack
- type IntelligencePacksClient
- func (client IntelligencePacksClient) Disable(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client IntelligencePacksClient) DisablePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client IntelligencePacksClient) DisableResponder(resp *http.Response) (result autorest.Response, err error)
- func (client IntelligencePacksClient) DisableSender(req *http.Request) (*http.Response, error)
- func (client IntelligencePacksClient) Enable(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client IntelligencePacksClient) EnablePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client IntelligencePacksClient) EnableResponder(resp *http.Response) (result autorest.Response, err error)
- func (client IntelligencePacksClient) EnableSender(req *http.Request) (*http.Response, error)
- func (client IntelligencePacksClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result ListIntelligencePack, err error)
- func (client IntelligencePacksClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client IntelligencePacksClient) ListResponder(resp *http.Response) (result ListIntelligencePack, err error)
- func (client IntelligencePacksClient) ListSender(req *http.Request) (*http.Response, error)
- type KeyVaultProperties
- type LinkedService
- type LinkedServiceEntityStatus
- type LinkedServiceListResult
- type LinkedServiceProperties
- type LinkedServicesClient
- func (client LinkedServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result LinkedServicesCreateOrUpdateFuture, err error)
- func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client LinkedServicesClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedService, err error)
- func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (future LinkedServicesCreateOrUpdateFuture, err error)
- func (client LinkedServicesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result LinkedServicesDeleteFuture, err error)
- func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client LinkedServicesClient) DeleteResponder(resp *http.Response) (result LinkedService, err error)
- func (client LinkedServicesClient) DeleteSender(req *http.Request) (future LinkedServicesDeleteFuture, err error)
- func (client LinkedServicesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result LinkedService, err error)
- func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client LinkedServicesClient) GetResponder(resp *http.Response) (result LinkedService, err error)
- func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LinkedServicesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result LinkedServiceListResult, err error)
- func (client LinkedServicesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client LinkedServicesClient) ListByWorkspaceResponder(resp *http.Response) (result LinkedServiceListResult, err error)
- func (client LinkedServicesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type LinkedServicesCreateOrUpdateFuture
- type LinkedServicesDeleteFuture
- type LinkedStorageAccountsClient
- func (client LinkedStorageAccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result LinkedStorageAccountsResource, err error)
- func (client LinkedStorageAccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client LinkedStorageAccountsClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedStorageAccountsResource, err error)
- func (client LinkedStorageAccountsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client LinkedStorageAccountsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client LinkedStorageAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client LinkedStorageAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LinkedStorageAccountsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client LinkedStorageAccountsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result LinkedStorageAccountsResource, err error)
- func (client LinkedStorageAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client LinkedStorageAccountsClient) GetResponder(resp *http.Response) (result LinkedStorageAccountsResource, err error)
- func (client LinkedStorageAccountsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LinkedStorageAccountsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result LinkedStorageAccountsListResult, err error)
- func (client LinkedStorageAccountsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client LinkedStorageAccountsClient) ListByWorkspaceResponder(resp *http.Response) (result LinkedStorageAccountsListResult, err error)
- func (client LinkedStorageAccountsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type LinkedStorageAccountsListResult
- type LinkedStorageAccountsProperties
- type LinkedStorageAccountsResource
- type ListAvailableServiceTier
- type ListIntelligencePack
- type LogAnalyticsQueryPack
- type LogAnalyticsQueryPackListResult
- type LogAnalyticsQueryPackListResultIterator
- func (iter *LogAnalyticsQueryPackListResultIterator) Next() error
- func (iter *LogAnalyticsQueryPackListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LogAnalyticsQueryPackListResultIterator) NotDone() bool
- func (iter LogAnalyticsQueryPackListResultIterator) Response() LogAnalyticsQueryPackListResult
- func (iter LogAnalyticsQueryPackListResultIterator) Value() LogAnalyticsQueryPack
- type LogAnalyticsQueryPackListResultPage
- func (page *LogAnalyticsQueryPackListResultPage) Next() error
- func (page *LogAnalyticsQueryPackListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LogAnalyticsQueryPackListResultPage) NotDone() bool
- func (page LogAnalyticsQueryPackListResultPage) Response() LogAnalyticsQueryPackListResult
- func (page LogAnalyticsQueryPackListResultPage) Values() []LogAnalyticsQueryPack
- type LogAnalyticsQueryPackProperties
- type LogAnalyticsQueryPackQuery
- type LogAnalyticsQueryPackQueryListResult
- type LogAnalyticsQueryPackQueryListResultIterator
- func (iter *LogAnalyticsQueryPackQueryListResultIterator) Next() error
- func (iter *LogAnalyticsQueryPackQueryListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LogAnalyticsQueryPackQueryListResultIterator) NotDone() bool
- func (iter LogAnalyticsQueryPackQueryListResultIterator) Response() LogAnalyticsQueryPackQueryListResult
- func (iter LogAnalyticsQueryPackQueryListResultIterator) Value() LogAnalyticsQueryPackQuery
- type LogAnalyticsQueryPackQueryListResultPage
- func (page *LogAnalyticsQueryPackQueryListResultPage) Next() error
- func (page *LogAnalyticsQueryPackQueryListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LogAnalyticsQueryPackQueryListResultPage) NotDone() bool
- func (page LogAnalyticsQueryPackQueryListResultPage) Response() LogAnalyticsQueryPackQueryListResult
- func (page LogAnalyticsQueryPackQueryListResultPage) Values() []LogAnalyticsQueryPackQuery
- type LogAnalyticsQueryPackQueryProperties
- type LogAnalyticsQueryPackQueryPropertiesRelated
- type LogAnalyticsQueryPackQuerySearchProperties
- type LogAnalyticsQueryPackQuerySearchPropertiesRelated
- type ManagementGroup
- type ManagementGroupProperties
- type ManagementGroupsClient
- func (client ManagementGroupsClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceListManagementGroupsResult, err error)
- func (client ManagementGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client ManagementGroupsClient) ListResponder(resp *http.Response) (result WorkspaceListManagementGroupsResult, err error)
- func (client ManagementGroupsClient) ListSender(req *http.Request) (*http.Response, error)
- type MetricName
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- type OperationStatus
- type OperationStatusesClient
- func (client OperationStatusesClient) Get(ctx context.Context, location string, asyncOperationID string) (result OperationStatus, err error)
- func (client OperationStatusesClient) GetPreparer(ctx context.Context, location string, asyncOperationID string) (*http.Request, error)
- func (client OperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
- func (client OperationStatusesClient) GetSender(req *http.Request) (*http.Response, error)
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PrivateLinkScopedResource
- type ProvisioningStateEnum
- type ProxyResource
- type PublicNetworkAccessType
- type PurgeState
- type QueriesClient
- func (client QueriesClient) Delete(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (result autorest.Response, err error)
- func (client QueriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (*http.Request, error)
- func (client QueriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client QueriesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client QueriesClient) Get(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (result LogAnalyticsQueryPackQuery, err error)
- func (client QueriesClient) GetPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (*http.Request, error)
- func (client QueriesClient) GetResponder(resp *http.Response) (result LogAnalyticsQueryPackQuery, err error)
- func (client QueriesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client QueriesClient) List(ctx context.Context, resourceGroupName string, queryPackName string, ...) (result LogAnalyticsQueryPackQueryListResultPage, err error)
- func (client QueriesClient) ListComplete(ctx context.Context, resourceGroupName string, queryPackName string, ...) (result LogAnalyticsQueryPackQueryListResultIterator, err error)
- func (client QueriesClient) ListPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ...) (*http.Request, error)
- func (client QueriesClient) ListResponder(resp *http.Response) (result LogAnalyticsQueryPackQueryListResult, err error)
- func (client QueriesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client QueriesClient) Put(ctx context.Context, resourceGroupName string, queryPackName string, ID string, ...) (result LogAnalyticsQueryPackQuery, err error)
- func (client QueriesClient) PutPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string, ...) (*http.Request, error)
- func (client QueriesClient) PutResponder(resp *http.Response) (result LogAnalyticsQueryPackQuery, err error)
- func (client QueriesClient) PutSender(req *http.Request) (*http.Response, error)
- func (client QueriesClient) Search(ctx context.Context, resourceGroupName string, queryPackName string, ...) (result LogAnalyticsQueryPackQueryListResultPage, err error)
- func (client QueriesClient) SearchComplete(ctx context.Context, resourceGroupName string, queryPackName string, ...) (result LogAnalyticsQueryPackQueryListResultIterator, err error)
- func (client QueriesClient) SearchPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ...) (*http.Request, error)
- func (client QueriesClient) SearchResponder(resp *http.Response) (result LogAnalyticsQueryPackQueryListResult, err error)
- func (client QueriesClient) SearchSender(req *http.Request) (*http.Response, error)
- func (client QueriesClient) Update(ctx context.Context, resourceGroupName string, queryPackName string, ID string, ...) (result LogAnalyticsQueryPackQuery, err error)
- func (client QueriesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string, ...) (*http.Request, error)
- func (client QueriesClient) UpdateResponder(resp *http.Response) (result LogAnalyticsQueryPackQuery, err error)
- func (client QueriesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type QueryPacksClient
- func (client QueryPacksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, queryPackName string, ...) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, queryPackName string, ...) (*http.Request, error)
- func (client QueryPacksClient) CreateOrUpdateResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client QueryPacksClient) CreateOrUpdateWithoutName(ctx context.Context, resourceGroupName string, ...) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) CreateOrUpdateWithoutNamePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client QueryPacksClient) CreateOrUpdateWithoutNameResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) CreateOrUpdateWithoutNameSender(req *http.Request) (*http.Response, error)
- func (client QueryPacksClient) Delete(ctx context.Context, resourceGroupName string, queryPackName string) (result autorest.Response, err error)
- func (client QueryPacksClient) DeletePreparer(ctx context.Context, resourceGroupName string, queryPackName string) (*http.Request, error)
- func (client QueryPacksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client QueryPacksClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client QueryPacksClient) Get(ctx context.Context, resourceGroupName string, queryPackName string) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) GetPreparer(ctx context.Context, resourceGroupName string, queryPackName string) (*http.Request, error)
- func (client QueryPacksClient) GetResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client QueryPacksClient) List(ctx context.Context) (result LogAnalyticsQueryPackListResultPage, err error)
- func (client QueryPacksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result LogAnalyticsQueryPackListResultPage, err error)
- func (client QueryPacksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result LogAnalyticsQueryPackListResultIterator, err error)
- func (client QueryPacksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client QueryPacksClient) ListByResourceGroupResponder(resp *http.Response) (result LogAnalyticsQueryPackListResult, err error)
- func (client QueryPacksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client QueryPacksClient) ListComplete(ctx context.Context) (result LogAnalyticsQueryPackListResultIterator, err error)
- func (client QueryPacksClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client QueryPacksClient) ListResponder(resp *http.Response) (result LogAnalyticsQueryPackListResult, err error)
- func (client QueryPacksClient) ListSender(req *http.Request) (*http.Response, error)
- func (client QueryPacksClient) UpdateTags(ctx context.Context, resourceGroupName string, queryPackName string, ...) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ...) (*http.Request, error)
- func (client QueryPacksClient) UpdateTagsResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
- func (client QueryPacksClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
- type QueryPacksResource
- type Resource
- type RestoredLogs
- type ResultStatistics
- type SavedSearch
- type SavedSearchProperties
- type SavedSearchesClient
- func (client SavedSearchesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result SavedSearch, err error)
- func (client SavedSearchesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client SavedSearchesClient) CreateOrUpdateResponder(resp *http.Response) (result SavedSearch, err error)
- func (client SavedSearchesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SavedSearchesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client SavedSearchesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client SavedSearchesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SavedSearchesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SavedSearchesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result SavedSearch, err error)
- func (client SavedSearchesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client SavedSearchesClient) GetResponder(resp *http.Response) (result SavedSearch, err error)
- func (client SavedSearchesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SavedSearchesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result SavedSearchesListResult, err error)
- func (client SavedSearchesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client SavedSearchesClient) ListByWorkspaceResponder(resp *http.Response) (result SavedSearchesListResult, err error)
- func (client SavedSearchesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type SavedSearchesListResult
- type Schema
- type SchemaClient
- func (client SchemaClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result SearchGetSchemaResponse, err error)
- func (client SchemaClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client SchemaClient) GetResponder(resp *http.Response) (result SearchGetSchemaResponse, err error)
- func (client SchemaClient) GetSender(req *http.Request) (*http.Response, error)
- type SearchGetSchemaResponse
- type SearchMetadata
- type SearchMetadataSchema
- type SearchResults
- type SearchSchemaValue
- type SearchSort
- type SearchSortEnum
- type SharedKeys
- type SharedKeysClient
- func (client SharedKeysClient) GetSharedKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result SharedKeys, err error)
- func (client SharedKeysClient) GetSharedKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client SharedKeysClient) GetSharedKeysResponder(resp *http.Response) (result SharedKeys, err error)
- func (client SharedKeysClient) GetSharedKeysSender(req *http.Request) (*http.Response, error)
- func (client SharedKeysClient) Regenerate(ctx context.Context, resourceGroupName string, workspaceName string) (result SharedKeys, err error)
- func (client SharedKeysClient) RegeneratePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client SharedKeysClient) RegenerateResponder(resp *http.Response) (result SharedKeys, err error)
- func (client SharedKeysClient) RegenerateSender(req *http.Request) (*http.Response, error)
- type SkuNameEnum
- type SourceEnum
- type StorageAccount
- type StorageInsight
- type StorageInsightConfigsClient
- func (client StorageInsightConfigsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result StorageInsight, err error)
- func (client StorageInsightConfigsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client StorageInsightConfigsClient) CreateOrUpdateResponder(resp *http.Response) (result StorageInsight, err error)
- func (client StorageInsightConfigsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client StorageInsightConfigsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client StorageInsightConfigsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client StorageInsightConfigsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client StorageInsightConfigsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client StorageInsightConfigsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result StorageInsight, err error)
- func (client StorageInsightConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client StorageInsightConfigsClient) GetResponder(resp *http.Response) (result StorageInsight, err error)
- func (client StorageInsightConfigsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client StorageInsightConfigsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result StorageInsightListResultPage, err error)
- func (client StorageInsightConfigsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result StorageInsightListResultIterator, err error)
- func (client StorageInsightConfigsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client StorageInsightConfigsClient) ListByWorkspaceResponder(resp *http.Response) (result StorageInsightListResult, err error)
- func (client StorageInsightConfigsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type StorageInsightListResult
- type StorageInsightListResultIterator
- func (iter *StorageInsightListResultIterator) Next() error
- func (iter *StorageInsightListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter StorageInsightListResultIterator) NotDone() bool
- func (iter StorageInsightListResultIterator) Response() StorageInsightListResult
- func (iter StorageInsightListResultIterator) Value() StorageInsight
- type StorageInsightListResultPage
- func (page *StorageInsightListResultPage) Next() error
- func (page *StorageInsightListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page StorageInsightListResultPage) NotDone() bool
- func (page StorageInsightListResultPage) Response() StorageInsightListResult
- func (page StorageInsightListResultPage) Values() []StorageInsight
- type StorageInsightProperties
- type StorageInsightState
- type StorageInsightStatus
- type SystemData
- type SystemDataModel
- type Table
- type TablePlanEnum
- type TableProperties
- type TableSubTypeEnum
- type TableTypeEnum
- type TablesClient
- func (client TablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result TablesCreateOrUpdateFuture, err error)
- func (client TablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client TablesClient) CreateOrUpdateResponder(resp *http.Response) (result Table, err error)
- func (client TablesClient) CreateOrUpdateSender(req *http.Request) (future TablesCreateOrUpdateFuture, err error)
- func (client TablesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result TablesDeleteFuture, err error)
- func (client TablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client TablesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TablesClient) DeleteSender(req *http.Request) (future TablesDeleteFuture, err error)
- func (client TablesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result Table, err error)
- func (client TablesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client TablesClient) GetResponder(resp *http.Response) (result Table, err error)
- func (client TablesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TablesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result TablesListResult, err error)
- func (client TablesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client TablesClient) ListByWorkspaceResponder(resp *http.Response) (result TablesListResult, err error)
- func (client TablesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- func (client TablesClient) Migrate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result autorest.Response, err error)
- func (client TablesClient) MigratePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client TablesClient) MigrateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TablesClient) MigrateSender(req *http.Request) (*http.Response, error)
- func (client TablesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result TablesUpdateFuture, err error)
- func (client TablesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client TablesClient) UpdateResponder(resp *http.Response) (result Table, err error)
- func (client TablesClient) UpdateSender(req *http.Request) (future TablesUpdateFuture, err error)
- type TablesCreateOrUpdateFuture
- type TablesDeleteFuture
- type TablesListResult
- type TablesUpdateFuture
- type Tag
- type TagsResource
- type TrackedResource
- type Type
- type UsageMetric
- type UsagesClient
- func (client UsagesClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceListUsagesResult, err error)
- func (client UsagesClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client UsagesClient) ListResponder(resp *http.Response) (result WorkspaceListUsagesResult, err error)
- func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error)
- type UserIdentityProperties
- type Workspace
- type WorkspaceCapping
- type WorkspaceEntityStatus
- type WorkspaceFeatures
- type WorkspaceListManagementGroupsResult
- type WorkspaceListResult
- type WorkspaceListUsagesResult
- type WorkspacePatch
- type WorkspaceProperties
- type WorkspacePurgeBody
- type WorkspacePurgeBodyFilters
- type WorkspacePurgeClient
- func (client WorkspacePurgeClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result WorkspacePurgeStatusResponse, err error)
- func (client WorkspacePurgeClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacePurgeClient) GetPurgeStatusResponder(resp *http.Response) (result WorkspacePurgeStatusResponse, err error)
- func (client WorkspacePurgeClient) GetPurgeStatusSender(req *http.Request) (*http.Response, error)
- func (client WorkspacePurgeClient) Purge(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result WorkspacePurgeResponse, err error)
- func (client WorkspacePurgeClient) PurgePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacePurgeClient) PurgeResponder(resp *http.Response) (result WorkspacePurgeResponse, err error)
- func (client WorkspacePurgeClient) PurgeSender(req *http.Request) (*http.Response, error)
- type WorkspacePurgeResponse
- type WorkspacePurgeStatusResponse
- type WorkspaceSku
- type WorkspaceSkuNameEnum
- type WorkspacesClient
- func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result WorkspacesCreateOrUpdateFuture, err error)
- func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error)
- func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result WorkspacesDeleteFuture, err error)
- func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WorkspacesClient) DeleteSender(req *http.Request) (future WorkspacesDeleteFuture, err error)
- func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)
- func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) List(ctx context.Context) (result WorkspaceListResult, err error)
- func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListResult, err error)
- func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error)
- func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client WorkspacesClient) ListResponder(resp *http.Response) (result WorkspaceListResult, err error)
- func (client WorkspacesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result Workspace, err error)
- func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type WorkspacesCreateOrUpdateFuture
- type WorkspacesDeleteFuture
Constants ¶
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 AssociatedWorkspace ¶
type AssociatedWorkspace struct { // WorkspaceID - READ-ONLY; The id of the assigned workspace. WorkspaceID *string `json:"workspaceId,omitempty"` // WorkspaceName - READ-ONLY; The name id the assigned workspace. WorkspaceName *string `json:"workspaceName,omitempty"` // ResourceID - READ-ONLY; The ResourceId id the assigned workspace. ResourceID *string `json:"resourceId,omitempty"` // AssociateDate - READ-ONLY; The time of workspace association. AssociateDate *string `json:"associateDate,omitempty"` }
AssociatedWorkspace the list of Log Analytics workspaces associated with the cluster.
func (AssociatedWorkspace) MarshalJSON ¶
func (aw AssociatedWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssociatedWorkspace.
type AvailableServiceTier ¶
type AvailableServiceTier struct { // ServiceTier - READ-ONLY; The name of the Service Tier. Possible values include: 'SkuNameEnumFree', 'SkuNameEnumStandard', 'SkuNameEnumPremium', 'SkuNameEnumPerNode', 'SkuNameEnumPerGB2018', 'SkuNameEnumStandalone', 'SkuNameEnumCapacityReservation' ServiceTier SkuNameEnum `json:"serviceTier,omitempty"` // Enabled - READ-ONLY; True if the Service Tier is enabled for the workspace. Enabled *bool `json:"enabled,omitempty"` // MinimumRetention - READ-ONLY; The minimum retention for the Service Tier, in days. MinimumRetention *int64 `json:"minimumRetention,omitempty"` // MaximumRetention - READ-ONLY; The maximum retention for the Service Tier, in days. MaximumRetention *int64 `json:"maximumRetention,omitempty"` // DefaultRetention - READ-ONLY; The default retention for the Service Tier, in days. DefaultRetention *int64 `json:"defaultRetention,omitempty"` // CapacityReservationLevel - READ-ONLY; The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier. CapacityReservationLevel *int64 `json:"capacityReservationLevel,omitempty"` // LastSkuUpdate - READ-ONLY; Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier. LastSkuUpdate *string `json:"lastSkuUpdate,omitempty"` }
AvailableServiceTier service Tier details.
func (AvailableServiceTier) MarshalJSON ¶
func (astVar AvailableServiceTier) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailableServiceTier.
type AvailableServiceTiersClient ¶
type AvailableServiceTiersClient struct {
BaseClient
}
AvailableServiceTiersClient is the operational Insights Client
func NewAvailableServiceTiersClient ¶
func NewAvailableServiceTiersClient(subscriptionID string) AvailableServiceTiersClient
NewAvailableServiceTiersClient creates an instance of the AvailableServiceTiersClient client.
func NewAvailableServiceTiersClientWithBaseURI ¶
func NewAvailableServiceTiersClientWithBaseURI(baseURI string, subscriptionID string) AvailableServiceTiersClient
NewAvailableServiceTiersClientWithBaseURI creates an instance of the AvailableServiceTiersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (AvailableServiceTiersClient) ListByWorkspace ¶
func (client AvailableServiceTiersClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result ListAvailableServiceTier, err error)
ListByWorkspace gets the available service tiers for the workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (AvailableServiceTiersClient) ListByWorkspacePreparer ¶
func (client AvailableServiceTiersClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListByWorkspacePreparer prepares the ListByWorkspace request.
func (AvailableServiceTiersClient) ListByWorkspaceResponder ¶
func (client AvailableServiceTiersClient) ListByWorkspaceResponder(resp *http.Response) (result ListAvailableServiceTier, err error)
ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.
func (AvailableServiceTiersClient) ListByWorkspaceSender ¶
func (client AvailableServiceTiersClient) 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 AzureEntityResource ¶
type AzureEntityResource struct { // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
func (AzureEntityResource) MarshalJSON ¶
func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureEntityResource.
type AzureResourceProperties ¶
type AzureResourceProperties struct { // ID - READ-ONLY; Azure resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Azure resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Azure resource type Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Read only system data SystemData *SystemData `json:"systemData,omitempty"` }
AzureResourceProperties an Azure resource QueryPack-Query object
func (AzureResourceProperties) MarshalJSON ¶
func (arp AzureResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureResourceProperties.
type BaseClient ¶
BaseClient is the base client for Operationalinsights.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BillingType ¶
type BillingType string
BillingType enumerates the values for billing type.
const ( // BillingTypeCluster ... BillingTypeCluster BillingType = "Cluster" // BillingTypeWorkspaces ... BillingTypeWorkspaces BillingType = "Workspaces" )
func PossibleBillingTypeValues ¶
func PossibleBillingTypeValues() []BillingType
PossibleBillingTypeValues returns an array of possible values for the BillingType const type.
type CapacityReservationProperties ¶
type CapacityReservationProperties struct { // LastSkuUpdate - READ-ONLY; The last time Sku was updated. LastSkuUpdate *string `json:"lastSkuUpdate,omitempty"` // MinCapacity - READ-ONLY; Minimum CapacityReservation value in GB. MinCapacity *int64 `json:"minCapacity,omitempty"` }
CapacityReservationProperties the Capacity Reservation properties.
func (CapacityReservationProperties) MarshalJSON ¶
func (crp CapacityReservationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CapacityReservationProperties.
type Cluster ¶
type Cluster struct { autorest.Response `json:"-"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // Sku - The sku properties. Sku *ClusterSku `json:"sku,omitempty"` // ClusterProperties - Log Analytics cluster properties. *ClusterProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Cluster the top level Log Analytics cluster resource container.
func (Cluster) MarshalJSON ¶
MarshalJSON is the custom marshaler for Cluster.
func (*Cluster) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Cluster struct.
type ClusterEntityStatus ¶
type ClusterEntityStatus string
ClusterEntityStatus enumerates the values for cluster entity status.
const ( // Canceled ... Canceled ClusterEntityStatus = "Canceled" // Creating ... Creating ClusterEntityStatus = "Creating" // Deleting ... Deleting ClusterEntityStatus = "Deleting" // Failed ... Failed ClusterEntityStatus = "Failed" // ProvisioningAccount ... ProvisioningAccount ClusterEntityStatus = "ProvisioningAccount" // Succeeded ... Succeeded ClusterEntityStatus = "Succeeded" // Updating ... Updating ClusterEntityStatus = "Updating" )
func PossibleClusterEntityStatusValues ¶
func PossibleClusterEntityStatusValues() []ClusterEntityStatus
PossibleClusterEntityStatusValues returns an array of possible values for the ClusterEntityStatus const type.
type ClusterListResult ¶
type ClusterListResult struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of recommendations. NextLink *string `json:"nextLink,omitempty"` // Value - A list of Log Analytics clusters. Value *[]Cluster `json:"value,omitempty"` }
ClusterListResult the list clusters operation response.
func (ClusterListResult) IsEmpty ¶
func (clr ClusterListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ClusterListResultIterator ¶
type ClusterListResultIterator struct {
// contains filtered or unexported fields
}
ClusterListResultIterator provides access to a complete listing of Cluster values.
func NewClusterListResultIterator ¶
func NewClusterListResultIterator(page ClusterListResultPage) ClusterListResultIterator
Creates a new instance of the ClusterListResultIterator type.
func (*ClusterListResultIterator) Next ¶
func (iter *ClusterListResultIterator) 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 (*ClusterListResultIterator) NextWithContext ¶
func (iter *ClusterListResultIterator) 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 (ClusterListResultIterator) NotDone ¶
func (iter ClusterListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ClusterListResultIterator) Response ¶
func (iter ClusterListResultIterator) Response() ClusterListResult
Response returns the raw server response from the last page request.
func (ClusterListResultIterator) Value ¶
func (iter ClusterListResultIterator) Value() Cluster
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ClusterListResultPage ¶
type ClusterListResultPage struct {
// contains filtered or unexported fields
}
ClusterListResultPage contains a page of Cluster values.
func NewClusterListResultPage ¶
func NewClusterListResultPage(cur ClusterListResult, getNextPage func(context.Context, ClusterListResult) (ClusterListResult, error)) ClusterListResultPage
Creates a new instance of the ClusterListResultPage type.
func (*ClusterListResultPage) Next ¶
func (page *ClusterListResultPage) 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 (*ClusterListResultPage) NextWithContext ¶
func (page *ClusterListResultPage) 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 (ClusterListResultPage) NotDone ¶
func (page ClusterListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ClusterListResultPage) Response ¶
func (page ClusterListResultPage) Response() ClusterListResult
Response returns the raw server response from the last page request.
func (ClusterListResultPage) Values ¶
func (page ClusterListResultPage) Values() []Cluster
Values returns the slice of values for the current page or nil if there are no values.
type ClusterPatch ¶
type ClusterPatch struct { // ClusterPatchProperties - Log Analytics cluster properties. *ClusterPatchProperties `json:"properties,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // Sku - The sku properties. Sku *ClusterSku `json:"sku,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ClusterPatch the top level Log Analytics cluster resource container.
func (ClusterPatch) MarshalJSON ¶
func (cp ClusterPatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ClusterPatch.
func (*ClusterPatch) UnmarshalJSON ¶
func (cp *ClusterPatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ClusterPatch struct.
type ClusterPatchProperties ¶
type ClusterPatchProperties struct { // KeyVaultProperties - The associated key properties. KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` // BillingType - The cluster's billing type. Possible values include: 'BillingTypeCluster', 'BillingTypeWorkspaces' BillingType BillingType `json:"billingType,omitempty"` }
ClusterPatchProperties log Analytics cluster patch properties.
type ClusterProperties ¶
type ClusterProperties struct { // ClusterID - READ-ONLY; The ID associated with the cluster. ClusterID *string `json:"clusterId,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the cluster. Possible values include: 'Creating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount', 'Updating' ProvisioningState ClusterEntityStatus `json:"provisioningState,omitempty"` // IsDoubleEncryptionEnabled - Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true' IsDoubleEncryptionEnabled *bool `json:"isDoubleEncryptionEnabled,omitempty"` // IsAvailabilityZonesEnabled - Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones. IsAvailabilityZonesEnabled *bool `json:"isAvailabilityZonesEnabled,omitempty"` // BillingType - The cluster's billing type. Possible values include: 'BillingTypeCluster', 'BillingTypeWorkspaces' BillingType BillingType `json:"billingType,omitempty"` // KeyVaultProperties - The associated key properties. KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` // LastModifiedDate - READ-ONLY; The last time the cluster was updated. LastModifiedDate *string `json:"lastModifiedDate,omitempty"` // CreatedDate - READ-ONLY; The cluster creation time CreatedDate *string `json:"createdDate,omitempty"` // AssociatedWorkspaces - The list of Log Analytics workspaces associated with the cluster AssociatedWorkspaces *[]AssociatedWorkspace `json:"associatedWorkspaces,omitempty"` // CapacityReservationProperties - Additional properties for capacity reservation CapacityReservationProperties *CapacityReservationProperties `json:"capacityReservationProperties,omitempty"` }
ClusterProperties cluster properties.
func (ClusterProperties) MarshalJSON ¶
func (cp ClusterProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ClusterProperties.
type ClusterSku ¶
type ClusterSku struct { // Capacity - The capacity value Capacity *int64 `json:"capacity,omitempty"` // Name - The name of the SKU. Possible values include: 'CapacityReservation' Name ClusterSkuNameEnum `json:"name,omitempty"` }
ClusterSku the cluster sku definition.
type ClusterSkuNameEnum ¶
type ClusterSkuNameEnum string
ClusterSkuNameEnum enumerates the values for cluster sku name enum.
const ( // CapacityReservation ... CapacityReservation ClusterSkuNameEnum = "CapacityReservation" )
func PossibleClusterSkuNameEnumValues ¶
func PossibleClusterSkuNameEnumValues() []ClusterSkuNameEnum
PossibleClusterSkuNameEnumValues returns an array of possible values for the ClusterSkuNameEnum const type.
type ClustersClient ¶
type ClustersClient struct {
BaseClient
}
ClustersClient is the operational Insights Client
func NewClustersClient ¶
func NewClustersClient(subscriptionID string) ClustersClient
NewClustersClient creates an instance of the ClustersClient client.
func NewClustersClientWithBaseURI ¶
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient
NewClustersClientWithBaseURI creates an instance of the ClustersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ClustersClient) CreateOrUpdate ¶
func (client ClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, parameters Cluster) (result ClustersCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a Log Analytics cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterName - the name of the Log Analytics cluster. parameters - the parameters required to create or update a Log Analytics cluster.
func (ClustersClient) CreateOrUpdatePreparer ¶
func (client ClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, parameters Cluster) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ClustersClient) CreateOrUpdateResponder ¶
func (client ClustersClient) CreateOrUpdateResponder(resp *http.Response) (result Cluster, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ClustersClient) CreateOrUpdateSender ¶
func (client ClustersClient) CreateOrUpdateSender(req *http.Request) (future ClustersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ClustersClient) Delete ¶
func (client ClustersClient) Delete(ctx context.Context, resourceGroupName string, clusterName string) (result ClustersDeleteFuture, err error)
Delete deletes a cluster instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterName - name of the Log Analytics Cluster.
func (ClustersClient) DeletePreparer ¶
func (client ClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ClustersClient) DeleteResponder ¶
func (client ClustersClient) 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 (ClustersClient) DeleteSender ¶
func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ClustersClient) Get ¶
func (client ClustersClient) Get(ctx context.Context, resourceGroupName string, clusterName string) (result Cluster, err error)
Get gets a Log Analytics cluster instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterName - name of the Log Analytics Cluster.
func (ClustersClient) GetPreparer ¶
func (client ClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ClustersClient) GetResponder ¶
func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ClustersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ClustersClient) List ¶
func (client ClustersClient) List(ctx context.Context) (result ClusterListResultPage, err error)
List gets the Log Analytics clusters in a subscription.
func (ClustersClient) ListByResourceGroup ¶
func (client ClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ClusterListResultPage, err error)
ListByResourceGroup gets Log Analytics clusters in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (ClustersClient) ListByResourceGroupComplete ¶
func (client ClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ClusterListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ClustersClient) ListByResourceGroupPreparer ¶
func (client ClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ClustersClient) ListByResourceGroupResponder ¶
func (client ClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ClusterListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ClustersClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ClustersClient) ListComplete ¶
func (client ClustersClient) ListComplete(ctx context.Context) (result ClusterListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ClustersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ClustersClient) ListResponder ¶
func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ClustersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ClustersClient) Update ¶
func (client ClustersClient) Update(ctx context.Context, resourceGroupName string, clusterName string, parameters ClusterPatch) (result ClustersUpdateFuture, err error)
Update updates a Log Analytics cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterName - name of the Log Analytics Cluster. parameters - the parameters required to patch a Log Analytics cluster.
func (ClustersClient) UpdatePreparer ¶
func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, parameters ClusterPatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ClustersClient) UpdateResponder ¶
func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ClustersClient) UpdateSender ¶
func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ClustersCreateOrUpdateFuture ¶
type ClustersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ClustersClient) (Cluster, error) }
ClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ClustersCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ClustersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ClustersDeleteFuture ¶
type ClustersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ClustersClient) (autorest.Response, error) }
ClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ClustersDeleteFuture) UnmarshalJSON ¶
func (future *ClustersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ClustersUpdateFuture ¶
type ClustersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ClustersClient) (Cluster, error) }
ClustersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ClustersUpdateFuture) UnmarshalJSON ¶
func (future *ClustersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type Column ¶
type Column struct { // Name - Column name. Name *string `json:"name,omitempty"` // Type - Column data type. Possible values include: 'ColumnTypeEnumString', 'ColumnTypeEnumInt', 'ColumnTypeEnumLong', 'ColumnTypeEnumReal', 'ColumnTypeEnumBoolean', 'ColumnTypeEnumDateTime', 'ColumnTypeEnumGUID', 'ColumnTypeEnumDynamic' Type ColumnTypeEnum `json:"type,omitempty"` // DataTypeHint - Column data type logical hint. Possible values include: 'URI', 'GUID', 'ArmPath', 'IP' DataTypeHint ColumnDataTypeHintEnum `json:"dataTypeHint,omitempty"` // DisplayName - Column display name. DisplayName *string `json:"displayName,omitempty"` // Description - Column description. Description *string `json:"description,omitempty"` // IsDefaultDisplay - READ-ONLY; Is displayed by default. IsDefaultDisplay *bool `json:"isDefaultDisplay,omitempty"` // IsHidden - READ-ONLY; Is column hidden. IsHidden *bool `json:"isHidden,omitempty"` }
Column table column.
func (Column) MarshalJSON ¶
MarshalJSON is the custom marshaler for Column.
type ColumnDataTypeHintEnum ¶
type ColumnDataTypeHintEnum string
ColumnDataTypeHintEnum enumerates the values for column data type hint enum.
const ( // ArmPath An Azure Resource Model (ARM) path: // /subscriptions/{...}/resourceGroups/{...}/providers/Microsoft.{...}/{...}/{...}/{...}... ArmPath ColumnDataTypeHintEnum = "armPath" // GUID A standard 128-bit GUID following the standard shape, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx GUID ColumnDataTypeHintEnum = "guid" // IP A standard V4/V6 ip address following the standard shape, x.x.x.x/y:y:y:y:y:y:y:y IP ColumnDataTypeHintEnum = "ip" // URI A string that matches the pattern of a URI, for example, // scheme://username:password@host:1234/this/is/a/path?k1=v1&k2=v2#fragment URI ColumnDataTypeHintEnum = "uri" )
func PossibleColumnDataTypeHintEnumValues ¶
func PossibleColumnDataTypeHintEnumValues() []ColumnDataTypeHintEnum
PossibleColumnDataTypeHintEnumValues returns an array of possible values for the ColumnDataTypeHintEnum const type.
type ColumnTypeEnum ¶
type ColumnTypeEnum string
ColumnTypeEnum enumerates the values for column type enum.
const ( // ColumnTypeEnumBoolean ... ColumnTypeEnumBoolean ColumnTypeEnum = "boolean" // ColumnTypeEnumDateTime ... ColumnTypeEnumDateTime ColumnTypeEnum = "dateTime" // ColumnTypeEnumDynamic ... ColumnTypeEnumDynamic ColumnTypeEnum = "dynamic" // ColumnTypeEnumGUID ... ColumnTypeEnumGUID ColumnTypeEnum = "guid" // ColumnTypeEnumInt ... ColumnTypeEnumInt ColumnTypeEnum = "int" // ColumnTypeEnumLong ... ColumnTypeEnumLong ColumnTypeEnum = "long" // ColumnTypeEnumReal ... ColumnTypeEnumReal ColumnTypeEnum = "real" // ColumnTypeEnumString ... ColumnTypeEnumString ColumnTypeEnum = "string" )
func PossibleColumnTypeEnumValues ¶
func PossibleColumnTypeEnumValues() []ColumnTypeEnum
PossibleColumnTypeEnumValues returns an array of possible values for the ColumnTypeEnum const type.
type CoreSummary ¶
type CoreSummary struct { // Status - The status of a core summary. Status *string `json:"status,omitempty"` // NumberOfDocuments - The number of documents of a core summary. NumberOfDocuments *int64 `json:"numberOfDocuments,omitempty"` }
CoreSummary the core summary of a search.
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // Application ... Application CreatedByType = "Application" // Key ... Key CreatedByType = "Key" // ManagedIdentity ... ManagedIdentity CreatedByType = "ManagedIdentity" // User ... User CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type DataExport ¶
type DataExport struct { autorest.Response `json:"-"` // DataExportProperties - data export properties. *DataExportProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
DataExport the top level data export resource container.
func (DataExport) MarshalJSON ¶
func (de DataExport) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataExport.
func (*DataExport) UnmarshalJSON ¶
func (de *DataExport) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataExport struct.
type DataExportListResult ¶
type DataExportListResult struct { autorest.Response `json:"-"` // Value - List of data export instances within a workspace.. Value *[]DataExport `json:"value,omitempty"` }
DataExportListResult result of the request to list data exports.
type DataExportProperties ¶
type DataExportProperties struct { // DataExportID - The data export rule ID. DataExportID *string `json:"dataExportId,omitempty"` // TableNames - An array of tables to export, for example: [“Heartbeat, SecurityEvent”]. TableNames *[]string `json:"tableNames,omitempty"` // Destination - destination properties. *Destination `json:"destination,omitempty"` // Enable - Active when enabled. Enable *bool `json:"enable,omitempty"` // CreatedDate - The latest data export rule modification time. CreatedDate *string `json:"createdDate,omitempty"` // LastModifiedDate - Date and time when the export was last modified. LastModifiedDate *string `json:"lastModifiedDate,omitempty"` }
DataExportProperties data Export properties.
func (DataExportProperties) MarshalJSON ¶
func (dep DataExportProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataExportProperties.
func (*DataExportProperties) UnmarshalJSON ¶
func (dep *DataExportProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataExportProperties struct.
type DataExportsClient ¶
type DataExportsClient struct {
BaseClient
}
DataExportsClient is the operational Insights Client
func NewDataExportsClient ¶
func NewDataExportsClient(subscriptionID string) DataExportsClient
NewDataExportsClient creates an instance of the DataExportsClient client.
func NewDataExportsClientWithBaseURI ¶
func NewDataExportsClientWithBaseURI(baseURI string, subscriptionID string) DataExportsClient
NewDataExportsClientWithBaseURI creates an instance of the DataExportsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DataExportsClient) CreateOrUpdate ¶
func (client DataExportsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string, parameters DataExport) (result DataExport, err error)
CreateOrUpdate create or update a data export. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. dataExportName - the data export rule name. parameters - the parameters required to create or update a data export.
func (DataExportsClient) CreateOrUpdatePreparer ¶
func (client DataExportsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string, parameters DataExport) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DataExportsClient) CreateOrUpdateResponder ¶
func (client DataExportsClient) CreateOrUpdateResponder(resp *http.Response) (result DataExport, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DataExportsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DataExportsClient) Delete ¶
func (client DataExportsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string) (result autorest.Response, err error)
Delete deletes the specified data export in a given workspace.. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. dataExportName - the data export rule name.
func (DataExportsClient) DeletePreparer ¶
func (client DataExportsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DataExportsClient) DeleteResponder ¶
func (client DataExportsClient) 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 (DataExportsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DataExportsClient) Get ¶
func (client DataExportsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string) (result DataExport, err error)
Get gets a data export instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. dataExportName - the data export rule name.
func (DataExportsClient) GetPreparer ¶
func (client DataExportsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DataExportsClient) GetResponder ¶
func (client DataExportsClient) GetResponder(resp *http.Response) (result DataExport, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DataExportsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DataExportsClient) ListByWorkspace ¶
func (client DataExportsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result DataExportListResult, err error)
ListByWorkspace lists the data export instances within a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (DataExportsClient) ListByWorkspacePreparer ¶
func (client DataExportsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListByWorkspacePreparer prepares the ListByWorkspace request.
func (DataExportsClient) ListByWorkspaceResponder ¶
func (client DataExportsClient) ListByWorkspaceResponder(resp *http.Response) (result DataExportListResult, err error)
ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.
func (DataExportsClient) ListByWorkspaceSender ¶
ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.
type DataIngestionStatus ¶
type DataIngestionStatus string
DataIngestionStatus enumerates the values for data ingestion status.
const ( // ApproachingQuota 80% of daily cap quota reached. ApproachingQuota DataIngestionStatus = "ApproachingQuota" // ForceOff Ingestion stopped following service setting change. ForceOff DataIngestionStatus = "ForceOff" // ForceOn Ingestion started following service setting change. ForceOn DataIngestionStatus = "ForceOn" // OverQuota Reached daily cap quota, ingestion stopped. OverQuota DataIngestionStatus = "OverQuota" // RespectQuota Ingestion enabled following daily cap quota reset, or subscription enablement. RespectQuota DataIngestionStatus = "RespectQuota" // SubscriptionSuspended Ingestion stopped following suspended subscription. SubscriptionSuspended DataIngestionStatus = "SubscriptionSuspended" )
func PossibleDataIngestionStatusValues ¶
func PossibleDataIngestionStatusValues() []DataIngestionStatus
PossibleDataIngestionStatusValues returns an array of possible values for the DataIngestionStatus const type.
type DataSource ¶
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: 'WindowsEvent', 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog', 'LinuxSyslogCollection', 'LinuxPerformanceObject', 'LinuxPerformanceCollection', 'CustomLog', 'CustomLogCollection', 'AzureAuditLog', 'AzureActivityLog', 'GenericDataSource', 'ChangeTrackingCustomPath', 'ChangeTrackingPath', 'ChangeTrackingServices', 'ChangeTrackingDataTypeConfiguration', 'ChangeTrackingDefaultRegistry', 'ChangeTrackingRegistry', 'ChangeTrackingLinuxPath', 'LinuxChangeTrackingPath', 'ChangeTrackingContentLocation', 'WindowsTelemetry', 'Office365', 'SecurityWindowsBaselineConfiguration', 'SecurityCenterSecurityWindowsBaselineConfiguration', 'SecurityEventCollectionConfiguration', 'SecurityInsightsSecurityEventCollectionConfiguration', 'ImportComputerGroup', 'NetworkMonitoring', 'Itsm', 'DNSAnalytics', 'ApplicationInsights', 'SQLDataClassification' Kind DataSourceKind `json:"kind,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
DataSource datasources under OMS Workspace.
func (DataSource) MarshalJSON ¶
func (ds DataSource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataSource.
type DataSourceFilter ¶
type DataSourceFilter struct { // Kind - Possible values include: 'WindowsEvent', 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog', 'LinuxSyslogCollection', 'LinuxPerformanceObject', 'LinuxPerformanceCollection', 'CustomLog', 'CustomLogCollection', 'AzureAuditLog', 'AzureActivityLog', 'GenericDataSource', 'ChangeTrackingCustomPath', 'ChangeTrackingPath', 'ChangeTrackingServices', 'ChangeTrackingDataTypeConfiguration', 'ChangeTrackingDefaultRegistry', 'ChangeTrackingRegistry', 'ChangeTrackingLinuxPath', 'LinuxChangeTrackingPath', 'ChangeTrackingContentLocation', 'WindowsTelemetry', 'Office365', 'SecurityWindowsBaselineConfiguration', 'SecurityCenterSecurityWindowsBaselineConfiguration', 'SecurityEventCollectionConfiguration', 'SecurityInsightsSecurityEventCollectionConfiguration', 'ImportComputerGroup', 'NetworkMonitoring', 'Itsm', 'DNSAnalytics', 'ApplicationInsights', 'SQLDataClassification' Kind DataSourceKind `json:"kind,omitempty"` }
DataSourceFilter dataSource filter. Right now, only filter by kind is supported.
type DataSourceKind ¶
type DataSourceKind string
DataSourceKind enumerates the values for data source kind.
const ( // ApplicationInsights ... ApplicationInsights DataSourceKind = "ApplicationInsights" // AzureActivityLog ... AzureActivityLog DataSourceKind = "AzureActivityLog" // AzureAuditLog ... AzureAuditLog DataSourceKind = "AzureAuditLog" // ChangeTrackingContentLocation ... ChangeTrackingContentLocation DataSourceKind = "ChangeTrackingContentLocation" // ChangeTrackingCustomPath ... ChangeTrackingCustomPath DataSourceKind = "ChangeTrackingCustomPath" // ChangeTrackingDataTypeConfiguration ... ChangeTrackingDataTypeConfiguration DataSourceKind = "ChangeTrackingDataTypeConfiguration" // ChangeTrackingDefaultRegistry ... ChangeTrackingDefaultRegistry DataSourceKind = "ChangeTrackingDefaultRegistry" // ChangeTrackingLinuxPath ... ChangeTrackingLinuxPath DataSourceKind = "ChangeTrackingLinuxPath" // ChangeTrackingPath ... ChangeTrackingPath DataSourceKind = "ChangeTrackingPath" // ChangeTrackingRegistry ... ChangeTrackingRegistry DataSourceKind = "ChangeTrackingRegistry" // ChangeTrackingServices ... ChangeTrackingServices DataSourceKind = "ChangeTrackingServices" // CustomLog ... CustomLog DataSourceKind = "CustomLog" // CustomLogCollection ... CustomLogCollection DataSourceKind = "CustomLogCollection" // DNSAnalytics ... DNSAnalytics DataSourceKind = "DnsAnalytics" // GenericDataSource ... GenericDataSource DataSourceKind = "GenericDataSource" // IISLogs ... IISLogs DataSourceKind = "IISLogs" // ImportComputerGroup ... ImportComputerGroup DataSourceKind = "ImportComputerGroup" // Itsm ... Itsm DataSourceKind = "Itsm" // LinuxChangeTrackingPath ... LinuxChangeTrackingPath DataSourceKind = "LinuxChangeTrackingPath" // LinuxPerformanceCollection ... LinuxPerformanceCollection DataSourceKind = "LinuxPerformanceCollection" // LinuxPerformanceObject ... LinuxPerformanceObject DataSourceKind = "LinuxPerformanceObject" // LinuxSyslog ... LinuxSyslog DataSourceKind = "LinuxSyslog" // LinuxSyslogCollection ... LinuxSyslogCollection DataSourceKind = "LinuxSyslogCollection" // NetworkMonitoring ... NetworkMonitoring DataSourceKind = "NetworkMonitoring" // Office365 ... Office365 DataSourceKind = "Office365" // SecurityCenterSecurityWindowsBaselineConfiguration ... SecurityCenterSecurityWindowsBaselineConfiguration DataSourceKind = "SecurityCenterSecurityWindowsBaselineConfiguration" // SecurityEventCollectionConfiguration ... SecurityEventCollectionConfiguration DataSourceKind = "SecurityEventCollectionConfiguration" // SecurityInsightsSecurityEventCollectionConfiguration ... SecurityInsightsSecurityEventCollectionConfiguration DataSourceKind = "SecurityInsightsSecurityEventCollectionConfiguration" // SecurityWindowsBaselineConfiguration ... SecurityWindowsBaselineConfiguration DataSourceKind = "SecurityWindowsBaselineConfiguration" // SQLDataClassification ... SQLDataClassification DataSourceKind = "SqlDataClassification" // WindowsEvent ... WindowsEvent DataSourceKind = "WindowsEvent" // WindowsPerformanceCounter ... WindowsPerformanceCounter DataSourceKind = "WindowsPerformanceCounter" // WindowsTelemetry ... WindowsTelemetry DataSourceKind = "WindowsTelemetry" )
func PossibleDataSourceKindValues ¶
func PossibleDataSourceKindValues() []DataSourceKind
PossibleDataSourceKindValues returns an array of possible values for the DataSourceKind const type.
type DataSourceListResult ¶
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 ¶
func (dslr DataSourceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DataSourceListResultIterator ¶
type DataSourceListResultIterator struct {
// contains filtered or unexported fields
}
DataSourceListResultIterator provides access to a complete listing of DataSource values.
func NewDataSourceListResultIterator ¶
func NewDataSourceListResultIterator(page DataSourceListResultPage) DataSourceListResultIterator
Creates a new instance of the DataSourceListResultIterator type.
func (*DataSourceListResultIterator) Next ¶
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 ¶
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 ¶
func (iter DataSourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DataSourceListResultIterator) Response ¶
func (iter DataSourceListResultIterator) Response() DataSourceListResult
Response returns the raw server response from the last page request.
func (DataSourceListResultIterator) Value ¶
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 ¶
type DataSourceListResultPage struct {
// contains filtered or unexported fields
}
DataSourceListResultPage contains a page of DataSource values.
func NewDataSourceListResultPage ¶
func NewDataSourceListResultPage(cur DataSourceListResult, getNextPage func(context.Context, DataSourceListResult) (DataSourceListResult, error)) DataSourceListResultPage
Creates a new instance of the DataSourceListResultPage type.
func (*DataSourceListResultPage) Next ¶
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 ¶
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 ¶
func (page DataSourceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DataSourceListResultPage) Response ¶
func (page DataSourceListResultPage) Response() DataSourceListResult
Response returns the raw server response from the last page request.
func (DataSourceListResultPage) Values ¶
func (page DataSourceListResultPage) Values() []DataSource
Values returns the slice of values for the current page or nil if there are no values.
type DataSourceType ¶
type DataSourceType string
DataSourceType enumerates the values for data source type.
const ( // Alerts ... Alerts DataSourceType = "Alerts" // AzureWatson ... AzureWatson DataSourceType = "AzureWatson" // CustomLogs ... CustomLogs DataSourceType = "CustomLogs" // Ingestion ... Ingestion DataSourceType = "Ingestion" // Query ... Query DataSourceType = "Query" )
func PossibleDataSourceTypeValues ¶
func PossibleDataSourceTypeValues() []DataSourceType
PossibleDataSourceTypeValues returns an array of possible values for the DataSourceType const type.
type DataSourcesClient ¶
type DataSourcesClient struct {
BaseClient
}
DataSourcesClient is the operational Insights Client
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DataSourcesClient) CreateOrUpdate ¶
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. The name is case insensitive. workspaceName - the name of the workspace. dataSourceName - the name of the datasource resource. parameters - the parameters required to create or update a datasource.
func (DataSourcesClient) CreateOrUpdatePreparer ¶
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 ¶
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 ¶
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(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. The name is case insensitive. workspaceName - the name of the workspace. dataSourceName - name of the datasource.
func (DataSourcesClient) DeletePreparer ¶
func (client DataSourcesClient) DeletePreparer(ctx context.Context, 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 ¶
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(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. The name is case insensitive. workspaceName - the name of the workspace. dataSourceName - name of the datasource
func (DataSourcesClient) GetPreparer ¶
func (client DataSourcesClient) GetPreparer(ctx context.Context, 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 ¶
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(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. The name is case insensitive. workspaceName - the name of the workspace. filter - the filter to apply on the operation. skiptoken - starting point of the collection of data source instances.
func (DataSourcesClient) ListByWorkspaceComplete ¶
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 ¶
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 ¶
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 ¶
ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.
type DeletedWorkspacesClient ¶
type DeletedWorkspacesClient struct {
BaseClient
}
DeletedWorkspacesClient is the operational Insights Client
func NewDeletedWorkspacesClient ¶
func NewDeletedWorkspacesClient(subscriptionID string) DeletedWorkspacesClient
NewDeletedWorkspacesClient creates an instance of the DeletedWorkspacesClient client.
func NewDeletedWorkspacesClientWithBaseURI ¶
func NewDeletedWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) DeletedWorkspacesClient
NewDeletedWorkspacesClientWithBaseURI creates an instance of the DeletedWorkspacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DeletedWorkspacesClient) List ¶
func (client DeletedWorkspacesClient) List(ctx context.Context) (result WorkspaceListResult, err error)
List gets recently deleted workspaces in a subscription, available for recovery.
func (DeletedWorkspacesClient) ListByResourceGroup ¶
func (client DeletedWorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListResult, err error)
ListByResourceGroup gets recently deleted workspaces in a resource group, available for recovery. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (DeletedWorkspacesClient) ListByResourceGroupPreparer ¶
func (client DeletedWorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (DeletedWorkspacesClient) ListByResourceGroupResponder ¶
func (client DeletedWorkspacesClient) 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 (DeletedWorkspacesClient) ListByResourceGroupSender ¶
func (client DeletedWorkspacesClient) 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 (DeletedWorkspacesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (DeletedWorkspacesClient) ListResponder ¶
func (client DeletedWorkspacesClient) 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 (DeletedWorkspacesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Destination ¶
type Destination struct { // ResourceID - The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure. ResourceID *string `json:"resourceId,omitempty"` // Type - READ-ONLY; The type of the destination resource. Possible values include: 'TypeStorageAccount', 'TypeEventHub' Type Type `json:"type,omitempty"` // DestinationMetaData - destination meta data. *DestinationMetaData `json:"metaData,omitempty"` }
Destination destination properties.
func (Destination) MarshalJSON ¶
func (d Destination) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Destination.
func (*Destination) UnmarshalJSON ¶
func (d *Destination) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Destination struct.
type DestinationMetaData ¶
type DestinationMetaData struct { // EventHubName - Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account. EventHubName *string `json:"eventHubName,omitempty"` }
DestinationMetaData destination meta data.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // Type - READ-ONLY; The additional info type. Type *string `json:"type,omitempty"` // Info - READ-ONLY; The additional info. Info interface{} `json:"info,omitempty"` }
ErrorAdditionalInfo the resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` // Target - READ-ONLY; The error target. Target *string `json:"target,omitempty"` // Details - READ-ONLY; The error details. Details *[]ErrorDetail `json:"details,omitempty"` // AdditionalInfo - READ-ONLY; The error additional info. AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` }
ErrorDetail the error detail.
func (ErrorDetail) MarshalJSON ¶
func (ed ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // Error - The error object. Error *ErrorDetail `json:"error,omitempty"` }
ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
type GatewaysClient ¶
type GatewaysClient struct {
BaseClient
}
GatewaysClient is the operational Insights Client
func NewGatewaysClient ¶
func NewGatewaysClient(subscriptionID string) GatewaysClient
NewGatewaysClient creates an instance of the GatewaysClient client.
func NewGatewaysClientWithBaseURI ¶
func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient
NewGatewaysClientWithBaseURI creates an instance of the GatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (GatewaysClient) Delete ¶
func (client GatewaysClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, gatewayID string) (result autorest.Response, err error)
Delete delete a Log Analytics gateway. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. gatewayID - the Log Analytics gateway Id.
func (GatewaysClient) DeletePreparer ¶
func (client GatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, gatewayID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (GatewaysClient) DeleteResponder ¶
func (client GatewaysClient) 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 (GatewaysClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
type Identity ¶
type Identity struct { // PrincipalID - READ-ONLY; The principal ID of resource identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` // Type - Type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned', 'None' Type IdentityTypeForCluster `json:"type,omitempty"` // UserAssignedIdentities - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*UserIdentityProperties `json:"userAssignedIdentities"` }
Identity identity for the resource.
func (Identity) MarshalJSON ¶
MarshalJSON is the custom marshaler for Identity.
type IdentityType ¶
type IdentityType string
IdentityType enumerates the values for identity type.
const ( // IdentityTypeApplication ... IdentityTypeApplication IdentityType = "application" // IdentityTypeKey ... IdentityTypeKey IdentityType = "key" // IdentityTypeManagedIdentity ... IdentityTypeManagedIdentity IdentityType = "managedIdentity" // IdentityTypeUser ... IdentityTypeUser IdentityType = "user" )
func PossibleIdentityTypeValues ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
type IdentityTypeForCluster ¶
type IdentityTypeForCluster string
IdentityTypeForCluster enumerates the values for identity type for cluster.
const ( // None ... None IdentityTypeForCluster = "None" // SystemAssigned ... SystemAssigned IdentityTypeForCluster = "SystemAssigned" // UserAssigned ... UserAssigned IdentityTypeForCluster = "UserAssigned" )
func PossibleIdentityTypeForClusterValues ¶
func PossibleIdentityTypeForClusterValues() []IdentityTypeForCluster
PossibleIdentityTypeForClusterValues returns an array of possible values for the IdentityTypeForCluster const type.
type IntelligencePack ¶
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 IntelligencePacksClient ¶
type IntelligencePacksClient struct {
BaseClient
}
IntelligencePacksClient is the operational Insights Client
func NewIntelligencePacksClient ¶
func NewIntelligencePacksClient(subscriptionID string) IntelligencePacksClient
NewIntelligencePacksClient creates an instance of the IntelligencePacksClient client.
func NewIntelligencePacksClientWithBaseURI ¶
func NewIntelligencePacksClientWithBaseURI(baseURI string, subscriptionID string) IntelligencePacksClient
NewIntelligencePacksClientWithBaseURI creates an instance of the IntelligencePacksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (IntelligencePacksClient) Disable ¶
func (client IntelligencePacksClient) Disable(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string) (result autorest.Response, err error)
Disable disables an intelligence pack for a given workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. intelligencePackName - the name of the intelligence pack to be disabled.
func (IntelligencePacksClient) DisablePreparer ¶
func (client IntelligencePacksClient) DisablePreparer(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string) (*http.Request, error)
DisablePreparer prepares the Disable request.
func (IntelligencePacksClient) DisableResponder ¶
func (client IntelligencePacksClient) DisableResponder(resp *http.Response) (result autorest.Response, err error)
DisableResponder handles the response to the Disable request. The method always closes the http.Response Body.
func (IntelligencePacksClient) DisableSender ¶
DisableSender sends the Disable request. The method will close the http.Response Body if it receives an error.
func (IntelligencePacksClient) Enable ¶
func (client IntelligencePacksClient) Enable(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string) (result autorest.Response, err error)
Enable enables an intelligence pack for a given workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. intelligencePackName - the name of the intelligence pack to be enabled.
func (IntelligencePacksClient) EnablePreparer ¶
func (client IntelligencePacksClient) EnablePreparer(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string) (*http.Request, error)
EnablePreparer prepares the Enable request.
func (IntelligencePacksClient) EnableResponder ¶
func (client IntelligencePacksClient) EnableResponder(resp *http.Response) (result autorest.Response, err error)
EnableResponder handles the response to the Enable request. The method always closes the http.Response Body.
func (IntelligencePacksClient) EnableSender ¶
EnableSender sends the Enable request. The method will close the http.Response Body if it receives an error.
func (IntelligencePacksClient) List ¶
func (client IntelligencePacksClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result ListIntelligencePack, err error)
List 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. The name is case insensitive. workspaceName - the name of the workspace.
func (IntelligencePacksClient) ListPreparer ¶
func (client IntelligencePacksClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (IntelligencePacksClient) ListResponder ¶
func (client IntelligencePacksClient) ListResponder(resp *http.Response) (result ListIntelligencePack, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (IntelligencePacksClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type KeyVaultProperties ¶
type KeyVaultProperties struct { // KeyVaultURI - The Key Vault uri which holds they key associated with the Log Analytics cluster. KeyVaultURI *string `json:"keyVaultUri,omitempty"` // KeyName - The name of the key associated with the Log Analytics cluster. KeyName *string `json:"keyName,omitempty"` // KeyVersion - The version of the key associated with the Log Analytics cluster. KeyVersion *string `json:"keyVersion,omitempty"` // KeyRsaSize - Selected key minimum required size. KeyRsaSize *int32 `json:"keyRsaSize,omitempty"` }
KeyVaultProperties the key vault properties.
type LinkedService ¶
type LinkedService struct { autorest.Response `json:"-"` // LinkedServiceProperties - The properties of the linked service. *LinkedServiceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
LinkedService the top level Linked service resource container.
func (LinkedService) MarshalJSON ¶
func (ls LinkedService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LinkedService.
func (*LinkedService) UnmarshalJSON ¶
func (ls *LinkedService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LinkedService struct.
type LinkedServiceEntityStatus ¶
type LinkedServiceEntityStatus string
LinkedServiceEntityStatus enumerates the values for linked service entity status.
const ( // LinkedServiceEntityStatusDeleting ... LinkedServiceEntityStatusDeleting LinkedServiceEntityStatus = "Deleting" // LinkedServiceEntityStatusProvisioningAccount ... LinkedServiceEntityStatusProvisioningAccount LinkedServiceEntityStatus = "ProvisioningAccount" // LinkedServiceEntityStatusSucceeded ... LinkedServiceEntityStatusSucceeded LinkedServiceEntityStatus = "Succeeded" // LinkedServiceEntityStatusUpdating ... LinkedServiceEntityStatusUpdating LinkedServiceEntityStatus = "Updating" )
func PossibleLinkedServiceEntityStatusValues ¶
func PossibleLinkedServiceEntityStatusValues() []LinkedServiceEntityStatus
PossibleLinkedServiceEntityStatusValues returns an array of possible values for the LinkedServiceEntityStatus const type.
type LinkedServiceListResult ¶
type LinkedServiceListResult struct { autorest.Response `json:"-"` // Value - The list of linked service instances Value *[]LinkedService `json:"value,omitempty"` }
LinkedServiceListResult the list linked service operation response.
type LinkedServiceProperties ¶
type LinkedServiceProperties struct { // ResourceID - The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access ResourceID *string `json:"resourceId,omitempty"` // WriteAccessResourceID - The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access WriteAccessResourceID *string `json:"writeAccessResourceId,omitempty"` // ProvisioningState - The provisioning state of the linked service. Possible values include: 'LinkedServiceEntityStatusSucceeded', 'LinkedServiceEntityStatusDeleting', 'LinkedServiceEntityStatusProvisioningAccount', 'LinkedServiceEntityStatusUpdating' ProvisioningState LinkedServiceEntityStatus `json:"provisioningState,omitempty"` }
LinkedServiceProperties linked service properties.
type LinkedServicesClient ¶
type LinkedServicesClient struct {
BaseClient
}
LinkedServicesClient is the operational Insights Client
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LinkedServicesClient) CreateOrUpdate ¶
func (client LinkedServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string, parameters LinkedService) (result LinkedServicesCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a linked service. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. linkedServiceName - name of the linkedServices resource parameters - the parameters required to create or update a linked service.
func (LinkedServicesClient) CreateOrUpdatePreparer ¶
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 ¶
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) (future LinkedServicesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string) (result LinkedServicesDeleteFuture, err error)
Delete deletes a linked service instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. linkedServiceName - name of the linked service.
func (LinkedServicesClient) DeletePreparer ¶
func (client LinkedServicesClient) DeletePreparer(ctx context.Context, 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 LinkedService, 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) (future LinkedServicesDeleteFuture, err 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(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. The name is case insensitive. workspaceName - the name of the workspace. linkedServiceName - name of the linked service.
func (LinkedServicesClient) GetPreparer ¶
func (client LinkedServicesClient) GetPreparer(ctx context.Context, 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 ¶
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(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. The name is case insensitive. workspaceName - the name of the workspace.
func (LinkedServicesClient) ListByWorkspacePreparer ¶
func (client LinkedServicesClient) ListByWorkspacePreparer(ctx context.Context, 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 ¶
ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.
type LinkedServicesCreateOrUpdateFuture ¶
type LinkedServicesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LinkedServicesClient) (LinkedService, error) }
LinkedServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LinkedServicesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *LinkedServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LinkedServicesDeleteFuture ¶
type LinkedServicesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LinkedServicesClient) (LinkedService, error) }
LinkedServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LinkedServicesDeleteFuture) UnmarshalJSON ¶
func (future *LinkedServicesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LinkedStorageAccountsClient ¶
type LinkedStorageAccountsClient struct {
BaseClient
}
LinkedStorageAccountsClient is the operational Insights Client
func NewLinkedStorageAccountsClient ¶
func NewLinkedStorageAccountsClient(subscriptionID string) LinkedStorageAccountsClient
NewLinkedStorageAccountsClient creates an instance of the LinkedStorageAccountsClient client.
func NewLinkedStorageAccountsClientWithBaseURI ¶
func NewLinkedStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) LinkedStorageAccountsClient
NewLinkedStorageAccountsClientWithBaseURI creates an instance of the LinkedStorageAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LinkedStorageAccountsClient) CreateOrUpdate ¶
func (client LinkedStorageAccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType DataSourceType, parameters LinkedStorageAccountsResource) (result LinkedStorageAccountsResource, err error)
CreateOrUpdate create or Update a link relation between current workspace and a group of storage accounts of a specific data source type. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. dataSourceType - linked storage accounts type. parameters - the parameters required to create or update linked storage accounts.
func (LinkedStorageAccountsClient) CreateOrUpdatePreparer ¶
func (client LinkedStorageAccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType DataSourceType, parameters LinkedStorageAccountsResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LinkedStorageAccountsClient) CreateOrUpdateResponder ¶
func (client LinkedStorageAccountsClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedStorageAccountsResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (LinkedStorageAccountsClient) CreateOrUpdateSender ¶
func (client LinkedStorageAccountsClient) 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 (LinkedStorageAccountsClient) Delete ¶
func (client LinkedStorageAccountsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType DataSourceType) (result autorest.Response, err error)
Delete deletes all linked storage accounts of a specific data source type associated with the specified workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. dataSourceType - linked storage accounts type.
func (LinkedStorageAccountsClient) DeletePreparer ¶
func (client LinkedStorageAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType DataSourceType) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LinkedStorageAccountsClient) DeleteResponder ¶
func (client LinkedStorageAccountsClient) 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 (LinkedStorageAccountsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (LinkedStorageAccountsClient) Get ¶
func (client LinkedStorageAccountsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType DataSourceType) (result LinkedStorageAccountsResource, err error)
Get gets all linked storage account of a specific data source type associated with the specified workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. dataSourceType - linked storage accounts type.
func (LinkedStorageAccountsClient) GetPreparer ¶
func (client LinkedStorageAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType DataSourceType) (*http.Request, error)
GetPreparer prepares the Get request.
func (LinkedStorageAccountsClient) GetResponder ¶
func (client LinkedStorageAccountsClient) GetResponder(resp *http.Response) (result LinkedStorageAccountsResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LinkedStorageAccountsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LinkedStorageAccountsClient) ListByWorkspace ¶
func (client LinkedStorageAccountsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result LinkedStorageAccountsListResult, err error)
ListByWorkspace gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (LinkedStorageAccountsClient) ListByWorkspacePreparer ¶
func (client LinkedStorageAccountsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListByWorkspacePreparer prepares the ListByWorkspace request.
func (LinkedStorageAccountsClient) ListByWorkspaceResponder ¶
func (client LinkedStorageAccountsClient) ListByWorkspaceResponder(resp *http.Response) (result LinkedStorageAccountsListResult, err error)
ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.
func (LinkedStorageAccountsClient) ListByWorkspaceSender ¶
func (client LinkedStorageAccountsClient) 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 LinkedStorageAccountsListResult ¶
type LinkedStorageAccountsListResult struct { autorest.Response `json:"-"` // Value - A list of linked storage accounts instances. Value *[]LinkedStorageAccountsResource `json:"value,omitempty"` }
LinkedStorageAccountsListResult the list linked storage accounts service operation response.
type LinkedStorageAccountsProperties ¶
type LinkedStorageAccountsProperties struct { // DataSourceType - READ-ONLY; Linked storage accounts type. Possible values include: 'CustomLogs', 'AzureWatson', 'Query', 'Ingestion', 'Alerts' DataSourceType DataSourceType `json:"dataSourceType,omitempty"` // StorageAccountIds - Linked storage accounts resources ids. StorageAccountIds *[]string `json:"storageAccountIds,omitempty"` }
LinkedStorageAccountsProperties linked storage accounts properties.
func (LinkedStorageAccountsProperties) MarshalJSON ¶
func (lsap LinkedStorageAccountsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LinkedStorageAccountsProperties.
type LinkedStorageAccountsResource ¶
type LinkedStorageAccountsResource struct { autorest.Response `json:"-"` // LinkedStorageAccountsProperties - Linked storage accounts properties. *LinkedStorageAccountsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
LinkedStorageAccountsResource linked storage accounts top level resource container.
func (LinkedStorageAccountsResource) MarshalJSON ¶
func (lsar LinkedStorageAccountsResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LinkedStorageAccountsResource.
func (*LinkedStorageAccountsResource) UnmarshalJSON ¶
func (lsar *LinkedStorageAccountsResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LinkedStorageAccountsResource struct.
type ListAvailableServiceTier ¶
type ListAvailableServiceTier struct { autorest.Response `json:"-"` Value *[]AvailableServiceTier `json:"value,omitempty"` }
ListAvailableServiceTier ...
type ListIntelligencePack ¶
type ListIntelligencePack struct { autorest.Response `json:"-"` Value *[]IntelligencePack `json:"value,omitempty"` }
ListIntelligencePack ...
type LogAnalyticsQueryPack ¶
type LogAnalyticsQueryPack struct { autorest.Response `json:"-"` // LogAnalyticsQueryPackProperties - Properties that define a Log Analytics QueryPack resource. *LogAnalyticsQueryPackProperties `json:"properties,omitempty"` // ID - READ-ONLY; Azure resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Azure resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Azure resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
LogAnalyticsQueryPack an Log Analytics QueryPack definition.
func (LogAnalyticsQueryPack) MarshalJSON ¶
func (laqp LogAnalyticsQueryPack) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogAnalyticsQueryPack.
func (*LogAnalyticsQueryPack) UnmarshalJSON ¶
func (laqp *LogAnalyticsQueryPack) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LogAnalyticsQueryPack struct.
type LogAnalyticsQueryPackListResult ¶
type LogAnalyticsQueryPackListResult struct { autorest.Response `json:"-"` // Value - List of Log Analytics QueryPack definitions. Value *[]LogAnalyticsQueryPack `json:"value,omitempty"` // NextLink - The URI to get the next set of Log Analytics QueryPack definitions if too many QueryPacks where returned in the result set. NextLink *string `json:"nextLink,omitempty"` }
LogAnalyticsQueryPackListResult describes the list of Log Analytics QueryPack resources.
func (LogAnalyticsQueryPackListResult) IsEmpty ¶
func (laqplr LogAnalyticsQueryPackListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LogAnalyticsQueryPackListResultIterator ¶
type LogAnalyticsQueryPackListResultIterator struct {
// contains filtered or unexported fields
}
LogAnalyticsQueryPackListResultIterator provides access to a complete listing of LogAnalyticsQueryPack values.
func NewLogAnalyticsQueryPackListResultIterator ¶
func NewLogAnalyticsQueryPackListResultIterator(page LogAnalyticsQueryPackListResultPage) LogAnalyticsQueryPackListResultIterator
Creates a new instance of the LogAnalyticsQueryPackListResultIterator type.
func (*LogAnalyticsQueryPackListResultIterator) Next ¶
func (iter *LogAnalyticsQueryPackListResultIterator) 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 (*LogAnalyticsQueryPackListResultIterator) NextWithContext ¶
func (iter *LogAnalyticsQueryPackListResultIterator) 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 (LogAnalyticsQueryPackListResultIterator) NotDone ¶
func (iter LogAnalyticsQueryPackListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LogAnalyticsQueryPackListResultIterator) Response ¶
func (iter LogAnalyticsQueryPackListResultIterator) Response() LogAnalyticsQueryPackListResult
Response returns the raw server response from the last page request.
func (LogAnalyticsQueryPackListResultIterator) Value ¶
func (iter LogAnalyticsQueryPackListResultIterator) Value() LogAnalyticsQueryPack
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LogAnalyticsQueryPackListResultPage ¶
type LogAnalyticsQueryPackListResultPage struct {
// contains filtered or unexported fields
}
LogAnalyticsQueryPackListResultPage contains a page of LogAnalyticsQueryPack values.
func NewLogAnalyticsQueryPackListResultPage ¶
func NewLogAnalyticsQueryPackListResultPage(cur LogAnalyticsQueryPackListResult, getNextPage func(context.Context, LogAnalyticsQueryPackListResult) (LogAnalyticsQueryPackListResult, error)) LogAnalyticsQueryPackListResultPage
Creates a new instance of the LogAnalyticsQueryPackListResultPage type.
func (*LogAnalyticsQueryPackListResultPage) Next ¶
func (page *LogAnalyticsQueryPackListResultPage) 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 (*LogAnalyticsQueryPackListResultPage) NextWithContext ¶
func (page *LogAnalyticsQueryPackListResultPage) 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 (LogAnalyticsQueryPackListResultPage) NotDone ¶
func (page LogAnalyticsQueryPackListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LogAnalyticsQueryPackListResultPage) Response ¶
func (page LogAnalyticsQueryPackListResultPage) Response() LogAnalyticsQueryPackListResult
Response returns the raw server response from the last page request.
func (LogAnalyticsQueryPackListResultPage) Values ¶
func (page LogAnalyticsQueryPackListResultPage) Values() []LogAnalyticsQueryPack
Values returns the slice of values for the current page or nil if there are no values.
type LogAnalyticsQueryPackProperties ¶
type LogAnalyticsQueryPackProperties struct { // QueryPackID - READ-ONLY; The unique ID of your application. This field cannot be changed. QueryPackID *string `json:"queryPackId,omitempty"` // TimeCreated - READ-ONLY; Creation Date for the Log Analytics QueryPack, in ISO 8601 format. TimeCreated *date.Time `json:"timeCreated,omitempty"` // TimeModified - READ-ONLY; Last modified date of the Log Analytics QueryPack, in ISO 8601 format. TimeModified *date.Time `json:"timeModified,omitempty"` // ProvisioningState - READ-ONLY; Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed. ProvisioningState *string `json:"provisioningState,omitempty"` }
LogAnalyticsQueryPackProperties properties that define a Log Analytics QueryPack resource.
func (LogAnalyticsQueryPackProperties) MarshalJSON ¶
func (laqpp LogAnalyticsQueryPackProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogAnalyticsQueryPackProperties.
type LogAnalyticsQueryPackQuery ¶
type LogAnalyticsQueryPackQuery struct { autorest.Response `json:"-"` // LogAnalyticsQueryPackQueryProperties - Properties that define an Log Analytics QueryPack-Query resource. *LogAnalyticsQueryPackQueryProperties `json:"properties,omitempty"` // ID - READ-ONLY; Azure resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Azure resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Azure resource type Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Read only system data SystemData *SystemData `json:"systemData,omitempty"` }
LogAnalyticsQueryPackQuery a Log Analytics QueryPack-Query definition.
func (LogAnalyticsQueryPackQuery) MarshalJSON ¶
func (laqpq LogAnalyticsQueryPackQuery) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogAnalyticsQueryPackQuery.
func (*LogAnalyticsQueryPackQuery) UnmarshalJSON ¶
func (laqpq *LogAnalyticsQueryPackQuery) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LogAnalyticsQueryPackQuery struct.
type LogAnalyticsQueryPackQueryListResult ¶
type LogAnalyticsQueryPackQueryListResult struct { autorest.Response `json:"-"` // Value - List of Log Analytics QueryPack Query definitions. Value *[]LogAnalyticsQueryPackQuery `json:"value,omitempty"` // NextLink - The URI to get the next set of Log Analytics QueryPack definitions if too many QueryPack-Queries where returned in the result set. NextLink *string `json:"nextLink,omitempty"` }
LogAnalyticsQueryPackQueryListResult describes the list of Log Analytics QueryPack-Query resources.
func (LogAnalyticsQueryPackQueryListResult) IsEmpty ¶
func (laqpqlr LogAnalyticsQueryPackQueryListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LogAnalyticsQueryPackQueryListResultIterator ¶
type LogAnalyticsQueryPackQueryListResultIterator struct {
// contains filtered or unexported fields
}
LogAnalyticsQueryPackQueryListResultIterator provides access to a complete listing of LogAnalyticsQueryPackQuery values.
func NewLogAnalyticsQueryPackQueryListResultIterator ¶
func NewLogAnalyticsQueryPackQueryListResultIterator(page LogAnalyticsQueryPackQueryListResultPage) LogAnalyticsQueryPackQueryListResultIterator
Creates a new instance of the LogAnalyticsQueryPackQueryListResultIterator type.
func (*LogAnalyticsQueryPackQueryListResultIterator) Next ¶
func (iter *LogAnalyticsQueryPackQueryListResultIterator) 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 (*LogAnalyticsQueryPackQueryListResultIterator) NextWithContext ¶
func (iter *LogAnalyticsQueryPackQueryListResultIterator) 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 (LogAnalyticsQueryPackQueryListResultIterator) NotDone ¶
func (iter LogAnalyticsQueryPackQueryListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LogAnalyticsQueryPackQueryListResultIterator) Response ¶
func (iter LogAnalyticsQueryPackQueryListResultIterator) Response() LogAnalyticsQueryPackQueryListResult
Response returns the raw server response from the last page request.
func (LogAnalyticsQueryPackQueryListResultIterator) Value ¶
func (iter LogAnalyticsQueryPackQueryListResultIterator) Value() LogAnalyticsQueryPackQuery
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LogAnalyticsQueryPackQueryListResultPage ¶
type LogAnalyticsQueryPackQueryListResultPage struct {
// contains filtered or unexported fields
}
LogAnalyticsQueryPackQueryListResultPage contains a page of LogAnalyticsQueryPackQuery values.
func NewLogAnalyticsQueryPackQueryListResultPage ¶
func NewLogAnalyticsQueryPackQueryListResultPage(cur LogAnalyticsQueryPackQueryListResult, getNextPage func(context.Context, LogAnalyticsQueryPackQueryListResult) (LogAnalyticsQueryPackQueryListResult, error)) LogAnalyticsQueryPackQueryListResultPage
Creates a new instance of the LogAnalyticsQueryPackQueryListResultPage type.
func (*LogAnalyticsQueryPackQueryListResultPage) Next ¶
func (page *LogAnalyticsQueryPackQueryListResultPage) 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 (*LogAnalyticsQueryPackQueryListResultPage) NextWithContext ¶
func (page *LogAnalyticsQueryPackQueryListResultPage) 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 (LogAnalyticsQueryPackQueryListResultPage) NotDone ¶
func (page LogAnalyticsQueryPackQueryListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LogAnalyticsQueryPackQueryListResultPage) Response ¶
func (page LogAnalyticsQueryPackQueryListResultPage) Response() LogAnalyticsQueryPackQueryListResult
Response returns the raw server response from the last page request.
func (LogAnalyticsQueryPackQueryListResultPage) Values ¶
func (page LogAnalyticsQueryPackQueryListResultPage) Values() []LogAnalyticsQueryPackQuery
Values returns the slice of values for the current page or nil if there are no values.
type LogAnalyticsQueryPackQueryProperties ¶
type LogAnalyticsQueryPackQueryProperties struct { // ID - READ-ONLY; The unique ID of your application. This field cannot be changed. ID *string `json:"id,omitempty"` // DisplayName - Unique display name for your query within the Query Pack. DisplayName *string `json:"displayName,omitempty"` // TimeCreated - READ-ONLY; Creation Date for the Log Analytics Query, in ISO 8601 format. TimeCreated *date.Time `json:"timeCreated,omitempty"` // TimeModified - READ-ONLY; Last modified date of the Log Analytics Query, in ISO 8601 format. TimeModified *date.Time `json:"timeModified,omitempty"` // Author - READ-ONLY; Object Id of user creating the query. Author *string `json:"author,omitempty"` // Description - Description of the query. Description *string `json:"description,omitempty"` // Body - Body of the query. Body *string `json:"body,omitempty"` // Related - The related metadata items for the function. Related *LogAnalyticsQueryPackQueryPropertiesRelated `json:"related,omitempty"` // Tags - Tags associated with the query. Tags map[string][]string `json:"tags"` // Properties - Additional properties that can be set for the query. Properties interface{} `json:"properties,omitempty"` }
LogAnalyticsQueryPackQueryProperties properties that define an Log Analytics QueryPack-Query resource.
func (LogAnalyticsQueryPackQueryProperties) MarshalJSON ¶
func (laqpqp LogAnalyticsQueryPackQueryProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogAnalyticsQueryPackQueryProperties.
type LogAnalyticsQueryPackQueryPropertiesRelated ¶
type LogAnalyticsQueryPackQueryPropertiesRelated struct { // Categories - The related categories for the function. Categories *[]string `json:"categories,omitempty"` // ResourceTypes - The related resource types for the function. ResourceTypes *[]string `json:"resourceTypes,omitempty"` // Solutions - The related Log Analytics solutions for the function. Solutions *[]string `json:"solutions,omitempty"` }
LogAnalyticsQueryPackQueryPropertiesRelated the related metadata items for the function.
type LogAnalyticsQueryPackQuerySearchProperties ¶
type LogAnalyticsQueryPackQuerySearchProperties struct { // Related - The related metadata items for the function. Related *LogAnalyticsQueryPackQuerySearchPropertiesRelated `json:"related,omitempty"` // Tags - Tags associated with the query. Tags map[string][]string `json:"tags"` }
LogAnalyticsQueryPackQuerySearchProperties properties that define an Log Analytics QueryPack-Query search properties.
func (LogAnalyticsQueryPackQuerySearchProperties) MarshalJSON ¶
func (laqpqsp LogAnalyticsQueryPackQuerySearchProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LogAnalyticsQueryPackQuerySearchProperties.
type LogAnalyticsQueryPackQuerySearchPropertiesRelated ¶
type LogAnalyticsQueryPackQuerySearchPropertiesRelated struct { // Categories - The related categories for the function. Categories *[]string `json:"categories,omitempty"` // ResourceTypes - The related resource types for the function. ResourceTypes *[]string `json:"resourceTypes,omitempty"` // Solutions - The related Log Analytics solutions for the function. Solutions *[]string `json:"solutions,omitempty"` }
LogAnalyticsQueryPackQuerySearchPropertiesRelated the related metadata items for the function.
type ManagementGroup ¶
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 ¶
func (mg ManagementGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagementGroup.
func (*ManagementGroup) UnmarshalJSON ¶
func (mg *ManagementGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagementGroup struct.
type ManagementGroupProperties ¶
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 ManagementGroupsClient ¶
type ManagementGroupsClient struct {
BaseClient
}
ManagementGroupsClient is the operational Insights Client
func NewManagementGroupsClient ¶
func NewManagementGroupsClient(subscriptionID string) ManagementGroupsClient
NewManagementGroupsClient creates an instance of the ManagementGroupsClient client.
func NewManagementGroupsClientWithBaseURI ¶
func NewManagementGroupsClientWithBaseURI(baseURI string, subscriptionID string) ManagementGroupsClient
NewManagementGroupsClientWithBaseURI creates an instance of the ManagementGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagementGroupsClient) List ¶
func (client ManagementGroupsClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceListManagementGroupsResult, err error)
List gets a list of management groups connected to a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (ManagementGroupsClient) ListPreparer ¶
func (client ManagementGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ManagementGroupsClient) ListResponder ¶
func (client ManagementGroupsClient) ListResponder(resp *http.Response) (result WorkspaceListManagementGroupsResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ManagementGroupsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type MetricName ¶
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 ¶
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 ¶
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"` // Description - Description of operation Description *string `json:"description,omitempty"` }
OperationDisplay display metadata associated with the operation.
type OperationListResult ¶
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 ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OperationListResult) MarshalJSON ¶
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
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 ¶
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 ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
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 ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
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 ¶
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 ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationStatus ¶
type OperationStatus struct { autorest.Response `json:"-"` // ID - The operation Id. ID *string `json:"id,omitempty"` // Name - The operation name. Name *string `json:"name,omitempty"` // StartTime - The start time of the operation. StartTime *string `json:"startTime,omitempty"` // EndTime - The end time of the operation. EndTime *string `json:"endTime,omitempty"` // Status - The status of the operation. Status *string `json:"status,omitempty"` // Error - The error detail of the operation if any. Error *ErrorResponse `json:"error,omitempty"` }
OperationStatus the status of operation.
type OperationStatusesClient ¶
type OperationStatusesClient struct {
BaseClient
}
OperationStatusesClient is the operational Insights Client
func NewOperationStatusesClient ¶
func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient
NewOperationStatusesClient creates an instance of the OperationStatusesClient client.
func NewOperationStatusesClientWithBaseURI ¶
func NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient
NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationStatusesClient) Get ¶
func (client OperationStatusesClient) Get(ctx context.Context, location string, asyncOperationID string) (result OperationStatus, err error)
Get get the status of a long running azure asynchronous operation. Parameters: location - the region name of operation. asyncOperationID - the operation Id.
func (OperationStatusesClient) GetPreparer ¶
func (client OperationStatusesClient) GetPreparer(ctx context.Context, location string, asyncOperationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (OperationStatusesClient) GetResponder ¶
func (client OperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the operational Insights Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available OperationalInsights Rest API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PrivateLinkScopedResource ¶
type PrivateLinkScopedResource struct { // ResourceID - The full resource Id of the private link scope resource. ResourceID *string `json:"resourceId,omitempty"` // ScopeID - The private link scope unique Identifier. ScopeID *string `json:"scopeId,omitempty"` }
PrivateLinkScopedResource the private link scope resource reference.
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
ProvisioningStateEnum enumerates the values for provisioning state enum.
const ( // ProvisioningStateEnumInProgress Table schema is stable and without changes, table data is being updated. ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" // ProvisioningStateEnumSucceeded Table state is stable and without changes, table is unlocked and open for // new updates. ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" // ProvisioningStateEnumUpdating Table schema is still being built and updated, table is currently locked // for any changes till the procedure is done. ProvisioningStateEnumUpdating ProvisioningStateEnum = "Updating" )
func PossibleProvisioningStateEnumValues ¶
func PossibleProvisioningStateEnumValues() []ProvisioningStateEnum
PossibleProvisioningStateEnumValues returns an array of possible values for the ProvisioningStateEnum const type.
type ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
func (ProxyResource) MarshalJSON ¶
func (pr ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResource.
type PublicNetworkAccessType ¶
type PublicNetworkAccessType string
PublicNetworkAccessType enumerates the values for public network access type.
const ( // Disabled Disables public connectivity to Log Analytics through public DNS. Disabled PublicNetworkAccessType = "Disabled" // Enabled Enables connectivity to Log Analytics through public DNS. Enabled PublicNetworkAccessType = "Enabled" )
func PossiblePublicNetworkAccessTypeValues ¶
func PossiblePublicNetworkAccessTypeValues() []PublicNetworkAccessType
PossiblePublicNetworkAccessTypeValues returns an array of possible values for the PublicNetworkAccessType const type.
type PurgeState ¶
type PurgeState string
PurgeState enumerates the values for purge state.
const ( // Completed ... Completed PurgeState = "completed" // Pending ... Pending PurgeState = "pending" )
func PossiblePurgeStateValues ¶
func PossiblePurgeStateValues() []PurgeState
PossiblePurgeStateValues returns an array of possible values for the PurgeState const type.
type QueriesClient ¶
type QueriesClient struct {
BaseClient
}
QueriesClient is the operational Insights Client
func NewQueriesClient ¶
func NewQueriesClient(subscriptionID string) QueriesClient
NewQueriesClient creates an instance of the QueriesClient client.
func NewQueriesClientWithBaseURI ¶
func NewQueriesClientWithBaseURI(baseURI string, subscriptionID string) QueriesClient
NewQueriesClientWithBaseURI creates an instance of the QueriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (QueriesClient) Delete ¶
func (client QueriesClient) Delete(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (result autorest.Response, err error)
Delete deletes a specific Query defined within an Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. ID - the id of a specific query defined in the Log Analytics QueryPack
func (QueriesClient) DeletePreparer ¶
func (client QueriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (QueriesClient) DeleteResponder ¶
func (client QueriesClient) 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 (QueriesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (QueriesClient) Get ¶
func (client QueriesClient) Get(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (result LogAnalyticsQueryPackQuery, err error)
Get gets a specific Log Analytics Query defined within a Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. ID - the id of a specific query defined in the Log Analytics QueryPack
func (QueriesClient) GetPreparer ¶
func (client QueriesClient) GetPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (QueriesClient) GetResponder ¶
func (client QueriesClient) GetResponder(resp *http.Response) (result LogAnalyticsQueryPackQuery, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (QueriesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (QueriesClient) List ¶
func (client QueriesClient) List(ctx context.Context, resourceGroupName string, queryPackName string, top *int64, includeBody *bool, skipToken string) (result LogAnalyticsQueryPackQueryListResultPage, err error)
List gets a list of Queries defined within a Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. top - maximum items returned in page. includeBody - flag indicating whether or not to return the body of each applicable query. If false, only return the query information. skipToken - base64 encoded token used to fetch the next page of items. Default is null.
func (QueriesClient) ListComplete ¶
func (client QueriesClient) ListComplete(ctx context.Context, resourceGroupName string, queryPackName string, top *int64, includeBody *bool, skipToken string) (result LogAnalyticsQueryPackQueryListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (QueriesClient) ListPreparer ¶
func (client QueriesClient) ListPreparer(ctx context.Context, resourceGroupName string, queryPackName string, top *int64, includeBody *bool, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (QueriesClient) ListResponder ¶
func (client QueriesClient) ListResponder(resp *http.Response) (result LogAnalyticsQueryPackQueryListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (QueriesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (QueriesClient) Put ¶
func (client QueriesClient) Put(ctx context.Context, resourceGroupName string, queryPackName string, ID string, queryPayload LogAnalyticsQueryPackQuery) (result LogAnalyticsQueryPackQuery, err error)
Put adds or Updates a specific Query within a Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. ID - the id of a specific query defined in the Log Analytics QueryPack queryPayload - properties that need to be specified to create a new query and add it to a Log Analytics QueryPack.
func (QueriesClient) PutPreparer ¶
func (client QueriesClient) PutPreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string, queryPayload LogAnalyticsQueryPackQuery) (*http.Request, error)
PutPreparer prepares the Put request.
func (QueriesClient) PutResponder ¶
func (client QueriesClient) PutResponder(resp *http.Response) (result LogAnalyticsQueryPackQuery, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
func (QueriesClient) PutSender ¶
PutSender sends the Put request. The method will close the http.Response Body if it receives an error.
func (QueriesClient) Search ¶
func (client QueriesClient) Search(ctx context.Context, resourceGroupName string, queryPackName string, querySearchProperties LogAnalyticsQueryPackQuerySearchProperties, top *int64, includeBody *bool, skipToken string) (result LogAnalyticsQueryPackQueryListResultPage, err error)
Search search a list of Queries defined within a Log Analytics QueryPack according to given search properties. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. querySearchProperties - properties by which to search queries in the given Log Analytics QueryPack. top - maximum items returned in page. includeBody - flag indicating whether or not to return the body of each applicable query. If false, only return the query information. skipToken - base64 encoded token used to fetch the next page of items. Default is null.
func (QueriesClient) SearchComplete ¶
func (client QueriesClient) SearchComplete(ctx context.Context, resourceGroupName string, queryPackName string, querySearchProperties LogAnalyticsQueryPackQuerySearchProperties, top *int64, includeBody *bool, skipToken string) (result LogAnalyticsQueryPackQueryListResultIterator, err error)
SearchComplete enumerates all values, automatically crossing page boundaries as required.
func (QueriesClient) SearchPreparer ¶
func (client QueriesClient) SearchPreparer(ctx context.Context, resourceGroupName string, queryPackName string, querySearchProperties LogAnalyticsQueryPackQuerySearchProperties, top *int64, includeBody *bool, skipToken string) (*http.Request, error)
SearchPreparer prepares the Search request.
func (QueriesClient) SearchResponder ¶
func (client QueriesClient) SearchResponder(resp *http.Response) (result LogAnalyticsQueryPackQueryListResult, err error)
SearchResponder handles the response to the Search request. The method always closes the http.Response Body.
func (QueriesClient) SearchSender ¶
SearchSender sends the Search request. The method will close the http.Response Body if it receives an error.
func (QueriesClient) Update ¶
func (client QueriesClient) Update(ctx context.Context, resourceGroupName string, queryPackName string, ID string, queryPayload LogAnalyticsQueryPackQuery) (result LogAnalyticsQueryPackQuery, err error)
Update adds or Updates a specific Query within a Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. ID - the id of a specific query defined in the Log Analytics QueryPack queryPayload - properties that need to be specified to create a new query and add it to a Log Analytics QueryPack.
func (QueriesClient) UpdatePreparer ¶
func (client QueriesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, queryPackName string, ID string, queryPayload LogAnalyticsQueryPackQuery) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (QueriesClient) UpdateResponder ¶
func (client QueriesClient) UpdateResponder(resp *http.Response) (result LogAnalyticsQueryPackQuery, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (QueriesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type QueryPacksClient ¶
type QueryPacksClient struct {
BaseClient
}
QueryPacksClient is the operational Insights Client
func NewQueryPacksClient ¶
func NewQueryPacksClient(subscriptionID string) QueryPacksClient
NewQueryPacksClient creates an instance of the QueryPacksClient client.
func NewQueryPacksClientWithBaseURI ¶
func NewQueryPacksClientWithBaseURI(baseURI string, subscriptionID string) QueryPacksClient
NewQueryPacksClientWithBaseURI creates an instance of the QueryPacksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (QueryPacksClient) CreateOrUpdate ¶
func (client QueryPacksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, queryPackName string, logAnalyticsQueryPackPayload LogAnalyticsQueryPack) (result LogAnalyticsQueryPack, err error)
CreateOrUpdate creates (or updates) a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. logAnalyticsQueryPackPayload - properties that need to be specified to create or update a Log Analytics QueryPack.
func (QueryPacksClient) CreateOrUpdatePreparer ¶
func (client QueryPacksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, queryPackName string, logAnalyticsQueryPackPayload LogAnalyticsQueryPack) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (QueryPacksClient) CreateOrUpdateResponder ¶
func (client QueryPacksClient) CreateOrUpdateResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (QueryPacksClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (QueryPacksClient) CreateOrUpdateWithoutName ¶
func (client QueryPacksClient) CreateOrUpdateWithoutName(ctx context.Context, resourceGroupName string, logAnalyticsQueryPackPayload LogAnalyticsQueryPack) (result LogAnalyticsQueryPack, err error)
CreateOrUpdateWithoutName creates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. logAnalyticsQueryPackPayload - properties that need to be specified to create or update a Log Analytics QueryPack.
func (QueryPacksClient) CreateOrUpdateWithoutNamePreparer ¶
func (client QueryPacksClient) CreateOrUpdateWithoutNamePreparer(ctx context.Context, resourceGroupName string, logAnalyticsQueryPackPayload LogAnalyticsQueryPack) (*http.Request, error)
CreateOrUpdateWithoutNamePreparer prepares the CreateOrUpdateWithoutName request.
func (QueryPacksClient) CreateOrUpdateWithoutNameResponder ¶
func (client QueryPacksClient) CreateOrUpdateWithoutNameResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
CreateOrUpdateWithoutNameResponder handles the response to the CreateOrUpdateWithoutName request. The method always closes the http.Response Body.
func (QueryPacksClient) CreateOrUpdateWithoutNameSender ¶
func (client QueryPacksClient) CreateOrUpdateWithoutNameSender(req *http.Request) (*http.Response, error)
CreateOrUpdateWithoutNameSender sends the CreateOrUpdateWithoutName request. The method will close the http.Response Body if it receives an error.
func (QueryPacksClient) Delete ¶
func (client QueryPacksClient) Delete(ctx context.Context, resourceGroupName string, queryPackName string) (result autorest.Response, err error)
Delete deletes a Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource.
func (QueryPacksClient) DeletePreparer ¶
func (client QueryPacksClient) DeletePreparer(ctx context.Context, resourceGroupName string, queryPackName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (QueryPacksClient) DeleteResponder ¶
func (client QueryPacksClient) 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 (QueryPacksClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (QueryPacksClient) Get ¶
func (client QueryPacksClient) Get(ctx context.Context, resourceGroupName string, queryPackName string) (result LogAnalyticsQueryPack, err error)
Get returns a Log Analytics QueryPack. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource.
func (QueryPacksClient) GetPreparer ¶
func (client QueryPacksClient) GetPreparer(ctx context.Context, resourceGroupName string, queryPackName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (QueryPacksClient) GetResponder ¶
func (client QueryPacksClient) GetResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (QueryPacksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (QueryPacksClient) List ¶
func (client QueryPacksClient) List(ctx context.Context) (result LogAnalyticsQueryPackListResultPage, err error)
List gets a list of all Log Analytics QueryPacks within a subscription.
func (QueryPacksClient) ListByResourceGroup ¶
func (client QueryPacksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result LogAnalyticsQueryPackListResultPage, err error)
ListByResourceGroup gets a list of Log Analytics QueryPacks within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (QueryPacksClient) ListByResourceGroupComplete ¶
func (client QueryPacksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result LogAnalyticsQueryPackListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (QueryPacksClient) ListByResourceGroupPreparer ¶
func (client QueryPacksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (QueryPacksClient) ListByResourceGroupResponder ¶
func (client QueryPacksClient) ListByResourceGroupResponder(resp *http.Response) (result LogAnalyticsQueryPackListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (QueryPacksClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (QueryPacksClient) ListComplete ¶
func (client QueryPacksClient) ListComplete(ctx context.Context) (result LogAnalyticsQueryPackListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (QueryPacksClient) ListPreparer ¶
ListPreparer prepares the List request.
func (QueryPacksClient) ListResponder ¶
func (client QueryPacksClient) ListResponder(resp *http.Response) (result LogAnalyticsQueryPackListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (QueryPacksClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (QueryPacksClient) UpdateTags ¶
func (client QueryPacksClient) UpdateTags(ctx context.Context, resourceGroupName string, queryPackName string, queryPackTags TagsResource) (result LogAnalyticsQueryPack, err error)
UpdateTags updates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. queryPackName - the name of the Log Analytics QueryPack resource. queryPackTags - updated tag information to set into the QueryPack instance.
func (QueryPacksClient) UpdateTagsPreparer ¶
func (client QueryPacksClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, queryPackName string, queryPackTags TagsResource) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (QueryPacksClient) UpdateTagsResponder ¶
func (client QueryPacksClient) UpdateTagsResponder(resp *http.Response) (result LogAnalyticsQueryPack, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (QueryPacksClient) UpdateTagsSender ¶
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type QueryPacksResource ¶
type QueryPacksResource struct { // ID - READ-ONLY; Azure resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Azure resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Azure resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
QueryPacksResource an azure resource object
func (QueryPacksResource) MarshalJSON ¶
func (qpr QueryPacksResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueryPacksResource.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type RestoredLogs ¶
type RestoredLogs struct { // StartRestoreTime - The timestamp to start the restore from (UTC). StartRestoreTime *date.Time `json:"startRestoreTime,omitempty"` // EndRestoreTime - The timestamp to end the restore by (UTC). EndRestoreTime *date.Time `json:"endRestoreTime,omitempty"` // SourceTable - The table to restore data from. SourceTable *string `json:"sourceTable,omitempty"` }
RestoredLogs restore parameters.
type ResultStatistics ¶
type ResultStatistics struct { // Progress - READ-ONLY; Search job completion percentage. Progress *float64 `json:"progress,omitempty"` // IngestedRecords - READ-ONLY; The number of rows that were returned by the search job. IngestedRecords *int32 `json:"ingestedRecords,omitempty"` }
ResultStatistics search job execution statistics.
func (ResultStatistics) MarshalJSON ¶
func (rs ResultStatistics) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResultStatistics.
type SavedSearch ¶
type SavedSearch struct { autorest.Response `json:"-"` // Etag - The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag Etag *string `json:"etag,omitempty"` // SavedSearchProperties - The properties of the saved search. *SavedSearchProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
SavedSearch value object for saved search results.
func (SavedSearch) MarshalJSON ¶
func (ss SavedSearch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SavedSearch.
func (*SavedSearch) UnmarshalJSON ¶
func (ss *SavedSearch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SavedSearch struct.
type SavedSearchProperties ¶
type SavedSearchProperties struct { // Category - The category of the saved search. This helps the user to find a saved search faster. Category *string `json:"category,omitempty"` // DisplayName - Saved search display name. DisplayName *string `json:"displayName,omitempty"` // Query - The query expression for the saved search. Query *string `json:"query,omitempty"` // FunctionAlias - The function alias if query serves as a function. FunctionAlias *string `json:"functionAlias,omitempty"` // FunctionParameters - The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions. FunctionParameters *string `json:"functionParameters,omitempty"` // Version - The version number of the query language. The current version is 2 and is the default. Version *int64 `json:"version,omitempty"` // Tags - The tags attached to the saved search. Tags *[]Tag `json:"tags,omitempty"` }
SavedSearchProperties value object for saved search results.
type SavedSearchesClient ¶
type SavedSearchesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SavedSearchesClient) CreateOrUpdate ¶
func (client SavedSearchesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID string, parameters SavedSearch) (result SavedSearch, err error)
CreateOrUpdate creates or updates a saved search for a given workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. savedSearchID - the id of the saved search. parameters - the parameters required to save a search.
func (SavedSearchesClient) CreateOrUpdatePreparer ¶
func (client SavedSearchesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID 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 ¶
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(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID string) (result autorest.Response, err error)
Delete deletes the specified saved search in a given workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. savedSearchID - the id of the saved search.
func (SavedSearchesClient) DeletePreparer ¶
func (client SavedSearchesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID 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 ¶
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(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID string) (result SavedSearch, err error)
Get gets the specified saved search for a given workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. savedSearchID - the id of the saved search.
func (SavedSearchesClient) GetPreparer ¶
func (client SavedSearchesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID 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) GetSender ¶
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(ctx context.Context, resourceGroupName string, workspaceName string) (result SavedSearchesListResult, err error)
ListByWorkspace gets the saved searches for a given Log Analytics Workspace Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (SavedSearchesClient) ListByWorkspacePreparer ¶
func (client SavedSearchesClient) ListByWorkspacePreparer(ctx context.Context, 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 ¶
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:"-"` // Value - The array of result values. Value *[]SavedSearch `json:"value,omitempty"` }
SavedSearchesListResult the saved search list operation response.
type Schema ¶
type Schema struct { // Name - Table name. Name *string `json:"name,omitempty"` // DisplayName - Table display name. DisplayName *string `json:"displayName,omitempty"` // Description - Table description. Description *string `json:"description,omitempty"` // Columns - A list of table custom columns. Columns *[]Column `json:"columns,omitempty"` // StandardColumns - READ-ONLY; A list of table standard columns. StandardColumns *[]Column `json:"standardColumns,omitempty"` // Categories - READ-ONLY; Table category. Categories *[]string `json:"categories,omitempty"` // Labels - READ-ONLY; Table labels. Labels *[]string `json:"labels,omitempty"` // Source - READ-ONLY; Table's creator. Possible values include: 'Microsoft', 'Customer' Source SourceEnum `json:"source,omitempty"` // TableType - READ-ONLY; Table's creator. Possible values include: 'TableTypeEnumMicrosoft', 'TableTypeEnumCustomLog', 'TableTypeEnumRestoredLogs', 'TableTypeEnumSearchResults' TableType TableTypeEnum `json:"tableType,omitempty"` // TableSubType - READ-ONLY; The subtype describes what APIs can be used to interact with the table, and what features are available against it. Possible values include: 'Any', 'Classic', 'DataCollectionRuleBased' TableSubType TableSubTypeEnum `json:"tableSubType,omitempty"` // Solutions - READ-ONLY; List of solutions the table is affiliated with Solutions *[]string `json:"solutions,omitempty"` // SearchResults - READ-ONLY; Parameters of the search job that initiated this table. SearchResults *SearchResults `json:"searchResults,omitempty"` // RestoredLogs - READ-ONLY; Parameters of the restore operation that initiated this table. RestoredLogs *RestoredLogs `json:"restoredLogs,omitempty"` }
Schema table's schema.
func (Schema) MarshalJSON ¶
MarshalJSON is the custom marshaler for Schema.
type SchemaClient ¶
type SchemaClient struct {
BaseClient
}
SchemaClient is the operational Insights Client
func NewSchemaClient ¶
func NewSchemaClient(subscriptionID string) SchemaClient
NewSchemaClient creates an instance of the SchemaClient client.
func NewSchemaClientWithBaseURI ¶
func NewSchemaClientWithBaseURI(baseURI string, subscriptionID string) SchemaClient
NewSchemaClientWithBaseURI creates an instance of the SchemaClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SchemaClient) Get ¶
func (client SchemaClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result SearchGetSchemaResponse, err error)
Get gets the schema for a given workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (SchemaClient) GetPreparer ¶
func (client SchemaClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SchemaClient) GetResponder ¶
func (client SchemaClient) GetResponder(resp *http.Response) (result SearchGetSchemaResponse, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type SearchGetSchemaResponse ¶
type SearchGetSchemaResponse struct { autorest.Response `json:"-"` // Metadata - The metadata from search results. Metadata *SearchMetadata `json:"metadata,omitempty"` // Value - The array of result values. Value *[]SearchSchemaValue `json:"value,omitempty"` }
SearchGetSchemaResponse the get schema operation response.
type SearchMetadata ¶
type SearchMetadata struct { // SearchID - The request id of the search. SearchID *string `json:"requestId,omitempty"` // ResultType - The search result type. ResultType *string `json:"resultType,omitempty"` // Total - The total number of search results. Total *int64 `json:"total,omitempty"` // Top - The number of top search results. Top *int64 `json:"top,omitempty"` // ID - The id of the search results request. ID *string `json:"id,omitempty"` // CoreSummaries - The core summaries. CoreSummaries *[]CoreSummary `json:"coreSummaries,omitempty"` // Status - The status of the search results. Status *string `json:"status,omitempty"` // StartTime - The start time for the search. StartTime *date.Time `json:"startTime,omitempty"` // LastUpdated - The time of last update. LastUpdated *date.Time `json:"lastUpdated,omitempty"` // ETag - The ETag of the search results. ETag *string `json:"eTag,omitempty"` // Sort - How the results are sorted. Sort *[]SearchSort `json:"sort,omitempty"` // RequestTime - The request time. RequestTime *int64 `json:"requestTime,omitempty"` // AggregatedValueField - The aggregated value field. AggregatedValueField *string `json:"aggregatedValueField,omitempty"` // AggregatedGroupingFields - The aggregated grouping fields. AggregatedGroupingFields *string `json:"aggregatedGroupingFields,omitempty"` // Sum - The sum of all aggregates returned in the result set. Sum *int64 `json:"sum,omitempty"` // Max - The max of all aggregates returned in the result set. Max *int64 `json:"max,omitempty"` // Schema - The schema. Schema *SearchMetadataSchema `json:"schema,omitempty"` }
SearchMetadata metadata for search results.
type SearchMetadataSchema ¶
type SearchMetadataSchema struct { // Name - The name of the metadata schema. Name *string `json:"name,omitempty"` // Version - The version of the metadata schema. Version *int32 `json:"version,omitempty"` }
SearchMetadataSchema schema metadata for search.
type SearchResults ¶
type SearchResults struct { // Query - Search job query. Query *string `json:"query,omitempty"` // Description - Search job Description. Description *string `json:"description,omitempty"` // Limit - Limit the search job to return up to specified number of rows. Limit *int32 `json:"limit,omitempty"` // StartSearchTime - The timestamp to start the search from (UTC) StartSearchTime *date.Time `json:"startSearchTime,omitempty"` // EndSearchTime - The timestamp to end the search by (UTC) EndSearchTime *date.Time `json:"endSearchTime,omitempty"` // SourceTable - READ-ONLY; The table used in the search job. SourceTable *string `json:"sourceTable,omitempty"` }
SearchResults parameters of the search job that initiated this table.
func (SearchResults) MarshalJSON ¶
func (sr SearchResults) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SearchResults.
type SearchSchemaValue ¶
type SearchSchemaValue struct { // Name - The name of the schema. Name *string `json:"name,omitempty"` // DisplayName - The display name of the schema. DisplayName *string `json:"displayName,omitempty"` // Type - The type. Type *string `json:"type,omitempty"` // Indexed - The boolean that indicates the field is searchable as free text. Indexed *bool `json:"indexed,omitempty"` // Stored - The boolean that indicates whether or not the field is stored. Stored *bool `json:"stored,omitempty"` // Facet - The boolean that indicates whether or not the field is a facet. Facet *bool `json:"facet,omitempty"` // OwnerType - The array of workflows containing the field. OwnerType *[]string `json:"ownerType,omitempty"` }
SearchSchemaValue value object for schema results.
type SearchSort ¶
type SearchSort struct { // Name - The name of the field the search query is sorted on. Name *string `json:"name,omitempty"` // Order - The sort order of the search. Possible values include: 'Asc', 'Desc' Order SearchSortEnum `json:"order,omitempty"` }
SearchSort the sort parameters for search.
type SearchSortEnum ¶
type SearchSortEnum string
SearchSortEnum enumerates the values for search sort enum.
const ( // Asc ... Asc SearchSortEnum = "asc" // Desc ... Desc SearchSortEnum = "desc" )
func PossibleSearchSortEnumValues ¶
func PossibleSearchSortEnumValues() []SearchSortEnum
PossibleSearchSortEnumValues returns an array of possible values for the SearchSortEnum const type.
type SharedKeys ¶
type SharedKeys struct { string `json:"primarySharedKey,omitempty"` SecondarySharedKey *string `json:"secondarySharedKey,omitempty"` }PrimarySharedKey *
SharedKeys the shared keys for a workspace.
type SharedKeysClient ¶
type SharedKeysClient struct {
}SharedKeysClient is the operational Insights Client
func NewSharedKeysClient ¶
func NewSharedKeysClient(subscriptionID string) SharedKeysClient
NewSharedKeysClient creates an instance of the SharedKeysClient client.
func NewSharedKeysClientWithBaseURI ¶
func NewSharedKeysClientWithBaseURI(baseURI string, subscriptionID string) SharedKeysClient
NewSharedKeysClientWithBaseURI creates an instance of the SharedKeysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SharedKeysClient) GetSharedKeys ¶
func (client SharedKeysClient) 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. The name is case insensitive. workspaceName - the name of the workspace.
func (SharedKeysClient) GetSharedKeysPreparer ¶
func (client SharedKeysClient) GetSharedKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
GetSharedKeysPreparer prepares the GetSharedKeys request.
func (SharedKeysClient) GetSharedKeysResponder ¶
func (client SharedKeysClient) 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 (SharedKeysClient) GetSharedKeysSender ¶
GetSharedKeysSender sends the GetSharedKeys request. The method will close the http.Response Body if it receives an error.
func (SharedKeysClient) Regenerate ¶
func (client SharedKeysClient) Regenerate(ctx context.Context, resourceGroupName string, workspaceName string) (result SharedKeys, err error)
Regenerate regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (SharedKeysClient) RegeneratePreparer ¶
func (client SharedKeysClient) RegeneratePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
RegeneratePreparer prepares the Regenerate request.
func (SharedKeysClient) RegenerateResponder ¶
func (client SharedKeysClient) RegenerateResponder(resp *http.Response) (result SharedKeys, err error)
RegenerateResponder handles the response to the Regenerate request. The method always closes the http.Response Body.
func (SharedKeysClient) RegenerateSender ¶
RegenerateSender sends the Regenerate request. The method will close the http.Response Body if it receives an error.
type SkuNameEnum ¶
type SkuNameEnum string
SkuNameEnum enumerates the values for sku name enum.
const ( // SkuNameEnumCapacityReservation ... SkuNameEnumCapacityReservation SkuNameEnum = "CapacityReservation" // SkuNameEnumFree ... SkuNameEnumFree SkuNameEnum = "Free" // SkuNameEnumPerGB2018 ... SkuNameEnumPerGB2018 SkuNameEnum = "PerGB2018" // SkuNameEnumPerNode ... SkuNameEnumPerNode SkuNameEnum = "PerNode" // SkuNameEnumPremium ... SkuNameEnumPremium SkuNameEnum = "Premium" // SkuNameEnumStandalone ... SkuNameEnumStandalone SkuNameEnum = "Standalone" // SkuNameEnumStandard ... SkuNameEnumStandard SkuNameEnum = "Standard" )
func PossibleSkuNameEnumValues ¶
func PossibleSkuNameEnumValues() []SkuNameEnum
PossibleSkuNameEnumValues returns an array of possible values for the SkuNameEnum const type.
type SourceEnum ¶
type SourceEnum string
SourceEnum enumerates the values for source enum.
const ( // Customer Tables created by the owner of the Workspace, and only found in this Workspace. Customer SourceEnum = "customer" // Microsoft Tables provisioned by the system, as collected via Diagnostic Settings, the Agents, or any // other standard data collection means. Microsoft SourceEnum = "microsoft" )
func PossibleSourceEnumValues ¶
func PossibleSourceEnumValues() []SourceEnum
PossibleSourceEnumValues returns an array of possible values for the SourceEnum const type.
type StorageAccount ¶
type StorageAccount struct { // ID - The Azure Resource Manager ID of the storage account resource. ID *string `json:"id,omitempty"` // Key - The storage account key. Key *string `json:"key,omitempty"` }
StorageAccount describes a storage account connection.
type StorageInsight ¶
type StorageInsight struct { autorest.Response `json:"-"` // StorageInsightProperties - Storage insight properties. *StorageInsightProperties `json:"properties,omitempty"` // ETag - The ETag of the storage insight. ETag *string `json:"eTag,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
StorageInsight the top level storage insight resource container.
func (StorageInsight) MarshalJSON ¶
func (si StorageInsight) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageInsight.
func (*StorageInsight) UnmarshalJSON ¶
func (si *StorageInsight) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StorageInsight struct.
type StorageInsightConfigsClient ¶
type StorageInsightConfigsClient struct {
BaseClient
}
StorageInsightConfigsClient is the operational Insights Client
func NewStorageInsightConfigsClient ¶
func NewStorageInsightConfigsClient(subscriptionID string) StorageInsightConfigsClient
NewStorageInsightConfigsClient creates an instance of the StorageInsightConfigsClient client.
func NewStorageInsightConfigsClientWithBaseURI ¶
func NewStorageInsightConfigsClientWithBaseURI(baseURI string, subscriptionID string) StorageInsightConfigsClient
NewStorageInsightConfigsClientWithBaseURI creates an instance of the StorageInsightConfigsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (StorageInsightConfigsClient) CreateOrUpdate ¶
func (client StorageInsightConfigsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string, parameters StorageInsight) (result StorageInsight, err error)
CreateOrUpdate create or update a storage insight. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. storageInsightName - name of the storageInsightsConfigs resource parameters - the parameters required to create or update a storage insight.
func (StorageInsightConfigsClient) CreateOrUpdatePreparer ¶
func (client StorageInsightConfigsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string, parameters StorageInsight) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (StorageInsightConfigsClient) CreateOrUpdateResponder ¶
func (client StorageInsightConfigsClient) 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 (StorageInsightConfigsClient) CreateOrUpdateSender ¶
func (client StorageInsightConfigsClient) 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 (StorageInsightConfigsClient) Delete ¶
func (client StorageInsightConfigsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string) (result autorest.Response, err error)
Delete deletes a storageInsightsConfigs resource Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. storageInsightName - name of the storageInsightsConfigs resource
func (StorageInsightConfigsClient) DeletePreparer ¶
func (client StorageInsightConfigsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (StorageInsightConfigsClient) DeleteResponder ¶
func (client StorageInsightConfigsClient) 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 (StorageInsightConfigsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (StorageInsightConfigsClient) Get ¶
func (client StorageInsightConfigsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string) (result StorageInsight, err error)
Get gets a storage insight instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. storageInsightName - name of the storageInsightsConfigs resource
func (StorageInsightConfigsClient) GetPreparer ¶
func (client StorageInsightConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (StorageInsightConfigsClient) GetResponder ¶
func (client StorageInsightConfigsClient) 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 (StorageInsightConfigsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (StorageInsightConfigsClient) ListByWorkspace ¶
func (client StorageInsightConfigsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result StorageInsightListResultPage, err error)
ListByWorkspace lists the storage insight instances within a workspace Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (StorageInsightConfigsClient) ListByWorkspaceComplete ¶
func (client StorageInsightConfigsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result StorageInsightListResultIterator, err error)
ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.
func (StorageInsightConfigsClient) ListByWorkspacePreparer ¶
func (client StorageInsightConfigsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListByWorkspacePreparer prepares the ListByWorkspace request.
func (StorageInsightConfigsClient) ListByWorkspaceResponder ¶
func (client StorageInsightConfigsClient) 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 (StorageInsightConfigsClient) ListByWorkspaceSender ¶
func (client StorageInsightConfigsClient) 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 StorageInsightListResult ¶
type StorageInsightListResult struct { autorest.Response `json:"-"` // Value - A list of storage insight items. Value *[]StorageInsight `json:"value,omitempty"` // OdataNextLink - The link (url) to the next page of results. OdataNextLink *string `json:"@odata.nextLink,omitempty"` }
StorageInsightListResult the list storage insights operation response.
func (StorageInsightListResult) IsEmpty ¶
func (silr StorageInsightListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type StorageInsightListResultIterator ¶
type StorageInsightListResultIterator struct {
// contains filtered or unexported fields
}
StorageInsightListResultIterator provides access to a complete listing of StorageInsight values.
func NewStorageInsightListResultIterator ¶
func NewStorageInsightListResultIterator(page StorageInsightListResultPage) StorageInsightListResultIterator
Creates a new instance of the StorageInsightListResultIterator type.
func (*StorageInsightListResultIterator) Next ¶
func (iter *StorageInsightListResultIterator) 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 (*StorageInsightListResultIterator) NextWithContext ¶
func (iter *StorageInsightListResultIterator) 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 (StorageInsightListResultIterator) NotDone ¶
func (iter StorageInsightListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (StorageInsightListResultIterator) Response ¶
func (iter StorageInsightListResultIterator) Response() StorageInsightListResult
Response returns the raw server response from the last page request.
func (StorageInsightListResultIterator) Value ¶
func (iter StorageInsightListResultIterator) Value() StorageInsight
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type StorageInsightListResultPage ¶
type StorageInsightListResultPage struct {
// contains filtered or unexported fields
}
StorageInsightListResultPage contains a page of StorageInsight values.
func NewStorageInsightListResultPage ¶
func NewStorageInsightListResultPage(cur StorageInsightListResult, getNextPage func(context.Context, StorageInsightListResult) (StorageInsightListResult, error)) StorageInsightListResultPage
Creates a new instance of the StorageInsightListResultPage type.
func (*StorageInsightListResultPage) Next ¶
func (page *StorageInsightListResultPage) 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 (*StorageInsightListResultPage) NextWithContext ¶
func (page *StorageInsightListResultPage) 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 (StorageInsightListResultPage) NotDone ¶
func (page StorageInsightListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (StorageInsightListResultPage) Response ¶
func (page StorageInsightListResultPage) Response() StorageInsightListResult
Response returns the raw server response from the last page request.
func (StorageInsightListResultPage) Values ¶
func (page StorageInsightListResultPage) Values() []StorageInsight
Values returns the slice of values for the current page or nil if there are no values.
type StorageInsightProperties ¶
type StorageInsightProperties struct { // Containers - The names of the blob containers that the workspace should read Containers *[]string `json:"containers,omitempty"` // Tables - The names of the Azure tables that the workspace should read Tables *[]string `json:"tables,omitempty"` // StorageAccount - The storage account connection details StorageAccount *StorageAccount `json:"storageAccount,omitempty"` // Status - READ-ONLY; The status of the storage insight Status *StorageInsightStatus `json:"status,omitempty"` }
StorageInsightProperties storage insight properties.
func (StorageInsightProperties) MarshalJSON ¶
func (sip StorageInsightProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageInsightProperties.
type StorageInsightState ¶
type StorageInsightState string
StorageInsightState enumerates the values for storage insight state.
const ( // ERROR ... ERROR StorageInsightState = "ERROR" // OK ... OK StorageInsightState = "OK" )
func PossibleStorageInsightStateValues ¶
func PossibleStorageInsightStateValues() []StorageInsightState
PossibleStorageInsightStateValues returns an array of possible values for the StorageInsightState const type.
type StorageInsightStatus ¶
type StorageInsightStatus struct { // State - The state of the storage insight connection to the workspace. Possible values include: 'OK', 'ERROR' State StorageInsightState `json:"state,omitempty"` // Description - Description of the state of the storage insight. Description *string `json:"description,omitempty"` }
StorageInsightStatus the status of the storage insight.
type SystemData ¶
type SystemData struct { // CreatedBy - An identifier for the identity that created the resource CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'IdentityTypeUser', 'IdentityTypeApplication', 'IdentityTypeManagedIdentity', 'IdentityTypeKey' CreatedByType IdentityType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC) CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - An identifier for the identity that last modified the resource LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'IdentityTypeUser', 'IdentityTypeApplication', 'IdentityTypeManagedIdentity', 'IdentityTypeKey' LastModifiedByType IdentityType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData read only system data
type SystemDataModel ¶
type SystemDataModel struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemDataModel metadata pertaining to creation and last modification of the resource.
type Table ¶
type Table struct { autorest.Response `json:"-"` // TableProperties - Table's properties. *TableProperties `json:"properties,omitempty"` // SystemData - READ-ONLY SystemData *SystemDataModel `json:"systemData,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Table workspace data table definition.
func (Table) MarshalJSON ¶
MarshalJSON is the custom marshaler for Table.
func (*Table) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Table struct.
type TablePlanEnum ¶
type TablePlanEnum string
TablePlanEnum enumerates the values for table plan enum.
const ( // Analytics Logs that allow monitoring and analytics. Analytics TablePlanEnum = "Analytics" // Basic Logs that are adjusted to support high volume low value verbose logs. Basic TablePlanEnum = "Basic" )
func PossibleTablePlanEnumValues ¶
func PossibleTablePlanEnumValues() []TablePlanEnum
PossibleTablePlanEnumValues returns an array of possible values for the TablePlanEnum const type.
type TableProperties ¶
type TableProperties struct { // RetentionInDays - The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. RetentionInDays *int32 `json:"retentionInDays,omitempty"` // TotalRetentionInDays - The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention. TotalRetentionInDays *int32 `json:"totalRetentionInDays,omitempty"` // ArchiveRetentionInDays - READ-ONLY; The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays) ArchiveRetentionInDays *int32 `json:"archiveRetentionInDays,omitempty"` // SearchResults - Parameters of the search job that initiated this table. SearchResults *SearchResults `json:"searchResults,omitempty"` // RestoredLogs - Parameters of the restore operation that initiated this table. RestoredLogs *RestoredLogs `json:"restoredLogs,omitempty"` // ResultStatistics - Search job execution statistics. ResultStatistics *ResultStatistics `json:"resultStatistics,omitempty"` // Plan - Instruct the system how to handle and charge the logs ingested to this table. Possible values include: 'Basic', 'Analytics' Plan TablePlanEnum `json:"plan,omitempty"` // LastPlanModifiedDate - READ-ONLY; The timestamp that table plan was last modified (UTC). LastPlanModifiedDate *string `json:"lastPlanModifiedDate,omitempty"` // Schema - Table schema. Schema *Schema `json:"schema,omitempty"` // ProvisioningState - READ-ONLY; Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded. Possible values include: 'ProvisioningStateEnumUpdating', 'ProvisioningStateEnumInProgress', 'ProvisioningStateEnumSucceeded' ProvisioningState ProvisioningStateEnum `json:"provisioningState,omitempty"` }
TableProperties table properties.
func (TableProperties) MarshalJSON ¶
func (tp TableProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TableProperties.
type TableSubTypeEnum ¶
type TableSubTypeEnum string
TableSubTypeEnum enumerates the values for table sub type enum.
const ( // Any The default subtype with which built-in tables are created. Any TableSubTypeEnum = "Any" // Classic Indicates a table created through the Data Collector API or with the custom logs feature of the // MMA agent, or any table against which Custom Fields were created. Classic TableSubTypeEnum = "Classic" // DataCollectionRuleBased A table eligible to have data sent into it via any of the means supported by // Data Collection Rules: the Data Collection Endpoint API, ingestion-time transformations, or any other // mechanism provided by Data Collection Rules DataCollectionRuleBased TableSubTypeEnum = "DataCollectionRuleBased" )
func PossibleTableSubTypeEnumValues ¶
func PossibleTableSubTypeEnumValues() []TableSubTypeEnum
PossibleTableSubTypeEnumValues returns an array of possible values for the TableSubTypeEnum const type.
type TableTypeEnum ¶
type TableTypeEnum string
TableTypeEnum enumerates the values for table type enum.
const ( // TableTypeEnumCustomLog Custom log table. TableTypeEnumCustomLog TableTypeEnum = "CustomLog" // TableTypeEnumMicrosoft Standard data collected by Azure Monitor. TableTypeEnumMicrosoft TableTypeEnum = "Microsoft" // TableTypeEnumRestoredLogs Restored data. TableTypeEnumRestoredLogs TableTypeEnum = "RestoredLogs" // TableTypeEnumSearchResults Data collected by a search job. TableTypeEnumSearchResults TableTypeEnum = "SearchResults" )
func PossibleTableTypeEnumValues ¶
func PossibleTableTypeEnumValues() []TableTypeEnum
PossibleTableTypeEnumValues returns an array of possible values for the TableTypeEnum const type.
type TablesClient ¶
type TablesClient struct {
BaseClient
}
TablesClient is the operational Insights Client
func NewTablesClient ¶
func NewTablesClient(subscriptionID string) TablesClient
NewTablesClient creates an instance of the TablesClient client.
func NewTablesClientWithBaseURI ¶
func NewTablesClientWithBaseURI(baseURI string, subscriptionID string) TablesClient
NewTablesClientWithBaseURI creates an instance of the TablesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TablesClient) CreateOrUpdate ¶
func (client TablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters Table) (result TablesCreateOrUpdateFuture, err error)
CreateOrUpdate update or Create a Log Analytics workspace table. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. tableName - the name of the table. parameters - the parameters required to update table properties.
func (TablesClient) CreateOrUpdatePreparer ¶
func (client TablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters Table) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TablesClient) CreateOrUpdateResponder ¶
func (client TablesClient) CreateOrUpdateResponder(resp *http.Response) (result Table, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (TablesClient) CreateOrUpdateSender ¶
func (client TablesClient) CreateOrUpdateSender(req *http.Request) (future TablesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TablesClient) Delete ¶
func (client TablesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, tableName string) (result TablesDeleteFuture, err error)
Delete delete a Log Analytics workspace table. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. tableName - the name of the table.
func (TablesClient) DeletePreparer ¶
func (client TablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, tableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (TablesClient) DeleteResponder ¶
func (client TablesClient) 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 (TablesClient) DeleteSender ¶
func (client TablesClient) DeleteSender(req *http.Request) (future TablesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (TablesClient) Get ¶
func (client TablesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, tableName string) (result Table, err error)
Get gets a Log Analytics workspace table. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. tableName - the name of the table.
func (TablesClient) GetPreparer ¶
func (client TablesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, tableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TablesClient) GetResponder ¶
func (client TablesClient) GetResponder(resp *http.Response) (result Table, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TablesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TablesClient) ListByWorkspace ¶
func (client TablesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result TablesListResult, err error)
ListByWorkspace gets all the tables for the specified Log Analytics workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (TablesClient) ListByWorkspacePreparer ¶
func (client TablesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListByWorkspacePreparer prepares the ListByWorkspace request.
func (TablesClient) ListByWorkspaceResponder ¶
func (client TablesClient) ListByWorkspaceResponder(resp *http.Response) (result TablesListResult, err error)
ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.
func (TablesClient) ListByWorkspaceSender ¶
ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.
func (TablesClient) Migrate ¶
func (client TablesClient) Migrate(ctx context.Context, resourceGroupName string, workspaceName string, tableName string) (result autorest.Response, err error)
Migrate migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. tableName - the name of the table.
func (TablesClient) MigratePreparer ¶
func (client TablesClient) MigratePreparer(ctx context.Context, resourceGroupName string, workspaceName string, tableName string) (*http.Request, error)
MigratePreparer prepares the Migrate request.
func (TablesClient) MigrateResponder ¶
func (client TablesClient) MigrateResponder(resp *http.Response) (result autorest.Response, err error)
MigrateResponder handles the response to the Migrate request. The method always closes the http.Response Body.
func (TablesClient) MigrateSender ¶
MigrateSender sends the Migrate request. The method will close the http.Response Body if it receives an error.
func (TablesClient) Update ¶
func (client TablesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters Table) (result TablesUpdateFuture, err error)
Update update a Log Analytics workspace table. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. tableName - the name of the table. parameters - the parameters required to update table properties.
func (TablesClient) UpdatePreparer ¶
func (client TablesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters Table) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (TablesClient) UpdateResponder ¶
func (client TablesClient) UpdateResponder(resp *http.Response) (result Table, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (TablesClient) UpdateSender ¶
func (client TablesClient) UpdateSender(req *http.Request) (future TablesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type TablesCreateOrUpdateFuture ¶
type TablesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(TablesClient) (Table, error) }
TablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*TablesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *TablesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type TablesDeleteFuture ¶
type TablesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(TablesClient) (autorest.Response, error) }
TablesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*TablesDeleteFuture) UnmarshalJSON ¶
func (future *TablesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type TablesListResult ¶
type TablesListResult struct { autorest.Response `json:"-"` // Value - A list of data tables. Value *[]Table `json:"value,omitempty"` }
TablesListResult the list tables operation response.
type TablesUpdateFuture ¶
type TablesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(TablesClient) (Table, error) }
TablesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*TablesUpdateFuture) UnmarshalJSON ¶
func (future *TablesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type Tag ¶
type Tag struct { // Name - The tag name. Name *string `json:"name,omitempty"` // Value - The tag value. Value *string `json:"value,omitempty"` }
Tag a tag of a saved search.
type TagsResource ¶
TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on a QueryPack instance.
func (TagsResource) MarshalJSON ¶
func (tr TagsResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsResource.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type Type ¶
type Type string
Type enumerates the values for type.
func PossibleTypeValues ¶
func PossibleTypeValues() []Type
PossibleTypeValues returns an array of possible values for the Type const type.
type UsageMetric ¶
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 UsagesClient ¶
type UsagesClient struct {
BaseClient
}
UsagesClient is the operational Insights Client
func NewUsagesClient ¶
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI ¶
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (UsagesClient) List ¶
func (client UsagesClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceListUsagesResult, err error)
List gets a list of usage metrics for a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (UsagesClient) ListPreparer ¶
func (client UsagesClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (UsagesClient) ListResponder ¶
func (client UsagesClient) ListResponder(resp *http.Response) (result WorkspaceListUsagesResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (UsagesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type UserIdentityProperties ¶
type UserIdentityProperties struct { // PrincipalID - READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty"` }
UserIdentityProperties user assigned identity properties.
func (UserIdentityProperties) MarshalJSON ¶
func (uip UserIdentityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UserIdentityProperties.
type Workspace ¶
type Workspace struct { autorest.Response `json:"-"` // WorkspaceProperties - Workspace properties. *WorkspaceProperties `json:"properties,omitempty"` // SystemData - READ-ONLY SystemData *SystemDataModel `json:"systemData,omitempty"` // ETag - The ETag of the workspace. ETag *string `json:"eTag,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Workspace the top level Workspace resource container.
func (Workspace) MarshalJSON ¶
MarshalJSON is the custom marshaler for Workspace.
func (*Workspace) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Workspace struct.
type WorkspaceCapping ¶
type WorkspaceCapping struct { // DailyQuotaGb - The workspace daily quota for ingestion. DailyQuotaGb *float64 `json:"dailyQuotaGb,omitempty"` // QuotaNextResetTime - READ-ONLY; The time when the quota will be rest. QuotaNextResetTime *string `json:"quotaNextResetTime,omitempty"` // DataIngestionStatus - READ-ONLY; The status of data ingestion for this workspace. Possible values include: 'RespectQuota', 'ForceOn', 'ForceOff', 'OverQuota', 'SubscriptionSuspended', 'ApproachingQuota' DataIngestionStatus DataIngestionStatus `json:"dataIngestionStatus,omitempty"` }
WorkspaceCapping the daily volume cap for ingestion.
func (WorkspaceCapping) MarshalJSON ¶
func (wc WorkspaceCapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceCapping.
type WorkspaceEntityStatus ¶
type WorkspaceEntityStatus string
WorkspaceEntityStatus enumerates the values for workspace entity status.
const ( // WorkspaceEntityStatusCanceled ... WorkspaceEntityStatusCanceled WorkspaceEntityStatus = "Canceled" // WorkspaceEntityStatusCreating ... WorkspaceEntityStatusCreating WorkspaceEntityStatus = "Creating" // WorkspaceEntityStatusDeleting ... WorkspaceEntityStatusDeleting WorkspaceEntityStatus = "Deleting" // WorkspaceEntityStatusFailed ... WorkspaceEntityStatusFailed WorkspaceEntityStatus = "Failed" // WorkspaceEntityStatusProvisioningAccount ... WorkspaceEntityStatusProvisioningAccount WorkspaceEntityStatus = "ProvisioningAccount" // WorkspaceEntityStatusSucceeded ... WorkspaceEntityStatusSucceeded WorkspaceEntityStatus = "Succeeded" // WorkspaceEntityStatusUpdating ... WorkspaceEntityStatusUpdating WorkspaceEntityStatus = "Updating" )
func PossibleWorkspaceEntityStatusValues ¶
func PossibleWorkspaceEntityStatusValues() []WorkspaceEntityStatus
PossibleWorkspaceEntityStatusValues returns an array of possible values for the WorkspaceEntityStatus const type.
type WorkspaceFeatures ¶
type WorkspaceFeatures struct { // EnableDataExport - Flag that indicate if data should be exported. EnableDataExport *bool `json:"enableDataExport,omitempty"` // ImmediatePurgeDataOn30Days - Flag that describes if we want to remove the data after 30 days. ImmediatePurgeDataOn30Days *bool `json:"immediatePurgeDataOn30Days,omitempty"` // EnableLogAccessUsingOnlyResourcePermissions - Flag that indicate which permission to use - resource or workspace or both. EnableLogAccessUsingOnlyResourcePermissions *bool `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"` // ClusterResourceID - Dedicated LA cluster resourceId that is linked to the workspaces. ClusterResourceID *string `json:"clusterResourceId,omitempty"` // DisableLocalAuth - Disable Non-AAD based Auth. DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` }
WorkspaceFeatures workspace features.
type WorkspaceListManagementGroupsResult ¶
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 ¶
type WorkspaceListResult struct { autorest.Response `json:"-"` // Value - A list of workspaces. Value *[]Workspace `json:"value,omitempty"` }
WorkspaceListResult the list workspaces operation response.
type WorkspaceListUsagesResult ¶
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 WorkspacePatch ¶
type WorkspacePatch struct { // WorkspaceProperties - Workspace properties. *WorkspaceProperties `json:"properties,omitempty"` // Tags - Resource tags. Optional. Tags map[string]*string `json:"tags"` // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
WorkspacePatch the top level Workspace resource container.
func (WorkspacePatch) MarshalJSON ¶
func (wp WorkspacePatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspacePatch.
func (*WorkspacePatch) UnmarshalJSON ¶
func (wp *WorkspacePatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkspacePatch struct.
type WorkspaceProperties ¶
type WorkspaceProperties struct { // ProvisioningState - READ-ONLY; The provisioning state of the workspace. Possible values include: 'WorkspaceEntityStatusCreating', 'WorkspaceEntityStatusSucceeded', 'WorkspaceEntityStatusFailed', 'WorkspaceEntityStatusCanceled', 'WorkspaceEntityStatusDeleting', 'WorkspaceEntityStatusProvisioningAccount', 'WorkspaceEntityStatusUpdating' ProvisioningState WorkspaceEntityStatus `json:"provisioningState,omitempty"` // CustomerID - READ-ONLY; This is a read-only property. Represents the ID associated with the workspace. CustomerID *string `json:"customerId,omitempty"` // Sku - The SKU of the workspace. Sku *WorkspaceSku `json:"sku,omitempty"` // RetentionInDays - The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details. RetentionInDays *int32 `json:"retentionInDays,omitempty"` // WorkspaceCapping - The daily volume cap for ingestion. WorkspaceCapping *WorkspaceCapping `json:"workspaceCapping,omitempty"` // CreatedDate - READ-ONLY; Workspace creation date. CreatedDate *string `json:"createdDate,omitempty"` // ModifiedDate - READ-ONLY; Workspace modification date. ModifiedDate *string `json:"modifiedDate,omitempty"` // PublicNetworkAccessForIngestion - The network access type for accessing Log Analytics ingestion. Possible values include: 'Enabled', 'Disabled' PublicNetworkAccessForIngestion PublicNetworkAccessType `json:"publicNetworkAccessForIngestion,omitempty"` // PublicNetworkAccessForQuery - The network access type for accessing Log Analytics query. Possible values include: 'Enabled', 'Disabled' PublicNetworkAccessForQuery PublicNetworkAccessType `json:"publicNetworkAccessForQuery,omitempty"` // ForceCmkForQuery - Indicates whether customer managed storage is mandatory for query management. ForceCmkForQuery *bool `json:"forceCmkForQuery,omitempty"` // PrivateLinkScopedResources - READ-ONLY; List of linked private link scope resources. PrivateLinkScopedResources *[]PrivateLinkScopedResource `json:"privateLinkScopedResources,omitempty"` // Features - Workspace features. Features *WorkspaceFeatures `json:"features,omitempty"` // DefaultDataCollectionRuleResourceID - The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}. DefaultDataCollectionRuleResourceID *string `json:"defaultDataCollectionRuleResourceId,omitempty"` }
WorkspaceProperties workspace properties.
func (WorkspaceProperties) MarshalJSON ¶
func (wp WorkspaceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceProperties.
type WorkspacePurgeBody ¶
type WorkspacePurgeBody struct { // Table - Table from which to purge data. Table *string `json:"table,omitempty"` // Filters - The set of columns and filters (queries) to run over them to purge the resulting data. Filters *[]WorkspacePurgeBodyFilters `json:"filters,omitempty"` }
WorkspacePurgeBody describes the body of a purge request for an App Insights Workspace
type WorkspacePurgeBodyFilters ¶
type WorkspacePurgeBodyFilters struct { // Column - The column of the table over which the given query should run Column *string `json:"column,omitempty"` // Operator - A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query. Operator *string `json:"operator,omitempty"` // Value - the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values. Value interface{} `json:"value,omitempty"` // Key - When filtering over custom dimensions, this key will be used as the name of the custom dimension. Key *string `json:"key,omitempty"` }
WorkspacePurgeBodyFilters user-defined filters to return data which will be purged from the table.
type WorkspacePurgeClient ¶
type WorkspacePurgeClient struct {
BaseClient
}
WorkspacePurgeClient is the operational Insights Client
func NewWorkspacePurgeClient ¶
func NewWorkspacePurgeClient(subscriptionID string) WorkspacePurgeClient
NewWorkspacePurgeClient creates an instance of the WorkspacePurgeClient client.
func NewWorkspacePurgeClientWithBaseURI ¶
func NewWorkspacePurgeClientWithBaseURI(baseURI string, subscriptionID string) WorkspacePurgeClient
NewWorkspacePurgeClientWithBaseURI creates an instance of the WorkspacePurgeClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (WorkspacePurgeClient) GetPurgeStatus ¶
func (client WorkspacePurgeClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, workspaceName string, purgeID string) (result WorkspacePurgeStatusResponse, err error)
GetPurgeStatus gets status of an ongoing purge operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. purgeID - in a purge status request, this is the Id of the operation the status of which is returned.
func (WorkspacePurgeClient) GetPurgeStatusPreparer ¶
func (client WorkspacePurgeClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, workspaceName string, purgeID string) (*http.Request, error)
GetPurgeStatusPreparer prepares the GetPurgeStatus request.
func (WorkspacePurgeClient) GetPurgeStatusResponder ¶
func (client WorkspacePurgeClient) GetPurgeStatusResponder(resp *http.Response) (result WorkspacePurgeStatusResponse, err error)
GetPurgeStatusResponder handles the response to the GetPurgeStatus request. The method always closes the http.Response Body.
func (WorkspacePurgeClient) GetPurgeStatusSender ¶
GetPurgeStatusSender sends the GetPurgeStatus request. The method will close the http.Response Body if it receives an error.
func (WorkspacePurgeClient) Purge ¶
func (client WorkspacePurgeClient) Purge(ctx context.Context, resourceGroupName string, workspaceName string, body WorkspacePurgeBody) (result WorkspacePurgeResponse, err error)
Purge purges data in an Log Analytics workspace by a set of user-defined filters.
In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected. Log Analytics only supports purge operations required for compliance with GDPR. The Log Analytics product team reserves the right to reject requests for purge operations that are not for the purpose of GDPR compliance. In the event of a dispute, please create a support ticket Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. body - describes the body of a request to purge data in a single table of an Log Analytics Workspace
func (WorkspacePurgeClient) PurgePreparer ¶
func (client WorkspacePurgeClient) PurgePreparer(ctx context.Context, resourceGroupName string, workspaceName string, body WorkspacePurgeBody) (*http.Request, error)
PurgePreparer prepares the Purge request.
func (WorkspacePurgeClient) PurgeResponder ¶
func (client WorkspacePurgeClient) PurgeResponder(resp *http.Response) (result WorkspacePurgeResponse, err error)
PurgeResponder handles the response to the Purge request. The method always closes the http.Response Body.
func (WorkspacePurgeClient) PurgeSender ¶
PurgeSender sends the Purge request. The method will close the http.Response Body if it receives an error.
type WorkspacePurgeResponse ¶
type WorkspacePurgeResponse struct { autorest.Response `json:"-"` // OperationID - Id to use when querying for status for a particular purge operation. OperationID *string `json:"operationId,omitempty"` }
WorkspacePurgeResponse response containing operationId for a specific purge action.
type WorkspacePurgeStatusResponse ¶
type WorkspacePurgeStatusResponse struct { autorest.Response `json:"-"` // Status - Status of the operation represented by the requested Id. Possible values include: 'Pending', 'Completed' Status PurgeState `json:"status,omitempty"` }
WorkspacePurgeStatusResponse response containing status for a specific purge operation.
type WorkspaceSku ¶
type WorkspaceSku struct { // Name - The name of the SKU. Possible values include: 'WorkspaceSkuNameEnumFree', 'WorkspaceSkuNameEnumStandard', 'WorkspaceSkuNameEnumPremium', 'WorkspaceSkuNameEnumPerNode', 'WorkspaceSkuNameEnumPerGB2018', 'WorkspaceSkuNameEnumStandalone', 'WorkspaceSkuNameEnumCapacityReservation', 'WorkspaceSkuNameEnumLACluster' Name WorkspaceSkuNameEnum `json:"name,omitempty"` // CapacityReservationLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected. CapacityReservationLevel *int32 `json:"capacityReservationLevel,omitempty"` // LastSkuUpdate - READ-ONLY; The last time when the sku was updated. LastSkuUpdate *string `json:"lastSkuUpdate,omitempty"` }
WorkspaceSku the SKU (tier) of a workspace.
func (WorkspaceSku) MarshalJSON ¶
func (ws WorkspaceSku) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceSku.
type WorkspaceSkuNameEnum ¶
type WorkspaceSkuNameEnum string
WorkspaceSkuNameEnum enumerates the values for workspace sku name enum.
const ( // WorkspaceSkuNameEnumCapacityReservation ... WorkspaceSkuNameEnumCapacityReservation WorkspaceSkuNameEnum = "CapacityReservation" // WorkspaceSkuNameEnumFree ... WorkspaceSkuNameEnumFree WorkspaceSkuNameEnum = "Free" // WorkspaceSkuNameEnumLACluster ... WorkspaceSkuNameEnumLACluster WorkspaceSkuNameEnum = "LACluster" // WorkspaceSkuNameEnumPerGB2018 ... WorkspaceSkuNameEnumPerGB2018 WorkspaceSkuNameEnum = "PerGB2018" // WorkspaceSkuNameEnumPerNode ... WorkspaceSkuNameEnumPerNode WorkspaceSkuNameEnum = "PerNode" // WorkspaceSkuNameEnumPremium ... WorkspaceSkuNameEnumPremium WorkspaceSkuNameEnum = "Premium" // WorkspaceSkuNameEnumStandalone ... WorkspaceSkuNameEnumStandalone WorkspaceSkuNameEnum = "Standalone" // WorkspaceSkuNameEnumStandard ... WorkspaceSkuNameEnumStandard WorkspaceSkuNameEnum = "Standard" )
func PossibleWorkspaceSkuNameEnumValues ¶
func PossibleWorkspaceSkuNameEnumValues() []WorkspaceSkuNameEnum
PossibleWorkspaceSkuNameEnumValues returns an array of possible values for the WorkspaceSkuNameEnum const type.
type WorkspacesClient ¶
type WorkspacesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (WorkspacesClient) CreateOrUpdate ¶
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 name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. parameters - the parameters required to create or update a workspace.
func (WorkspacesClient) CreateOrUpdatePreparer ¶
func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (*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) (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 ¶
func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, force *bool) (result WorkspacesDeleteFuture, err error)
Delete deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. force - deletes the workspace without the recovery option. A workspace that was deleted with this flag cannot be recovered.
func (WorkspacesClient) DeletePreparer ¶
func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, force *bool) (*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) (future WorkspacesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Get ¶
func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)
Get gets a workspace instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (WorkspacesClient) GetPreparer ¶
func (client WorkspacesClient) GetPreparer(ctx context.Context, 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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) List ¶
func (client WorkspacesClient) List(ctx context.Context) (result WorkspaceListResult, err error)
List gets the workspaces in a subscription.
func (WorkspacesClient) ListByResourceGroup ¶
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. The name is case insensitive.
func (WorkspacesClient) ListByResourceGroupPreparer ¶
func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, 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 ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) ListPreparer ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Update ¶
func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, parameters WorkspacePatch) (result Workspace, err error)
Update updates a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. parameters - the parameters required to patch a workspace.
func (WorkspacesClient) UpdatePreparer ¶
func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters WorkspacePatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (WorkspacesClient) UpdateResponder ¶
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 ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type WorkspacesCreateOrUpdateFuture ¶
type WorkspacesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkspacesClient) (Workspace, error) }
WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkspacesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *WorkspacesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WorkspacesDeleteFuture ¶
type WorkspacesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkspacesClient) (autorest.Response, error) }
WorkspacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkspacesDeleteFuture) UnmarshalJSON ¶
func (future *WorkspacesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Source Files ¶
- availableservicetiers.go
- client.go
- clusters.go
- dataexports.go
- datasources.go
- deletedworkspaces.go
- enums.go
- gateways.go
- intelligencepacks.go
- linkedservices.go
- linkedstorageaccounts.go
- managementgroups.go
- models.go
- operations.go
- operationstatuses.go
- queries.go
- querypacks.go
- savedsearches.go
- schema.go
- sharedkeys.go
- storageinsightconfigs.go
- tables.go
- usages.go
- version.go
- workspacepurge.go
- workspaces.go