WorkbooksOperations Class
WorkbooksOperations 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.objectWorkbooksOperations
Constructor
WorkbooksOperations(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: "2018-06-17-preview".
Methods
| create_or_update |
Create a new workbook. |
| delete |
Delete a workbook. |
| get |
Get a single workbook by its resourceName. |
| list_by_resource_group |
Get all Workbooks defined within a specified resource group and category. |
| update |
Updates a workbook that has already been added. |
create_or_update
Create a new workbook.
create_or_update(resource_group_name, resource_name, source_id, workbook_properties, custom_headers=None, raw=False, **operation_config)
Parameters
- workbook_properties
- Workbook
Properties that need to be specified to create a new workbook.
- operation_config
Operation configuration overrides.
Returns
Workbook or ClientRawResponse if raw=true
Return type
Exceptions
delete
Delete a workbook.
delete(resource_group_name, resource_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
Get a single workbook by its resourceName.
get(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
Workbook or ClientRawResponse if raw=true
Return type
Exceptions
list_by_resource_group
Get all Workbooks defined within a specified resource group and category.
list_by_resource_group(resource_group_name, category, source_id, tags=None, can_fetch_content=None, custom_headers=None, raw=False, **operation_config)
Parameters
- category
- str or CategoryType
Category of workbook to return. Possible values include: 'workbook', 'TSG', 'performance', 'retention'
- can_fetch_content
- bool
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of Workbook
Return type
Exceptions
update
Updates a workbook that has already been added.
update(resource_group_name, resource_name, source_id, workbook_update_parameters=None, custom_headers=None, raw=False, **operation_config)
Parameters
- workbook_update_parameters
- WorkbookUpdateParameters
Properties that need to be specified to create a new workbook.
- operation_config
Operation configuration overrides.
Returns
Workbook or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.applicationinsights.v2018_06_17_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\applicationinsights\\v2018_06_17_preview\\models\\__init__.py'>
Feedback
Submit and view feedback for