Interface PrivateEndpointsClient


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

      • createOrUpdate

        PrivateEndpointInner createOrUpdate​(String resourceGroupName,
                                            String clusterName,
                                            String privateEndpointName,
                                            PrivateEndpointInner privateEndpoint)
        Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the private endpoint.
        privateEndpoint - The definition of the private endpoint that will be used to create a new cluster or replace the existing one.
        Returns:
        complete information about the 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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                           String clusterName,
                                                                                           String privateEndpointName,
                                                                                           PrivateEndpointInner privateEndpoint,
                                                                                           String ifMatch,
                                                                                           String ifNoneMatch,
                                                                                           com.azure.core.util.Context context)
        Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the private endpoint.
        privateEndpoint - The definition of the private endpoint that will be used to create a new cluster or replace the existing one.
        ifMatch - The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
        ifNoneMatch - Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response.
        context - The context to associate with this operation.
        Returns:
        complete information about the 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.
      • get

        PrivateEndpointInner get​(String resourceGroupName,
                                 String clusterName,
                                 String privateEndpointName)
        Gets information about the specified Private Endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the private endpoint.
        Returns:
        information about the specified 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<PrivateEndpointInner> getWithResponse​(String resourceGroupName,
                                                                                String clusterName,
                                                                                String privateEndpointName,
                                                                                com.azure.core.util.Context context)
        Gets information about the specified Private Endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the private endpoint.
        context - The context to associate with this operation.
        Returns:
        information about the specified 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 privateEndpointName)
        Delete the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the private endpoint.
        Returns:
        the completion.
        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 privateEndpointName,
                                                                                                                          com.azure.core.util.Context context)
        Delete the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the private endpoint.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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 privateEndpointName)
        Delete the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the 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 privateEndpointName,
                    com.azure.core.util.Context context)
        Delete the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        privateEndpointName - The name of the 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.
      • listByCluster

        com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByCluster​(String resourceGroupName,
                                                                                   String clusterName)
        Lists the private endpoints in the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        Returns:
        a list of private endpoints.
        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.
      • listByCluster

        com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByCluster​(String resourceGroupName,
                                                                                   String clusterName,
                                                                                   com.azure.core.util.Context context)
        Lists the private endpoints in the cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        context - The context to associate with this operation.
        Returns:
        a list of private endpoints.
        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.