Interface PrivateEndpointConnectionsClient


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

      • list

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

        PrivateEndpointConnectionInner get​(String resourceGroupName,
                                           String workspaceName,
                                           String privateEndpointConnectionName)
        Gets the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - Name of Azure Machine Learning workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the workspace.
        Returns:
        the specified private endpoint connection associated with the workspace.
        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<PrivateEndpointConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                          String workspaceName,
                                                                                          String privateEndpointConnectionName,
                                                                                          com.azure.core.util.Context context)
        Gets the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - Name of Azure Machine Learning workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the workspace.
        context - The context to associate with this operation.
        Returns:
        the specified private endpoint connection associated with the workspace 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.
      • createOrUpdate

        PrivateEndpointConnectionInner createOrUpdate​(String resourceGroupName,
                                                      String workspaceName,
                                                      String privateEndpointConnectionName,
                                                      PrivateEndpointConnectionInner properties)
        Update the state of specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - Name of Azure Machine Learning workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the workspace.
        properties - The private endpoint connection properties.
        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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                                     String workspaceName,
                                                                                                     String privateEndpointConnectionName,
                                                                                                     PrivateEndpointConnectionInner properties,
                                                                                                     com.azure.core.util.Context context)
        Update the state of specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - Name of Azure Machine Learning workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the workspace.
        properties - The private endpoint connection properties.
        context - The context to associate with this operation.
        Returns:
        the Private Endpoint Connection resource 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 workspaceName,
                    String privateEndpointConnectionName)
        Deletes the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - Name of Azure Machine Learning workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the workspace.
        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.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String workspaceName,
                                                                   String privateEndpointConnectionName,
                                                                   com.azure.core.util.Context context)
        Deletes the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - Name of Azure Machine Learning workspace.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the workspace.
        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.