Interface ManagedPrivateEndpoints


  • public interface ManagedPrivateEndpoints
    Resource collection API of ManagedPrivateEndpoints.
    • Method Detail

      • checkNameAvailability

        CheckNameResult 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<CheckNameResult> 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<ManagedPrivateEndpoint> 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<ManagedPrivateEndpoint> 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

        ManagedPrivateEndpoint 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<ManagedPrivateEndpoint> 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.
      • 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.
      • getById

        ManagedPrivateEndpoint getById​(String id)
        Gets a managed private endpoint.
        Parameters:
        id - the resource ID.
        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.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<ManagedPrivateEndpoint> getByIdWithResponse​(String id,
                                                                                      com.azure.core.util.Context context)
        Gets a managed private endpoint.
        Parameters:
        id - the resource ID.
        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.
      • deleteById

        void deleteById​(String id)
        Deletes a managed private endpoint.
        Parameters:
        id - the resource ID.
        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.
      • deleteByIdWithResponse

        void deleteByIdWithResponse​(String id,
                                    com.azure.core.util.Context context)
        Deletes a managed private endpoint.
        Parameters:
        id - the resource ID.
        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.