ManagedCertificatesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:managed_certificates> attribute.

Inheritance
builtins.object
ManagedCertificatesOperations

Constructor

ManagedCertificatesOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or Update a Managed Certificate.

Create or Update a Managed Certificate.

delete

Deletes the specified Managed Certificate.

Deletes the specified Managed Certificate.

get

Get the specified Managed Certificate.

Get the specified Managed Certificate.

list

Get the Managed Certificates in a given managed environment.

Get the Managed Certificates in a given managed environment.

update

Update tags of a managed certificate.

Patches a managed certificate. Oly patching of tags is supported.

begin_create_or_update

Create or Update a Managed Certificate.

Create or Update a Managed Certificate.

begin_create_or_update(resource_group_name: str, environment_name: str, managed_certificate_name: str, managed_certificate_envelope: _models.ManagedCertificate | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ManagedCertificate]

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Managed Environment. Required.

managed_certificate_name
Required
str

Name of the Managed Certificate. Required.

managed_certificate_envelope
Required

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

Returns

Type Description

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

Exceptions

Type Description

delete

Deletes the specified Managed Certificate.

Deletes the specified Managed Certificate.

delete(resource_group_name: str, environment_name: str, managed_certificate_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.

environment_name
Required
str

Name of the Managed Environment. Required.

managed_certificate_name
Required
str

Name of the Managed Certificate. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get the specified Managed Certificate.

Get the specified Managed Certificate.

get(resource_group_name: str, environment_name: str, managed_certificate_name: str, **kwargs: Any) -> ManagedCertificate

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Managed Environment. Required.

managed_certificate_name
Required
str

Name of the Managed Certificate. Required.

Returns

Type Description

ManagedCertificate or the result of cls(response)

Exceptions

Type Description

list

Get the Managed Certificates in a given managed environment.

Get the Managed Certificates in a given managed environment.

list(resource_group_name: str, environment_name: str, **kwargs: Any) -> Iterable[ManagedCertificate]

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Managed Environment. Required.

Returns

Type Description

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

Exceptions

Type Description

update

Update tags of a managed certificate.

Patches a managed certificate. Oly patching of tags is supported.

update(resource_group_name: str, environment_name: str, managed_certificate_name: str, managed_certificate_envelope: _models.ManagedCertificatePatch, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ManagedCertificate

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Managed Environment. Required.

managed_certificate_name
Required
str

Name of the Managed Certificate. Required.

managed_certificate_envelope
Required

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

Returns

Type Description

ManagedCertificate 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'>