Skip to content

Conversation

@VeryEarly
Copy link
Collaborator

Description

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • the markdown help files have been regenerated using the commands listed here

Comment on lines +21 to +51
.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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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"
Copy link
Contributor

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"
Copy link
Contributor

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:\>.

@VeryEarly VeryEarly changed the base branch from generation to yabo/generation/applicationinsights May 9, 2022 12:30
@VeryEarly VeryEarly merged this pull request into Azure:yabo/generation/applicationinsights May 9, 2022
@VeryEarly VeryEarly deleted the yabo/applicationinsights branch May 9, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants