QueryPacksOperations Class
QueryPacksOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Inheritance
-
builtins.objectQueryPacksOperations
Constructor
QueryPacksOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- api_version
The API version to use for this operation. Constant value: "2019-09-01-preview".
Methods
| create_or_update |
Creates (or updates) 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. |
| list_by_resource_group |
Gets a list of Log Analytics QueryPacks within a resource group. |
| update_tags |
Updates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method. |
create_or_update
Creates (or updates) a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
create_or_update(resource_group_name, query_pack_name, location, tags=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
LogAnalyticsQueryPack or ClientRawResponse if raw=true
Return type
Exceptions
delete
Deletes a Log Analytics QueryPack.
delete(resource_group_name, query_pack_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
get
Returns a Log Analytics QueryPack.
get(resource_group_name, query_pack_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
LogAnalyticsQueryPack or ClientRawResponse if raw=true
Return type
Exceptions
list
Gets a list of all Log Analytics QueryPacks within a subscription.
list(custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of LogAnalyticsQueryPack
Return type
Exceptions
list_by_resource_group
Gets a list of Log Analytics QueryPacks within a resource group.
list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of LogAnalyticsQueryPack
Return type
Exceptions
update_tags
Updates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method.
update_tags(resource_group_name, query_pack_name, tags=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
LogAnalyticsQueryPack or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.applicationinsights.v2019_09_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\applicationinsights\\v2019_09_01_preview\\models\\__init__.py'>
Feedback
Submit and view feedback for