KubeEnvironmentsOperations Class

KubeEnvironmentsOperations 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.object
KubeEnvironmentsOperations

Constructor

KubeEnvironmentsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

begin_create_or_update

Creates or updates a Kubernetes Environment.

Description for Creates or updates a Kubernetes Environment.

begin_delete

Delete a Kubernetes Environment.

Description for Delete a Kubernetes Environment.

get

Get the properties of a Kubernetes Environment.

Description for Get the properties of a Kubernetes Environment.

list_by_resource_group

Get all the Kubernetes Environments in a resource group.

Description for Get all the Kubernetes Environments in a resource group.

list_by_subscription

Get all Kubernetes Environments for a subscription.

Description for Get all Kubernetes Environments for a subscription.

update

Creates or updates a Kubernetes Environment.

Description for Creates or updates a Kubernetes Environment.

begin_create_or_update

Creates or updates a Kubernetes Environment.

Description for Creates or updates a Kubernetes Environment.

async begin_create_or_update(resource_group_name: str, name: str, kube_environment_envelope: azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironment, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironment]

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of the Kubernetes Environment.

kube_environment_envelope
KubeEnvironment
Required

Configuration details of the Kubernetes Environment.

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 KubeEnvironment or the result of cls(response)

Return type

Exceptions

begin_delete

Delete a Kubernetes Environment.

Description for Delete a Kubernetes Environment.

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

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of the Kubernetes Environment.

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

get

Get the properties of a Kubernetes Environment.

Description for Get the properties of a Kubernetes Environment.

async get(resource_group_name: str, name: str, **kwargs: Any) -> azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironment

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of the Kubernetes Environment.

cls
callable

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

Returns

KubeEnvironment, or the result of cls(response)

Return type

Exceptions

list_by_resource_group

Get all the Kubernetes Environments in a resource group.

Description for Get all the Kubernetes Environments in a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironmentCollection]

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

cls
callable

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

Returns

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

Return type

Exceptions

list_by_subscription

Get all Kubernetes Environments for a subscription.

Description for Get all Kubernetes Environments for a subscription.

list_by_subscription(**kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironmentCollection]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

update

Creates or updates a Kubernetes Environment.

Description for Creates or updates a Kubernetes Environment.

async update(resource_group_name: str, name: str, kube_environment_envelope: azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironmentPatchResource, **kwargs: Any) -> azure.mgmt.web.v2021_01_01.models._models_py3.KubeEnvironment

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of the Kubernetes Environment.

kube_environment_envelope
KubeEnvironmentPatchResource
Required

Configuration details of the Kubernetes Environment.

cls
callable

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

Returns

KubeEnvironment, or the result of cls(response)

Return type

Exceptions

Attributes

models

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