Interface ComponentCurrentBillingFeatures


  • public interface ComponentCurrentBillingFeatures
    Resource collection API of ComponentCurrentBillingFeatures.
    • Method Detail

      • get

        ApplicationInsightsComponentBillingFeatures get​(String resourceGroupName,
                                                        String resourceName)
        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<ApplicationInsightsComponentBillingFeatures> 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

        ApplicationInsightsComponentBillingFeatures 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<ApplicationInsightsComponentBillingFeatures> 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.