com.azure.resourcemanager.recoveryservicesbackup.fluent.FetchTieringCostsClient 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.recoveryservicesbackup.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.TieringCostInfoInner;
import com.azure.resourcemanager.recoveryservicesbackup.models.FetchTieringCostInfoRequest;
/**
* An instance of this class provides access to all the operations defined in FetchTieringCostsClient.
*/
public interface FetchTieringCostsClient {
/**
* Provides the details of the tiering related sizes and cost.
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @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 base class for tiering cost response.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, TieringCostInfoInner> beginPost(String resourceGroupName,
String vaultName, FetchTieringCostInfoRequest parameters);
/**
* Provides the details of the tiering related sizes and cost.
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @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 base class for tiering cost response.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, TieringCostInfoInner> beginPost(String resourceGroupName,
String vaultName, FetchTieringCostInfoRequest parameters, Context context);
/**
* Provides the details of the tiering related sizes and cost.
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @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 base class for tiering cost response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
TieringCostInfoInner post(String resourceGroupName, String vaultName, FetchTieringCostInfoRequest parameters);
/**
* Provides the details of the tiering related sizes and cost.
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @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 base class for tiering cost response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
TieringCostInfoInner post(String resourceGroupName, String vaultName, FetchTieringCostInfoRequest parameters,
Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy