OpenShiftManagedClustersOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:open_shift_managed_clusters> attribute.
- Inheritance
-
builtins.objectOpenShiftManagedClustersOperations
Constructor
OpenShiftManagedClustersOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Creates or updates an OpenShift managed cluster. Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version. |
| begin_delete |
Deletes an OpenShift managed cluster. Deletes the OpenShift managed cluster with a specified resource group and name. |
| begin_update_tags |
Updates tags on an OpenShift managed cluster. Updates an OpenShift managed cluster with the specified tags. |
| get |
Gets a OpenShift managed cluster. Gets the details of the managed OpenShift cluster with a specified resource group and name. |
| list |
Gets a list of OpenShift managed clusters in the specified subscription. Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster. |
| list_by_resource_group |
Lists OpenShift managed clusters in the specified subscription and resource group. Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster. |
begin_create_or_update
Creates or updates an OpenShift managed cluster.
Creates or updates a OpenShift managed cluster with the specified configuration for agents and OpenShift version.
begin_create_or_update(resource_group_name: str, resource_name: str, parameters: azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.OpenShiftManagedCluster, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.OpenShiftManagedCluster]
Parameters
- parameters
- OpenShiftManagedCluster
Parameters supplied to the Create or Update an OpenShift Managed Cluster operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes an OpenShift managed cluster.
Deletes the OpenShift managed cluster with a specified resource group and name.
begin_delete(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_update_tags
Updates tags on an OpenShift managed cluster.
Updates an OpenShift managed cluster with the specified tags.
begin_update_tags(resource_group_name: str, resource_name: str, parameters: azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.TagsObject, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.OpenShiftManagedCluster]
Parameters
- parameters
- TagsObject
Parameters supplied to the Update OpenShift Managed Cluster Tags operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response)
Return type
Exceptions
get
Gets a OpenShift managed cluster.
Gets the details of the managed OpenShift cluster with a specified resource group and name.
get(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.OpenShiftManagedCluster
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
OpenShiftManagedCluster, or the result of cls(response)
Return type
Exceptions
list
Gets a list of OpenShift managed clusters in the specified subscription.
Gets a list of OpenShift managed clusters in the specified subscription. The operation returns properties of each OpenShift managed cluster.
list(**kwargs: Any) -> Iterable[azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.OpenShiftManagedClusterListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either OpenShiftManagedClusterListResult or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Lists OpenShift managed clusters in the specified subscription and resource group.
Lists OpenShift managed clusters in the specified subscription and resource group. The operation returns properties of each OpenShift managed cluster.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[azure.mgmt.containerservice.v2018_09_30_preview.models._models_py3.OpenShiftManagedClusterListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either OpenShiftManagedClusterListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.containerservice.v2018_09_30_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\containerservice\\v2018_09_30_preview\\models\\__init__.py'>
Feedback
Submit and view feedback for