KubeEnvironmentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:kube_environments> attribute.
Constructor
KubeEnvironmentsOperations(*args, **kwargs)
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.
begin_create_or_update(resource_group_name: str, name: str, kube_environment_envelope: _models.KubeEnvironment, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.KubeEnvironment]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
|
name
Required
|
Name of the Kubernetes Environment. Required. |
|
kube_environment_envelope
Required
|
Configuration details of the Kubernetes Environment. Is either a KubeEnvironment type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either KubeEnvironment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
begin_delete
Delete a Kubernetes Environment.
Description for Delete a Kubernetes Environment.
begin_delete(resource_group_name: str, name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
|
name
Required
|
Name of the Kubernetes Environment. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Get the properties of a Kubernetes Environment.
Description for Get the properties of a Kubernetes Environment.
get(resource_group_name: str, name: str, **kwargs: Any) -> KubeEnvironment
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
|
name
Required
|
Name of the Kubernetes Environment. Required. |
Returns
| Type | Description |
|---|---|
|
KubeEnvironment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
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) -> ItemPaged[KubeEnvironment]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either KubeEnvironment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_subscription
Get all Kubernetes Environments for a subscription.
Description for Get all Kubernetes Environments for a subscription.
list_by_subscription(**kwargs: Any) -> ItemPaged[KubeEnvironment]
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either KubeEnvironment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
update
Creates or updates a Kubernetes Environment.
Description for Creates or updates a Kubernetes Environment.
update(resource_group_name: str, name: str, kube_environment_envelope: _models.KubeEnvironmentPatchResource, *, content_type: str = 'application/json', **kwargs: Any) -> _models.KubeEnvironment
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
|
name
Required
|
Name of the Kubernetes Environment. Required. |
|
kube_environment_envelope
Required
|
Configuration details of the Kubernetes Environment. Is either a KubeEnvironmentPatchResource type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
KubeEnvironment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.web.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv239\\Lib\\site-packages\\azure\\mgmt\\web\\models\\__init__.py'>