Interface PrivateEndpointConnections


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

      • listByHostPool

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionWithSystemData> listByHostPool​(String resourceGroupName,
                                                                                                       String hostPoolName)
        List private endpoint connections associated with hostpool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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.
      • listByHostPool

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionWithSystemData> listByHostPool​(String resourceGroupName,
                                                                                                       String hostPoolName,
                                                                                                       com.azure.core.util.Context context)
        List private endpoint connections associated with hostpool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        context - The context to associate with this operation.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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.
      • getByHostPool

        PrivateEndpointConnectionWithSystemData getByHostPool​(String resourceGroupName,
                                                              String hostPoolName,
                                                              String privateEndpointConnectionName)
        Get a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        Returns:
        a private endpoint connection.
        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.
      • getByHostPoolWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionWithSystemData> getByHostPoolWithResponse​(String resourceGroupName,
                                                                                                             String hostPoolName,
                                                                                                             String privateEndpointConnectionName,
                                                                                                             com.azure.core.util.Context context)
        Get a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        a private endpoint connection.
        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.
      • deleteByHostPool

        void deleteByHostPool​(String resourceGroupName,
                              String hostPoolName,
                              String privateEndpointConnectionName)
        Remove a connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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.
      • deleteByHostPoolWithResponse

        com.azure.core.http.rest.Response<Void> deleteByHostPoolWithResponse​(String resourceGroupName,
                                                                             String hostPoolName,
                                                                             String privateEndpointConnectionName,
                                                                             com.azure.core.util.Context context)
        Remove a connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        the 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.
      • updateByHostPool

        PrivateEndpointConnectionWithSystemData updateByHostPool​(String resourceGroupName,
                                                                 String hostPoolName,
                                                                 String privateEndpointConnectionName,
                                                                 PrivateEndpointConnection connection)
        Approve or reject a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        connection - Object containing the updated connection.
        Returns:
        the Private Endpoint Connection resource.
        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.
      • updateByHostPoolWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionWithSystemData> updateByHostPoolWithResponse​(String resourceGroupName,
                                                                                                                String hostPoolName,
                                                                                                                String privateEndpointConnectionName,
                                                                                                                PrivateEndpointConnection connection,
                                                                                                                com.azure.core.util.Context context)
        Approve or reject a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        connection - Object containing the updated connection.
        context - The context to associate with this operation.
        Returns:
        the Private Endpoint Connection resource.
        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.
      • listByWorkspace

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionWithSystemData> listByWorkspace​(String resourceGroupName,
                                                                                                        String workspaceName)
        List private endpoint connections.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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.
      • listByWorkspace

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionWithSystemData> listByWorkspace​(String resourceGroupName,
                                                                                                        String workspaceName,
                                                                                                        com.azure.core.util.Context context)
        List private endpoint connections.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        context - The context to associate with this operation.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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.
      • getByWorkspace

        PrivateEndpointConnectionWithSystemData getByWorkspace​(String resourceGroupName,
                                                               String workspaceName,
                                                               String privateEndpointConnectionName)
        Get a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        Returns:
        a private endpoint connection.
        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.
      • getByWorkspaceWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionWithSystemData> getByWorkspaceWithResponse​(String resourceGroupName,
                                                                                                              String workspaceName,
                                                                                                              String privateEndpointConnectionName,
                                                                                                              com.azure.core.util.Context context)
        Get a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        a private endpoint connection.
        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.
      • deleteByWorkspace

        void deleteByWorkspace​(String resourceGroupName,
                               String workspaceName,
                               String privateEndpointConnectionName)
        Remove a connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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.
      • deleteByWorkspaceWithResponse

        com.azure.core.http.rest.Response<Void> deleteByWorkspaceWithResponse​(String resourceGroupName,
                                                                              String workspaceName,
                                                                              String privateEndpointConnectionName,
                                                                              com.azure.core.util.Context context)
        Remove a connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        the 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.
      • updateByWorkspace

        PrivateEndpointConnectionWithSystemData updateByWorkspace​(String resourceGroupName,
                                                                  String workspaceName,
                                                                  String privateEndpointConnectionName,
                                                                  PrivateEndpointConnection connection)
        Approve or reject a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        connection - Object containing the updated connection.
        Returns:
        the Private Endpoint Connection resource.
        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.
      • updateByWorkspaceWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionWithSystemData> updateByWorkspaceWithResponse​(String resourceGroupName,
                                                                                                                 String workspaceName,
                                                                                                                 String privateEndpointConnectionName,
                                                                                                                 PrivateEndpointConnection connection,
                                                                                                                 com.azure.core.util.Context context)
        Approve or reject a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        connection - Object containing the updated connection.
        context - The context to associate with this operation.
        Returns:
        the Private Endpoint Connection resource.
        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.