/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PollerLike, PollOperationState } from "@azure/core-lro"; import { ConfigurationsListOptionalParams, ConfigurationsListResponse, ConfigurationsUpdateOptionalParams, ConfigurationsGetOptionalParams, ConfigurationsGetResponse } from "../models"; /** Interface representing a Configurations. */ export interface Configurations { /** * Gets all configuration information for an HDI cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ list( resourceGroupName: string, clusterName: string, options?: ConfigurationsListOptionalParams ): Promise; /** * 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 options The options parameters. */ beginUpdate( resourceGroupName: string, clusterName: string, configurationName: string, parameters: { [propertyName: string]: string }, options?: ConfigurationsUpdateOptionalParams ): Promise, void>>; /** * 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 options The options parameters. */ beginUpdateAndWait( resourceGroupName: string, clusterName: string, configurationName: string, parameters: { [propertyName: string]: string }, options?: ConfigurationsUpdateOptionalParams ): Promise; /** * 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 options The options parameters. */ get( resourceGroupName: string, clusterName: string, configurationName: string, options?: ConfigurationsGetOptionalParams ): Promise; }