Endpoint Certificates - Get
Gets a certificate used on the endpoint with the given id.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/endpointCertificates/{endpointType}?api-version=2023-08-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
Type of the endpoint whose certificate the customer is looking for. |
managed
|
path | True |
string |
The name of the managed instance. |
resource
|
path | True |
string |
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved an endpoint certificate. |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
Gets an endpoint certificate.
Sample request
Sample response
{
"properties": {
"publicBlob": "0x308203B23082021AA003020102021034C597BA"
},
"id": "/subscriptions/38e0dc56-907f-45ba-a97c-74233baad471/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/endpointCertificates/DATABASE_MIRRORING",
"name": "DATABASE_MIRRORING",
"type": "Microsoft.Sql/managedInstances/endpointCertificates"
}
Definitions
Name | Description |
---|---|
Endpoint |
Certificate used on an endpoint on the Managed Instance. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
EndpointCertificate
Certificate used on an endpoint on the Managed Instance.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.publicBlob |
string |
The certificate public blob |
type |
string |
Resource type. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |