ContainerAppsSourceControlsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:container_apps_source_controls> attribute.

Constructor

ContainerAppsSourceControlsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update the SourceControl for a Container App.

Create or update the SourceControl for a Container App.

begin_delete

Delete a Container App SourceControl.

Delete a Container App SourceControl.

get

Get a SourceControl of a Container App.

Get a SourceControl of a Container App.

list_by_container_app

Get the Container App SourceControls in a given resource group.

Get the Container App SourceControls in a given resource group.

begin_create_or_update

Create or update the SourceControl for a Container App.

Create or update the SourceControl for a Container App.

async begin_create_or_update(resource_group_name: str, container_app_name: str, source_control_name: str, source_control_envelope: _models.SourceControl, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.SourceControl]

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.

source_control_name
Required
str

Name of the Container App SourceControl. Required.

source_control_envelope
Required

Properties used to create a Container App SourceControl. Is either a SourceControl type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns SourceControl. The SourceControl is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Delete a Container App SourceControl.

Delete a Container App SourceControl.

async begin_delete(resource_group_name: str, container_app_name: str, source_control_name: str, **kwargs: Any) -> AsyncLROPoller[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.

source_control_name
Required
str

Name of the Container App SourceControl. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns None

Exceptions

Type Description

get

Get a SourceControl of a Container App.

Get a SourceControl of a Container App.

async get(resource_group_name: str, container_app_name: str, source_control_name: str, **kwargs: Any) -> SourceControl

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.

source_control_name
Required
str

Name of the Container App SourceControl. Required.

Returns

Type Description

SourceControl. The SourceControl is compatible with MutableMapping

Exceptions

Type Description

list_by_container_app

Get the Container App SourceControls in a given resource group.

Get the Container App SourceControls in a given resource group.

list_by_container_app(resource_group_name: str, container_app_name: str, **kwargs: Any) -> AsyncItemPaged[SourceControl]

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.

Returns

Type Description

An iterator like instance of SourceControl

Exceptions

Type Description