Interface LinkedWorkspaces


public interface LinkedWorkspaces
Resource collection API of LinkedWorkspaces.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String resourceGroupName, String automationAccountName)
    Retrieve the linked workspace for the account id.
    com.azure.core.http.rest.Response<LinkedWorkspace>
    getWithResponse(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
    Retrieve the linked workspace for the account id.
  • Method Details

    • get

      LinkedWorkspace get(String resourceGroupName, String automationAccountName)
      Retrieve the linked workspace for the account id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      Returns:
      definition of the linked workspace.
      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<LinkedWorkspace> getWithResponse(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
      Retrieve the linked workspace for the account id.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      context - The context to associate with this operation.
      Returns:
      definition of the linked workspace 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.