com.azure.resourcemanager.delegatednetwork.fluent.ControllersClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-delegatednetwork Show documentation
Show all versions of azure-resourcemanager-delegatednetwork Show documentation
This package contains Microsoft Azure SDK for DelegatedNetwork Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. DNC web api provides way to create, get and delete dnc controller. Package tag package-2021-03-15.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.delegatednetwork.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.delegatednetwork.fluent.models.DelegatedControllerInner;
import com.azure.resourcemanager.delegatednetwork.models.ControllerResourceUpdateParameters;
/** An instance of this class provides access to all the operations defined in ControllersClient. */
public interface ControllersClient {
/**
* Gets details about the specified dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param 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.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return details about the specified dnc controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DelegatedControllerInner getByResourceGroup(String resourceGroupName, String resourceName);
/**
* Gets details about the specified dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return details about the specified dnc controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(
String resourceGroupName, String resourceName, Context context);
/**
* Create a dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param parameters controller type parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents an instance of a DNC controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller, DelegatedControllerInner> beginCreate(
String resourceGroupName, String resourceName, DelegatedControllerInner parameters);
/**
* Create a dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param parameters controller type parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents an instance of a DNC controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller, DelegatedControllerInner> beginCreate(
String resourceGroupName, String resourceName, DelegatedControllerInner parameters, Context context);
/**
* Create a dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param parameters controller type parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents an instance of a DNC controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DelegatedControllerInner create(String resourceGroupName, String resourceName, DelegatedControllerInner parameters);
/**
* Create a dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param parameters controller type parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents an instance of a DNC controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DelegatedControllerInner create(
String resourceGroupName, String resourceName, DelegatedControllerInner parameters, Context context);
/**
* Deletes the DNC controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param 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.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName);
/**
* Deletes the DNC controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName, Context context);
/**
* Deletes the DNC controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param 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.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String resourceName);
/**
* Deletes the DNC controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String resourceName, Context context);
/**
* Update dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param parameters controller type parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents an instance of a DNC controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DelegatedControllerInner patch(
String resourceGroupName, String resourceName, ControllerResourceUpdateParameters parameters);
/**
* Update dnc controller.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @param parameters controller type parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents an instance of a DNC controller.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response patchWithResponse(
String resourceGroupName, String resourceName, ControllerResourceUpdateParameters parameters, Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy