< Back
Remove-AzureRmApplicationInsightsApiKey
Post
NAME Remove-AzureRmApplicationInsightsApiKey
SYNOPSIS
Remove an application insights api key for an application insights resource
SYNTAX
Remove-AzureRmApplicationInsightsApiKey [-ApplicationInsightsComponent] <PSApplicationInsightsComponent> [-ApiKeyId] <String> [-Confirm]
[-DefaultProfile <IAzureContextContainer>] [-PassThru] [-WhatIf] [<CommonParameters>]
Remove-AzureRmApplicationInsightsApiKey [-ResourceGroupName] <String> [-Name] <String> [-ApiKeyId] <String> [-Confirm] [-DefaultProfile
<IAzureContextContainer>] [-PassThru] [-WhatIf] [<CommonParameters>]
Remove-AzureRmApplicationInsightsApiKey [-ResourceId] <String> [-ApiKeyId] <String> [-Confirm] [-DefaultProfile <IAzureContextContainer>]
[-PassThru] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Remove an application insights api key for an application insights resource
PARAMETERS
-ApiKeyId <String>
Application Insights API Key ID.
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-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
-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
-Name <String>
Application Insights Component Name.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
Required? false
Position? named
Default value False
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
OUTPUTS
System.Object
NOTES
Example 1 Remove an application insights api key for an application insights resource
Get-AzureRmApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-9
9c29aa0f867 -PassThru
True
Remove specific application insights api key that id is "dd173f38-4fd1-4c75-8af5-9 9c29aa0f867" for resource "test" in resource group "testGroup".
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ghtsapikey
SYNOPSIS
Remove an application insights api key for an application insights resource
SYNTAX
Remove-AzureRmApplicationInsightsApiKey [-ApplicationInsightsComponent] <PSApplicationInsightsComponent> [-ApiKeyId] <String> [-Confirm]
[-DefaultProfile <IAzureContextContainer>] [-PassThru] [-WhatIf] [<CommonParameters>]
Remove-AzureRmApplicationInsightsApiKey [-ResourceGroupName] <String> [-Name] <String> [-ApiKeyId] <String> [-Confirm] [-DefaultProfile
<IAzureContextContainer>] [-PassThru] [-WhatIf] [<CommonParameters>]
Remove-AzureRmApplicationInsightsApiKey [-ResourceId] <String> [-ApiKeyId] <String> [-Confirm] [-DefaultProfile <IAzureContextContainer>]
[-PassThru] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Remove an application insights api key for an application insights resource
PARAMETERS
-ApiKeyId <String>
Application Insights API Key ID.
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-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
-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
-Name <String>
Application Insights Component Name.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
Required? false
Position? named
Default value False
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
OUTPUTS
System.Object
NOTES
Example 1 Remove an application insights api key for an application insights resource
Get-AzureRmApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-9
9c29aa0f867 -PassThru
True
Remove specific application insights api key that id is "dd173f38-4fd1-4c75-8af5-9 9c29aa0f867" for resource "test" in resource group "testGroup".
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ghtsapikey