QueryPacksOperations interface

Interface representing a QueryPacks operations.

Properties

createOrUpdate

Creates (or updates) a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

createOrUpdateWithoutName

Creates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

delete

Deletes a Log Analytics QueryPack.

get

Returns a Log Analytics QueryPack.

list

Gets a list of all Log Analytics QueryPacks within a subscription.

listByResourceGroup

Gets a list of Log Analytics QueryPacks within a resource group.

updateTags

Updates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method.

Property Details

createOrUpdate

Creates (or updates) a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

createOrUpdate: (resourceGroupName: string, queryPackName: string, logAnalyticsQueryPackPayload: LogAnalyticsQueryPack, options?: QueryPacksCreateOrUpdateOptionalParams) => Promise<LogAnalyticsQueryPack>

Property Value

(resourceGroupName: string, queryPackName: string, logAnalyticsQueryPackPayload: LogAnalyticsQueryPack, options?: QueryPacksCreateOrUpdateOptionalParams) => Promise<LogAnalyticsQueryPack>

createOrUpdateWithoutName

Creates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

createOrUpdateWithoutName: (resourceGroupName: string, logAnalyticsQueryPackPayload: LogAnalyticsQueryPack, options?: QueryPacksCreateOrUpdateWithoutNameOptionalParams) => Promise<LogAnalyticsQueryPack>

Property Value

(resourceGroupName: string, logAnalyticsQueryPackPayload: LogAnalyticsQueryPack, options?: QueryPacksCreateOrUpdateWithoutNameOptionalParams) => Promise<LogAnalyticsQueryPack>

delete

Deletes a Log Analytics QueryPack.

delete: (resourceGroupName: string, queryPackName: string, options?: QueryPacksDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, queryPackName: string, options?: QueryPacksDeleteOptionalParams) => Promise<void>

get

Returns a Log Analytics QueryPack.

get: (resourceGroupName: string, queryPackName: string, options?: QueryPacksGetOptionalParams) => Promise<LogAnalyticsQueryPack>

Property Value

(resourceGroupName: string, queryPackName: string, options?: QueryPacksGetOptionalParams) => Promise<LogAnalyticsQueryPack>

list

Gets a list of all Log Analytics QueryPacks within a subscription.

list: (options?: QueryPacksListOptionalParams) => PagedAsyncIterableIterator<LogAnalyticsQueryPack, LogAnalyticsQueryPack[], PageSettings>

Property Value

(options?: QueryPacksListOptionalParams) => PagedAsyncIterableIterator<LogAnalyticsQueryPack, LogAnalyticsQueryPack[], PageSettings>

listByResourceGroup

Gets a list of Log Analytics QueryPacks within a resource group.

listByResourceGroup: (resourceGroupName: string, options?: QueryPacksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<LogAnalyticsQueryPack, LogAnalyticsQueryPack[], PageSettings>

Property Value

(resourceGroupName: string, options?: QueryPacksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<LogAnalyticsQueryPack, LogAnalyticsQueryPack[], PageSettings>

updateTags

Updates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method.

updateTags: (resourceGroupName: string, queryPackName: string, queryPackTags: TagsResource, options?: QueryPacksUpdateTagsOptionalParams) => Promise<LogAnalyticsQueryPack>

Property Value

(resourceGroupName: string, queryPackName: string, queryPackTags: TagsResource, options?: QueryPacksUpdateTagsOptionalParams) => Promise<LogAnalyticsQueryPack>