Interface ControllersClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ControllerInner>,
ControllerInner> beginCreate
(String resourceGroupName, String name, ControllerInner controller) Creates an Azure Dev Spaces Controller.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ControllerInner>,
ControllerInner> beginCreate
(String resourceGroupName, String name, ControllerInner controller, com.azure.core.util.Context context) Creates an Azure Dev Spaces Controller.beginDelete
(String resourceGroupName, String name) Deletes an Azure Dev Spaces Controller.beginDelete
(String resourceGroupName, String name, com.azure.core.util.Context context) Deletes an Azure Dev Spaces Controller.create
(String resourceGroupName, String name, ControllerInner controller) Creates an Azure Dev Spaces Controller.create
(String resourceGroupName, String name, ControllerInner controller, com.azure.core.util.Context context) Creates an Azure Dev Spaces Controller.void
Deletes an Azure Dev Spaces Controller.void
Deletes an Azure Dev Spaces Controller.getByResourceGroup
(String resourceGroupName, String name) Gets an Azure Dev Spaces Controller.com.azure.core.http.rest.Response<ControllerInner>
getByResourceGroupWithResponse
(String resourceGroupName, String name, com.azure.core.util.Context context) Gets an Azure Dev Spaces Controller.com.azure.core.http.rest.PagedIterable<ControllerInner>
list()
Lists the Azure Dev Spaces Controllers in a subscription.com.azure.core.http.rest.PagedIterable<ControllerInner>
list
(com.azure.core.util.Context context) Lists the Azure Dev Spaces Controllers in a subscription.com.azure.core.http.rest.PagedIterable<ControllerInner>
listByResourceGroup
(String resourceGroupName) Lists the Azure Dev Spaces Controllers in a resource group.com.azure.core.http.rest.PagedIterable<ControllerInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists the Azure Dev Spaces Controllers in a resource group.listConnectionDetails
(String resourceGroupName, String name, ListConnectionDetailsParameters listConnectionDetailsParameters) Lists connection details for an Azure Dev Spaces Controller.com.azure.core.http.rest.Response<ControllerConnectionDetailsListInner>
listConnectionDetailsWithResponse
(String resourceGroupName, String name, ListConnectionDetailsParameters listConnectionDetailsParameters, com.azure.core.util.Context context) Lists connection details for an Azure Dev Spaces Controller.update
(String resourceGroupName, String name, ControllerUpdateParameters controllerUpdateParameters) Updates an Azure Dev Spaces Controller.com.azure.core.http.rest.Response<ControllerInner>
updateWithResponse
(String resourceGroupName, String name, ControllerUpdateParameters controllerUpdateParameters, com.azure.core.util.Context context) Updates an Azure Dev Spaces Controller.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ControllerInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Gets an Azure Dev Spaces Controller.Gets the properties for an Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.context
- The context to associate with this operation.- Returns:
- the properties for an Azure Dev Spaces Controller 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
Gets an Azure Dev Spaces Controller.Gets the properties for an Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.- Returns:
- the properties for an Azure Dev Spaces Controller.
- 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ControllerInner>,ControllerInner> beginCreate(String resourceGroupName, String name, ControllerInner controller) Creates an Azure Dev Spaces Controller.Creates an Azure Dev Spaces Controller with the specified create parameters.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.controller
- Controller create parameters.- 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ControllerInner>,ControllerInner> beginCreate(String resourceGroupName, String name, ControllerInner controller, com.azure.core.util.Context context) Creates an Azure Dev Spaces Controller.Creates an Azure Dev Spaces Controller with the specified create parameters.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.controller
- Controller create parameters.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.
-
create
Creates an Azure Dev Spaces Controller.Creates an Azure Dev Spaces Controller with the specified create parameters.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.controller
- Controller create parameters.- Returns:
- the 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.
-
create
ControllerInner create(String resourceGroupName, String name, ControllerInner controller, com.azure.core.util.Context context) Creates an Azure Dev Spaces Controller.Creates an Azure Dev Spaces Controller with the specified create parameters.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.controller
- Controller create parameters.context
- The context to associate with this operation.- Returns:
- the 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String name) Deletes an Azure Dev Spaces Controller.Deletes an existing Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.- 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 name, com.azure.core.util.Context context) Deletes an Azure Dev Spaces Controller.Deletes an existing Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.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 an Azure Dev Spaces Controller.Deletes an existing Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the 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.
-
delete
Deletes an Azure Dev Spaces Controller.Deletes an existing Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.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.
-
updateWithResponse
com.azure.core.http.rest.Response<ControllerInner> updateWithResponse(String resourceGroupName, String name, ControllerUpdateParameters controllerUpdateParameters, com.azure.core.util.Context context) Updates an Azure Dev Spaces Controller.Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.controllerUpdateParameters
- Parameters for updating the Azure Dev Spaces Controller.context
- The context to associate with this operation.- Returns:
- the response body 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.
-
update
ControllerInner update(String resourceGroupName, String name, ControllerUpdateParameters controllerUpdateParameters) Updates an Azure Dev Spaces Controller.Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.controllerUpdateParameters
- Parameters for updating the Azure Dev Spaces Controller.- Returns:
- the 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ControllerInner> listByResourceGroup(String resourceGroupName) Lists the Azure Dev Spaces Controllers in a resource group.Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.- Returns:
- the 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<ControllerInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists the Azure Dev Spaces Controllers in a resource group.Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.context
- The context to associate with this operation.- Returns:
- the 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.
-
list
com.azure.core.http.rest.PagedIterable<ControllerInner> list()Lists the Azure Dev Spaces Controllers in a subscription.Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
- Returns:
- the 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
Lists the Azure Dev Spaces Controllers in a subscription.Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
- Parameters:
context
- The context to associate with this operation.- Returns:
- the 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.
-
listConnectionDetailsWithResponse
com.azure.core.http.rest.Response<ControllerConnectionDetailsListInner> listConnectionDetailsWithResponse(String resourceGroupName, String name, ListConnectionDetailsParameters listConnectionDetailsParameters, com.azure.core.util.Context context) Lists connection details for an Azure Dev Spaces Controller.Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.listConnectionDetailsParameters
- Parameters for listing connection details of Azure Dev Spaces Controller.context
- The context to associate with this operation.- Returns:
- the response body 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.
-
listConnectionDetails
ControllerConnectionDetailsListInner listConnectionDetails(String resourceGroupName, String name, ListConnectionDetailsParameters listConnectionDetailsParameters) Lists connection details for an Azure Dev Spaces Controller.Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.
- Parameters:
resourceGroupName
- Resource group to which the resource belongs.name
- Name of the resource.listConnectionDetailsParameters
- Parameters for listing connection details of Azure Dev Spaces Controller.- Returns:
- the 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.
-