EndpointCertificatesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:endpoint_certificates> attribute.
Constructor
EndpointCertificatesOperations(*args, **kwargs)
Methods
| get |
Gets a certificate used on the endpoint with the given id. |
| list_by_instance |
List certificates used on endpoints on the target instance. |
get
Gets a certificate used on the endpoint with the given id.
async get(resource_group_name: str, managed_instance_name: str, endpoint_type: str, **kwargs: Any) -> EndpointCertificate
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
|
endpoint_type
Required
|
Type of the endpoint whose certificate the customer is looking for. Required. |
Returns
| Type | Description |
|---|---|
|
EndpointCertificate or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_instance
List certificates used on endpoints on the target instance.
list_by_instance(resource_group_name: str, managed_instance_name: str, **kwargs: Any) -> AsyncItemPaged[EndpointCertificate]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either EndpointCertificate or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.sql.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv268\\Lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>