CaCertificatesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:ca_certificates> attribute.
Constructor
CaCertificatesOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Create or update a CA certificate. Create or update a CA certificate with the specified parameters. |
| begin_delete |
Delete a CA certificate. Delete an existing CA certificate. |
| get |
Get a CA certificate. Get properties of a CA certificate. |
| list_by_namespace |
List all CA certificates under a namespace. Get all the CA certificates under a namespace. |
begin_create_or_update
Create or update a CA certificate.
Create or update a CA certificate with the specified parameters.
begin_create_or_update(resource_group_name: str, namespace_name: str, ca_certificate_name: str, ca_certificate_info: _models.CaCertificate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.CaCertificate]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
namespace_name
Required
|
Name of the namespace. Required. |
|
ca_certificate_name
Required
|
Name of the CA certificate. Required. |
|
ca_certificate_info
Required
|
CA certificate information. Is one of the following types: CaCertificate, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns CaCertificate. The CaCertificate is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_delete
Delete a CA certificate.
Delete an existing CA certificate.
begin_delete(resource_group_name: str, namespace_name: str, ca_certificate_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
namespace_name
Required
|
Name of the namespace. Required. |
|
ca_certificate_name
Required
|
Name of the CA certificate. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
get
Get a CA certificate.
Get properties of a CA certificate.
get(resource_group_name: str, namespace_name: str, ca_certificate_name: str, **kwargs: Any) -> CaCertificate
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
namespace_name
Required
|
Name of the namespace. Required. |
|
ca_certificate_name
Required
|
Name of the CA certificate. Required. |
Returns
| Type | Description |
|---|---|
|
CaCertificate. The CaCertificate is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_by_namespace
List all CA certificates under a namespace.
Get all the CA certificates under a namespace.
list_by_namespace(resource_group_name: str, namespace_name: str, *, filter: str | None = None, top: int | None = None, **kwargs: Any) -> ItemPaged[CaCertificate]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
namespace_name
Required
|
Name of the namespace. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
filter
|
The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. Default value is None. Default value: None
|
|
top
|
The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of CaCertificate |
Exceptions
| Type | Description |
|---|---|