
com.azure.resourcemanager.eventhubs.fluent.ConfigurationsClient Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventhubs.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.eventhubs.fluent.models.ClusterQuotaConfigurationPropertiesInner;
import reactor.core.publisher.Mono;
/**
* An instance of this class provides access to all the operations defined in ConfigurationsClient.
*/
public interface ConfigurationsClient {
/**
* Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings
* not specified in the request body unmodified.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs Cluster.
* @param parameters Parameters for creating an Event Hubs Cluster resource.
* @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 contains all settings for the cluster along with {@link Response} on successful completion of
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> patchWithResponseAsync(String resourceGroupName,
String clusterName, ClusterQuotaConfigurationPropertiesInner parameters);
/**
* Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings
* not specified in the request body unmodified.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs Cluster.
* @param parameters Parameters for creating an Event Hubs Cluster resource.
* @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 contains all settings for the cluster on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono patchAsync(String resourceGroupName, String clusterName,
ClusterQuotaConfigurationPropertiesInner parameters);
/**
* Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings
* not specified in the request body unmodified.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs Cluster.
* @param parameters Parameters for creating an Event Hubs Cluster resource.
* @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 contains all settings for the cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response patchWithResponse(String resourceGroupName, String clusterName,
ClusterQuotaConfigurationPropertiesInner parameters, Context context);
/**
* Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings
* not specified in the request body unmodified.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs Cluster.
* @param parameters Parameters for creating an Event Hubs Cluster resource.
* @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 contains all settings for the cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ClusterQuotaConfigurationPropertiesInner patch(String resourceGroupName, String clusterName,
ClusterQuotaConfigurationPropertiesInner parameters);
/**
* Get all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs 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 Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> getWithResponseAsync(String resourceGroupName,
String clusterName);
/**
* Get all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs 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 Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono getAsync(String resourceGroupName, String clusterName);
/**
* Get all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs 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 Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String clusterName,
Context context);
/**
* Get all Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster.
*
* @param resourceGroupName Name of the resource group within the azure subscription.
* @param clusterName The name of the Event Hubs 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 Event Hubs Cluster settings - a collection of key/value pairs which represent the quotas and settings
* imposed on the cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ClusterQuotaConfigurationPropertiesInner get(String resourceGroupName, String clusterName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy