Skip to main content

private_link_services

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

Overview

Nameprivate_link_services
TypeResource
Idazure.network.private_link_services

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
aliastextfield from the properties object
auto_approvaltextfield from the properties object
destination_ip_addresstextfield from the properties object
enable_proxy_protocoltextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
extended_locationtextfield from the properties object
fqdnstextfield from the properties object
ip_configurationstextfield from the properties object
load_balancer_frontend_ip_configurationstextfield from the properties object
locationtextResource location.
network_interfacestextfield from the properties object
private_endpoint_connectionstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.
visibilitytextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serviceName, subscriptionIdGets the specified private link service by resource group.
listSELECTresourceGroupName, subscriptionIdGets all private link services in a resource group.
list_by_subscriptionSELECTsubscriptionIdGets all private link service in a subscription.
create_or_updateINSERTresourceGroupName, serviceName, subscriptionIdCreates or updates an private link service in the specified resource group.
deleteDELETEresourceGroupName, serviceName, subscriptionIdDeletes the specified private link service.
check_private_link_service_visibilityEXEClocation, subscriptionIdChecks whether the subscription is visible to private link service.
check_private_link_service_visibility_by_resource_groupEXEClocation, resourceGroupName, subscriptionIdChecks whether the subscription is visible to private link service in the specified resource group.

SELECT examples

Gets all private link service in a subscription.

SELECT
id,
name,
alias,
auto_approval,
destination_ip_address,
enable_proxy_protocol,
etag,
extended_location,
fqdns,
ip_configurations,
load_balancer_frontend_ip_configurations,
location,
network_interfaces,
private_endpoint_connections,
provisioning_state,
resourceGroupName,
serviceName,
subscriptionId,
tags,
type,
visibility
FROM azure.network.vw_private_link_services
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.private_link_services (
resourceGroupName,
serviceName,
subscriptionId,
extendedLocation,
properties,
id,
location,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ extendedLocation }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified private_link_services resource.

/*+ delete */
DELETE FROM azure.network.private_link_services
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';