Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Use New-AzKustoManagedPrivateEndpoint in PowerShell

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:

  1. Before using the New-AzKustoManagedPrivateEndpoint cmdlet, make sure you have installed the Az.Kusto module. If not, you can install it by running the following command in PowerShell:
Install-Module -Name Az.Kusto -AllowClobber -Force
  1. To create a new managed private endpoint, you need to provide the following information:
  • ResourceGroupName: The name of the resource group where your ADX cluster is located.
  • ClusterName: The name of the ADX cluster.
  • ManagedVirtualNetworkResourceId: The resource ID of the virtual network where you want to create the private endpoint.
  • ManagedPrivateEndpointName: The name of the managed private endpoint.

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"
  1. After executing the command, the managed private endpoint will be created. You can verify its status by running the following command:
Get-AzKustoManagedPrivateEndpoint -ResourceGroupName "myResourceGroup" -ClusterName "myADXCluster" -ManagedPrivateEndpointName "myManagedPrivateEndpoint"

This command will return detailed information about the managed private endpoint, including its status.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.