Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
In this article, we will explore how to use the New-AzKustoManagedPrivateEndpoint cmdlet in PowerShell. This cmdlet is used to create a managed private endpoint for Azure Data Explorer (ADX) clusters. By creating a managed private endpoint, you can securely access your ADX clusters over a private network connection, eliminating the need to expose them to the public internet.
Examples:
Install-Module -Name Az.Kusto -AllowClobber -Force
Here is an example command to create a new managed private endpoint:
New-AzKustoManagedPrivateEndpoint -ResourceGroupName "myResourceGroup" -ClusterName "myADXCluster" -ManagedVirtualNetworkResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}" -ManagedPrivateEndpointName "myManagedPrivateEndpoint"
Get-AzKustoManagedPrivateEndpoint -ResourceGroupName "myResourceGroup" -ClusterName "myADXCluster" -ManagedPrivateEndpointName "myManagedPrivateEndpoint"
This command will return detailed information about the managed private endpoint, including its status.