GuestDiagnosticsSettingsAssociationOperations Class
GuestDiagnosticsSettingsAssociationOperations 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.objectGuestDiagnosticsSettingsAssociationOperations
Constructor
GuestDiagnosticsSettingsAssociationOperations(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 association. |
| delete |
Delete guest diagnostics association settings. |
| get |
Gets guest diagnostics association settings. |
| list |
Get a list of all guest diagnostic settings association in a subscription. |
| list_by_resource_group |
Get a list of all guest diagnostic settings association in a resource group. |
| update |
Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method. |
create_or_update
Creates or updates guest diagnostics settings association.
async create_or_update(resource_uri: str, association_name: str, diagnostic_settings_association: azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsAssociationResource, **kwargs: Any) -> azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsAssociationResource
Parameters
- resource_uri
- str
The fully qualified ID of the resource, including the resource name and resource type.
- diagnostic_settings_association
- <xref:$>(<xref:python-base-namespace>)GuestDiagnosticSettingsAssociationResource
The diagnostic settings association to create or update.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GuestDiagnosticSettingsAssociationResource, or the result of cls(response)
Return type
Exceptions
delete
Delete guest diagnostics association settings.
async delete(resource_uri: str, association_name: str, **kwargs: Any) -> None
Parameters
- resource_uri
- str
The fully qualified ID of the resource, including the resource name and resource type.
- 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 association settings.
async get(resource_uri: str, association_name: str, **kwargs: Any) -> azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsAssociationResource
Parameters
- resource_uri
- str
The fully qualified ID of the resource, including the resource name and resource type.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GuestDiagnosticSettingsAssociationResource, or the result of cls(response)
Return type
Exceptions
list
Get a list of all guest diagnostic settings association in a subscription.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsAssociationList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either GuestDiagnosticSettingsAssociationList or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Get a list of all guest diagnostic settings association 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.GuestDiagnosticSettingsAssociationList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either GuestDiagnosticSettingsAssociationList or the result of cls(response)
Return type
Exceptions
update
Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method.
async update(resource_uri: str, association_name: str, parameters: azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsAssociationResourcePatch, **kwargs: Any) -> azure.mgmt.monitor.v2018_06_01_preview.models._models_py3.GuestDiagnosticSettingsAssociationResource
Parameters
- resource_uri
- str
The fully qualified ID of the resource, including the resource name and resource type.
- parameters
- <xref:$>(<xref:python-base-namespace>)GuestDiagnosticSettingsAssociationResourcePatch
Parameters supplied to the operation.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GuestDiagnosticSettingsAssociationResource, 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