OpenShiftManagedClustersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerServiceClient's

<xref:open_shift_managed_clusters> attribute.

Inheritance
builtins.object
OpenShiftManagedClustersOperations

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.

async begin_create_or_update(resource_group_name: str, resource_name: str, parameters: azure.mgmt.containerservice.v2019_04_30.models._models_py3.OpenShiftManagedCluster, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.containerservice.v2019_04_30.models._models_py3.OpenShiftManagedCluster]

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the OpenShift managed cluster resource.

parameters
OpenShiftManagedCluster
Required

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 AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. 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 AsyncLROPoller 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.

async begin_delete(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the OpenShift managed cluster resource.

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 AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. 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 AsyncLROPoller 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.

async begin_update_tags(resource_group_name: str, resource_name: str, parameters: azure.mgmt.containerservice.v2019_04_30.models._models_py3.TagsObject, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.containerservice.v2019_04_30.models._models_py3.OpenShiftManagedCluster]

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the OpenShift managed cluster resource.

parameters
TagsObject
Required

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 AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. 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 AsyncLROPoller 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.

async get(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.mgmt.containerservice.v2019_04_30.models._models_py3.OpenShiftManagedCluster

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the OpenShift managed cluster resource.

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) -> AsyncIterable[azure.mgmt.containerservice.v2019_04_30.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) -> AsyncIterable[azure.mgmt.containerservice.v2019_04_30.models._models_py3.OpenShiftManagedClusterListResult]

Parameters

resource_group_name
str
Required

The name of the resource group.

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.v2019_04_30.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\containerservice\\v2019_04_30\\models\\__init__.py'>