Skip to main content

endpoint_certificates

Creates, updates, deletes, gets or lists an endpoint_certificates resource.

Overview

Nameendpoint_certificates
TypeResource
Idazure.sql.endpoint_certificates

Fields

The following fields are returned by SELECT queries:

Successfully retrieved an endpoint certificate.

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, managedInstanceName, endpointType, subscriptionIdGets a certificate used on the endpoint with the given id.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointTypestringType of the endpoint whose certificate the customer is looking for.
managedInstanceNamestringThe name of the managed instance.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

SELECT examples

Gets a certificate used on the endpoint with the given id.

SELECT
properties
FROM azure.sql.endpoint_certificates
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedInstanceName = '{{ managedInstanceName }}' -- required
AND endpointType = '{{ endpointType }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;