DevBoxesAsyncClient Class

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

public final class DevBoxesAsyncClient

Initializes a new instance of the asynchronous DevBoxesClient type.

Method Summary

Modifier and Type Method and Description
PollerFlux<DevCenterOperationDetails,DevBox> beginCreateDevBox(String projectName, String userId, DevBox devBox)

Creates or replaces a Dev Box.

PollerFlux<BinaryData,BinaryData> beginCreateDevBox(String projectName, String userId, String devBoxName, BinaryData body, RequestOptions requestOptions)

Creates or replaces a Dev Box.

PollerFlux<DevCenterOperationDetails,Void> beginDeleteDevBox(String projectName, String userId, String devBoxName)

Deletes a Dev Box.

PollerFlux<BinaryData,Void> beginDeleteDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Deletes a Dev Box.

PollerFlux<DevCenterOperationDetails,Void> beginRestartDevBox(String projectName, String userId, String devBoxName)

Restarts a Dev Box.

PollerFlux<BinaryData,BinaryData> beginRestartDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Restarts a Dev Box.

PollerFlux<DevCenterOperationDetails,Void> beginStartDevBox(String projectName, String userId, String devBoxName)

Starts a Dev Box.

PollerFlux<BinaryData,BinaryData> beginStartDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Starts a Dev Box.

PollerFlux<DevCenterOperationDetails,Void> beginStopDevBox(String projectName, String userId, String devBoxName)

Stops a Dev Box.

PollerFlux<DevCenterOperationDetails,Void> beginStopDevBox(String projectName, String userId, String devBoxName, Boolean hibernate)

Stops a Dev Box.

PollerFlux<BinaryData,BinaryData> beginStopDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Stops a Dev Box.

reactor.core.publisher.Mono<DevBoxAction> delayAction(String projectName, String userId, String devBoxName, String actionName, OffsetDateTime delayUntil)

Delays the occurrence of an action.

reactor.core.publisher.Mono<Response<BinaryData>> delayActionWithResponse(String projectName, String userId, String devBoxName, String actionName, OffsetDateTime delayUntil, RequestOptions requestOptions)

Delays the occurrence of an action.

PagedFlux<DevBoxActionDelayResult> delayAllActions(String projectName, String userId, String devBoxName, OffsetDateTime delayUntil)

Delays all actions.

PagedFlux<BinaryData> delayAllActions(String projectName, String userId, String devBoxName, OffsetDateTime delayUntil, RequestOptions requestOptions)

Delays all actions.

reactor.core.publisher.Mono<DevBox> getDevBox(String projectName, String userId, String devBoxName)

Gets a Dev Box.

reactor.core.publisher.Mono<DevBoxAction> getDevBoxAction(String projectName, String userId, String devBoxName, String actionName)

Gets an action.

reactor.core.publisher.Mono<Response<BinaryData>> getDevBoxActionWithResponse(String projectName, String userId, String devBoxName, String actionName, RequestOptions requestOptions)

Gets an action.

