Set-AzureRmApplicationInsightsPricingPlan
Syntax
Set-AzureRmApplicationInsightsPricingPlan
[-ResourceGroupName] <String>
[-Name] <String>
[-PricingPlan <String>]
[-DailyCapGB <Double>]
[-DisableNotificationWhenHitCap]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzureRmApplicationInsightsPricingPlan
[-ApplicationInsightsComponent] <PSApplicationInsightsComponent>
[-PricingPlan <String>]
[-DailyCapGB <Double>]
[-DisableNotificationWhenHitCap]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzureRmApplicationInsightsPricingPlan
[-ResourceId] <String>
[-PricingPlan <String>]
[-DailyCapGB <Double>]
[-DisableNotificationWhenHitCap]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Set pricing plan and daily data volume information for an applicaiton insights resource
Examples
Example 1 Set pricing plan and daily data volume information for an applicaiton insights resource
PS C:\> Set-AzureRmApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -PricingPlan "Basic" -DailyCapGB 400
Cap ResetTime StopSendNotificationWhenHitCap PricingPlan
--- --------- ------------------------------ -----------
400 0 False Basic
Set the pricing plan to "Basic", set the daily data volumen cap to 400GB per day and stop send notification when hit cap for resource "test" in resource group "testgroup"
Parameters
Application Insights Component Object.
Type: | PSApplicationInsightsComponent |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Daily Cap.
Type: | System.Nullable`1[System.Double] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure.
Type: | Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Stop send notification when hit cap.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Application Insights Component Name.
Type: | String |
Aliases: | ApplicationInsightsComponentName, ComponentName |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Pricing plan name.
Type: | String |
Accepted values: | Basic, Application Insights Enterprise, Limited Basic |
Position: | Named |
Default value: | "Basic" |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Resource Group Name.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Application Insights Component Resource Id.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
PSApplicationInsightsComponent
Parameters: ApplicationInsightsComponent (ByValue)