Skip to main content

managed_private_endpoints

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

Overview

Namemanaged_private_endpoints
TypeResource
Idazure.data_explorer.managed_private_endpoints

Fields

The following fields are returned by SELECT queries:

The managed private endpoint object.

NameDatatypeDescription
propertiesobjectA managed private endpoint.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, managedPrivateEndpointNameGets a managed private endpoint.
listselectsubscriptionId, resourceGroupName, clusterNameReturns the list of managed private endpoints.
create_or_updateinsertsubscriptionId, resourceGroupName, clusterName, managedPrivateEndpointNameCreates a managed private endpoint.
updateupdatesubscriptionId, resourceGroupName, clusterName, managedPrivateEndpointNameUpdates a managed private endpoint.
deletedeletesubscriptionId, resourceGroupName, clusterName, managedPrivateEndpointNameDeletes a managed private endpoint.
check_name_availabilityexecresourceGroupName, clusterName, subscriptionId, name, typeChecks that the managed private endpoints resource name is valid and is not already in use.

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
clusterNamestringThe name of the Kusto cluster.
managedPrivateEndpointNamestringThe name of the managed private endpoint.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets a managed private endpoint.

SELECT
properties,
systemData
FROM azure.data_explorer.managed_private_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND managedPrivateEndpointName = '{{ managedPrivateEndpointName }}' -- required
;

INSERT examples

Creates a managed private endpoint.

INSERT INTO azure.data_explorer.managed_private_endpoints (
data__properties,
subscriptionId,
resourceGroupName,
clusterName,
managedPrivateEndpointName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ clusterName }}',
'{{ managedPrivateEndpointName }}'
RETURNING
properties,
systemData
;

UPDATE examples

Updates a managed private endpoint.

UPDATE azure.data_explorer.managed_private_endpoints
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND managedPrivateEndpointName = '{{ managedPrivateEndpointName }}' --required
RETURNING
properties,
systemData;

DELETE examples

Deletes a managed private endpoint.

DELETE FROM azure.data_explorer.managed_private_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND managedPrivateEndpointName = '{{ managedPrivateEndpointName }}' --required
;

Lifecycle Methods

Checks that the managed private endpoints resource name is valid and is not already in use.

EXEC azure.data_explorer.managed_private_endpoints.check_name_availability 
@resourceGroupName='{{ resourceGroupName }}' --required,
@clusterName='{{ clusterName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;