reactor.core.publisher.Mono<Response<BinaryData>> getDevBoxWithResponse(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Gets a Dev Box.

reactor.core.publisher.Mono<DevBoxPool> getPool(String projectName, String poolName)

Gets a pool.

reactor.core.publisher.Mono<Response<BinaryData>> getPoolWithResponse(String projectName, String poolName, RequestOptions requestOptions)

Gets a pool.

reactor.core.publisher.Mono<RemoteConnection> getRemoteConnection(String projectName, String userId, String devBoxName)

Gets RDP Connection info.

reactor.core.publisher.Mono<Response<BinaryData>> getRemoteConnectionWithResponse(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Gets RDP Connection info.

reactor.core.publisher.Mono<DevBoxSchedule> getSchedule(String projectName, String poolName, String scheduleName)

Gets a schedule.

reactor.core.publisher.Mono<Response<BinaryData>> getScheduleWithResponse(String projectName, String poolName, String scheduleName, RequestOptions requestOptions)

Gets a schedule.

PagedFlux<DevBox> listAllDevBoxes()

Lists Dev Boxes that the caller has access to in the DevCenter.

PagedFlux<BinaryData> listAllDevBoxes(RequestOptions requestOptions)

Lists Dev Boxes that the caller has access to in the DevCenter.

PagedFlux<DevBox> listAllDevBoxesByUser(String userId)

Lists Dev Boxes in the Dev Center for a particular user.

PagedFlux<BinaryData> listAllDevBoxesByUser(String userId, RequestOptions requestOptions)

Lists Dev Boxes in the Dev Center for a particular user.

PagedFlux<DevBoxAction> listDevBoxActions(String projectName, String userId, String devBoxName)

Lists actions on a Dev Box.

PagedFlux<BinaryData> listDevBoxActions(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Lists actions on a Dev Box.

PagedFlux<DevBox> listDevBoxes(String projectName, String userId)

Lists Dev Boxes in the project for a particular user.

PagedFlux<BinaryData> listDevBoxes(String projectName, String userId, RequestOptions requestOptions)

Lists Dev Boxes in the project for a particular user.

PagedFlux<DevBoxPool> listPools(String projectName)

Lists available pools.

PagedFlux<BinaryData> listPools(String projectName, RequestOptions requestOptions)

Lists available pools.

PagedFlux<DevBoxSchedule> listSchedules(String projectName, String poolName)

Lists all schedules within a pool that are configured by your project administrator.

PagedFlux<BinaryData> listSchedules(String projectName, String poolName, RequestOptions requestOptions)

Lists all schedules within a pool that are configured by your project administrator.

reactor.core.publisher.Mono<Void> skipAction(String projectName, String userId, String devBoxName, String actionName)

Skips an occurrence of an action.

reactor.core.publisher.Mono<Response<Void>> skipActionWithResponse(String projectName, String userId, String devBoxName, String actionName, RequestOptions requestOptions)

Skips an occurrence of an action.

Methods inherited from java.lang.Object

Method Details

beginCreateDevBox

public PollerFlux<DevCenterOperationDetails,DevBox> beginCreateDevBox(String projectName, String userId, DevBox devBox)

Creates or replaces a Dev Box.

Parameters:

projectName - The DevCenter Project upon which to execute the operation.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBox - A DevBox object that requires dev box name and pool. Setting local administrator status is optional.

Returns:

the PollerFlux<T,U> for polling of a Dev Box.

beginCreateDevBox

public PollerFlux<BinaryData,BinaryData> beginCreateDevBox(String projectName, String userId, String devBoxName, BinaryData body, RequestOptions requestOptions)

Creates or replaces a Dev Box.

Request Body Schema

{
     name: String (Required)
     projectName: String (Optional)
     poolName: String (Required)
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     provisioningState: String(Succeeded/Failed/Canceled/Creating/Deleting/Updating/Starting/Stopping/Provisioning/ProvisionedWithWarning/InGracePeriod/NotProvisioned) (Optional)
     actionState: String (Optional)
     powerState: String(Unknown/Running/Deallocated/PoweredOff/Hibernated) (Optional)
     uniqueId: String (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
     location: String (Optional)
     osType: String(Windows) (Optional)
     user: String (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     createdTime: OffsetDateTime (Optional)
     localAdministrator: String(Enabled/Disabled) (Optional)
 }

Response Body Schema

{
     name: String (Required)
     projectName: String (Optional)
     poolName: String (Required)
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     provisioningState: String(Succeeded/Failed/Canceled/Creating/Deleting/Updating/Starting/Stopping/Provisioning/ProvisionedWithWarning/InGracePeriod/NotProvisioned) (Optional)
     actionState: String (Optional)
     powerState: String(Unknown/Running/Deallocated/PoweredOff/Hibernated) (Optional)
     uniqueId: String (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
     location: String (Optional)
     osType: String(Windows) (Optional)
     user: String (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     createdTime: OffsetDateTime (Optional)
     localAdministrator: String(Enabled/Disabled) (Optional)
 }

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - The name of a Dev Box.
body - Represents the body request of a Dev Box creation. Dev Box Pool name is required. Optionally set the owner of the Dev Box as local administrator.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

the PollerFlux<T,U> for polling of a Dev Box.

beginDeleteDevBox

public PollerFlux<DevCenterOperationDetails,Void> beginDeleteDevBox(String projectName, String userId, String devBoxName)

Deletes a Dev Box.

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - The name of a Dev Box.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginDeleteDevBox

public PollerFlux<BinaryData,Void> beginDeleteDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Deletes a Dev Box.

Response Body Schema

{
     id: String (Required)
     name: String (Required)
     status: String(NotStarted/Running/Succeeded/Failed/Canceled) (Required)
     resourceId: String (Optional)
     startTime: OffsetDateTime (Optional)
     endTime: OffsetDateTime (Optional)
     percentComplete: Double (Optional)
     properties: Object (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
 }

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - The name of a Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginRestartDevBox

public PollerFlux<DevCenterOperationDetails,Void> beginRestartDevBox(String projectName, String userId, String devBoxName)

Restarts a Dev Box.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginRestartDevBox

public PollerFlux<BinaryData,BinaryData> beginRestartDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Restarts a Dev Box.

Response Body Schema

{
     id: String (Required)
     name: String (Required)
     status: String(NotStarted/Running/Succeeded/Failed/Canceled) (Required)
     resourceId: String (Optional)
     startTime: OffsetDateTime (Optional)
     endTime: OffsetDateTime (Optional)
     percentComplete: Double (Optional)
     properties: Object (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginStartDevBox

public PollerFlux<DevCenterOperationDetails,Void> beginStartDevBox(String projectName, String userId, String devBoxName)

Starts a Dev Box.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginStartDevBox

public PollerFlux<BinaryData,BinaryData> beginStartDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Starts a Dev Box.

Response Body Schema

{
     id: String (Required)
     name: String (Required)
     status: String(NotStarted/Running/Succeeded/Failed/Canceled) (Required)
     resourceId: String (Optional)
     startTime: OffsetDateTime (Optional)
     endTime: OffsetDateTime (Optional)
     percentComplete: Double (Optional)
     properties: Object (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginStopDevBox

public PollerFlux<DevCenterOperationDetails,Void> beginStopDevBox(String projectName, String userId, String devBoxName)

Stops a Dev Box.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginStopDevBox

public PollerFlux<DevCenterOperationDetails,Void> beginStopDevBox(String projectName, String userId, String devBoxName, Boolean hibernate)

Stops a Dev Box.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
hibernate - Optional parameter to hibernate the dev box.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

beginStopDevBox

public PollerFlux<BinaryData,BinaryData> beginStopDevBox(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Stops a Dev Box.

Query Parameters

| --------- | ------- | -------- | -------------------------------------------- |
| Name      | Type    | Required | Description                                  |
| hibernate | Boolean | No       | Optional parameter to hibernate the dev box. |

You can add these to a request with RequestOptions#addQueryParam

Response Body Schema

{
     id: String (Required)
     name: String (Required)
     status: String(NotStarted/Running/Succeeded/Failed/Canceled) (Required)
     resourceId: String (Optional)
     startTime: OffsetDateTime (Optional)
     endTime: OffsetDateTime (Optional)
     percentComplete: Double (Optional)
     properties: Object (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

the PollerFlux<T,U> for polling of the current status of an async operation.

delayAction

public Mono<DevBoxAction> delayAction(String projectName, String userId, String devBoxName, String actionName, OffsetDateTime delayUntil)

Delays the occurrence of an action.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
actionName - The name of the action.
delayUntil - The time to delay the Dev Box action or actions until, in RFC3339 format.

Returns:

an action which will take place on a Dev Box on successful completion of Mono.

delayActionWithResponse

public Mono<Response<BinaryData>> delayActionWithResponse(String projectName, String userId, String devBoxName, String actionName, OffsetDateTime delayUntil, RequestOptions requestOptions)

Delays the occurrence of an action.

Response Body Schema

{
     name: String (Required)
     actionType: String(Stop) (Required)
     sourceId: String (Required)
     suspendedUntil: OffsetDateTime (Optional)
     next (Optional): {
         scheduledTime: OffsetDateTime (Required)
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
actionName - The name of the action.
delayUntil - The time to delay the Dev Box action or actions until, in RFC3339 format.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

an action which will take place on a Dev Box along with Response<T> on successful completion of Mono.

delayAllActions

public PagedFlux<DevBoxActionDelayResult> delayAllActions(String projectName, String userId, String devBoxName, OffsetDateTime delayUntil)

Delays all actions.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
delayUntil - The time to delay the Dev Box action or actions until, in RFC3339 format.

Returns:

paged collection of DevBoxActionDelayResult items as paginated response with PagedFlux<T>.

delayAllActions

public PagedFlux<BinaryData> delayAllActions(String projectName, String userId, String devBoxName, OffsetDateTime delayUntil, RequestOptions requestOptions)

Delays all actions.

Response Body Schema

{
     name: String (Required)
     result: String(Succeeded/Failed) (Required)
     action (Optional): {
         name: String (Required)
         actionType: String(Stop) (Required)
         sourceId: String (Required)
         suspendedUntil: OffsetDateTime (Optional)
         next (Optional): {
             scheduledTime: OffsetDateTime (Required)
         }
     }
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
delayUntil - The time to delay the Dev Box action or actions until, in RFC3339 format.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

paged collection of DevBoxActionDelayResult items as paginated response with PagedFlux<T>.

getDevBox

public Mono<DevBox> getDevBox(String projectName, String userId, String devBoxName)

Gets a Dev Box.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.

Returns:

a Dev Box on successful completion of Mono.

getDevBoxAction

public Mono<DevBoxAction> getDevBoxAction(String projectName, String userId, String devBoxName, String actionName)

Gets an action.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
actionName - The name of the action.

Returns:

an action on successful completion of Mono.

getDevBoxActionWithResponse

public Mono<Response<BinaryData>> getDevBoxActionWithResponse(String projectName, String userId, String devBoxName, String actionName, RequestOptions requestOptions)

Gets an action.

Response Body Schema

{
     name: String (Required)
     actionType: String(Stop) (Required)
     sourceId: String (Required)
     suspendedUntil: OffsetDateTime (Optional)
     next (Optional): {
         scheduledTime: OffsetDateTime (Required)
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
actionName - The name of the action.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

an action along with Response<T> on successful completion of Mono.

getDevBoxWithResponse

public Mono<Response<BinaryData>> getDevBoxWithResponse(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Gets a Dev Box.

Response Body Schema

{
     name: String (Required)
     projectName: String (Optional)
     poolName: String (Required)
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     provisioningState: String(Succeeded/Failed/Canceled/Creating/Deleting/Updating/Starting/Stopping/Provisioning/ProvisionedWithWarning/InGracePeriod/NotProvisioned) (Optional)
     actionState: String (Optional)
     powerState: String(Unknown/Running/Deallocated/PoweredOff/Hibernated) (Optional)
     uniqueId: String (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
     location: String (Optional)
     osType: String(Windows) (Optional)
     user: String (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     createdTime: OffsetDateTime (Optional)
     localAdministrator: String(Enabled/Disabled) (Optional)
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

a Dev Box along with Response<T> on successful completion of Mono.

getPool

public Mono<DevBoxPool> getPool(String projectName, String poolName)

Gets a pool.

Parameters:

projectName - Name of the project.
poolName - Pool name.

Returns:

a pool on successful completion of Mono.

getPoolWithResponse

public Mono<Response<BinaryData>> getPoolWithResponse(String projectName, String poolName, RequestOptions requestOptions)

Gets a pool.

Response Body Schema

{
     name: String (Required)
     location: String (Required)
     osType: String(Windows) (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     localAdministrator: String(Enabled/Disabled) (Optional)
     stopOnDisconnect (Optional): {
         status: String(Enabled/Disabled) (Required)
         gracePeriodMinutes: Integer (Optional)
     }
     healthStatus: String(Unknown/Pending/Healthy/Warning/Unhealthy) (Required)
 }

Parameters:

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

Returns:

a pool along with Response<T> on successful completion of Mono.

getRemoteConnection

public Mono<RemoteConnection> getRemoteConnection(String projectName, String userId, String devBoxName)

Gets RDP Connection info.

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - The name of a Dev Box.

Returns:

rDP Connection info on successful completion of Mono.

getRemoteConnectionWithResponse

public Mono<Response<BinaryData>> getRemoteConnectionWithResponse(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Gets RDP Connection info.

Response Body Schema

{
     webUrl: String (Optional)
     rdpConnectionUrl: String (Optional)
 }

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - The name of a Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

rDP Connection info along with Response<T> on successful completion of Mono.

getSchedule

public Mono<DevBoxSchedule> getSchedule(String projectName, String poolName, String scheduleName)

Gets a schedule.

Parameters:

projectName - Name of the project.
poolName - Pool name.
scheduleName - Display name for the Schedule.

Returns:

a schedule on successful completion of Mono.

getScheduleWithResponse

public Mono<Response<BinaryData>> getScheduleWithResponse(String projectName, String poolName, String scheduleName, RequestOptions requestOptions)

Gets a schedule.

Response Body Schema

{
     name: String (Required)
     type: String(StopDevBox) (Required)
     frequency: String(Daily) (Required)
     time: String (Required)
     timeZone: String (Required)
 }

Parameters:

projectName - Name of the project.
poolName - Pool name.
scheduleName - Display name for the Schedule.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

a schedule along with Response<T> on successful completion of Mono.

listAllDevBoxes

public PagedFlux<DevBox> listAllDevBoxes()

Lists Dev Boxes that the caller has access to in the DevCenter.

Returns:

paged collection of DevBox items as paginated response with PagedFlux<T>.

listAllDevBoxes

public PagedFlux<BinaryData> listAllDevBoxes(RequestOptions requestOptions)

Lists Dev Boxes that the caller has access to in the DevCenter.

Response Body Schema

{
     name: String (Required)
     projectName: String (Optional)
     poolName: String (Required)
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     provisioningState: String(Succeeded/Failed/Canceled/Creating/Deleting/Updating/Starting/Stopping/Provisioning/ProvisionedWithWarning/InGracePeriod/NotProvisioned) (Optional)
     actionState: String (Optional)
     powerState: String(Unknown/Running/Deallocated/PoweredOff/Hibernated) (Optional)
     uniqueId: String (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
     location: String (Optional)
     osType: String(Windows) (Optional)
     user: String (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     createdTime: OffsetDateTime (Optional)
     localAdministrator: String(Enabled/Disabled) (Optional)
 }

Parameters:

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

Returns:

paged collection of DevBox items as paginated response with PagedFlux<T>.

listAllDevBoxesByUser

public PagedFlux<DevBox> listAllDevBoxesByUser(String userId)

Lists Dev Boxes in the Dev Center for a particular user.

Parameters:

userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.

Returns:

paged collection of DevBox items as paginated response with PagedFlux<T>.

listAllDevBoxesByUser

public PagedFlux<BinaryData> listAllDevBoxesByUser(String userId, RequestOptions requestOptions)

Lists Dev Boxes in the Dev Center for a particular user.

Response Body Schema

{
     name: String (Required)
     projectName: String (Optional)
     poolName: String (Required)
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     provisioningState: String(Succeeded/Failed/Canceled/Creating/Deleting/Updating/Starting/Stopping/Provisioning/ProvisionedWithWarning/InGracePeriod/NotProvisioned) (Optional)
     actionState: String (Optional)
     powerState: String(Unknown/Running/Deallocated/PoweredOff/Hibernated) (Optional)
     uniqueId: String (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
     location: String (Optional)
     osType: String(Windows) (Optional)
     user: String (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     createdTime: OffsetDateTime (Optional)
     localAdministrator: String(Enabled/Disabled) (Optional)
 }

Parameters:

userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

paged collection of DevBox items as paginated response with PagedFlux<T>.

listDevBoxActions

public PagedFlux<DevBoxAction> listDevBoxActions(String projectName, String userId, String devBoxName)

Lists actions on a Dev Box.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.

Returns:

paged collection of DevBoxAction items as paginated response with PagedFlux<T>.

listDevBoxActions

public PagedFlux<BinaryData> listDevBoxActions(String projectName, String userId, String devBoxName, RequestOptions requestOptions)

Lists actions on a Dev Box.

Response Body Schema

{
     name: String (Required)
     actionType: String(Stop) (Required)
     sourceId: String (Required)
     suspendedUntil: OffsetDateTime (Optional)
     next (Optional): {
         scheduledTime: OffsetDateTime (Required)
     }
 }

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

paged collection of DevBoxAction items as paginated response with PagedFlux<T>.

listDevBoxes

public PagedFlux<DevBox> listDevBoxes(String projectName, String userId)

Lists Dev Boxes in the project for a particular user.

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.

Returns:

paged collection of DevBox items as paginated response with PagedFlux<T>.

listDevBoxes

public PagedFlux<BinaryData> listDevBoxes(String projectName, String userId, RequestOptions requestOptions)

Lists Dev Boxes in the project for a particular user.

Response Body Schema

{
     name: String (Required)
     projectName: String (Optional)
     poolName: String (Required)
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     provisioningState: String(Succeeded/Failed/Canceled/Creating/Deleting/Updating/Starting/Stopping/Provisioning/ProvisionedWithWarning/InGracePeriod/NotProvisioned) (Optional)
     actionState: String (Optional)
     powerState: String(Unknown/Running/Deallocated/PoweredOff/Hibernated) (Optional)
     uniqueId: String (Optional)
     error (Optional): {
         code: String (Required)
         message: String (Required)
         target: String (Optional)
         details (Optional): [
             (recursive schema, see above)
         ]
         innererror (Optional): {
             code: String (Optional)
             innererror (Optional): (recursive schema, see innererror above)
         }
     }
     location: String (Optional)
     osType: String(Windows) (Optional)
     user: String (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     createdTime: OffsetDateTime (Optional)
     localAdministrator: String(Enabled/Disabled) (Optional)
 }

Parameters:

projectName - The DevCenter Project upon which to execute operations.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

paged collection of DevBox items as paginated response with PagedFlux<T>.

listPools

public PagedFlux<DevBoxPool> listPools(String projectName)

Lists available pools.

Parameters:

projectName - Name of the project.

Returns:

paged collection of Pool items as paginated response with PagedFlux<T>.

listPools

public PagedFlux<BinaryData> listPools(String projectName, RequestOptions requestOptions)

Lists available pools.

Response Body Schema

{
     name: String (Required)
     location: String (Required)
     osType: String(Windows) (Optional)
     hardwareProfile (Optional): {
         skuName: String(general_i_8c32gb256ssd_v2/general_i_8c32gb512ssd_v2/general_i_8c32gb1024ssd_v2/general_i_8c32gb2048ssd_v2/general_i_16c64gb256ssd_v2/general_i_16c64gb512ssd_v2/general_i_16c64gb1024ssd_v2/general_i_16c64gb2048ssd_v2/general_i_32c128gb512ssd_v2/general_i_32c128gb1024ssd_v2/general_i_32c128gb2048ssd_v2/general_a_8c32gb256ssd_v2/general_a_8c32gb512ssd_v2/general_a_8c32gb1024ssd_v2/general_a_8c32gb2048ssd_v2/general_a_16c64gb256ssd_v2/general_a_16c64gb512ssd_v2/general_a_16c64gb1024ssd_v2/general_a_16c64gb2048ssd_v2/general_a_32c128gb512ssd_v2/general_a_32c128gb1024ssd_v2/general_a_32c128gb2048ssd_v2) (Optional)
         vCPUs: Integer (Optional)
         memoryGB: Integer (Optional)
     }
     hibernateSupport: String(Enabled/Disabled/OsUnsupported) (Optional)
     storageProfile (Optional): {
         osDisk (Optional): {
             diskSizeGB: Integer (Optional)
         }
     }
     imageReference (Optional): {
         name: String (Optional)
         version: String (Optional)
         operatingSystem: String (Optional)
         osBuildNumber: String (Optional)
         publishedDate: OffsetDateTime (Optional)
     }
     localAdministrator: String(Enabled/Disabled) (Optional)
     stopOnDisconnect (Optional): {
         status: String(Enabled/Disabled) (Required)
         gracePeriodMinutes: Integer (Optional)
     }
     healthStatus: String(Unknown/Pending/Healthy/Warning/Unhealthy) (Required)
 }

Parameters:

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

Returns:

paged collection of Pool items as paginated response with PagedFlux<T>.

listSchedules

public PagedFlux<DevBoxSchedule> listSchedules(String projectName, String poolName)

Lists all schedules within a pool that are configured by your project administrator.

Parameters:

projectName - The DevCenter Project upon which to execute operations.
poolName - The name of a pool of Dev Boxes.

Returns:

paged collection of Schedule items as paginated response with PagedFlux<T>.

listSchedules

public PagedFlux<BinaryData> listSchedules(String projectName, String poolName, RequestOptions requestOptions)

Lists all schedules within a pool that are configured by your project administrator.

Response Body Schema

{
     name: String (Required)
     type: String(StopDevBox) (Required)
     frequency: String(Daily) (Required)
     time: String (Required)
     timeZone: String (Required)
 }

Parameters:

projectName - The DevCenter Project upon which to execute operations.
poolName - The name of a pool of Dev Boxes.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

paged collection of Schedule items as paginated response with PagedFlux<T>.

skipAction

public Mono<Void> skipAction(String projectName, String userId, String devBoxName, String actionName)

Skips an occurrence of an action.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
actionName - The name of the action.

Returns:

A Mono that completes when a successful response is received.

skipActionWithResponse

public Mono<Response<Void>> skipActionWithResponse(String projectName, String userId, String devBoxName, String actionName, RequestOptions requestOptions)

Skips an occurrence of an action.

Parameters:

projectName - Name of the project.
userId - The AAD object id of the user. If value is 'me', the identity is taken from the authentication context.
devBoxName - Display name for the Dev Box.
actionName - The name of the action.
requestOptions - The options to configure the HTTP request before HTTP client sends it.

Returns:

the Response<T> on successful completion of Mono.

Applies to