Interface ControllersClient
public interface ControllersClient
An instance of this class provides access to all the operations defined in ControllersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DelegatedControllerInner>,
DelegatedControllerInner> beginCreate
(String resourceGroupName, String resourceName, DelegatedControllerInner parameters) Create a dnc controller.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DelegatedControllerInner>,
DelegatedControllerInner> beginCreate
(String resourceGroupName, String resourceName, DelegatedControllerInner parameters, com.azure.core.util.Context context) Create a dnc controller.beginDelete
(String resourceGroupName, String resourceName) Deletes the DNC controller.beginDelete
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes the DNC controller.create
(String resourceGroupName, String resourceName, DelegatedControllerInner parameters) Create a dnc controller.create
(String resourceGroupName, String resourceName, DelegatedControllerInner parameters, com.azure.core.util.Context context) Create a dnc controller.void
Deletes the DNC controller.void
Deletes the DNC controller.getByResourceGroup
(String resourceGroupName, String resourceName) Gets details about the specified dnc controller.com.azure.core.http.rest.Response<DelegatedControllerInner>
getByResourceGroupWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets details about the specified dnc controller.patch
(String resourceGroupName, String resourceName, ControllerResourceUpdateParameters parameters) Update dnc controller.com.azure.core.http.rest.Response<DelegatedControllerInner>
patchWithResponse
(String resourceGroupName, String resourceName, ControllerResourceUpdateParameters parameters, com.azure.core.util.Context context) Update dnc controller.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DelegatedControllerInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets details about the specified dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.context
- The context to associate with this operation.- Returns:
- details about the specified dnc 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 details about the specified dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- Returns:
- details about the specified dnc 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<DelegatedControllerInner>,DelegatedControllerInner> beginCreate(String resourceGroupName, String resourceName, DelegatedControllerInner parameters) Create a dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- controller type parameters.- Returns:
- the
SyncPoller
for polling of represents an instance of a DNC 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<DelegatedControllerInner>,DelegatedControllerInner> beginCreate(String resourceGroupName, String resourceName, DelegatedControllerInner parameters, com.azure.core.util.Context context) Create a dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- controller type parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents an instance of a DNC 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.
-
create
DelegatedControllerInner create(String resourceGroupName, String resourceName, DelegatedControllerInner parameters) Create a dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- controller type parameters.- Returns:
- represents an instance of a DNC 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.
-
create
DelegatedControllerInner create(String resourceGroupName, String resourceName, DelegatedControllerInner parameters, com.azure.core.util.Context context) Create a dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- controller type parameters.context
- The context to associate with this operation.- Returns:
- represents an instance of a DNC 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName) Deletes the DNC controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- 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 resourceName, com.azure.core.util.Context context) Deletes the DNC controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.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 the DNC controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- 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 the DNC controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.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.
-
patchWithResponse
com.azure.core.http.rest.Response<DelegatedControllerInner> patchWithResponse(String resourceGroupName, String resourceName, ControllerResourceUpdateParameters parameters, com.azure.core.util.Context context) Update dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- controller type parameters.context
- The context to associate with this operation.- Returns:
- represents an instance of a DNC 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.
-
patch
DelegatedControllerInner patch(String resourceGroupName, String resourceName, ControllerResourceUpdateParameters parameters) Update dnc controller.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- controller type parameters.- Returns:
- represents an instance of a DNC 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.
-