Interface WebPubSubSharedPrivateLinkResourcesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<SharedPrivateLinkResourceInner> list(String resourceGroupName, String resourceName)
      List shared private link resources.
      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 shared private link resources 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<SharedPrivateLinkResourceInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      List shared private link resources.
      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 shared private link resources 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<SharedPrivateLinkResourceInner> getWithResponse(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Get the specified shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 shared private link 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.
    • get

      SharedPrivateLinkResourceInner get(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
      Get the specified shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 shared private link 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SharedPrivateLinkResourceInner>,SharedPrivateLinkResourceInner> beginCreateOrUpdate(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, SharedPrivateLinkResourceInner parameters)
      Create or update a shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 shared private link resource.
      Returns:
      the SyncPoller for polling of describes a Shared Private Link 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SharedPrivateLinkResourceInner>,SharedPrivateLinkResourceInner> beginCreateOrUpdate(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, SharedPrivateLinkResourceInner parameters, com.azure.core.util.Context context)
      Create or update a shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 shared private link resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of describes a Shared Private Link 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.
    • createOrUpdate

      SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, SharedPrivateLinkResourceInner parameters)
      Create or update a shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 shared private link resource.
      Returns:
      describes a Shared Private Link 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.
    • createOrUpdate

      SharedPrivateLinkResourceInner createOrUpdate(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, SharedPrivateLinkResourceInner parameters, com.azure.core.util.Context context)
      Create or update a shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 shared private link resource.
      context - The context to associate with this operation.
      Returns:
      describes a Shared Private Link 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 sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
      Delete the specified shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 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 sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Delete the specified shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 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 sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
      Delete the specified shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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 sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Delete the specified shared private link resource.
      Parameters:
      sharedPrivateLinkResourceName - The name of the shared private link resource.
      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.