-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[ApplicationInsights] Auto-gen ApplicationInsights cmdlets #18021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ApplicationInsights] Auto-gen ApplicationInsights cmdlets #18021
Conversation
| .Example | ||
| PS C:\> {{ Add code here }} | ||
|
|
||
| {{ Add output here }} | ||
| .Example | ||
| PS C:\> {{ Add code here }} | ||
|
|
||
| {{ Add output here }} | ||
|
|
||
| .Inputs | ||
| Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity | ||
| .Outputs | ||
| Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IApplicationInsightsComponent | ||
| .Notes | ||
| 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. | ||
| .Link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These fields can be removed.
| [SubscriptionId <String>]: The ID of the target subscription. | ||
| [WebTestName <String>]: The name of the Application Insights WebTest resource. | ||
| .Link | ||
| https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsightscomponent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsights
| .Outputs | ||
| Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportConfiguration | ||
| .Link | ||
| https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightscontinuousexport |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link should be https://docs.microsoft.com/powershell/module/az.applicationinsights/Set-AzApplicationInsightsContinuousExport
|
|
||
| ### Example 1: Get linked storage account associated with component "componentName" | ||
| ```powershell | ||
| PS C:\> Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be better: Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName"
| @@ -0,0 +1,14 @@ | |||
| ### Example 1: Get application insights resource | |||
| ```powershell | |||
| PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to remove the prefix: PS C:\>.
Description
Checklist
CONTRIBUTING.mdChangeLog.mdfile(s) has been updated:ChangeLog.mdfile can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md## Upcoming Releaseheader -- no new version header should be added