CertificatesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NginxManagementClient's

<xref:certificates> attribute.

Inheritance
builtins.object
CertificatesOperations

Constructor

CertificatesOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update the NGINX certificates for given NGINX deployment.

Create or update the NGINX certificates for given NGINX deployment.

begin_delete

Deletes a certificate from the NGINX deployment.

Deletes a certificate from the NGINX deployment.

get

Get a certificate of given NGINX deployment.

Get a certificate of given NGINX deployment.

list

List all certificates of given NGINX deployment.

List all certificates of given NGINX deployment.

begin_create_or_update

Create or update the NGINX certificates for given NGINX deployment.

Create or update the NGINX certificates for given NGINX deployment.

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

Parameters

Name Description
resource_group_name
Required
str

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

deployment_name
Required
str

The name of targeted NGINX deployment. Required.

certificate_name
Required
str

The name of certificate. Required.

body
Required

The certificate. Is either a NginxCertificate type or a IO type. Default value is None.

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

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes a certificate from the NGINX deployment.

Deletes a certificate from the NGINX deployment.

begin_delete(resource_group_name: str, deployment_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.

deployment_name
Required
str

The name of targeted NGINX deployment. Required.

certificate_name
Required
str

The name of certificate. Required.

Keyword-Only Parameters

Name Description
cls

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

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

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

Exceptions

Type Description

get

Get a certificate of given NGINX deployment.

Get a certificate of given NGINX deployment.

get(resource_group_name: str, deployment_name: str, certificate_name: str, **kwargs: Any) -> NginxCertificate

Parameters

Name Description
resource_group_name
Required
str

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

deployment_name
Required
str

The name of targeted NGINX deployment. Required.

certificate_name
Required
str

The name of certificate. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

NginxCertificate or the result of cls(response)

Exceptions

Type Description

list

List all certificates of given NGINX deployment.

List all certificates of given NGINX deployment.

list(resource_group_name: str, deployment_name: str, **kwargs: Any) -> Iterable[NginxCertificate]

Parameters

Name Description
resource_group_name
Required
str

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

deployment_name
Required
str

The name of targeted NGINX deployment. 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 NginxCertificate or the result of cls(response)

Exceptions

Type Description

Attributes

models

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