Interface WebPubSubPrivateEndpointConnections


public interface WebPubSubPrivateEndpointConnections
Resource collection API of WebPubSubPrivateEndpointConnections.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String resourceName)
      List private endpoint connections.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      Returns:
      a list of private endpoint connections 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<PrivateEndpointConnection> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      List private endpoint connections.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      context - The context to associate with this operation.
      Returns:
      a list of private endpoint connections 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.
    • getWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnection> getWithResponse(String privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Get the specified private endpoint connection.
      Parameters:
      privateEndpointConnectionName - The name of the private endpoint connection.
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      context - The context to associate with this operation.
      Returns:
      the specified private endpoint connection 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.
    • get

      PrivateEndpointConnection get(String privateEndpointConnectionName, String resourceGroupName, String resourceName)
      Get the specified private endpoint connection.
      Parameters:
      privateEndpointConnectionName - The name of the private endpoint connection.
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      Returns:
      the specified 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnection> updateWithResponse(String privateEndpointConnectionName, String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context)
      Update the state of specified private endpoint connection.
      Parameters:
      privateEndpointConnectionName - The name of the private endpoint connection.
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      parameters - The resource of private endpoint and its properties.
      context - The context to associate with this operation.
      Returns:
      a private endpoint connection to an azure 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.
    • update

      PrivateEndpointConnection update(String privateEndpointConnectionName, String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters)
      Update the state of specified private endpoint connection.
      Parameters:
      privateEndpointConnectionName - The name of the private endpoint connection.
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      parameters - The resource of private endpoint and its properties.
      Returns:
      a private endpoint connection to an 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.
    • delete

      void delete(String privateEndpointConnectionName, String resourceGroupName, String resourceName)
      Delete the specified private endpoint connection.
      Parameters:
      privateEndpointConnectionName - The name of the private endpoint connection.
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the 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.
    • delete

      void delete(String privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Delete the specified private endpoint connection.
      Parameters:
      privateEndpointConnectionName - The name of the private endpoint connection.
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      resourceName - The name of the resource.
      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.