Share via


ConnectedEnvironmentsCertificatesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:connected_environments_certificates> attribute.

Constructor

ConnectedEnvironmentsCertificatesOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or Update a Certificate.

Create or Update a Certificate.

begin_delete

Deletes the specified Certificate.

Deletes the specified Certificate.

begin_update

Update properties of a certificate.

Patches a certificate. Currently only patching of tags is supported.

get

Get the specified Certificate.

Get the specified Certificate.

list

Get the Certificates in a given connected environment.

Get the Certificates in a given connected environment.

begin_create_or_update

Create or Update a Certificate.

Create or Update a Certificate.

begin_create_or_update(resource_group_name: str, connected_environment_name: str, certificate_name: str, certificate_envelope: _models.Certificate | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.Certificate]

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Connected Environment. Required.

certificate_name
Required
str

Name of the Certificate. Required.

certificate_envelope

Certificate to be created or updated. Is either a Certificate type or a IO[bytes] type. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns either Certificate or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes the specified Certificate.

Deletes the specified Certificate.

begin_delete(resource_group_name: str, connected_environment_name: str, certificate_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Connected Environment. Required.

certificate_name
Required
str

Name of the Certificate. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

begin_update

Update properties of a certificate.

Patches a certificate. Currently only patching of tags is supported.

begin_update(resource_group_name: str, connected_environment_name: str, certificate_name: str, certificate_envelope: _models.CertificatePatch, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.Certificate]

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Connected Environment. Required.

certificate_name
Required
str

Name of the Certificate. Required.

certificate_envelope
Required

Properties of a certificate that need to be updated. Is either a CertificatePatch type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either Certificate or the result of cls(response)

Exceptions

Type Description

get

Get the specified Certificate.

Get the specified Certificate.

get(resource_group_name: str, connected_environment_name: str, certificate_name: str, **kwargs: Any) -> Certificate

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Connected Environment. Required.

certificate_name
Required
str

Name of the Certificate. Required.

Returns

Type Description

Certificate or the result of cls(response)

Exceptions

Type Description

list

Get the Certificates in a given connected environment.

Get the Certificates in a given connected environment.

list(resource_group_name: str, connected_environment_name: str, **kwargs: Any) -> ItemPaged[Certificate]

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Connected Environment. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.appcontainers.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv67\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>