DevCenterClient Class

  • java.lang.Object
    • com.azure.developer.devcenter.DevCenterClient

public final class DevCenterClient

Initializes a new instance of the synchronous DevCenterClient type.

Method Summary

Modifier and Type Method and Description
DeploymentEnvironmentsClient getDeploymentEnvironmentsClient()

Initializes a new instance of DeploymentEnvironmentsClient from DevCenterClient.

DevBoxesClient getDevBoxesClient()

Initializes a new instance of DevBoxesClient from DevCenterClient.

DevCenterProject getProject(String projectName)

Gets a project.

Response<BinaryData> getProjectWithResponse(String projectName, RequestOptions requestOptions)

Gets a project.

PagedIterable<DevCenterProject> listProjects()

Lists all projects.

PagedIterable<BinaryData> listProjects(RequestOptions requestOptions)

Lists all projects.

Methods inherited from java.lang.Object

Method Details

getDeploymentEnvironmentsClient

public DeploymentEnvironmentsClient getDeploymentEnvironmentsClient()

Initializes a new instance of DeploymentEnvironmentsClient from DevCenterClient.

Returns:

Deployment Environments Client

getDevBoxesClient

public DevBoxesClient getDevBoxesClient()

Initializes a new instance of DevBoxesClient from DevCenterClient.

Returns:

Dev Boxes Client

getProject

public DevCenterProject getProject(String projectName)

Gets a project.

Parameters:

projectName - Name of the project.

Returns:

a project.

getProjectWithResponse

public Response<BinaryData> getProjectWithResponse(String projectName, RequestOptions requestOptions)

Gets a project.

Response Body Schema

{
     name: String (Required)
     description: String (Optional)
     maxDevBoxesPerUser: Integer (Optional)
 }

Parameters:

projectName - Name of the project.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

a project along with Response<T>.

listProjects

public PagedIterable<DevCenterProject> listProjects()

Lists all projects.

Returns:

paged collection of Project items as paginated response with PagedIterable<T>.

listProjects

public PagedIterable<BinaryData> listProjects(RequestOptions requestOptions)

Lists all projects.

Response Body Schema

{
     name: String (Required)
     description: String (Optional)
     maxDevBoxesPerUser: Integer (Optional)
 }

Parameters:

requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

paged collection of Project items as paginated response with PagedIterable<T>.

Applies to