ComponentCurrentBillingFeatureArgs

data class ComponentCurrentBillingFeatureArgs(val currentBillingFeatures: Output<List<String>>? = null, val dataVolumeCap: Output<ApplicationInsightsComponentDataVolumeCapArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<ComponentCurrentBillingFeatureArgs>

An Application Insights component billing features Uses Azure REST API version 2015-05-01.

Example Usage

ComponentCurrentBillingFeaturesUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var componentCurrentBillingFeature = new AzureNative.ApplicationInsights.ComponentCurrentBillingFeature("componentCurrentBillingFeature", new()
{
CurrentBillingFeatures = new[]
{
"Basic",
"Application Insights Enterprise",
},
DataVolumeCap = new AzureNative.ApplicationInsights.Inputs.ApplicationInsightsComponentDataVolumeCapArgs
{
Cap = 100,
StopSendNotificationWhenHitCap = true,
},
ResourceGroupName = "my-resource-group",
ResourceName = "my-component",
});
});
package main
import (
applicationinsights "github.com/pulumi/pulumi-azure-native-sdk/applicationinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := applicationinsights.NewComponentCurrentBillingFeature(ctx, "componentCurrentBillingFeature", &applicationinsights.ComponentCurrentBillingFeatureArgs{
CurrentBillingFeatures: pulumi.StringArray{
pulumi.String("Basic"),
pulumi.String("Application Insights Enterprise"),
},
DataVolumeCap: &applicationinsights.ApplicationInsightsComponentDataVolumeCapArgs{
Cap: pulumi.Float64(100),
StopSendNotificationWhenHitCap: pulumi.Bool(true),
},
ResourceGroupName: pulumi.String("my-resource-group"),
ResourceName: pulumi.String("my-component"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.applicationinsights.ComponentCurrentBillingFeature;
import com.pulumi.azurenative.applicationinsights.ComponentCurrentBillingFeatureArgs;
import com.pulumi.azurenative.applicationinsights.inputs.ApplicationInsightsComponentDataVolumeCapArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var componentCurrentBillingFeature = new ComponentCurrentBillingFeature("componentCurrentBillingFeature", ComponentCurrentBillingFeatureArgs.builder()
.currentBillingFeatures(
"Basic",
"Application Insights Enterprise")
.dataVolumeCap(ApplicationInsightsComponentDataVolumeCapArgs.builder()
.cap(100.0)
.stopSendNotificationWhenHitCap(true)
.build())
.resourceGroupName("my-resource-group")
.resourceName("my-component")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:applicationinsights:ComponentCurrentBillingFeature myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures

Constructors

Link copied to clipboard
constructor(currentBillingFeatures: Output<List<String>>? = null, dataVolumeCap: Output<ApplicationInsightsComponentDataVolumeCapArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null)

Properties

Link copied to clipboard
val currentBillingFeatures: Output<List<String>>? = null

Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'.

Link copied to clipboard

An Application Insights component daily data volume cap

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the Application Insights component resource.

Functions

Link copied to clipboard
open override fun toJava(): ComponentCurrentBillingFeatureArgs