GuestDiagnosticsSettingsOperations Class
GuestDiagnosticsSettingsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectGuestDiagnosticsSettingsOperations
Constructor
GuestDiagnosticsSettingsOperations(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
- models
Alias to model classes used in this operation group.
Methods
| create_or_update |
Creates or updates guest diagnostics settings. |
| delete |
Delete guest diagnostics settings. |
| get |
Gets guest diagnostics settings. |
| list |
Get a list of all guest diagnostic settings in a subscription. |
| list_by_resource_group |
Get a list of all guest diagnostic settings in a resource group. |
| update |
Updates guest diagnostics settings. |
create_or_update
Creates or updates guest diagnostics settings.
async create_or_update(resource_group_name: str, diagnostic_settings_name: str, diagnostic_settings: azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsResource, **kwargs: Any) -> azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsResource
Parameters
- diagnostic_settings
- <xref:$>(<xref:python-base-namespace>)GuestDiagnosticSettingsResource
The configuration to create or update.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GuestDiagnosticSettingsResource, or the result of cls(response)
Return type
Exceptions
delete
Delete guest diagnostics settings.
async delete(resource_group_name: str, diagnostic_settings_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Gets guest diagnostics settings.
async get(resource_group_name: str, diagnostic_settings_name: str, **kwargs: Any) -> azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsResource
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GuestDiagnosticSettingsResource, or the result of cls(response)
Return type
Exceptions
list
Get a list of all guest diagnostic settings in a subscription.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either GuestDiagnosticSettingsList or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Get a list of all guest diagnostic settings in a resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either GuestDiagnosticSettingsList or the result of cls(response)
Return type
Exceptions
update
Updates guest diagnostics settings.
async update(resource_group_name: str, diagnostic_settings_name: str, parameters: azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsPatchResource, **kwargs: Any) -> azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsResource
Parameters
- parameters
- <xref:$>(<xref:python-base-namespace>)GuestDiagnosticSettingsPatchResource
The configuration to patch.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GuestDiagnosticSettingsResource, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.monitor.v2018_06_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\monitor\\v2018_06_01_preview\\models\\__init__.py'>
Feedback
Submit and view feedback for