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 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 CoreSummary
- 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 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 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 ProxyResource
- type PublicNetworkAccessType
- type PurgeState
- type Resource
- 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 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 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 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 Table
- type TableProperties
- type TablesClient
- 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) Update(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result Table, 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) (*http.Response, error)
- type TablesListResult
- type Tag
- 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 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 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 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 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 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 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 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 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 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 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 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 Table ¶
type Table struct { autorest.Response `json:"-"` // TableProperties - Table properties. *TableProperties `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"` }
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 TableProperties ¶
type TableProperties struct { // RetentionInDays - The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace retention. RetentionInDays *int32 `json:"retentionInDays,omitempty"` }
TableProperties table properties.
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) 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) Update ¶
func (client TablesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters Table) (result Table, err error)
Update updates a Log Analytics workspace table properties. 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 ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
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 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 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"` // 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 - 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"` }
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
- savedsearches.go
- schema.go
- sharedkeys.go
- storageinsightconfigs.go
- tables.go
- usages.go
- version.go
- workspacepurge.go
- workspaces.go
Directories ¶
Path | Synopsis |
---|---|
Deprecated: Please note, this package has been deprecated.
|
Deprecated: Please note, this package has been deprecated. |