Interface ManagedPrivateEndpointsClient


  • public interface ManagedPrivateEndpointsClient
    An instance of this class provides access to all the operations defined in ManagedPrivateEndpointsClient.
    • Method Detail

      • checkNameAvailability

        CheckNameResultInner checkNameAvailability​(String resourceGroupName,
                                                   String clusterName,
                                                   ManagedPrivateEndpointsCheckNameRequest resourceName)
        Checks that the managed private endpoints resource name is valid and is not already in use.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        resourceName - The name of the resource.
        Returns:
        the result returned from a check name availability request.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • checkNameAvailabilityWithResponse

        com.azure.core.http.rest.Response<CheckNameResultInner> checkNameAvailabilityWithResponse​(String resourceGroupName,
                                                                                                  String clusterName,
                                                                                                  ManagedPrivateEndpointsCheckNameRequest resourceName,
                                                                                                  com.azure.core.util.Context context)
        Checks that the managed private endpoints resource name is valid and is not already in use.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        resourceName - The name of the resource.
        context - The context to associate with this operation.
        Returns:
        the result returned from a check name availability request along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpointInner> list​(String resourceGroupName,
                                                                                 String clusterName)
        Returns the list of managed private endpoints.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        Returns:
        the list managed private endpoints operation response as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpointInner> list​(String resourceGroupName,
                                                                                 String clusterName,
                                                                                 com.azure.core.util.Context context)
        Returns the list of managed private endpoints.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        context - The context to associate with this operation.
        Returns:
        the list managed private endpoints operation response as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        ManagedPrivateEndpointInner get​(String resourceGroupName,
                                        String clusterName,
                                        String managedPrivateEndpointName)
        Gets a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        Returns:
        a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<ManagedPrivateEndpointInner> getWithResponse​(String resourceGroupName,
                                                                                       String clusterName,
                                                                                       String managedPrivateEndpointName,
                                                                                       com.azure.core.util.Context context)
        Gets a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        context - The context to associate with this operation.
        Returns:
        a managed private endpoint along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedPrivateEndpointInner>,​ManagedPrivateEndpointInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                String clusterName,
                                                                                                                                                                                String managedPrivateEndpointName,
                                                                                                                                                                                ManagedPrivateEndpointInner parameters)
        Creates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        Returns:
        the SyncPoller for polling of class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedPrivateEndpointInner>,​ManagedPrivateEndpointInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                String clusterName,
                                                                                                                                                                                String managedPrivateEndpointName,
                                                                                                                                                                                ManagedPrivateEndpointInner parameters,
                                                                                                                                                                                com.azure.core.util.Context context)
        Creates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        ManagedPrivateEndpointInner createOrUpdate​(String resourceGroupName,
                                                   String clusterName,
                                                   String managedPrivateEndpointName,
                                                   ManagedPrivateEndpointInner parameters)
        Creates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        Returns:
        class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        ManagedPrivateEndpointInner createOrUpdate​(String resourceGroupName,
                                                   String clusterName,
                                                   String managedPrivateEndpointName,
                                                   ManagedPrivateEndpointInner parameters,
                                                   com.azure.core.util.Context context)
        Creates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        context - The context to associate with this operation.
        Returns:
        class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedPrivateEndpointInner>,​ManagedPrivateEndpointInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                        String clusterName,
                                                                                                                                                                        String managedPrivateEndpointName,
                                                                                                                                                                        ManagedPrivateEndpointInner parameters)
        Updates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        Returns:
        the SyncPoller for polling of class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedPrivateEndpointInner>,​ManagedPrivateEndpointInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                        String clusterName,
                                                                                                                                                                        String managedPrivateEndpointName,
                                                                                                                                                                        ManagedPrivateEndpointInner parameters,
                                                                                                                                                                        com.azure.core.util.Context context)
        Updates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        ManagedPrivateEndpointInner update​(String resourceGroupName,
                                           String clusterName,
                                           String managedPrivateEndpointName,
                                           ManagedPrivateEndpointInner parameters)
        Updates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        Returns:
        class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        ManagedPrivateEndpointInner update​(String resourceGroupName,
                                           String clusterName,
                                           String managedPrivateEndpointName,
                                           ManagedPrivateEndpointInner parameters,
                                           com.azure.core.util.Context context)
        Updates a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        parameters - The managed private endpoint parameters.
        context - The context to associate with this operation.
        Returns:
        class representing a managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String clusterName,
                                                                                                                          String managedPrivateEndpointName)
        Deletes a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String clusterName,
                                                                                                                          String managedPrivateEndpointName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String clusterName,
                    String managedPrivateEndpointName)
        Deletes a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String clusterName,
                    String managedPrivateEndpointName,
                    com.azure.core.util.Context context)
        Deletes a managed private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Kusto cluster.
        clusterName - The name of the Kusto cluster.
        managedPrivateEndpointName - The name of the managed private endpoint.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.