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

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
private_link_resource_idtextfield from the properties object
provisioning_statetextfield from the properties object
request_messagetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_regiontextfield from the properties object
searchServiceNametextfield from the properties object
sharedPrivateLinkResourceNametextfield from the properties object
statustextfield 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
getSELECTresourceGroupName, searchServiceName, sharedPrivateLinkResourceName, subscriptionIdGets the details of the shared private link resource managed by the search service in the given resource group.
list_by_serviceSELECTresourceGroupName, searchServiceName, subscriptionIdGets a list of all shared private link resources managed by the given service.
create_or_updateINSERTresourceGroupName, searchServiceName, sharedPrivateLinkResourceName, subscriptionIdInitiates the creation or update of a shared private link resource managed by the search service in the given resource group.
deleteDELETEresourceGroupName, searchServiceName, sharedPrivateLinkResourceName, subscriptionIdInitiates the deletion of the shared private link resource from the search service.

SELECT examples

Gets a list of all shared private link resources managed by the given service.

SELECT
id,
name,
group_id,
private_link_resource_id,
provisioning_state,
request_message,
resourceGroupName,
resource_region,
searchServiceName,
sharedPrivateLinkResourceName,
status,
subscriptionId,
type
FROM azure.search.vw_shared_private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND searchServiceName = '{{ searchServiceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new shared_private_link_resources resource.

/*+ create */
INSERT INTO azure.search.shared_private_link_resources (
resourceGroupName,
searchServiceName,
sharedPrivateLinkResourceName,
subscriptionId,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ searchServiceName }}',
'{{ sharedPrivateLinkResourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified shared_private_link_resources resource.

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