CertificatesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:certificates> attribute.
- Inheritance
-
builtins.objectCertificatesOperations
Constructor
CertificatesOperations(*args, **kwargs)
Methods
create_or_update |
Create or Update a Certificate. Create or Update a Certificate. |
delete |
Deletes the specified Certificate. Deletes the specified Certificate. |
get |
Get the specified Certificate. Get the specified Certificate. |
list |
Get the Certificates in a given managed environment. Get the Certificates in a given managed environment. |
update |
Update properties of a certificate. Patches a certificate. Currently only patching of tags is supported. |
create_or_update
Create or Update a Certificate.
Create or Update a Certificate.
async create_or_update(resource_group_name: str, environment_name: str, certificate_name: str, certificate_envelope: _models.Certificate | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Certificate
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
certificate_name
Required
|
Name of the Certificate. Required. |
certificate_envelope
Required
|
Certificate to be created or updated. Is either a Certificate type or a IO[bytes] type. Default value is None. |
Returns
Type | Description |
---|---|
Certificate or the result of cls(response) |
Exceptions
Type | Description |
---|---|
delete
Deletes the specified Certificate.
Deletes the specified Certificate.
async delete(resource_group_name: str, environment_name: str, certificate_name: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
certificate_name
Required
|
Name of the Certificate. Required. |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get the specified Certificate.
Get the specified Certificate.
async get(resource_group_name: str, environment_name: str, certificate_name: str, **kwargs: Any) -> Certificate
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
certificate_name
Required
|
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 managed environment.
Get the Certificates in a given managed environment.
list(resource_group_name: str, environment_name: str, **kwargs: Any) -> AsyncIterable[Certificate]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either Certificate or the result of cls(response) |
Exceptions
Type | Description |
---|---|
update
Update properties of a certificate.
Patches a certificate. Currently only patching of tags is supported.
async update(resource_group_name: str, environment_name: str, certificate_name: str, certificate_envelope: _models.CertificatePatch, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Certificate
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
certificate_name
Required
|
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 |
---|---|
Certificate 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'>
Azure SDK for Python