Class ManagedPrivateEndpointsClient

java.lang.Object
com.azure.analytics.synapse.managedprivateendpoints.ManagedPrivateEndpointsClient

public final class ManagedPrivateEndpointsClient extends Object
Initializes a new instance of the synchronous ManagedPrivateEndpointsClient type.
  • Method Details

    • get

      public ManagedPrivateEndpoint get(String managedVirtualNetworkName, String managedPrivateEndpointName)
      Get Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      managedPrivateEndpointName - Managed private endpoint name.
      Returns:
      managed Private Endpoints.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      public Response<ManagedPrivateEndpoint> getWithResponse(String managedVirtualNetworkName, String managedPrivateEndpointName, Context context)
      Get Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      managedPrivateEndpointName - Managed private endpoint name.
      context - The context to associate with this operation.
      Returns:
      managed Private Endpoints.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      public ManagedPrivateEndpoint create(String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpoint managedPrivateEndpoint)
      Create Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      managedPrivateEndpointName - Managed private endpoint name.
      managedPrivateEndpoint - Managed private endpoint properties.
      Returns:
      managed private endpoint.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createWithResponse

      public Response<ManagedPrivateEndpoint> createWithResponse(String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpoint managedPrivateEndpoint, Context context)
      Create Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      managedPrivateEndpointName - Managed private endpoint name.
      managedPrivateEndpoint - Managed private endpoint properties.
      context - The context to associate with this operation.
      Returns:
      managed private endpoint.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      public void delete(String managedVirtualNetworkName, String managedPrivateEndpointName)
      Delete Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      managedPrivateEndpointName - Managed private endpoint name.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponse

      public Response<Void> deleteWithResponse(String managedVirtualNetworkName, String managedPrivateEndpointName, Context context)
      Delete Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      managedPrivateEndpointName - Managed private endpoint name.
      context - The context to associate with this operation.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      public PagedIterable<ManagedPrivateEndpoint> list(String managedVirtualNetworkName)
      List Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      Returns:
      a list of managed private endpoints.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      public PagedIterable<ManagedPrivateEndpoint> list(String managedVirtualNetworkName, Context context)
      List Managed Private Endpoints.
      Parameters:
      managedVirtualNetworkName - Managed virtual network name.
      context - The context to associate with this operation.
      Returns:
      a list of managed private endpoints.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      HttpResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.