Interface PrivateEndpointConnectionsClient


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

    • get

      PrivateEndpointConnectionInner get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
      Get private endpoint connections.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      Returns:
      private endpoint connections.
      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)
      Get private endpoint connections.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      context - The context to associate with this operation.
      Returns:
      private endpoint connections 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.
    • beginApprove

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginApprove(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body)
      Manual approve private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      body - The Private Endpoint Connection resource.
      Returns:
      the SyncPoller for polling of 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.
    • beginApprove

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginApprove(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body, com.azure.core.util.Context context)
      Manual approve private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      body - The Private Endpoint Connection resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of 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.
    • approve

      PrivateEndpointConnectionInner approve(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body)
      Manual approve private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      body - The Private Endpoint Connection resource.
      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.
    • approve

      PrivateEndpointConnectionInner approve(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
      Manual approve private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      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.
    • approve

      PrivateEndpointConnectionInner approve(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body, com.azure.core.util.Context context)
      Manual approve private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      body - The Private Endpoint Connection resource.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
      Delete private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Delete private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
      Delete private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      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, com.azure.core.util.Context context)
      Delete private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      privateEndpointConnectionName - The private endpoint connection name of Azure Managed Grafana.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list(String resourceGroupName, String workspaceName)
      Get private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      Returns:
      private endpoint connection 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)
      Get private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The workspace name of Azure Managed Grafana.
      context - The context to associate with this operation.
      Returns:
      private endpoint connection 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.