Get-AzApplicationInsightsApiKey
Get the API Key for this key id.
Syntax
Get-AzApplicationInsightsApiKey
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzApplicationInsightsApiKey
-ApiKeyId <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzApplicationInsightsApiKey
-InputObject <IApplicationInsightsIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get the API Key for this key id.
Examples
Example 1: Get Api Keys for an application insights resource
Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test"
Get Api Keys for an application insights resource
Example 2: Get specific API key for an application insights resource
Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId 7c4c61dc-b392-4aa4-992f-ee92b84e5dee
Get specific API key for an application insights resource
Parameters
The API Key ID. This is unique within a Application Insights component.
| Type: | String |
| 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: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
| Type: | IApplicationInsightsIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The name of the Application Insights component resource.
| Type: | String |
| Aliases: | ApplicationInsightsComponentName, ComponentName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The name of the resource group. The name is case insensitive.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The ID of the target subscription.
| Type: | String[] |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Outputs
IApplicationInsightsComponentApiKey
Notes
ALIASES
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <IApplicationInsightsIdentity>: Identity Parameter
[AnnotationId <String>]: The unique annotation ID. This is unique within a Application Insights component.[ComponentName <String>]: The name of the Application Insights component resource.[ExportId <String>]: The Continuous Export configuration ID. This is unique within a Application Insights component.[Id <String>]: Resource identity path[KeyId <String>]: The API Key ID. This is unique within a Application Insights component.[PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned.[ResourceGroupName <String>]: The name of the resource group. The name is case insensitive.[ResourceName <String>]: The name of the Application Insights component resource.[StorageType <StorageType?>]: The type of the Application Insights component data source for the linked storage account.[SubscriptionId <String>]: The ID of the target subscription.[WebTestName <String>]: The name of the Application Insights WebTest resource.
Feedback
Submit and view feedback for