Interface ComponentCurrentBillingFeaturesClient
public interface ComponentCurrentBillingFeaturesClient
An instance of this class provides access to all the operations defined in ComponentCurrentBillingFeaturesClient.
-
Method Summary
Modifier and TypeMethodDescriptionReturns current billing features for an Application Insights component.com.azure.core.http.rest.Response<ApplicationInsightsComponentBillingFeaturesInner>
getWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Returns current billing features for an Application Insights component.update
(String resourceGroupName, String resourceName, ApplicationInsightsComponentBillingFeaturesInner billingFeaturesProperties) Update current billing features for an Application Insights component.com.azure.core.http.rest.Response<ApplicationInsightsComponentBillingFeaturesInner>
updateWithResponse
(String resourceGroupName, String resourceName, ApplicationInsightsComponentBillingFeaturesInner billingFeaturesProperties, com.azure.core.util.Context context) Update current billing features for an Application Insights component.
-
Method Details
-
get
Returns current billing features for an Application Insights component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.- Returns:
- an Application Insights component billing features.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ApplicationInsightsComponentBillingFeaturesInner> getWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Returns current billing features for an Application Insights component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.context
- The context to associate with this operation.- Returns:
- an Application Insights component billing features along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
ApplicationInsightsComponentBillingFeaturesInner update(String resourceGroupName, String resourceName, ApplicationInsightsComponentBillingFeaturesInner billingFeaturesProperties) Update current billing features for an Application Insights component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.billingFeaturesProperties
- Properties that need to be specified to update billing features for an Application Insights component.- Returns:
- an Application Insights component billing features.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<ApplicationInsightsComponentBillingFeaturesInner> updateWithResponse(String resourceGroupName, String resourceName, ApplicationInsightsComponentBillingFeaturesInner billingFeaturesProperties, com.azure.core.util.Context context) Update current billing features for an Application Insights component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the Application Insights component resource.billingFeaturesProperties
- Properties that need to be specified to update billing features for an Application Insights component.context
- The context to associate with this operation.- Returns:
- an Application Insights component billing features along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-