< Back

Set-AzureRmApplicationInsightsDailyCap

Tue Jan 29, 2019 9:31 pm

NAME Set-AzureRmApplicationInsightsDailyCap



SYNOPSIS

Set daily data volume cap for an application insights resource





SYNTAX

Set-AzureRmApplicationInsightsDailyCap [-ApplicationInsightsComponent] <PSApplicationInsightsComponent> [-Confirm] [-DailyCapGB <Double>]

[-DefaultProfile <IAzureContextContainer>] [-DisableNotificationWhenHitCap] [-WhatIf] [<CommonParameters>]



Set-AzureRmApplicationInsightsDailyCap [-ResourceGroupName] <String> [-Name] <String> [-Confirm] [-DailyCapGB <Double>] [-DefaultProfile

<IAzureContextContainer>] [-DisableNotificationWhenHitCap] [-WhatIf] [<CommonParameters>]



Set-AzureRmApplicationInsightsDailyCap [-ResourceId] <String> [-Confirm] [-DailyCapGB <Double>] [-DefaultProfile <IAzureContextContainer>]

[-DisableNotificationWhenHitCap] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Set daily data volume cap for an application insights resource





PARAMETERS

-ApplicationInsightsComponent <PSApplicationInsightsComponent>

Application Insights Component Object.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DailyCapGB <Double>

Daily Cap.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DisableNotificationWhenHitCap [<SwitchParameter>]

Stop send notification when hit cap.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Application Insights Component Name.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

Application Insights Component Resource Id.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

System.Double System.Boolean





OUTPUTS

Microsoft.Azure.Commands.ApplicationInsights.Models.PSPricingTier







NOTES









Example 1 Set daily data volume cap for an application insights resource



PS C:\\> Set-AzureRmApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -DailyCapGB 400

-DisableNotificationWhenHitCap



Cap ResetTime StopSendNotificationWhenHitCap

--- --------- ------------------------------

400 0 True



Set the daily data volumen cap to 400GB per day and stop send notification when hit cap for resource "test" in resource group "testgroup"







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tsdailycap