Endpoint Certificates - List By Instance
列出目标实例上终结点上使用的证书。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/endpointCertificates?api-version=2023-08-01
		URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 | 
|---|---|---|---|---|
| 
						 managed 
					 | 
					path | True | 
			 string  | 
					
						 托管实例的名称。  | 
				
| 
						 resource 
					 | 
					path | True | 
			 string  | 
					
						 包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。  | 
				
| 
						 subscription 
					 | 
					path | True | 
			 string  | 
					
						 标识 Azure 订阅的订阅 ID。  | 
				
| 
						 api-version 
					 | 
					query | True | 
			 string  | 
					
						 要用于请求的 API 版本。  | 
				
响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| 200 OK | 
		 已成功检索终结点证书列表。  | 
|
| Other Status Codes | 
		 错误响应: *** 
  | 
示例
Get a list of endpoint certificates.
示例请求
示例响应
{
  "value": [
    {
      "properties": {
        "publicBlob": "0x308203B23082021AA003020102021034C597BA"
      },
      "id": "/subscriptions/38e0dc56-907f-45ba-a97c-74233baad471/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/endpointCertificates/SERVICE_BROKER",
      "name": "SERVICE_BROKER",
      "type": "Microsoft.Sql/managedInstances/endpointCertificates"
    },
    {
      "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"
    }
  ]
}
				定义
| 名称 | 说明 | 
|---|---|
| 
							Endpoint | 
						
							 托管实例上的终结点上使用的证书。  | 
					
| 
							Endpoint | 
						
							 目标实例上的终结点证书列表。  | 
					
| 
							Error | 
						
							 资源管理错误附加信息。  | 
					
| 
							Error | 
						
							 错误详细信息。  | 
					
| 
							Error | 
						
							 错误响应  | 
					
EndpointCertificate 
			
			托管实例上的终结点上使用的证书。
| 名称 | 类型 | 说明 | 
|---|---|---|
| id | 
			 string  | 
	
		 资源 ID。  | 
| name | 
			 string  | 
	
		 资源名称。  | 
| properties.publicBlob | 
			 string  | 
	
		 证书公共 Blob  | 
| type | 
			 string  | 
	
		 资源类型。  | 
EndpointCertificateListResult   
			
			目标实例上的终结点证书列表。
| 名称 | 类型 | 说明 | 
|---|---|---|
| nextLink | 
			 string  | 
	
		 用于检索下一页结果的链接。  | 
| value | 
		 结果数组。  | 
ErrorAdditionalInfo  
			
			资源管理错误附加信息。
| 名称 | 类型 | 说明 | 
|---|---|---|
| info | 
			 object  | 
	
		 其他信息。  | 
| type | 
			 string  | 
	
		 其他信息类型。  | 
ErrorDetail 
			
			错误详细信息。
| 名称 | 类型 | 说明 | 
|---|---|---|
| additionalInfo | 
		 错误附加信息。  | 
|
| code | 
			 string  | 
	
		 错误代码。  | 
| details | 
		 错误详细信息。  | 
|
| message | 
			 string  | 
	
		 错误消息。  | 
| target | 
			 string  | 
	
		 错误目标。  | 
ErrorResponse 
			
			错误响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| error | 
		 错误对象。  |