Skip to main content

private_endpoint_connections

Creates, updates, deletes, gets or lists a private_endpoint_connections resource.

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.search.private_endpoint_connections

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
group_idtextfield from the properties object
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
searchServiceNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTprivateEndpointConnectionName, resourceGroupName, searchServiceName, subscriptionIdGets the details of the private endpoint connection to the search service in the given resource group.
list_by_serviceSELECTresourceGroupName, searchServiceName, subscriptionIdGets a list of all private endpoint connections in the given service.
deleteDELETEprivateEndpointConnectionName, resourceGroupName, searchServiceName, subscriptionIdDisconnects the private endpoint connection and deletes it from the search service.
updateREPLACEprivateEndpointConnectionName, resourceGroupName, searchServiceName, subscriptionIdUpdates a private endpoint connection to the search service in the given resource group.

SELECT examples

Gets a list of all private endpoint connections in the given service.

SELECT
id,
name,
group_id,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
searchServiceName,
subscriptionId,
type
FROM azure.search.vw_private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND searchServiceName = '{{ searchServiceName }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified private_endpoint_connections resource.

/*+ update */
REPLACE azure.search.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND searchServiceName = '{{ searchServiceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.search.private_endpoint_connections
WHERE privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND searchServiceName = '{{ searchServiceName }}'
AND subscriptionId = '{{ subscriptionId }}';