Interface PrivateEndpointConnections


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

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new PrivateEndpointConnection resource.
    void
    delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
    Remove private endpoint connection Remove private endpoint connection with the specified name.
    void
    delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
    Remove private endpoint connection Remove private endpoint connection with the specified name.
    void
    Remove private endpoint connection Remove private endpoint connection with the specified name.
    void
    deleteByIdWithResponse(String id, com.azure.core.util.Context context)
    Remove private endpoint connection Remove private endpoint connection with the specified name.
    get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
    Get private endpoint connection Get a private endpoint connection properties for a workspace.
    Get private endpoint connection Get a private endpoint connection properties for a workspace.
    com.azure.core.http.rest.Response<PrivateEndpointConnection>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Get private endpoint connection Get a private endpoint connection properties for a workspace.
    com.azure.core.http.rest.Response<PrivateEndpointConnection>
    getWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
    Get private endpoint connection Get a private endpoint connection properties for a workspace.
    com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
    list(String resourceGroupName, String workspaceName)
    List private endpoint connections List private endpoint connections of the workspace.
    com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
    list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
    List private endpoint connections List private endpoint connections of the workspace.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName)
      List private endpoint connections List private endpoint connections of the workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      list of private link connections as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      List private endpoint connections List private endpoint connections of the workspace.
      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 link connections as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Get private endpoint connection Get a private endpoint connection properties for a workspace.
      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.
      context - The context to associate with this operation.
      Returns:
      a private endpoint connection properties for a workspace along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      PrivateEndpointConnection get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
      Get private endpoint connection Get a private endpoint connection properties for a workspace.
      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.
      Returns:
      a private endpoint connection properties for a workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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)
      Remove private endpoint connection Remove private endpoint connection with the specified name.
      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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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, com.azure.core.util.Context context)
      Remove private endpoint connection Remove private endpoint connection with the specified name.
      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.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      Get private endpoint connection Get a private endpoint connection properties for a workspace.
      Parameters:
      id - the resource ID.
      Returns:
      a private endpoint connection properties for a workspace along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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<PrivateEndpointConnection> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get private endpoint connection Get a private endpoint connection properties for a workspace.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a private endpoint connection properties for a workspace along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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)
      Remove private endpoint connection Remove private endpoint connection with the specified name.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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)
      Remove private endpoint connection Remove private endpoint connection with the specified name.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • define

      Begins definition for a new PrivateEndpointConnection resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new PrivateEndpointConnection definition.