ContainerAppsAuthConfigsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:container_apps_auth_configs> attribute.

Inheritance
builtins.object
ContainerAppsAuthConfigsOperations

Constructor

ContainerAppsAuthConfigsOperations(*args, **kwargs)

Methods

create_or_update

Create or update the AuthConfig for a Container App.

Create or update the AuthConfig for a Container App.

delete

Delete a Container App AuthConfig.

Delete a Container App AuthConfig.

get

Get a AuthConfig of a Container App.

Get a AuthConfig of a Container App.

list_by_container_app

Get the Container App AuthConfigs in a given resource group.

Get the Container App AuthConfigs in a given resource group.

create_or_update

Create or update the AuthConfig for a Container App.

Create or update the AuthConfig for a Container App.

create_or_update(resource_group_name: str, container_app_name: str, auth_config_name: str, auth_config_envelope: _models.AuthConfig, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AuthConfig

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

auth_config_name
Required
str

Name of the Container App AuthConfig. Required.

auth_config_envelope
Required

Properties used to create a Container App AuthConfig. Is either a AuthConfig type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

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

Returns

Type Description

AuthConfig or the result of cls(response)

Exceptions

Type Description

delete

Delete a Container App AuthConfig.

Delete a Container App AuthConfig.

delete(resource_group_name: str, container_app_name: str, auth_config_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

auth_config_name
Required
str

Name of the Container App AuthConfig. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get a AuthConfig of a Container App.

Get a AuthConfig of a Container App.

get(resource_group_name: str, container_app_name: str, auth_config_name: str, **kwargs: Any) -> AuthConfig

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

auth_config_name
Required
str

Name of the Container App AuthConfig. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

AuthConfig or the result of cls(response)

Exceptions

Type Description

list_by_container_app

Get the Container App AuthConfigs in a given resource group.

Get the Container App AuthConfigs in a given resource group.

list_by_container_app(resource_group_name: str, container_app_name: str, **kwargs: Any) -> Iterable[AuthConfig]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.appcontainers.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>