Interface DevCentersClient


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

    • list

      com.azure.core.http.rest.PagedIterable<DevCenterInner> list()
      Lists all devcenters in a subscription.
      Returns:
      result of the list devcenters 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<DevCenterInner> list(Integer top, com.azure.core.util.Context context)
      Lists all devcenters in a subscription.
      Parameters:
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      result of the list devcenters 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<DevCenterInner> listByResourceGroup(String resourceGroupName)
      Lists all devcenters in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      result of the list devcenters 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<DevCenterInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context)
      Lists all devcenters in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      result of the list devcenters 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<DevCenterInner> getByResourceGroupWithResponse(String resourceGroupName, String devCenterName, com.azure.core.util.Context context)
      Gets a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      context - The context to associate with this operation.
      Returns:
      a devcenter 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

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

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

      DevCenterInner createOrUpdate(String resourceGroupName, String devCenterName, DevCenterInner body, com.azure.core.util.Context context)
      Creates or updates a devcenter resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      body - Represents a devcenter.
      context - The context to associate with this operation.
      Returns:
      represents a devcenter 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<DevCenterInner>,DevCenterInner> beginUpdate(String resourceGroupName, String devCenterName, DevCenterUpdate body)
      Partially updates a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      body - Updatable devcenter properties.
      Returns:
      the SyncPoller for polling of represents a devcenter 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<DevCenterInner>,DevCenterInner> beginUpdate(String resourceGroupName, String devCenterName, DevCenterUpdate body, com.azure.core.util.Context context)
      Partially updates a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      body - Updatable devcenter properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of represents a devcenter 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

      DevCenterInner update(String resourceGroupName, String devCenterName, DevCenterUpdate body)
      Partially updates a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      body - Updatable devcenter properties.
      Returns:
      represents a devcenter 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

      DevCenterInner update(String resourceGroupName, String devCenterName, DevCenterUpdate body, com.azure.core.util.Context context)
      Partially updates a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      body - Updatable devcenter properties.
      context - The context to associate with this operation.
      Returns:
      represents a devcenter 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 devCenterName)
      Deletes a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      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, com.azure.core.util.Context context)
      Deletes a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      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)
      Deletes a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      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, com.azure.core.util.Context context)
      Deletes a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      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.