ManagedClusterSnapshotsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:managed_cluster_snapshots> attribute.
- Inheritance
-
builtins.objectManagedClusterSnapshotsOperations
Constructor
ManagedClusterSnapshotsOperations(*args, **kwargs)
Methods
| create_or_update |
Creates or updates a managed cluster snapshot. Creates or updates a managed cluster snapshot. |
| delete |
Deletes a managed cluster snapshot. Deletes a managed cluster snapshot. |
| get |
Gets a managed cluster snapshot. Gets a managed cluster snapshot. |
| list |
Gets a list of managed cluster snapshots in the specified subscription. Gets a list of managed cluster snapshots in the specified subscription. |
| list_by_resource_group |
Lists managed cluster snapshots in the specified subscription and resource group. Lists managed cluster snapshots in the specified subscription and resource group. |
| update_tags |
Updates tags on a managed cluster snapshot. Updates tags on a managed cluster snapshot. |
create_or_update
Creates or updates a managed cluster snapshot.
Creates or updates a managed cluster snapshot.
async create_or_update(resource_group_name: str, resource_name: str, parameters: azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshot, **kwargs: Any) -> azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshot
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagedClusterSnapshot, or the result of cls(response)
Return type
Exceptions
delete
Deletes a managed cluster snapshot.
Deletes a managed cluster snapshot.
async delete(resource_group_name: str, resource_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 a managed cluster snapshot.
Gets a managed cluster snapshot.
async get(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshot
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagedClusterSnapshot, or the result of cls(response)
Return type
Exceptions
list
Gets a list of managed cluster snapshots in the specified subscription.
Gets a list of managed cluster snapshots in the specified subscription.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshotListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ManagedClusterSnapshotListResult or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Lists managed cluster snapshots in the specified subscription and resource group.
Lists managed cluster snapshots in the specified subscription and resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshotListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ManagedClusterSnapshotListResult or the result of cls(response)
Return type
Exceptions
update_tags
Updates tags on a managed cluster snapshot.
Updates tags on a managed cluster snapshot.
async update_tags(resource_group_name: str, resource_name: str, parameters: azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.TagsObject, **kwargs: Any) -> azure.mgmt.containerservice.v2022_02_02_preview.models._models_py3.ManagedClusterSnapshot
Parameters
- parameters
- TagsObject
Parameters supplied to the Update managed cluster snapshot Tags operation.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagedClusterSnapshot, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.containerservice.v2022_02_02_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\containerservice\\v2022_02_02_preview\\models\\__init__.py'>
Feedback
Submit and view feedback for