com.azure.resourcemanager.hdinsight.fluent.ConfigurationsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hdinsight Show documentation
Show all versions of azure-resourcemanager-hdinsight Show documentation
This package contains Microsoft Azure SDK for HDInsight Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. HDInsight Management Client. Package tag package-2024-08-preview.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.hdinsight.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.hdinsight.fluent.models.ClusterConfigurationsInner;
import java.util.Map;
/**
* An instance of this class provides access to all the operations defined in ConfigurationsClient.
*/
public interface ConfigurationsClient {
/**
* Gets all configuration information for an HDI cluster.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @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 all configuration information for an HDI cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listWithResponse(String resourceGroupName, String clusterName,
Context context);
/**
* Gets all configuration information for an HDI cluster.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @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 all configuration information for an HDI cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ClusterConfigurationsInner list(String resourceGroupName, String clusterName);
/**
* Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings
* in cluster endpoint instead.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @param configurationName The name of the cluster configuration.
* @param parameters The cluster configurations.
* @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 {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginUpdate(String resourceGroupName, String clusterName,
String configurationName, Map parameters);
/**
* Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings
* in cluster endpoint instead.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @param configurationName The name of the cluster configuration.
* @param parameters The cluster configurations.
* @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 {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginUpdate(String resourceGroupName, String clusterName,
String configurationName, Map parameters, Context context);
/**
* Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings
* in cluster endpoint instead.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @param configurationName The name of the cluster configuration.
* @param parameters The cluster configurations.
* @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 update(String resourceGroupName, String clusterName, String configurationName, Map parameters);
/**
* Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings
* in cluster endpoint instead.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @param configurationName The name of the cluster configuration.
* @param parameters The cluster configurations.
* @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 update(String resourceGroupName, String clusterName, String configurationName, Map parameters,
Context context);
/**
* The configuration object for the specified cluster. This API is not recommended and might be removed in the
* future. Please consider using List configurations API instead.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @param configurationName The name of the cluster configuration.
* @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 configuration object for the specified configuration for the specified cluster along with
* {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response