MaintenanceConfigurationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerServiceClient's

<xref:maintenance_configurations> attribute.

Inheritance
builtins.object
MaintenanceConfigurationsOperations

Constructor

MaintenanceConfigurationsOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a maintenance configuration in the specified managed cluster.

Creates or updates a maintenance configuration in the specified managed cluster.

delete

Deletes a maintenance configuration.

Deletes a maintenance configuration.

get

Gets the specified maintenance configuration of a managed cluster.

Gets the specified maintenance configuration of a managed cluster.

list_by_managed_cluster

Gets a list of maintenance configurations in the specified managed cluster.

Gets a list of maintenance configurations in the specified managed cluster.

create_or_update

Creates or updates a maintenance configuration in the specified managed cluster.

Creates or updates a maintenance configuration in the specified managed cluster.

create_or_update(resource_group_name: str, resource_name: str, config_name: str, parameters: azure.mgmt.containerservice.v2021_05_01.models._models_py3.MaintenanceConfiguration, **kwargs: Any) -> azure.mgmt.containerservice.v2021_05_01.models._models_py3.MaintenanceConfiguration

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the managed cluster resource.

config_name
str
Required

The name of the maintenance configuration.

parameters
MaintenanceConfiguration
Required

The maintenance configuration to create or update.

cls
callable

A custom type or function that will be passed the direct response

Returns

MaintenanceConfiguration, or the result of cls(response)

Return type

Exceptions

delete

Deletes a maintenance configuration.

Deletes a maintenance configuration.

delete(resource_group_name: str, resource_name: str, config_name: str, **kwargs: Any) -> None

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the managed cluster resource.

config_name
str
Required

The name of the maintenance configuration.

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 the specified maintenance configuration of a managed cluster.

Gets the specified maintenance configuration of a managed cluster.

get(resource_group_name: str, resource_name: str, config_name: str, **kwargs: Any) -> azure.mgmt.containerservice.v2021_05_01.models._models_py3.MaintenanceConfiguration

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the managed cluster resource.

config_name
str
Required

The name of the maintenance configuration.

cls
callable

A custom type or function that will be passed the direct response

Returns

MaintenanceConfiguration, or the result of cls(response)

Return type

Exceptions

list_by_managed_cluster

Gets a list of maintenance configurations in the specified managed cluster.

Gets a list of maintenance configurations in the specified managed cluster.

list_by_managed_cluster(resource_group_name: str, resource_name: str, **kwargs: Any) -> Iterable[azure.mgmt.containerservice.v2021_05_01.models._models_py3.MaintenanceConfigurationListResult]

Parameters

resource_group_name
str
Required

The name of the resource group.

resource_name
str
Required

The name of the managed cluster resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either MaintenanceConfigurationListResult or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.containerservice.v2021_05_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\containerservice\\v2021_05_01\\models\\__init__.py'>