Interface DevBoxDefinitionsClient
public interface DevBoxDefinitionsClient
An instance of this class provides access to all the operations defined in DevBoxDefinitionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DevBoxDefinitionInner>,
DevBoxDefinitionInner> beginCreateOrUpdate
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body) Creates or updates a Dev Box definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DevBoxDefinitionInner>,
DevBoxDefinitionInner> beginCreateOrUpdate
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body, com.azure.core.util.Context context) Creates or updates a Dev Box definition.beginDelete
(String resourceGroupName, String devCenterName, String devBoxDefinitionName) Deletes a Dev Box definition.beginDelete
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, com.azure.core.util.Context context) Deletes a Dev Box definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DevBoxDefinitionInner>,
DevBoxDefinitionInner> beginUpdate
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body) Partially updates a Dev Box definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DevBoxDefinitionInner>,
DevBoxDefinitionInner> beginUpdate
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body, com.azure.core.util.Context context) Partially updates a Dev Box definition.createOrUpdate
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body) Creates or updates a Dev Box definition.createOrUpdate
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body, com.azure.core.util.Context context) Creates or updates a Dev Box definition.void
Deletes a Dev Box definition.void
delete
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, com.azure.core.util.Context context) Deletes a Dev Box definition.Gets a Dev Box definition.getByProject
(String resourceGroupName, String projectName, String devBoxDefinitionName) Gets a Dev Box definition configured for a project.com.azure.core.http.rest.Response<DevBoxDefinitionInner>
getByProjectWithResponse
(String resourceGroupName, String projectName, String devBoxDefinitionName, com.azure.core.util.Context context) Gets a Dev Box definition configured for a project.com.azure.core.http.rest.Response<DevBoxDefinitionInner>
getWithResponse
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, com.azure.core.util.Context context) Gets a Dev Box definition.com.azure.core.http.rest.PagedIterable<DevBoxDefinitionInner>
listByDevCenter
(String resourceGroupName, String devCenterName) List Dev Box definitions for a devcenter.com.azure.core.http.rest.PagedIterable<DevBoxDefinitionInner>
listByDevCenter
(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context) List Dev Box definitions for a devcenter.com.azure.core.http.rest.PagedIterable<DevBoxDefinitionInner>
listByProject
(String resourceGroupName, String projectName) List Dev Box definitions configured for a project.com.azure.core.http.rest.PagedIterable<DevBoxDefinitionInner>
listByProject
(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context) List Dev Box definitions configured for a project.update
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body) Partially updates a Dev Box definition.update
(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body, com.azure.core.util.Context context) Partially updates a Dev Box definition.
-
Method Details
-
listByDevCenter
com.azure.core.http.rest.PagedIterable<DevBoxDefinitionInner> listByDevCenter(String resourceGroupName, String devCenterName) List Dev Box definitions 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 Dev Box definition 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<DevBoxDefinitionInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context) List Dev Box definitions 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 Dev Box definition 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.
-
getWithResponse
com.azure.core.http.rest.Response<DevBoxDefinitionInner> getWithResponse(String resourceGroupName, String devCenterName, String devBoxDefinitionName, com.azure.core.util.Context context) Gets a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.context
- The context to associate with this operation.- Returns:
- a Dev Box definition 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.
-
get
DevBoxDefinitionInner get(String resourceGroupName, String devCenterName, String devBoxDefinitionName) Gets a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.- Returns:
- a Dev Box definition.
- 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<DevBoxDefinitionInner>,DevBoxDefinitionInner> beginCreateOrUpdate(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body) Creates or updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.- Returns:
- the
SyncPoller
for polling of represents a definition for a Developer Machine. - 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<DevBoxDefinitionInner>,DevBoxDefinitionInner> beginCreateOrUpdate(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body, com.azure.core.util.Context context) Creates or updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents a definition for a Developer Machine. - 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
DevBoxDefinitionInner createOrUpdate(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body) Creates or updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.- Returns:
- represents a definition for a Developer Machine.
- 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
DevBoxDefinitionInner createOrUpdate(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionInner body, com.azure.core.util.Context context) Creates or updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.context
- The context to associate with this operation.- Returns:
- represents a definition for a Developer Machine.
- 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<DevBoxDefinitionInner>,DevBoxDefinitionInner> beginUpdate(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body) Partially updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.- Returns:
- the
SyncPoller
for polling of represents a definition for a Developer Machine. - 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<DevBoxDefinitionInner>,DevBoxDefinitionInner> beginUpdate(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body, com.azure.core.util.Context context) Partially updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents a definition for a Developer Machine. - 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
DevBoxDefinitionInner update(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body) Partially updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.- Returns:
- represents a definition for a Developer Machine.
- 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
DevBoxDefinitionInner update(String resourceGroupName, String devCenterName, String devBoxDefinitionName, DevBoxDefinitionUpdate body, com.azure.core.util.Context context) Partially updates a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.body
- Represents a Dev Box definition.context
- The context to associate with this operation.- Returns:
- represents a definition for a Developer Machine.
- 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 devBoxDefinitionName) Deletes a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.- 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 devBoxDefinitionName, com.azure.core.util.Context context) Deletes a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.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
Deletes a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.- 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 devBoxDefinitionName, com.azure.core.util.Context context) Deletes a Dev Box definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.devCenterName
- The name of the devcenter.devBoxDefinitionName
- The name of the Dev Box definition.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.
-
listByProject
com.azure.core.http.rest.PagedIterable<DevBoxDefinitionInner> listByProject(String resourceGroupName, String projectName) List Dev Box definitions configured 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 Dev Box definition 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<DevBoxDefinitionInner> listByProject(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context) List Dev Box definitions configured 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 Dev Box definition 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<DevBoxDefinitionInner> getByProjectWithResponse(String resourceGroupName, String projectName, String devBoxDefinitionName, com.azure.core.util.Context context) Gets a Dev Box definition configured for a project.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.projectName
- The name of the project.devBoxDefinitionName
- The name of the Dev Box definition.context
- The context to associate with this operation.- Returns:
- a Dev Box definition configured for a project 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
DevBoxDefinitionInner getByProject(String resourceGroupName, String projectName, String devBoxDefinitionName) Gets a Dev Box definition configured for a project.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.projectName
- The name of the project.devBoxDefinitionName
- The name of the Dev Box definition.- Returns:
- a Dev Box definition configured for a project.
- 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.
-