Skip to main content

shared_private_link_resources

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

Overview

Nameshared_private_link_resources
TypeResource
Idazure.search.shared_private_link_resources

Fields

The following fields are returned by SELECT queries:

The definition of the shared private link resource was successfully retrieved and is in the response.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectDescribes the properties of a shared private link resource managed by the Azure AI Search service.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, searchServiceName, sharedPrivateLinkResourceName, subscriptionIdx-ms-client-request-idGets the details of the shared private link resource managed by the search service in the given resource group.
list_by_serviceselectsubscriptionId, resourceGroupName, searchServiceNamex-ms-client-request-idGets a list of all shared private link resources managed by the given service.
create_or_updateinsertresourceGroupName, searchServiceName, sharedPrivateLinkResourceName, subscriptionIdx-ms-client-request-idInitiates the creation or update of a shared private link resource managed by the search service in the given resource group.
deletedeleteresourceGroupName, searchServiceName, sharedPrivateLinkResourceName, subscriptionIdx-ms-client-request-idInitiates the deletion of the shared private link resource from the search service.

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
resourceGroupNamestringThe name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
searchServiceNamestringThe name of the Azure AI Search service associated with the specified resource group.
sharedPrivateLinkResourceNamestringThe name of the shared private link resource managed by the Azure AI Search service within the specified resource group.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal.
x-ms-client-request-idstring (uuid)A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.

SELECT examples

Gets the details of the shared private link resource managed by the search service in the given resource group.

SELECT
id,
name,
properties,
type
FROM azure.search.shared_private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND searchServiceName = '{{ searchServiceName }}' -- required
AND sharedPrivateLinkResourceName = '{{ sharedPrivateLinkResourceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND x-ms-client-request-id = '{{ x-ms-client-request-id }}'
;

INSERT examples

Initiates the creation or update of a shared private link resource managed by the search service in the given resource group.

INSERT INTO azure.search.shared_private_link_resources (
data__properties,
resourceGroupName,
searchServiceName,
sharedPrivateLinkResourceName,
subscriptionId,
x-ms-client-request-id
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ searchServiceName }}',
'{{ sharedPrivateLinkResourceName }}',
'{{ subscriptionId }}',
'{{ x-ms-client-request-id }}'
RETURNING
id,
name,
properties,
type
;

DELETE examples

Initiates the deletion of the shared private link resource from the search service.

DELETE FROM azure.search.shared_private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND searchServiceName = '{{ searchServiceName }}' --required
AND sharedPrivateLinkResourceName = '{{ sharedPrivateLinkResourceName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND x-ms-client-request-id = '{{ x-ms-client-request-id }}'
;