ComponentCurrentBillingFeature

class ComponentCurrentBillingFeature : KotlinCustomResource

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/v2"
"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)
.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

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

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 id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>