Interface AttachedNetworksClient


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

    • listByProject

      com.azure.core.http.rest.PagedIterable<AttachedNetworkConnectionInner> listByProject(String resourceGroupName, String projectName)
      Lists the attached NetworkConnections for a Project.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      projectName - The name of the project.
      Returns:
      results of the Attached Networks 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.
    • listByProject

      com.azure.core.http.rest.PagedIterable<AttachedNetworkConnectionInner> listByProject(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context)
      Lists the attached NetworkConnections for a Project.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      projectName - The name of the project.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      results of the Attached Networks 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.
    • getByProjectWithResponse

      com.azure.core.http.rest.Response<AttachedNetworkConnectionInner> getByProjectWithResponse(String resourceGroupName, String projectName, String attachedNetworkConnectionName, com.azure.core.util.Context context)
      Gets an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      projectName - The name of the project.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      context - The context to associate with this operation.
      Returns:
      an attached NetworkConnection 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.
    • getByProject

      AttachedNetworkConnectionInner getByProject(String resourceGroupName, String projectName, String attachedNetworkConnectionName)
      Gets an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      projectName - The name of the project.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      Returns:
      an attached NetworkConnection.
      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.
    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<AttachedNetworkConnectionInner> listByDevCenter(String resourceGroupName, String devCenterName)
      Lists the attached NetworkConnections for a DevCenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      Returns:
      results of the Attached Networks 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.
    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<AttachedNetworkConnectionInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context)
      Lists the attached NetworkConnections for a DevCenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      results of the Attached Networks 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.
    • getByDevCenterWithResponse

      com.azure.core.http.rest.Response<AttachedNetworkConnectionInner> getByDevCenterWithResponse(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context)
      Gets an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      context - The context to associate with this operation.
      Returns:
      an attached NetworkConnection 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.
    • getByDevCenter

      AttachedNetworkConnectionInner getByDevCenter(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName)
      Gets an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      Returns:
      an attached NetworkConnection.
      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<AttachedNetworkConnectionInner>,AttachedNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, AttachedNetworkConnectionInner body)
      Creates or updates an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      body - Represents an attached NetworkConnection.
      Returns:
      the SyncPoller for polling of represents an attached NetworkConnection.
      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<AttachedNetworkConnectionInner>,AttachedNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, AttachedNetworkConnectionInner body, com.azure.core.util.Context context)
      Creates or updates an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      body - Represents an attached NetworkConnection.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of represents an attached NetworkConnection.
      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

      AttachedNetworkConnectionInner createOrUpdate(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, AttachedNetworkConnectionInner body)
      Creates or updates an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      body - Represents an attached NetworkConnection.
      Returns:
      represents an attached NetworkConnection.
      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

      AttachedNetworkConnectionInner createOrUpdate(String resourceGroupName, String devCenterName, String attachedNetworkConnectionName, AttachedNetworkConnectionInner body, com.azure.core.util.Context context)
      Creates or updates an attached NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      body - Represents an attached NetworkConnection.
      context - The context to associate with this operation.
      Returns:
      represents an attached NetworkConnection.
      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 devCenterName, String attachedNetworkConnectionName)
      Un-attach a NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      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 devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context)
      Un-attach a NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      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 devCenterName, String attachedNetworkConnectionName)
      Un-attach a NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      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 devCenterName, String attachedNetworkConnectionName, com.azure.core.util.Context context)
      Un-attach a NetworkConnection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      attachedNetworkConnectionName - The name of the attached NetworkConnection.
      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.