Interface AppLinksClient


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

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<AppLinkInner> getByResourceGroupWithResponse(String resourceGroupName, String appLinkName, com.azure.core.util.Context context)
      Get an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      context - The context to associate with this operation.
      Returns:
      an AppLink 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.
    • getByResourceGroup

      AppLinkInner getByResourceGroup(String resourceGroupName, String appLinkName)
      Get an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      Returns:
      an AppLink.
      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<AppLinkInner>, AppLinkInner> beginCreateOrUpdate(String resourceGroupName, String appLinkName, AppLinkInner resource)
      Create an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      resource - Resource create parameters.
      Returns:
      the SyncPoller for polling of appLink 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<AppLinkInner>, AppLinkInner> beginCreateOrUpdate(String resourceGroupName, String appLinkName, AppLinkInner resource, com.azure.core.util.Context context)
      Create an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of appLink 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

      AppLinkInner createOrUpdate(String resourceGroupName, String appLinkName, AppLinkInner resource)
      Create an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      resource - Resource create parameters.
      Returns:
      appLink 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

      AppLinkInner createOrUpdate(String resourceGroupName, String appLinkName, AppLinkInner resource, com.azure.core.util.Context context)
      Create an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      appLink 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppLinkInner>, AppLinkInner> beginUpdate(String resourceGroupName, String appLinkName, AppLinkUpdate properties)
      Update an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      properties - The resource properties to be updated.
      Returns:
      the SyncPoller for polling of appLink 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppLinkInner>, AppLinkInner> beginUpdate(String resourceGroupName, String appLinkName, AppLinkUpdate properties, com.azure.core.util.Context context)
      Update an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of appLink 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.
    • update

      AppLinkInner update(String resourceGroupName, String appLinkName, AppLinkUpdate properties)
      Update an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      properties - The resource properties to be updated.
      Returns:
      appLink 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.
    • update

      AppLinkInner update(String resourceGroupName, String appLinkName, AppLinkUpdate properties, com.azure.core.util.Context context)
      Update an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      appLink 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 appLinkName)
      Delete an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      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 appLinkName, com.azure.core.util.Context context)
      Delete an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      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 appLinkName)
      Delete an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      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 appLinkName, com.azure.core.util.Context context)
      Delete an AppLink.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      appLinkName - The name of the AppLink.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AppLinkInner> listByResourceGroup(String resourceGroupName)
      List AppLink resources by resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the response of a AppLink list operation 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AppLinkInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List AppLink resources by resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the response of a AppLink list operation 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<AppLinkInner> list()
      List AppLink resources by subscription.
      Returns:
      the response of a AppLink list operation as paginated response with PagedIterable.
      Throws:
      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<AppLinkInner> list(com.azure.core.util.Context context)
      List AppLink resources by subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the response of a AppLink list operation 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.