diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.csproj b/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.csproj deleted file mode 100644 index 545ff09398be..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - ApplicationInsights - ApplicationInsights - - - - \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.nuspec b/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.nuspec deleted file mode 100644 index 347490f89b77..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.nuspec +++ /dev/null @@ -1,32 +0,0 @@ - - - - Az.ApplicationInsights - 0.1.0 - Microsoft Corporation - Microsoft Corporation - true - https://aka.ms/azps-license - https://github.com/Azure/azure-powershell - Microsoft Azure PowerShell: $(service-name) cmdlets - - Microsoft Corporation. All rights reserved. - Azure ResourceManager ARM PSModule $(service-name) - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.psd1 b/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.psd1 deleted file mode 100644 index 342b8dd76f19..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.psd1 +++ /dev/null @@ -1,24 +0,0 @@ -@{ - GUID = '031a685e-5904-433f-b2f8-4fcef3cd15d8' - RootModule = './Az.ApplicationInsights.psm1' - ModuleVersion = '0.1.0' - CompatiblePSEditions = 'Core', 'Desktop' - Author = 'Microsoft Corporation' - CompanyName = 'Microsoft Corporation' - Copyright = 'Microsoft Corporation. All rights reserved.' - Description = 'Microsoft Azure PowerShell: ApplicationInsights cmdlets' - PowerShellVersion = '5.1' - DotNetFrameworkVersion = '4.7.2' - RequiredAssemblies = './bin/Az.ApplicationInsights.private.dll' - FormatsToProcess = './Az.ApplicationInsights.format.ps1xml' - FunctionsToExport = 'Get-AzApplicationInsightsWebTest', 'New-AzApplicationInsightsWebTest', 'New-AzApplicationInsightsWebTestGeolocationObject', 'New-AzApplicationInsightsWebTestHeaderFieldObject', 'Remove-AzApplicationInsightsWebTest', 'Update-AzApplicationInsightsWebTestTag', '*' - AliasesToExport = '*' - PrivateData = @{ - PSData = @{ - Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ApplicationInsights' - LicenseUri = 'https://aka.ms/azps-license' - ProjectUri = 'https://github.com/Azure/azure-powershell' - ReleaseNotes = '' - } - } -} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/MSSharedLibKey.snk b/src/ApplicationInsights/ApplicationInsights.Autorest/MSSharedLibKey.snk deleted file mode 100644 index 695f1b38774e..000000000000 Binary files a/src/ApplicationInsights/ApplicationInsights.Autorest/MSSharedLibKey.snk and /dev/null differ diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/README.md b/src/ApplicationInsights/ApplicationInsights.Autorest/docs/README.md deleted file mode 100644 index d3dc64db75fc..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Docs -This directory contains the documentation of the cmdlets for the `Az.ApplicationInsights` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. - -## Info -- Modifiable: no -- Generated: all -- Committed: yes -- Packaged: yes - -## Details -The process of documentation generation loads `Az.ApplicationInsights` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsWebTest.md deleted file mode 100644 index befb1ef8a35b..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsWebTest.md +++ /dev/null @@ -1,570 +0,0 @@ ---- -external help file: -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightswebtest -schema: 2.0.0 ---- - -# Set-AzApplicationInsightsWebTest - -## SYNOPSIS -Creates or updates an Application Insights web test definition. - -## SYNTAX - -``` -Set-AzApplicationInsightsWebTest -Name -ResourceGroupName -Location - [-SubscriptionId ] [-ConfigurationWebTest ] [-ContentValidationContentMatch ] - [-ContentValidationIgnoreCase] [-ContentValidationPassIfTextFound] [-Description ] [-Enabled] - [-Frequency ] [-Kind ] [-PropertiesLocations ] - [-PropertiesWebTestName ] [-RequestBody ] [-RequestFollowRedirect] - [-RequestHeader ] [-RequestHttpVerb ] [-RequestParseDependentRequest] - [-RequestUrl ] [-RetryEnabled] [-SyntheticMonitorId ] [-Tag ] [-Timeout ] - [-ValidationRuleExpectedHttpStatusCode ] [-ValidationRuleIgnoreHttpsStatusCode] - [-ValidationRuleSslCertRemainingLifetimeCheck ] [-ValidationRuleSslCheck] - [-WebTestKind ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates an Application Insights web test definition. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ConfigurationWebTest -The XML specification of a WebTest to run against an application. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentValidationContentMatch -Content to look for in the return of the WebTest. -Must not be null or empty. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentValidationIgnoreCase -When set, this value makes the ContentMatch validation case insensitive. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentValidationPassIfTextFound -When true, validation will pass if there is a match for the ContentMatch string. -If false, validation will fail if there is a match - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Description -User defined description for this WebTest. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Enabled -Is the test actively being monitored. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Frequency -Interval in seconds between test runs for this WebTest. -Default value is 300. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Kind -The kind of WebTest that this web test watches. -Choices are ping and multistep. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -Resource location - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights WebTest resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: WebTestName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PropertiesLocations -A list of where to physically run the tests from to give global coverage for accessibility of your application. -To construct, see NOTES section for PROPERTIESLOCATIONS properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PropertiesWebTestName -User defined name if this WebTest. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestBody -Base64 encoded string body to send with this web test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestFollowRedirect -Follow redirects for this web test. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestHeader -List of headers and their values to add to the WebTest call. -To construct, see NOTES section for REQUESTHEADER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestHttpVerb -Http verb to use for this web test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestParseDependentRequest -Parse Dependent request for this WebTest. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestUrl -Url location to test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RetryEnabled -Allow for retries should this WebTest fail. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SyntheticMonitorId -Unique ID of this WebTest. -This is typically the same value as the Name field. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Timeout -Seconds until this WebTest will timeout and fail. -Default value is 30. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleExpectedHttpStatusCode -Validate that the WebTest returns the http status code provided. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleIgnoreHttpsStatusCode -When set, validation will ignore the status code. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleSslCertRemainingLifetimeCheck -A number of days to check still remain before the the existing SSL cert expires. -Value must be positive and the SSLCheck must be set to true. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleSslCheck -Checks to see if the SSL cert is still valid. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WebTestKind -The kind of web test this is, valid choices are ping, multistep, and standard. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest - -## 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. - - -PROPERTIESLOCATIONS : A list of where to physically run the tests from to give global coverage for accessibility of your application. - - `[Location ]`: Location ID for the WebTest to run from. - -REQUESTHEADER : List of headers and their values to add to the WebTest call. - - `[Name ]`: The name of the header. - - `[Value ]`: The value of the header. - -## RELATED LINKS - diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsWebTest.md deleted file mode 100644 index 20380d0c8753..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsWebTest.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsWebTest.ps1 b/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsWebTest.ps1 deleted file mode 100644 index ca67af78bc79..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsWebTest.ps1 +++ /dev/null @@ -1,365 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code -# is regenerated. -# ---------------------------------------------------------------------------------- - -<# -.Synopsis -Creates or updates an Application Insights web test definition. -.Description -Creates or updates an Application Insights web test definition. -.Example -PS C:\> {{ Add code here }} - -{{ Add output here }} -.Example -PS C:\> {{ Add code here }} - -{{ Add output here }} - -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest -.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. - -PROPERTIESLOCATIONS : A list of where to physically run the tests from to give global coverage for accessibility of your application. - [Location ]: Location ID for the WebTest to run from. - -REQUESTHEADER : List of headers and their values to add to the WebTest call. - [Name ]: The name of the header. - [Value ]: The value of the header. -.Link -https://docs.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightswebtest -#> -function Set-AzApplicationInsightsWebTest { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(Mandatory)] - [Alias('WebTestName')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] - [System.String] - # The name of the Application Insights WebTest resource. - ${Name}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Resource location - ${Location}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # The XML specification of a WebTest to run against an application. - ${ConfigurationWebTest}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Content to look for in the return of the WebTest. - # Must not be null or empty. - ${ContentValidationContentMatch}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # When set, this value makes the ContentMatch validation case insensitive. - ${ContentValidationIgnoreCase}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # When true, validation will pass if there is a match for the ContentMatch string. - # If false, validation will fail if there is a match - ${ContentValidationPassIfTextFound}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # User defined description for this WebTest. - ${Description}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Is the test actively being monitored. - ${Enabled}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # Interval in seconds between test runs for this WebTest. - # Default value is 300. - ${Frequency}, - - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind])] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind] - # The kind of WebTest that this web test watches. - # Choices are ping and multistep. - ${Kind}, - - [Parameter()] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation[]] - # A list of where to physically run the tests from to give global coverage for accessibility of your application. - # To construct, see NOTES section for PROPERTIESLOCATIONS properties and create a hash table. - ${PropertiesLocations}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # User defined name if this WebTest. - ${PropertiesWebTestName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Base64 encoded string body to send with this web test. - ${RequestBody}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Follow redirects for this web test. - ${RequestFollowRedirect}, - - [Parameter()] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField[]] - # List of headers and their values to add to the WebTest call. - # To construct, see NOTES section for REQUESTHEADER properties and create a hash table. - ${RequestHeader}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Http verb to use for this web test. - ${RequestHttpVerb}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Parse Dependent request for this WebTest. - ${RequestParseDependentRequest}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Url location to test. - ${RequestUrl}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Allow for retries should this WebTest fail. - ${RetryEnabled}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Unique ID of this WebTest. - # This is typically the same value as the Name field. - ${SyntheticMonitorId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebtestsResourceTags]))] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # Seconds until this WebTest will timeout and fail. - # Default value is 30. - ${Timeout}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # Validate that the WebTest returns the http status code provided. - ${ValidationRuleExpectedHttpStatusCode}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # When set, validation will ignore the status code. - ${ValidationRuleIgnoreHttpsStatusCode}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # A number of days to check still remain before the the existing SSL cert expires. - # Value must be positive and the SSLCheck must be set to true. - ${ValidationRuleSslCertRemainingLifetimeCheck}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Checks to see if the SSL cert is still valid. - ${ValidationRuleSslCheck}, - - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum])] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum] - # The kind of web test this is, valid choices are ping, multistep, and standard. - ${WebTestKind}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - UpdateExpanded = 'Az.ApplicationInsights.private\Set-AzApplicationInsightsWebTest_UpdateExpanded'; - } - if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generate-info.json b/src/ApplicationInsights/ApplicationInsights.Autorest/generate-info.json deleted file mode 100644 index 745b5552b24b..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generate-info.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "autorest": "`-- (empty)", - "autorest_core": "3.8.4", - "node": "v14.15.5", - "autorest_modelerfour": "4.15.414", - "autorest_powershell": "3.0.485", - "swagger_commit": "11830d3ce01db4f39a41dc37a86075b125c87fdc" -} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsWebTest_UpdateExpanded.cs b/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsWebTest_UpdateExpanded.cs deleted file mode 100644 index a57c2c75c755..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsWebTest_UpdateExpanded.cs +++ /dev/null @@ -1,652 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Cmdlets -{ - using static Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Extensions; - using System; - - /// Creates or updates an Application Insights web test definition. - /// - /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/webtests/{webTestName}" - /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzApplicationInsightsWebTest_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest))] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Description(@"Creates or updates an Application Insights web test definition.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Generated] - public partial class SetAzApplicationInsightsWebTest_UpdateExpanded : global::System.Management.Automation.PSCmdlet, - Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener - { - /// A unique id generatd for the this cmdlet when it is instantiated. - private string __correlationId = System.Guid.NewGuid().ToString(); - - /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) - private global::System.Management.Automation.InvocationInfo __invocationInfo; - - /// A unique id generatd for the this cmdlet when ProcessRecord() is called. - private string __processRecordId; - - /// - /// The for this operation. - /// - private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - - /// An Application Insights WebTest definition. - private Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest _webTestDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.WebTest(); - - /// Wait for .NET debugger to attach - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter Break { get; set; } - - /// The reference to the client API class. - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ApplicationInsightsManagementClient Client => Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Module.Instance.ClientAPI; - - /// The XML specification of a WebTest to run against an application. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The XML specification of a WebTest to run against an application.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The XML specification of a WebTest to run against an application.", - SerializedName = @"WebTest", - PossibleTypes = new [] { typeof(string) })] - public string ConfigurationWebTest { get => _webTestDefinitionBody.ConfigurationWebTest ?? null; set => _webTestDefinitionBody.ConfigurationWebTest = value; } - - /// Content to look for in the return of the WebTest. Must not be null or empty. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Content to look for in the return of the WebTest. Must not be null or empty.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Content to look for in the return of the WebTest. Must not be null or empty.", - SerializedName = @"ContentMatch", - PossibleTypes = new [] { typeof(string) })] - public string ContentValidationContentMatch { get => _webTestDefinitionBody.ContentValidationContentMatch ?? null; set => _webTestDefinitionBody.ContentValidationContentMatch = value; } - - /// When set, this value makes the ContentMatch validation case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "When set, this value makes the ContentMatch validation case insensitive.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"When set, this value makes the ContentMatch validation case insensitive.", - SerializedName = @"IgnoreCase", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ContentValidationIgnoreCase { get => _webTestDefinitionBody.ContentValidationIgnoreCase ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.ContentValidationIgnoreCase = value; } - - /// - /// When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there - /// is a match - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match", - SerializedName = @"PassIfTextFound", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ContentValidationPassIfTextFound { get => _webTestDefinitionBody.ContentValidationPassIfTextFound ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.ContentValidationPassIfTextFound = value; } - - /// - /// The credentials, account, tenant, and subscription used for communication with Azure - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] - [global::System.Management.Automation.ValidateNotNull] - [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Azure)] - public global::System.Management.Automation.PSObject DefaultProfile { get; set; } - - /// User defined description for this WebTest. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User defined description for this WebTest.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"User defined description for this WebTest.", - SerializedName = @"Description", - PossibleTypes = new [] { typeof(string) })] - public string Description { get => _webTestDefinitionBody.Description ?? null; set => _webTestDefinitionBody.Description = value; } - - /// Is the test actively being monitored. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Is the test actively being monitored.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Is the test actively being monitored.", - SerializedName = @"Enabled", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => _webTestDefinitionBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.Enabled = value; } - - /// Interval in seconds between test runs for this WebTest. Default value is 300. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Interval in seconds between test runs for this WebTest. Default value is 300.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Interval in seconds between test runs for this WebTest. Default value is 300.", - SerializedName = @"Frequency", - PossibleTypes = new [] { typeof(int) })] - public int Frequency { get => _webTestDefinitionBody.Frequency ?? default(int); set => _webTestDefinitionBody.Frequency = value; } - - /// SendAsync Pipeline Steps to be appended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } - - /// SendAsync Pipeline Steps to be prepended to the front of the pipeline - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Runtime)] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - - /// Accessor for our copy of the InvocationInfo. - public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } - - /// The kind of WebTest that this web test watches. Choices are ping and multistep. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The kind of WebTest that this web test watches. Choices are ping and multistep.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The kind of WebTest that this web test watches. Choices are ping and multistep.", - SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind))] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind Kind { get => _webTestDefinitionBody.Kind ?? ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind)""); set => _webTestDefinitionBody.Kind = value; } - - /// Resource location - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource location")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"Resource location", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - public string Location { get => _webTestDefinitionBody.Location ?? null; set => _webTestDefinitionBody.Location = value; } - - /// - /// cancellation delegate. Stops the cmdlet when called. - /// - global::System.Action Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - - /// cancellation token. - global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - - /// Backing field for property. - private string _name; - - /// The name of the Application Insights WebTest resource. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Application Insights WebTest resource.")] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the Application Insights WebTest resource.", - SerializedName = @"webTestName", - PossibleTypes = new [] { typeof(string) })] - [global::System.Management.Automation.Alias("WebTestName")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Path)] - public string Name { get => this._name; set => this._name = value; } - - /// - /// The instance of the that the remote call will use. - /// - private Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.HttpPipeline Pipeline { get; set; } - - /// - /// A list of where to physically run the tests from to give global coverage for accessibility of your application. - /// - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A list of where to physically run the tests from to give global coverage for accessibility of your application.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"A list of where to physically run the tests from to give global coverage for accessibility of your application.", - SerializedName = @"Locations", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation) })] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation[] PropertiesLocations { get => _webTestDefinitionBody.PropertiesLocations ?? null /* arrayOf */; set => _webTestDefinitionBody.PropertiesLocations = value; } - - /// User defined name if this WebTest. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User defined name if this WebTest.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"User defined name if this WebTest.", - SerializedName = @"Name", - PossibleTypes = new [] { typeof(string) })] - public string PropertiesWebTestName { get => _webTestDefinitionBody.WebTestName ?? null; set => _webTestDefinitionBody.WebTestName = value; } - - /// The URI for the proxy server to use - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Runtime)] - public global::System.Uri Proxy { get; set; } - - /// Credentials for a proxy server to use for the remote call - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] - [global::System.Management.Automation.ValidateNotNull] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Runtime)] - public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } - - /// Use the default credentials for the proxy - [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Runtime)] - public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - - /// Base64 encoded string body to send with this web test. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Base64 encoded string body to send with this web test.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Base64 encoded string body to send with this web test.", - SerializedName = @"RequestBody", - PossibleTypes = new [] { typeof(string) })] - public string RequestBody { get => _webTestDefinitionBody.RequestBody ?? null; set => _webTestDefinitionBody.RequestBody = value; } - - /// Follow redirects for this web test. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Follow redirects for this web test.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Follow redirects for this web test.", - SerializedName = @"FollowRedirects", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestFollowRedirect { get => _webTestDefinitionBody.RequestFollowRedirect ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.RequestFollowRedirect = value; } - - /// List of headers and their values to add to the WebTest call. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of headers and their values to add to the WebTest call.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"List of headers and their values to add to the WebTest call.", - SerializedName = @"Headers", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField) })] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField[] RequestHeader { get => _webTestDefinitionBody.RequestHeader ?? null /* arrayOf */; set => _webTestDefinitionBody.RequestHeader = value; } - - /// Http verb to use for this web test. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http verb to use for this web test.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Http verb to use for this web test.", - SerializedName = @"HttpVerb", - PossibleTypes = new [] { typeof(string) })] - public string RequestHttpVerb { get => _webTestDefinitionBody.RequestHttpVerb ?? null; set => _webTestDefinitionBody.RequestHttpVerb = value; } - - /// Parse Dependent request for this WebTest. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parse Dependent request for this WebTest.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Parse Dependent request for this WebTest.", - SerializedName = @"ParseDependentRequests", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestParseDependentRequest { get => _webTestDefinitionBody.RequestParseDependentRequest ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.RequestParseDependentRequest = value; } - - /// Url location to test. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Url location to test.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Url location to test.", - SerializedName = @"RequestUrl", - PossibleTypes = new [] { typeof(string) })] - public string RequestUrl { get => _webTestDefinitionBody.RequestUrl ?? null; set => _webTestDefinitionBody.RequestUrl = value; } - - /// Backing field for property. - private string _resourceGroupName; - - /// The name of the resource group. The name is case insensitive. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the resource group. The name is case insensitive.", - SerializedName = @"resourceGroupName", - PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Path)] - public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } - - /// Allow for retries should this WebTest fail. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Allow for retries should this WebTest fail.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Allow for retries should this WebTest fail.", - SerializedName = @"RetryEnabled", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RetryEnabled { get => _webTestDefinitionBody.RetryEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.RetryEnabled = value; } - - /// Backing field for property. - private string _subscriptionId; - - /// The ID of the target subscription. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription.")] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The ID of the target subscription.", - SerializedName = @"subscriptionId", - PossibleTypes = new [] { typeof(string) })] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.DefaultInfo( - Name = @"", - Description =@"", - Script = @"(Get-AzContext).Subscription.Id")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Path)] - public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - - /// Unique ID of this WebTest. This is typically the same value as the Name field. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Unique ID of this WebTest. This is typically the same value as the Name field.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Unique ID of this WebTest. This is typically the same value as the Name field.", - SerializedName = @"SyntheticMonitorId", - PossibleTypes = new [] { typeof(string) })] - public string SyntheticMonitorId { get => _webTestDefinitionBody.SyntheticMonitorId ?? null; set => _webTestDefinitionBody.SyntheticMonitorId = value; } - - /// Resource tags - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource tags")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource tags", - SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebtestsResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebtestsResourceTags Tag { get => _webTestDefinitionBody.Tag ?? null /* object */; set => _webTestDefinitionBody.Tag = value; } - - /// Seconds until this WebTest will timeout and fail. Default value is 30. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Seconds until this WebTest will timeout and fail. Default value is 30.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Seconds until this WebTest will timeout and fail. Default value is 30.", - SerializedName = @"Timeout", - PossibleTypes = new [] { typeof(int) })] - public int Timeout { get => _webTestDefinitionBody.Timeout ?? default(int); set => _webTestDefinitionBody.Timeout = value; } - - /// Validate that the WebTest returns the http status code provided. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Validate that the WebTest returns the http status code provided.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Validate that the WebTest returns the http status code provided.", - SerializedName = @"ExpectedHttpStatusCode", - PossibleTypes = new [] { typeof(int) })] - public int ValidationRuleExpectedHttpStatusCode { get => _webTestDefinitionBody.ValidationRuleExpectedHttpStatusCode ?? default(int); set => _webTestDefinitionBody.ValidationRuleExpectedHttpStatusCode = value; } - - /// When set, validation will ignore the status code. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "When set, validation will ignore the status code.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"When set, validation will ignore the status code.", - SerializedName = @"IgnoreHttpsStatusCode", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ValidationRuleIgnoreHttpsStatusCode { get => _webTestDefinitionBody.ValidationRuleIgnoreHttpsStatusCode ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.ValidationRuleIgnoreHttpsStatusCode = value; } - - /// - /// A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck - /// must be set to true. - /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.", - SerializedName = @"SSLCertRemainingLifetimeCheck", - PossibleTypes = new [] { typeof(int) })] - public int ValidationRuleSslCertRemainingLifetimeCheck { get => _webTestDefinitionBody.ValidationRuleSslCertRemainingLifetimeCheck ?? default(int); set => _webTestDefinitionBody.ValidationRuleSslCertRemainingLifetimeCheck = value; } - - /// Checks to see if the SSL cert is still valid. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Checks to see if the SSL cert is still valid.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Checks to see if the SSL cert is still valid.", - SerializedName = @"SSLCheck", - PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ValidationRuleSslCheck { get => _webTestDefinitionBody.ValidationRuleSslCheck ?? default(global::System.Management.Automation.SwitchParameter); set => _webTestDefinitionBody.ValidationRuleSslCheck = value; } - - /// The kind of web test this is, valid choices are ping, multistep, and standard. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The kind of web test this is, valid choices are ping, multistep, and standard.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category(global::Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The kind of web test this is, valid choices are ping, multistep, and standard.", - SerializedName = @"Kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum))] - public Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum WebTestKind { get => _webTestDefinitionBody.WebTestKind ?? ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum)""); set => _webTestDefinitionBody.WebTestKind = value; } - - /// - /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens - /// on that response. Implement this method in a partial class to enable this behavior - /// - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call - /// /// Determines if the rest of the onOk method should be processed, or if the method should return - /// immediately (set to true to skip further processing ) - - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); - - /// - /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) - /// - protected override void BeginProcessing() - { - var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Module.Instance.GetTelemetryId.Invoke(); - if (telemetryId != "" && telemetryId != "internal") - { - __correlationId = telemetryId; - } - Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); - if (Break) - { - Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.AttachDebugger.Break(); - } - ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - - /// Performs clean-up after the command execution - protected override void EndProcessing() - { - - } - - /// Handles/Dispatches events during the call to the REST service. - /// The message id - /// The message cancellation token. When this call is cancelled, this should be true - /// Detailed message data for the message event. - /// - /// A that will be complete when handling of the message is completed. - /// - async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) - { - using( NoSynchronizationContext ) - { - if (token.IsCancellationRequested) - { - return ; - } - - switch ( id ) - { - case Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.Verbose: - { - WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.Warning: - { - WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.Information: - { - var data = messageData(); - WriteInformation(data.Message, new string[]{}); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.Debug: - { - WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); - return ; - } - case Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.Error: - { - WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); - return ; - } - } - await Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); - if (token.IsCancellationRequested) - { - return ; - } - WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); - } - } - - /// Performs execution of the command. - protected override void ProcessRecord() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - __processRecordId = System.Guid.NewGuid().ToString(); - try - { - // work - if (ShouldProcess($"Call remote 'WebTestsCreateOrUpdate' operation")) - { - using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token) ) - { - asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token); - } - } - } - catch (global::System.AggregateException aggregateException) - { - // unroll the inner exceptions to get the root cause - foreach( var innerException in aggregateException.Flatten().InnerExceptions ) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - } - catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) - { - ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - // Write exception out to error channel. - WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); - } - finally - { - ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletProcessRecordEnd).Wait(); - } - } - - /// Performs execution of the command, working asynchronously if required. - /// - /// A that will be complete when handling of the method is completed. - /// - protected async global::System.Threading.Tasks.Task ProcessRecordAsync() - { - using( NoSynchronizationContext ) - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - Pipeline = Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); - if (null != HttpPipelinePrepend) - { - Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); - } - if (null != HttpPipelineAppend) - { - Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); - } - // get the client instance - try - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebTestsCreateOrUpdate(ResourceGroupName, SubscriptionId, Name, _webTestDefinitionBody, onOk, this, Pipeline); - await ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - } - catch (Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.UndeclaredResponseException urexception) - { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,Name=Name,body=_webTestDefinitionBody}) - { - ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } - }); - } - finally - { - await ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Events.CmdletProcessRecordAsyncEnd); - } - } - } - - /// - /// Intializes a new instance of the cmdlet class. - /// - public SetAzApplicationInsightsWebTest_UpdateExpanded() - { - - } - - /// Interrupts currently running code within the command. - protected override void StopProcessing() - { - ((Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IEventListener)this).Cancel(); - base.StopProcessing(); - } - - /// a delegate that is called when the remote service returns 200 (OK). - /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call - /// - /// A that will be complete when handling of the method is completed. - /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) - { - using( NoSynchronizationContext ) - { - var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); - overrideOnOk(responseMessage, response, ref _returnNow); - // if overrideOnOk has returned true, then return right away. - if ((null != _returnNow && await _returnNow)) - { - return ; - } - // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest - WriteObject((await response)); - } - } - } -} \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/license.txt b/src/ApplicationInsights/ApplicationInsights.Autorest/license.txt deleted file mode 100644 index b9f3180fb9af..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/license.txt +++ /dev/null @@ -1,227 +0,0 @@ -MICROSOFT SOFTWARE LICENSE TERMS - -MICROSOFT AZURE POWERSHELL - -These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. - -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE. - - ------------------START OF LICENSE-------------------------- - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - --------------------END OF LICENSE------------------------------------------ - - -----------------START OF THIRD PARTY NOTICE-------------------------------- - - -The software includes the AutoMapper library ("AutoMapper"). The MIT License set out below is provided for informational purposes only. It is not the license that governs any part of the software. - -Provided for Informational Purposes Only - -AutoMapper - -The MIT License (MIT) -Copyright (c) 2010 Jimmy Bogard - - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - - - - - -*************** - -The software includes Newtonsoft.Json. The MIT License set out below is provided for informational purposes only. It is not the license that governs any part of the software. - -Newtonsoft.Json - -The MIT License (MIT) -Copyright (c) 2007 James Newton-King -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --------------END OF THIRD PARTY NOTICE---------------------------------------- - diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/resources/README.md b/src/ApplicationInsights/ApplicationInsights.Autorest/resources/README.md deleted file mode 100644 index 937f07f8fec2..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/resources/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Resources -This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. - -## Info -- Modifiable: yes -- Generated: no -- Committed: yes -- Packaged: no - -## Purpose -Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/ApplicationInsightsComponent.Recording.json b/src/ApplicationInsights/ApplicationInsights.Autorest/test/ApplicationInsightsComponent.Recording.json deleted file mode 100644 index b9e546276048..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/ApplicationInsightsComponent.Recording.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "ApplicationInsightsComponent+[NoContext]+Component+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"Application_Type\": \"web\"\r\n },\r\n \"kind\": \"web\"\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "103" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5a541b35-70a0-4a35-83a0-9c308a4fb421" ], - "X-Content-Type-Options": [ "nosniff" ], - "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], - "Access-Control-Expose-Headers": [ "Request-Context" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "7ee69ac9-37e6-4248-be3e-1ae45dd2e487" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034554Z:7ee69ac9-37e6-4248-be3e-1ae45dd2e487" ], - "Date": [ "Tue, 10 May 2022 03:45:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1082" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc\",\"name\":\"componentfu7emc\",\"type\":\"microsoft.insights/components\",\"location\":\"westus2\",\"tags\":{},\"kind\":\"web\",\"etag\":\"\\\"f600ef0d-0000-0600-0000-6279dff00000\\\"\",\"properties\":{\"Ver\":\"v2\",\"ApplicationId\":\"componentfu7emc\",\"AppId\":\"f41169cf-c2bd-4881-93e3-1965f9c4f6fe\",\"Application_Type\":\"web\",\"Flow_Type\":null,\"Request_Source\":null,\"InstrumentationKey\":\"cd8db8d9-7e94-4e94-b233-b9caa92ba02a\",\"ConnectionString\":\"InstrumentationKey=cd8db8d9-7e94-4e94-b233-b9caa92ba02a;IngestionEndpoint=https://westus2-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/\",\"Name\":\"componentfu7emc\",\"CreationDate\":\"2022-05-10T03:45:52.4014101+00:00\",\"TenantId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"provisioningState\":\"Succeeded\",\"SamplingPercentage\":null,\"RetentionInDays\":90,\"IngestionMode\":\"ApplicationInsights\",\"publicNetworkAccessForIngestion\":\"Enabled\",\"publicNetworkAccessForQuery\":\"Enabled\"}}", - "isContentBase64": false - } - }, - "ApplicationInsightsComponent+[NoContext]+Component+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "25041e79-4d37-4d0e-ad27-8ab7e5f29b24" ], - "CommandName": [ "." ], - "FullCommandName": [ "Get-AzApplicationInsights_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "Az.ApplicationInsights/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "25041e79-4d37-4d0e-ad27-8ab7e5f29b24" ], - "X-Content-Type-Options": [ "nosniff" ], - "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], - "Access-Control-Expose-Headers": [ "Request-Context" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "1a8fa56a-147e-4272-94c9-033745ca704e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034556Z:1a8fa56a-147e-4272-94c9-033745ca704e" ], - "Date": [ "Tue, 10 May 2022 03:45:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1082" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc\",\"name\":\"componentfu7emc\",\"type\":\"microsoft.insights/components\",\"location\":\"westus2\",\"tags\":{},\"kind\":\"web\",\"etag\":\"\\\"f600ef0d-0000-0600-0000-6279dff00000\\\"\",\"properties\":{\"Ver\":\"v2\",\"ApplicationId\":\"componentfu7emc\",\"AppId\":\"f41169cf-c2bd-4881-93e3-1965f9c4f6fe\",\"Application_Type\":\"web\",\"Flow_Type\":null,\"Request_Source\":null,\"InstrumentationKey\":\"cd8db8d9-7e94-4e94-b233-b9caa92ba02a\",\"ConnectionString\":\"InstrumentationKey=cd8db8d9-7e94-4e94-b233-b9caa92ba02a;IngestionEndpoint=https://westus2-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/\",\"Name\":\"componentfu7emc\",\"CreationDate\":\"2022-05-10T03:45:52.4014101+00:00\",\"TenantId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"provisioningState\":\"Succeeded\",\"SamplingPercentage\":null,\"RetentionInDays\":90,\"IngestionMode\":\"ApplicationInsights\",\"publicNetworkAccessForIngestion\":\"Enabled\",\"publicNetworkAccessForQuery\":\"Enabled\"}}", - "isContentBase64": false - } - }, - "ApplicationInsightsComponent+[NoContext]+Component+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02+3": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"key\": \"val\"\r\n },\r\n \"properties\": {\r\n \"Application_Type\": \"web\",\r\n \"RetentionInDays\": 90,\r\n \"publicNetworkAccessForIngestion\": \"Disabled\",\r\n \"publicNetworkAccessForQuery\": \"Disabled\",\r\n \"IngestionMode\": \"ApplicationInsights\"\r\n },\r\n \"kind\": \"web\",\r\n \"etag\": \"\\\"f600ef0d-0000-0600-0000-6279dff00000\\\"\"\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "368" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ebd47db3-e0a5-4a2c-8076-a7655ba240fc" ], - "X-Content-Type-Options": [ "nosniff" ], - "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], - "Access-Control-Expose-Headers": [ "Request-Context" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "036754f0-fdf5-4158-8cc8-ecd32e867613" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034622Z:036754f0-fdf5-4158-8cc8-ecd32e867613" ], - "Date": [ "Tue, 10 May 2022 03:46:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1114" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc\",\"name\":\"componentfu7emc\",\"type\":\"microsoft.insights/components\",\"location\":\"westus2\",\"tags\":{\"key\":\"val\"},\"kind\":\"web\",\"etag\":\"\\\"f600770e-0000-0600-0000-6279dff80000\\\"\",\"properties\":{\"Ver\":\"v2\",\"ApplicationId\":\"componentfu7emc\",\"AppId\":\"f41169cf-c2bd-4881-93e3-1965f9c4f6fe\",\"Application_Type\":\"web\",\"Flow_Type\":null,\"Request_Source\":null,\"InstrumentationKey\":\"cd8db8d9-7e94-4e94-b233-b9caa92ba02a\",\"ConnectionString\":\"InstrumentationKey=cd8db8d9-7e94-4e94-b233-b9caa92ba02a;IngestionEndpoint=https://westus2-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/\",\"Name\":\"componentfu7emc\",\"CreationDate\":\"2022-05-10T03:45:52.4014101+00:00\",\"TenantId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"provisioningState\":\"Succeeded\",\"SamplingPercentage\":null,\"RetentionInDays\":90,\"Retention\":\"P90D\",\"IngestionMode\":\"ApplicationInsights\",\"publicNetworkAccessForIngestion\":\"Disabled\",\"publicNetworkAccessForQuery\":\"Disabled\"}}", - "isContentBase64": false - } - }, - "ApplicationInsightsComponent+[NoContext]+Component+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/componentfu7emc?api-version=2020-02-02", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "b4c7457e-9aa7-4efb-8cea-3245d2cd0a39" ], - "CommandName": [ "Remove-AzApplicationInsights" ], - "FullCommandName": [ "Remove-AzApplicationInsights_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "Az.ApplicationInsights/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b4c7457e-9aa7-4efb-8cea-3245d2cd0a39" ], - "X-Content-Type-Options": [ "nosniff" ], - "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], - "Access-Control-Expose-Headers": [ "Request-Context" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "243893c3-611d-46aa-95a7-d76a99da04a8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034630Z:243893c3-611d-46aa-95a7-d76a99da04a8" ], - "Date": [ "Tue, 10 May 2022 03:46:30 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsWebTest.Tests.ps1 b/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsWebTest.Tests.ps1 deleted file mode 100644 index 110fa8750898..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsWebTest.Tests.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Set-AzApplicationInsightsWebTest')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzApplicationInsightsWebTest.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Set-AzApplicationInsightsWebTest' { - It 'UpdateExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/env.json b/src/ApplicationInsights/ApplicationInsights.Autorest/test/env.json deleted file mode 100644 index 00cb4aa92e10..000000000000 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/env.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "basicWebTest03": "basicwebtest-aebyvh-pwsh", - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", - "geoLocation02": "us-ca-sjc-azr", - "appInsights01Id": "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh", - "geoLocation03": "emea-ru-msa-edge", - "standardWebTest01": "standardwebtest-p7kj09-pwsh", - "component1": "componentfu7emc", - "appInsights02": "appInsights-q31ebc-pwsh", - "appInsights01": "appInsights-a5empk-pwsh", - "basicWebTest04": "basicwebtest-24kd0o-pwsh", - "resourceGroup": "appInsights-g4edrv-test", - "appInsights02Id": "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-q31ebc-pwsh", - "standardWebTest02": "standardwebtest-hpscby-pwsh", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "location": "westus2", - "geoLocation01": "emea-nl-ams-azr", - "geoLocation04": "emea-se-sto-edge" -} diff --git a/src/ApplicationInsights/ApplicationInsights.sln b/src/ApplicationInsights/ApplicationInsights.sln index 142feaa08271..a5c73538d2f1 100644 --- a/src/ApplicationInsights/ApplicationInsights.sln +++ b/src/ApplicationInsights/ApplicationInsights.sln @@ -1,69 +1,104 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 -VisualStudioVersion = 16.0.31911.196 +VisualStudioVersion = 16.0.30114.105 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApplicationInsights", "ApplicationInsights\ApplicationInsights.csproj", "{87A51B59-9020-4874-A39B-838C78468E08}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{F3091583-3EFA-4914-9C1E-FD47426F65C7}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{13BB1C60-A70E-4780-ABEF-D5EE36754085}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{88B244B2-BCC0-43B4-9629-88BF7E337956}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{6BD6B80A-06AF-4B5B-9230-69CCFC6C8D64}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{780AE1F2-1B99-48CD-969F-B5B9D6B8881D}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{1B157590-1B97-4C2E-B49D-0BCFA5343298}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{3E016018-D65D-4336-9F64-17DA97783AD0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScenarioTest.ResourceManager", "..\..\tools\ScenarioTest.ResourceManager\ScenarioTest.ResourceManager.csproj", "{F83FBA8D-732D-437C-A0E2-02E45B01E123}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Az.ApplicationInsights", "ApplicationInsights.Autorest\Az.ApplicationInsights.csproj", "{5CF89B68-7FA6-44A1-AF48-463EB560D79E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ApplicationInsights", "Az.ApplicationInsights.csproj", "{A1D58CC0-0761-4377-A7BF-057EEF736034}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {87A51B59-9020-4874-A39B-838C78468E08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {87A51B59-9020-4874-A39B-838C78468E08}.Debug|Any CPU.Build.0 = Debug|Any CPU - {87A51B59-9020-4874-A39B-838C78468E08}.Release|Any CPU.ActiveCfg = Release|Any CPU - {87A51B59-9020-4874-A39B-838C78468E08}.Release|Any CPU.Build.0 = Release|Any CPU - {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU - {6BD6B80A-06AF-4B5B-9230-69CCFC6C8D64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6BD6B80A-06AF-4B5B-9230-69CCFC6C8D64}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6BD6B80A-06AF-4B5B-9230-69CCFC6C8D64}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6BD6B80A-06AF-4B5B-9230-69CCFC6C8D64}.Release|Any CPU.Build.0 = Release|Any CPU - {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Release|Any CPU.Build.0 = Release|Any CPU - {3E016018-D65D-4336-9F64-17DA97783AD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3E016018-D65D-4336-9F64-17DA97783AD0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3E016018-D65D-4336-9F64-17DA97783AD0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3E016018-D65D-4336-9F64-17DA97783AD0}.Release|Any CPU.Build.0 = Release|Any CPU - {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Release|Any CPU.Build.0 = Release|Any CPU - {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.Build.0 = Release|Any CPU - {5CF89B68-7FA6-44A1-AF48-463EB560D79E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5CF89B68-7FA6-44A1-AF48-463EB560D79E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5CF89B68-7FA6-44A1-AF48-463EB560D79E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5CF89B68-7FA6-44A1-AF48-463EB560D79E}.Release|Any CPU.Build.0 = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {591175C5-EDCF-4D1D-80B7-5C2E3C4BFA6F} + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Debug|x64.ActiveCfg = Debug|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Debug|x64.Build.0 = Debug|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Debug|x86.ActiveCfg = Debug|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Debug|x86.Build.0 = Debug|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Release|Any CPU.Build.0 = Release|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Release|x64.ActiveCfg = Release|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Release|x64.Build.0 = Release|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Release|x86.ActiveCfg = Release|Any CPU + {F3091583-3EFA-4914-9C1E-FD47426F65C7}.Release|x86.Build.0 = Release|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Debug|x64.ActiveCfg = Debug|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Debug|x64.Build.0 = Debug|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Debug|x86.ActiveCfg = Debug|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Debug|x86.Build.0 = Debug|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Release|Any CPU.Build.0 = Release|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Release|x64.ActiveCfg = Release|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Release|x64.Build.0 = Release|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Release|x86.ActiveCfg = Release|Any CPU + {FCA07E19-C24B-462C-A2EF-C2A4DB63F40C}.Release|x86.Build.0 = Release|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Debug|Any CPU.Build.0 = Debug|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Debug|x64.ActiveCfg = Debug|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Debug|x64.Build.0 = Debug|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Debug|x86.ActiveCfg = Debug|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Debug|x86.Build.0 = Debug|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Release|Any CPU.ActiveCfg = Release|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Release|Any CPU.Build.0 = Release|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Release|x64.ActiveCfg = Release|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Release|x64.Build.0 = Release|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Release|x86.ActiveCfg = Release|Any CPU + {88B244B2-BCC0-43B4-9629-88BF7E337956}.Release|x86.Build.0 = Release|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Debug|x64.ActiveCfg = Debug|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Debug|x64.Build.0 = Debug|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Debug|x86.ActiveCfg = Debug|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Debug|x86.Build.0 = Debug|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Release|Any CPU.Build.0 = Release|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Release|x64.ActiveCfg = Release|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Release|x64.Build.0 = Release|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Release|x86.ActiveCfg = Release|Any CPU + {780AE1F2-1B99-48CD-969F-B5B9D6B8881D}.Release|x86.Build.0 = Release|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Debug|x64.ActiveCfg = Debug|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Debug|x64.Build.0 = Debug|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Debug|x86.ActiveCfg = Debug|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Debug|x86.Build.0 = Debug|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Release|Any CPU.Build.0 = Release|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Release|x64.ActiveCfg = Release|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Release|x64.Build.0 = Release|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Release|x86.ActiveCfg = Release|Any CPU + {1B157590-1B97-4C2E-B49D-0BCFA5343298}.Release|x86.Build.0 = Release|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Debug|x64.ActiveCfg = Debug|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Debug|x64.Build.0 = Debug|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Debug|x86.ActiveCfg = Debug|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Debug|x86.Build.0 = Debug|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Release|Any CPU.Build.0 = Release|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Release|x64.ActiveCfg = Release|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Release|x64.Build.0 = Release|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Release|x86.ActiveCfg = Release|Any CPU + {A1D58CC0-0761-4377-A7BF-057EEF736034}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/ApplicationInsights/ApplicationInsights/ApplicationInsights.csproj b/src/ApplicationInsights/ApplicationInsights/ApplicationInsights.csproj deleted file mode 100644 index 3fb4d57805ad..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/ApplicationInsights.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - ApplicationInsights - - - - - - - $(LegacyAssemblyPrefix)$(PsModuleName) - - - - - - - \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights/ApplicationInsights.format.ps1xml b/src/ApplicationInsights/ApplicationInsights/ApplicationInsights.format.ps1xml deleted file mode 100644 index 9ac2c20e8cc4..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/ApplicationInsights.format.ps1xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - Application Insights Table View - - Microsoft.Azure.Commands.ApplicationInsights.Models.PSApplicationInsightsComponentTableView - - - - - - Right - - - - Left - - - - Right - - - - Right - - - - Right - - - - Right - - - - Right - - - - Right - - - - - - - $_.Name - - - $_.ResourceGroupName - - - $_.Location - - - $_.InstrumentationKey - - - $_.AppId - - - $_.Id - - - $_.ProvisioningState - - - $_.Tags - - - - - - - - Application Insights Continuous export Table View - - Microsoft.Azure.Commands.ApplicationInsights.Models.PSExportConfigurationTableView - - - - - - Left - - - - Left - - - - Left - - - - Left - - - - Right - - - - - - - $_.ExportId - - - $_.DocumentTypes - - - $_.ExportStatus - - - $_.DestinationStorageAccountId - - - $_.ContainerName - - - - - - - - Application Insights API key Table View - - Microsoft.Azure.Commands.ApplicationInsights.Models.PSApiKeyTableView - - - - - - Left - - - - Left - - - - Left - - - - Left - - - - Right - - - - - - - $_.Id - - - $_.Description - - - $_.Permissions - - - $_.CreatedDate - - - $_.ApiKey - - - - - - - - diff --git a/src/ApplicationInsights/ApplicationInsights/Properties/AssemblyInfo.cs b/src/ApplicationInsights/ApplicationInsights/Properties/AssemblyInfo.cs deleted file mode 100644 index 342d34b6b58c..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,46 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Microsoft Azure Powershell - Application Insights Provider")] -[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] -[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] -[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("313dca76-acce-4948-9317-a10f12f2b28c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.3.1")] -[assembly: AssemblyFileVersion("1.3.1")] diff --git a/src/ApplicationInsights/ApplicationInsights/StartupScripts/sample.ps1 b/src/ApplicationInsights/ApplicationInsights/StartupScripts/sample.ps1 deleted file mode 100644 index 1a3d1052f460..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/StartupScripts/sample.ps1 +++ /dev/null @@ -1 +0,0 @@ -#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file. \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights/help/Az.ApplicationInsights.md b/src/ApplicationInsights/ApplicationInsights/help/Az.ApplicationInsights.md deleted file mode 100644 index 4af50e2990bc..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Az.ApplicationInsights.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -Module Name: Az.ApplicationInsights -Module Guid: {{ Update Module Guid }} -Download Help Link: {{ Update Download Link }} -Help Version: {{ Update Help Version }} -Locale: {{ Update Locale }} ---- - -# Az.ApplicationInsights Module -## Description -{{ Fill in the Description }} - -## Az.ApplicationInsights Cmdlets -### [Get-AzApplicationInsights](Get-AzApplicationInsights.md) -Returns an Application Insights component. - -### [Get-AzApplicationInsightsApiKey](Get-AzApplicationInsightsApiKey.md) -Get the API Key for this key id. - -### [Get-AzApplicationInsightsContinuousExport](Get-AzApplicationInsightsContinuousExport.md) -Get the Continuous Export configuration for this export id. - -### [Get-AzApplicationInsightsLinkedStorageAccount](Get-AzApplicationInsightsLinkedStorageAccount.md) -Returns the current linked storage settings for an Application Insights component. - -### [Get-AzApplicationInsightsWebTest](Get-AzApplicationInsightsWebTest.md) -Get a specific Application Insights web test definition. - -### [New-AzApplicationInsights](New-AzApplicationInsights.md) -Creates (or updates) an Application Insights component. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. - -### [New-AzApplicationInsightsApiKey](New-AzApplicationInsightsApiKey.md) -Create an API Key of an Application Insights component. - -### [New-AzApplicationInsightsContinuousExport](New-AzApplicationInsightsContinuousExport.md) -Create a Continuous Export configuration of an Application Insights component. - -### [New-AzApplicationInsightsLinkedStorageAccount](New-AzApplicationInsightsLinkedStorageAccount.md) -Replace current linked storage account for an Application Insights component. - -### [New-AzApplicationInsightsWebTest](New-AzApplicationInsightsWebTest.md) -Creates or updates an Application Insights web test definition. - -### [New-AzApplicationInsightsWebTestGeolocationObject](New-AzApplicationInsightsWebTestGeolocationObject.md) -Create an in-memory object for WebTestGeolocation. - -### [New-AzApplicationInsightsWebTestHeaderFieldObject](New-AzApplicationInsightsWebTestHeaderFieldObject.md) -Create a in-memory object for HeaderField - -### [Remove-AzApplicationInsights](Remove-AzApplicationInsights.md) -Deletes an Application Insights component. - -### [Remove-AzApplicationInsightsApiKey](Remove-AzApplicationInsightsApiKey.md) -Delete an API Key of an Application Insights component. - -### [Remove-AzApplicationInsightsContinuousExport](Remove-AzApplicationInsightsContinuousExport.md) -Delete a Continuous Export configuration of an Application Insights component. - -### [Remove-AzApplicationInsightsLinkedStorageAccount](Remove-AzApplicationInsightsLinkedStorageAccount.md) -Delete linked storage accounts for an Application Insights component. - -### [Remove-AzApplicationInsightsWebTest](Remove-AzApplicationInsightsWebTest.md) -Deletes an Application Insights web test. - -### [Set-AzApplicationInsightsContinuousExport](Set-AzApplicationInsightsContinuousExport.md) -Create a Continuous Export configuration of an Application Insights component. - -### [Set-AzApplicationInsightsDailyCap](Set-AzApplicationInsightsDailyCap.md) -Update current billing features for an Application Insights component. - -### [Set-AzApplicationInsightsPricingPlan](Set-AzApplicationInsightsPricingPlan.md) -Update current billing features for an Application Insights component. - -### [Set-AzApplicationInsightsWebTest](Set-AzApplicationInsightsWebTest.md) -Creates or updates an Application Insights web test definition. - -### [Update-AzApplicationInsights](Update-AzApplicationInsights.md) -Creates (or updates) an Application Insights component. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. - -### [Update-AzApplicationInsightsLinkedStorageAccount](Update-AzApplicationInsightsLinkedStorageAccount.md) -Update linked storage accounts for an Application Insights component. - -### [Update-AzApplicationInsightsWebTestTag](Update-AzApplicationInsightsWebTestTag.md) -Creates or updates an Application Insights web test definition. - diff --git a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsights.md b/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsights.md deleted file mode 100644 index e7ec13386796..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsights.md +++ /dev/null @@ -1,205 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsightscomponent -schema: 2.0.0 ---- - -# Get-AzApplicationInsights - -## SYNOPSIS -Returns an Application Insights component. - -## SYNTAX - -### ListBySubscription (Default) -``` -Get-AzApplicationInsights [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzApplicationInsights [-SubscriptionId ] -ResourceGroupName -Name [-Full] - [-DefaultProfile ] [] -``` - -### ListByResourceGroupName -``` -Get-AzApplicationInsights [-SubscriptionId ] -ResourceGroupName [-DefaultProfile ] - [] -``` - -### GetByResourceId -``` -Get-AzApplicationInsights -ResourceId [-Full] [-DefaultProfile ] [] -``` - -### GetByInputObject -``` -Get-AzApplicationInsights -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Returns an Application Insights component. - -## EXAMPLES - -### Example 1: Get application insights resource -```powershell -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -``` - -Get application insights resource - -### Example 2: Get application insights resource with pricing plan information -```powershell -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan -``` - -Get application insights resource with pricing plan information - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Full - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: Get, GetByResourceId -Aliases: IncludeDailyCap, IncludeDailyCapStatus, IncludePricingPlan - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: GetByInputObject -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, ListByResourceGroupName -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceId -The resource ID of applicationinsights component. - -```yaml -Type: System.String -Parameter Sets: GetByResourceId -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: ListBySubscription, Get, ListByResourceGroupName -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.PSApplicationInsightsComponentWithPricingPlan - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsApiKey.md deleted file mode 100644 index 79a554360e5e..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsApiKey.md +++ /dev/null @@ -1,180 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsightsapikey -schema: 2.0.0 ---- - -# Get-AzApplicationInsightsApiKey - -## SYNOPSIS -Get the API Key for this key id. - -## SYNTAX - -### List (Default) -``` -Get-AzApplicationInsightsApiKey -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzApplicationInsightsApiKey -ApiKeyId -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzApplicationInsightsApiKey -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Get the API Key for this key id. - -## EXAMPLES - -### Example 1: Get Api Keys for an application insights resource -```powershell -PS C:\> 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 -```powershell -PS C:\> Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId 7c4c61dc-b392-4aa4-992f-ee92b84e5dee -``` - -Get specific API key for an application insights resource - -## PARAMETERS - -### -ApiKeyId -The API Key ID. -This is unique within a Application Insights component. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: List, Get -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: List, Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: List, Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsContinuousExport.md deleted file mode 100644 index 9f1ef0b273e3..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsContinuousExport.md +++ /dev/null @@ -1,180 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsightscontinuousexport -schema: 2.0.0 ---- - -# Get-AzApplicationInsightsContinuousExport - -## SYNOPSIS -Get the Continuous Export configuration for this export id. - -## SYNTAX - -### List (Default) -``` -Get-AzApplicationInsightsContinuousExport -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzApplicationInsightsContinuousExport -ExportId -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzApplicationInsightsContinuousExport -InputObject - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Get the Continuous Export configuration for this export id. - -## EXAMPLES - -### Example 1: Get continuous export for an application insights resource -```powershell -PS C:\> Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -``` - -Get continuous export for an application insights resource - -### Example 2: Get continuous export for an application insights resource -```powershell -PS C:\> Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "ZJrfffySPdtG3ESn3iRxVIEFuNY=" -``` - -Get continuous export for an application insights resource - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ExportId -The Continuous Export configuration ID. -This is unique within a Application Insights component. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: List, Get -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: List, Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: List, Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportConfiguration - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsLinkedStorageAccount.md deleted file mode 100644 index 4a7ddd6cee8b..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsLinkedStorageAccount.md +++ /dev/null @@ -1,151 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsightslinkedstorageaccount -schema: 2.0.0 ---- - -# Get-AzApplicationInsightsLinkedStorageAccount - -## SYNOPSIS -Returns the current linked storage settings for an Application Insights component. - -## SYNTAX - -### Get (Default) -``` -Get-AzApplicationInsightsLinkedStorageAccount -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzApplicationInsightsLinkedStorageAccount -InputObject - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Returns the current linked storage settings for an Application Insights component. - -## EXAMPLES - -### Example 1: Get linked storage account associated with component "componentName" -```powershell -PS C:\> Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName" -``` - -Get linked storage account associated with component "componentName" - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20200301Preview.IComponentLinkedStorageAccounts - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsWebTest.md deleted file mode 100644 index 552a2790775b..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Get-AzApplicationInsightsWebTest.md +++ /dev/null @@ -1,260 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsightswebtest -schema: 2.0.0 ---- - -# Get-AzApplicationInsightsWebTest - -## SYNOPSIS -Get a specific Application Insights web test definition. - -## SYNTAX - -### List1 (Default) -``` -Get-AzApplicationInsightsWebTest [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzApplicationInsightsWebTest -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### List2 -``` -Get-AzApplicationInsightsWebTest -ResourceGroupName [-SubscriptionId ] - -AppInsightsName [-DefaultProfile ] [] -``` - -### List -``` -Get-AzApplicationInsightsWebTest -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzApplicationInsightsWebTest -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Get a specific Application Insights web test definition. - -## EXAMPLES - -### Example 1: List all Application Insights web tests under a subscription -```powershell -Get-AzApplicationInsightsWebTest -``` - -```output -Name Location WebTestKind ResourceGroupName ----- -------- ----------- ----------------- -bsaic-portal-appinsights-portal01 westus2 ping azpwsh-rg-test -basic-portal02-appinsights-portal01 westus2 ping azpwsh-rg-test -basic-portal03-appinsights-portal01 westus2 ping azpwsh-rg-test -standard-portal-appinsights-portal01 westus2 standard azpwsh-rg-test -standard-pwsh01 westus2 standard azpwsh-rg-test -``` - -This command lists all Application Insights web tests under a subscription. - -### Example 2: List all Application Insights web tests under a resource group -```powershell -Get-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -``` - -```output -Name Location WebTestKind ResourceGroupName ----- -------- ----------- ----------------- -bsaic-portal-appinsights-portal01 westus2 ping azpwsh-rg-test -basic-portal02-appinsights-portal01 westus2 ping azpwsh-rg-test -basic-portal03-appinsights-portal01 westus2 ping azpwsh-rg-test -standard-portal-appinsights-portal01 westus2 standard azpwsh-rg-test -standard-pwsh01 westus2 standard azpwsh-rg-test -``` - -This command lists all Application Insights web tests under a resource group. - -### Example 3: List all Application Insights web tests under a specific Application Insights -```powershell -Get-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -AppInsightsName appinsights-portal01 -``` - -```output -Name Location WebTestKind ResourceGroupName Enabled ----- -------- ----------- ----------------- ------- -bsaic-portal-appinsights-portal01 westus2 ping azpwsh-rg-test True -basic-portal02-appinsights-portal01 westus2 ping azpwsh-rg-test True -basic-portal03-appinsights-portal01 westus2 ping azpwsh-rg-test True -standard-portal-appinsights-portal01 westus2 standard azpwsh-rg-test True -standard-pwsh01 westus2 standard azpwsh-rg-test True -``` - -This command lists all Application Insights web tests under a specific Application Insights. - -### Example 4: Get a specific Application Insights web test definition -```powershell -Get-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name standard-pwsh01 -``` - -```output -Name Location WebTestKind ResourceGroupName Enabled ----- -------- ----------- ----------------- ------- -standard-pwsh01 westus2 standard azpwsh-rg-test True -``` - -This command gets a specific Application Insights web test definition. - -### Example 5: Get a specific Application Insights web test definition by pipeline -```powershell -$location01 = New-AzApplicationInsightsWebTestGeolocationObject -Location "emea-nl-ams-azr" -$location02 = New-AzApplicationInsightsWebTestGeolocationObject -Location "us-ca-sjc-azr" -New-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name standardwebtestpwsh03 -Location 'westus2' ` --Tag @{"hidden-link:/subscriptions/xxxxxxxxxx-xxxx-xxxxx-xxxxxxxxxxxx/resourceGroups/azpwsh-rg-test/providers/microsoft.insights/components/appinsightsportal01" = "Resource"} ` --RequestUrl "https://docs.microsoft.com/" -RequestHttpVerb "GET" ` --TestName 'standardwebtestpwsh03' ` --RuleSslCheck -RuleSslCertRemainingLifetimeCheck 7 -RuleExpectedHttpStatusCode 200 ` --Enabled -Frequency 300 -Timeout 120 -Kind "standard" -RetryEnabled -GeoLocation $location01, $location02 ` |Get-AzApplicationInsightsWebTest -``` - -```output -Name Location WebTestKind ResourceGroupName Enabled ----- -------- ----------- ----------------- ------- -standardwebtestpwsh03 westus2 standard azpwsh-rg-test True -``` - -This command gets a specific Application Insights web test definition by pipeline. - -## PARAMETERS - -### -AppInsightsName -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: List2 -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights WebTest resource. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: WebTestName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List2, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: List1, Get, List2, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsights.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsights.md deleted file mode 100644 index 3347ba8cdcb6..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsights.md +++ /dev/null @@ -1,423 +0,0 @@ ---- -external help file: -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsights -schema: 2.0.0 ---- - -# New-AzApplicationInsights - -## SYNOPSIS -Creates (or updates) an Application Insights component. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. - -## SYNTAX - -``` -New-AzApplicationInsights -Name -ResourceGroupName -Location - [-SubscriptionId ] [-ApplicationType ] [-DisableIPMasking] [-DisableLocalAuth] - [-Etag ] [-FlowType ] [-ForceCustomerStorageForProfiler] [-HockeyAppId ] - [-ImmediatePurgeDataOn30Day] [-IngestionMode ] [-Kind ] - [-PublicNetworkAccessForIngestion ] - [-PublicNetworkAccessForQuery ] [-RequestSource ] - [-RetentionInDays ] [-SamplingPercentage ] [-Tag ] [-WorkspaceResourceId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates (or updates) an Application Insights component. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. - -## EXAMPLES - -### Example 1: Create a new application insights resource -```powershell -PS C:\> New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus -``` - -Add a new application insights resource named as "test" in resource group "testgroup" with kind "java" - -## PARAMETERS - -### -ApplicationType -Type of application being monitored. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.ApplicationType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableIPMasking -Disable IP masking. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableLocalAuth -Disable Non-AAD based Auth. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Etag -Resource etag - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FlowType -Used by the Application Insights system to determine what kind of flow this component was created by. -This is to be set to 'Bluefield' when creating/updating a component via the REST API. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.FlowType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ForceCustomerStorageForProfiler -Force users to create their own storage account for profiler and debugger. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -HockeyAppId -The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ImmediatePurgeDataOn30Day -Purge data immediately after 30 days. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IngestionMode -Indicates the flow of the ingestion. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.IngestionMode -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Kind -The kind of application that this component refers to, used to customize UI. -This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationKind - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -Resource location - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PublicNetworkAccessForIngestion -The network access type for accessing Application Insights ingestion. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PublicNetworkAccessForQuery -The network access type for accessing Application Insights query. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestSource -Describes what tool created this Application Insights component. -Customers using this API should set this to the default 'rest'. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.RequestSource -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RetentionInDays -Retention period in days. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SamplingPercentage -Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. - -```yaml -Type: System.Double -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: Tags - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WorkspaceResourceId -Resource Id of the log analytics workspace which the data will be ingested to. -This property is required to create an application with this API version. -Applications from older versions will not have this property. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsApiKey.md deleted file mode 100644 index 4a643b540347..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsApiKey.md +++ /dev/null @@ -1,172 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightsapikey -schema: 2.0.0 ---- - -# New-AzApplicationInsightsApiKey - -## SYNOPSIS -Create an API Key of an Application Insights component. - -## SYNTAX - -``` -New-AzApplicationInsightsApiKey -ResourceGroupName -Name [-SubscriptionId ] - -Description -Permissions [-DefaultProfile ] [-WhatIf] [-Confirm] - [] -``` - -## DESCRIPTION -Create an API Key of an Application Insights component. - -## EXAMPLES - -### Example 1: Create a new Api Key for an application insights resource -```powershell -PS C:\> $apiKeyDescription = "testapiKey" -PS C:\> $permissions = @("ReadTelemetry", "WriteAnnotations") -PS C:\> New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions -``` - -Create a new Api Key for an application insights resource - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Description -The name of the API Key. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Permissions -The read access rights of this API Key. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentApiKey - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsContinuousExport.md deleted file mode 100644 index db96942cbdda..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsContinuousExport.md +++ /dev/null @@ -1,253 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightscontinuousexport -schema: 2.0.0 ---- - -# New-AzApplicationInsightsContinuousExport - -## SYNOPSIS -Create a Continuous Export configuration of an Application Insights component. - -## SYNTAX - -``` -New-AzApplicationInsightsContinuousExport -ResourceGroupName -Name [-SubscriptionId ] - [-DestinationType ] [-NotificationQueueEnabled ] [-NotificationQueueUri ] - [-DocumentType ] [-StorageAccountId ] [-StorageLocation ] [-StorageSASUri ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Create a Continuous Export configuration of an Application Insights component. - -## EXAMPLES - -### Example 1: Create a new continuous export configuration for an application insights resource -```powershell -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` --DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus ` --StorageSASUri $sasuri -``` - -Create a new application insights continuous export configuration to export "Request" and "Trace" document types to storage contain "testcontainer" in storage account "teststorageaccount" in resource group "testgroup". -The SAS token have to be valid and have write permission to the container, otherwise continuous export feature won't work.If SAS token expired, the continuous export feature will stop working. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DestinationType -The Continuous Export destination type. -This has to be 'Blob'. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DocumentType -{{ Fill DocumentType Description }} - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NotificationQueueEnabled -Deprecated - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NotificationQueueUri -Deprecated - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAccountId -The name of destination storage account. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageLocation -The location ID of the destination storage container. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageSASUri -The SAS URL for the destination storage container. -It must grant write permission. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportConfiguration - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsLinkedStorageAccount.md deleted file mode 100644 index 547647d42274..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsLinkedStorageAccount.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightslinkedstorageaccount -schema: 2.0.0 ---- - -# New-AzApplicationInsightsLinkedStorageAccount - -## SYNOPSIS -Replace current linked storage account for an Application Insights component. - -## SYNTAX - -``` -New-AzApplicationInsightsLinkedStorageAccount -Name -ResourceGroupName - [-SubscriptionId ] [-LinkedStorageAccountResourceId ] [-DefaultProfile ] [-WhatIf] - [-Confirm] [] -``` - -## DESCRIPTION -Replace current linked storage account for an Application Insights component. - -## EXAMPLES - -### Example 1: Create an application insights linked storage account -```powershell -PS C:\> $account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | New-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id -``` - -Create linked storage account $account under component "componentName" - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -LinkedStorageAccountResourceId -Linked storage account resource ID - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20200301Preview.IComponentLinkedStorageAccounts - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTest.md deleted file mode 100644 index 7bcfc543abeb..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTest.md +++ /dev/null @@ -1,603 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightswebtest -schema: 2.0.0 ---- - -# New-AzApplicationInsightsWebTest - -## SYNOPSIS -Creates or updates an Application Insights web test definition. - -## SYNTAX - -### CreateStandard (Default) -``` -New-AzApplicationInsightsWebTest -Name -ResourceGroupName [-SubscriptionId ] - -Location [-ContentIgnoreCase] [-ContentMatch ] [-ContentPassIfTextFound] - [-Description ] [-Enabled] [-Frequency ] [-GeoLocation ] - [-Kind ] [-RequestBody ] [-RequestFollowRedirect] [-RequestHeader ] - [-RequestHttpVerb ] [-RequestParseDependent] [-RequestUrl ] [-RetryEnabled] - [-RuleExpectedHttpStatusCode ] [-RuleIgnoreHttpsStatusCode] - [-RuleSslCertRemainingLifetimeCheck ] [-RuleSslCheck] [-Tag ] [-TestName ] - [-Timeout ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -### CreateClassic -``` -New-AzApplicationInsightsWebTest -Name -ResourceGroupName [-SubscriptionId ] - -Location [-ContentMatch ] [-Description ] [-Enabled] [-Frequency ] - [-GeoLocation ] [-Kind ] [-RequestParseDependent] - [-RequestUrl ] [-RetryEnabled] [-RuleExpectedHttpStatusCode ] [-Tag ] - [-TestName ] [-Timeout ] [-Configuration ] [-DefaultProfile ] [-WhatIf] - [-Confirm] [] -``` - -## DESCRIPTION -Creates or updates an Application Insights web test definition. - -## EXAMPLES - -### Example 1: Creates or updates an standard kind of the Application Insights web test -```powershell -$geoLocation = @() -$geoLocation += New-AzApplicationInsightsWebTestGeolocationObject -Location "emea-nl-ams-azr" -$geoLocation += New-AzApplicationInsightsWebTestGeolocationObject -Location "us-ca-sjc-azr" -New-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name standard-pwsh01 -Location 'westus2' ` --Tag @{"hidden-link:/subscriptions/xxxxxxxxxx-xxxx-xxxxx-xxxxxxxxxxxx/resourceGroups/azpwsh-rg-test/providers/microsoft.insights/components/appinsights-portal01" = "Resource"} ` --RequestUrl "https://www.bing.com" -RequestHttpVerb "GET" -TestName 'standard-pwsh01' ` --RuleExpectedHttpStatusCode 200 -Frequency 300 -Enabled -Timeout 120 -Kind 'standard' -RetryEnabled -GeoLocation $geoLocation -``` - -```output -Name Location WebTestKind ResourceGroupName Enabled ----- -------- ----------- ----------------- ------- -standard-pwsh01 westus2 standard azpwsh-rg-test True -``` - -This command creates or updates an standard kind of the Application Insights web test. - -We enter hidden-link in the `Tag` parameter to associate WebTest and Application Insights. - -### Example 2: Creates or updates an ping kind of the Application Insights web test -```powershell -$geoLocation = @() -$geoLocation += New-AzApplicationInsightsWebTestGeolocationObject -Location "emea-nl-ams-azr" -$geoLocation += New-AzApplicationInsightsWebTestGeolocationObject -Location "us-ca-sjc-azr" -New-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name 'pingwebtest-pwsh01' -TestName 'pingwentest-pwsh01testname' -Location 'westus2' ` --Tag @{"hidden-link:/subscriptions/xxxxxxxxxx-xxxx-xxxxx-xxxxxxxxxxxx/resourceGroups/azpwsh-rg-test/providers/microsoft.insights/components/appinsights-portal01" = "Resource"} ` --GeoLocation $geoLocation -RetryEnabled -Enabled -Frequency 300 -Timeout 90 ` --Kind 'ping' -RequestUrl 'https://cn.bing.com' -RequestParseDependent -RuleExpectedHttpStatusCode 200 ` --ContentMatch "status" -``` - -```output -Name Location WebTestKind ResourceGroupName Enabled ----- -------- ----------- ----------------- ------- -pingwebtest-pwsh01 westus2 ping azpwsh-rg-test True -``` - -This command creates or updates an ping kind of the Application Insights web test. - -### Example 3: Creates or updates an ping kind of the Application Insights web test with custom configuration -```powershell -$geoLocation = @() -$geoLocation += New-AzApplicationInsightsWebTestGeolocationObject -Location "emea-nl-ams-azr" -$geoLocation += New-AzApplicationInsightsWebTestGeolocationObject -Location "us-ca-sjc-azr" -New-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name 'pingwebtest-pwsh01' -TestName 'pingwentest-pwsh01testname' -Location 'westus2' ` --Tag @{"hidden-link:/subscriptions/xxxxxxxxxx-xxxx-xxxxx-xxxxxxxxxxxx/resourceGroups/azpwsh-rg-test/providers/microsoft.insights/components/appinsights-portal01" = "Resource"} ` --GeoLocation $geoLocation -RetryEnabled -Enabled -Frequency 300 -Timeout 90 ` --Kind 'ping' ` --Configuration " - - - - - - - - - - - - - -" -``` - -```output -Name Location WebTestKind ResourceGroupName Enabled ----- -------- ----------- ----------------- ------- -pingwebtest-pwsh01 westus2 ping azpwsh-rg-test True -``` - -This command creates or updates an ping kind of the Application Insights web test with custom configuration. - -## PARAMETERS - -### -Configuration -The XML specification of a WebTest to run against an application. - -```yaml -Type: System.String -Parameter Sets: CreateClassic -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentIgnoreCase -When set, this value makes the ContentMatch validation case insensitive. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentMatch -Content to look for in the return of the WebTest. -Must not be null or empty. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentPassIfTextFound -When true, validation will pass if there is a match for the ContentMatch string. -If false, validation will fail if there is a match - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Description -User defined description for this WebTest. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Enabled -Is the test actively being monitored. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Frequency -Interval in seconds between test runs for this WebTest. -Default value is 300. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -GeoLocation -A list of where to physically run the tests from to give global coverage for accessibility of your application. -To construct, see NOTES section for GEOLOCATION properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Kind -The kind of web test this is, valid choices are ping, multistep, and standard. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -Resource location - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights WebTest resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: WebTestName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestBody -Base64 encoded string body to send with this web test. - -```yaml -Type: System.String -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestFollowRedirect -Follow redirects for this web test. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestHeader -List of headers and their values to add to the WebTest call. -To construct, see NOTES section for REQUESTHEADER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField[] -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestHttpVerb -Http verb to use for this web test. - -```yaml -Type: System.String -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestParseDependent -Parse Dependent request for this WebTest. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestUrl -Url location to test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RetryEnabled -Allow for retries should this WebTest fail. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RuleExpectedHttpStatusCode -Validate that the WebTest returns the http status code provided. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RuleIgnoreHttpsStatusCode -When set, validation will ignore the status code. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RuleSslCertRemainingLifetimeCheck -A number of days to check still remain before the the existing SSL cert expires. -Value must be positive and the SSLCheck must be set to true. - -```yaml -Type: System.Int32 -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RuleSslCheck -Checks to see if the SSL cert is still valid. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: CreateStandard -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TestName -User defined name if this WebTest. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Timeout -Seconds until this WebTest will timeout and fail. -Default value is 30. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest - -## 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. - - -GEOLOCATION : A list of where to physically run the tests from to give global coverage for accessibility of your application. - - `[Location ]`: Location ID for the WebTest to run from. - -REQUESTHEADER : List of headers and their values to add to the WebTest call. - - `[Name ]`: The name of the header. - - `[Value ]`: The value of the header. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTestGeolocationObject.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTestGeolocationObject.md deleted file mode 100644 index b017361c8341..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTestGeolocationObject.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.ApplicationInsights/new-AzApplicationInsightsWebTestGeolocationObject -schema: 2.0.0 ---- - -# New-AzApplicationInsightsWebTestGeolocationObject - -## SYNOPSIS -Create an in-memory object for WebTestGeolocation. - -## SYNTAX - -``` -New-AzApplicationInsightsWebTestGeolocationObject [-Location ] [] -``` - -## DESCRIPTION -Create an in-memory object for WebTestGeolocation. - -## EXAMPLES - -### Example 1: Create a in-memory object for WebTestGeolocation -```powershell -New-AzApplicationInsightsWebTestGeolocationObject -Location "emea-nl-ams-azr" -``` - -```output -Location --------- -emea-nl-ams-azr -``` - -This command creates a memory object for WebTestGeolocation. -As value of the `GeoLocation` parameter in `New-AzApplicationInsightsWebTest`. - -## PARAMETERS - -### -Location -Location ID for the WebTest to run from. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.WebTestGeolocation - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTestHeaderFieldObject.md b/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTestHeaderFieldObject.md deleted file mode 100644 index 127b0aefe64c..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/New-AzApplicationInsightsWebTestHeaderFieldObject.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.ApplicationInsights/new-AzApplicationInsightsWebTestHeaderFieldObject -schema: 2.0.0 ---- - -# New-AzApplicationInsightsWebTestHeaderFieldObject - -## SYNOPSIS -Create a in-memory object for HeaderField - -## SYNTAX - -``` -New-AzApplicationInsightsWebTestHeaderFieldObject [-Name ] [-Value ] [] -``` - -## DESCRIPTION -Create a in-memory object for HeaderField - -## EXAMPLES - -### Example 1: Create a in-memory object for HeaderField -```powershell -New-AzApplicationInsightsWebTestHeaderFieldObject -Name 'version' -Value '2.0.1' -``` - -```output -Name Value ----- ----- -version 2.0.1 -``` - -This command creates a in-memory object for HeaderField, As value of the `RequestHeader` parameter in `New-AzApplicationInsightsWebTest`. - -## PARAMETERS - -### -Name -The name of the header. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Value -The value of the header. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.HeaderField - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsights.md b/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsights.md deleted file mode 100644 index 6d4920cc42b3..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsights.md +++ /dev/null @@ -1,197 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/remove-azapplicationinsights -schema: 2.0.0 ---- - -# Remove-AzApplicationInsights - -## SYNOPSIS -Deletes an Application Insights component. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzApplicationInsights -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] -``` - -### DeleteViaIdentity -``` -Remove-AzApplicationInsights -InputObject [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Deletes an Application Insights component. - -## EXAMPLES - -### Example 1: Remove an application insights resource -```powershell -PS C:\> Remove-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -PassThru -``` - -Remove an application insights resource named "test" in resource group "testgroup" - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### System.Boolean - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsApiKey.md deleted file mode 100644 index 14df15af7bcd..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsApiKey.md +++ /dev/null @@ -1,198 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/remove-azapplicationinsightsapikey -schema: 2.0.0 ---- - -# Remove-AzApplicationInsightsApiKey - -## SYNOPSIS -Delete an API Key of an Application Insights component. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzApplicationInsightsApiKey -ApiKeyId -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -### DeleteViaIdentity -``` -Remove-AzApplicationInsightsApiKey -InputObject [-DefaultProfile ] - [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Delete an API Key of an Application Insights component. - -## EXAMPLES - -### Example 1: Remove an application insights api key for an application insights resource -```powershell -PS C:\> Remove-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-99c29aa0f867 -PassThru -``` - -Remove an application insights api key for an application insights resource - -## PARAMETERS - -### -ApiKeyId -The API Key ID. -This is unique within a Application Insights component. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsContinuousExport.md deleted file mode 100644 index 255e4d490f7a..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsContinuousExport.md +++ /dev/null @@ -1,198 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/remove-azapplicationinsightscontinuousexport -schema: 2.0.0 ---- - -# Remove-AzApplicationInsightsContinuousExport - -## SYNOPSIS -Delete a Continuous Export configuration of an Application Insights component. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzApplicationInsightsContinuousExport -ExportId -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -### DeleteViaIdentity -``` -Remove-AzApplicationInsightsContinuousExport -InputObject - [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Delete a Continuous Export configuration of an Application Insights component. - -## EXAMPLES - -### Example 1: Remove a continuous export configuration in an application insights resource -```powershell -PS C:\> Remove-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "uGOoki0jQsyEs3IdQ83Q4QsNr4=" -PassThru -``` - -Remove a continuous export configuration in an application insights resource - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ExportId -The Continuous Export configuration ID. -This is unique within a Application Insights component. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportConfiguration - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsLinkedStorageAccount.md deleted file mode 100644 index 7b8d7968912f..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsLinkedStorageAccount.md +++ /dev/null @@ -1,197 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/remove-azapplicationinsightslinkedstorageaccount -schema: 2.0.0 ---- - -# Remove-AzApplicationInsightsLinkedStorageAccount - -## SYNOPSIS -Delete linked storage accounts for an Application Insights component. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzApplicationInsightsLinkedStorageAccount -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] -``` - -### DeleteViaIdentity -``` -Remove-AzApplicationInsightsLinkedStorageAccount -InputObject - [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Delete linked storage accounts for an Application Insights component. - -## EXAMPLES - -### Example 1: Delete linked storage account associated with application insights component "componentName" -```powershell -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Remove-AzApplicationInsightsLinkedStorageAccount -``` - -Delete linked storage account associated with application insights component "componentName" - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### System.Boolean - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsWebTest.md deleted file mode 100644 index 106a03297270..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Remove-AzApplicationInsightsWebTest.md +++ /dev/null @@ -1,204 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/remove-azapplicationinsightswebtest -schema: 2.0.0 ---- - -# Remove-AzApplicationInsightsWebTest - -## SYNOPSIS -Deletes an Application Insights web test. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzApplicationInsightsWebTest -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] -``` - -### DeleteViaIdentity -``` -Remove-AzApplicationInsightsWebTest -InputObject [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Deletes an Application Insights web test. - -## EXAMPLES - -### Example 1: Deletes an Application Insights web test -```powershell -Remove-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name standardwebtest01-lucasappinsights -``` - -This command deletes an Application Insights web test. - -### Example 2: Deletes an Application Insights web test by pipeline -```powershell -Get-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -Name webtest01-lucasappinsights | Remove-AzApplicationInsightsWebTest -``` - -This command deletes an Application Insights web test by pipeline. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights WebTest resource. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: WebTestName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### System.Boolean - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsContinuousExport.md deleted file mode 100644 index ea35a15fd309..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsContinuousExport.md +++ /dev/null @@ -1,286 +0,0 @@ ---- -external help file: -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightscontinuousexport -schema: 2.0.0 ---- - -# Set-AzApplicationInsightsContinuousExport - -## SYNOPSIS -Create a Continuous Export configuration of an Application Insights component. - -## SYNTAX - -``` -Set-AzApplicationInsightsContinuousExport -ExportId -Name -ResourceGroupName - [-SubscriptionId ] [-DestinationType ] [-DisableConfiguration] [-DocumentType ] - [-NotificationQueueEnabled ] [-NotificationQueueUri ] [-StorageAccountId ] - [-StorageLocation ] [-StorageSASUri ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Create a Continuous Export configuration of an Application Insights component. - -## EXAMPLES - -### Example 1: Update continuous export configuration -```powershell -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" --DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus --StorageSASUri $sasuri -``` - -Update continuous export configuration "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" of resource "test" in resource group "testgroup" to export "Request" and "Trace" documents to storage container "testcontainer" in "teststorageaccount".The SAS token have to be valid and have write permission to the container, otherwise continuous export feature won't work. -If SAS token expired, the continuous export feature will stop working. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DestinationType -The Continuous Export destination type. -This has to be 'Blob'. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableConfiguration - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DocumentType - - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ExportId -The Continuous Export configuration ID. -This is unique within a Application Insights component. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NotificationQueueEnabled -Deprecated - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NotificationQueueUri -Deprecated - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAccountId -The name of destination storage account. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageLocation -The location ID of the destination storage container. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageSASUri -The SAS URL for the destination storage container. -It must grant write permission. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportConfiguration - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsDailyCap.md b/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsDailyCap.md deleted file mode 100644 index 53cd5d079044..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsDailyCap.md +++ /dev/null @@ -1,170 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightsdailycap -schema: 2.0.0 ---- - -# Set-AzApplicationInsightsDailyCap - -## SYNOPSIS -Update current billing features for an Application Insights component. - -## SYNTAX - -``` -Set-AzApplicationInsightsDailyCap -ResourceGroupName -Name [-SubscriptionId ] - [-DailyCapGB ] [-DisableNotificationWhenHitCap] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] -``` - -## DESCRIPTION -Update current billing features for an Application Insights component. - -## EXAMPLES - -### Example 1: Set daily data volume cap for an application insights resource -```powershell -PS C:\> Set-AzApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -DailyCapGB 400 -DisableNotificationWhenHitCap -``` - -Set the daily data volume cap to 400GB per day and stop send notification when hit cap for resource "test" in resource group "testgroup" - -## PARAMETERS - -### -DailyCapGB -Daily data volume cap in GB. - -```yaml -Type: System.Double -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableNotificationWhenHitCap -Stop send notification when hit cap. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentBillingFeatures - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsPricingPlan.md b/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsPricingPlan.md deleted file mode 100644 index 7e57e4cd3475..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsPricingPlan.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightspricingplan -schema: 2.0.0 ---- - -# Set-AzApplicationInsightsPricingPlan - -## SYNOPSIS -Update current billing features for an Application Insights component. - -## SYNTAX - -``` -Set-AzApplicationInsightsPricingPlan -ResourceGroupName -Name [-SubscriptionId ] - [-PricingPlan ] [-DailyCapGB ] [-DisableNotificationWhenHitCap] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Update current billing features for an Application Insights component. - -## EXAMPLES - -### Example 1: Set pricing plan and daily data volume information for an application insights resource -```powershell -PS C:\> Set-AzApplicationInsightsPricingPlan -ResourceGroupName "testgroup" -Name "test" -PricingPlan "Basic" -DailyCapGB 400 -``` - -Set the pricing plan to "Basic", set the daily data volume cap to 400GB per day and stop send notification when hit cap for resource "test" in resource group "testgroup" - -## PARAMETERS - -### -DailyCapGB -Daily data volume cap in GB. - -```yaml -Type: System.Double -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableNotificationWhenHitCap -Stop send notification when hit cap. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PricingPlan -Current enabled pricing plan. -When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentBillingFeatures - -## NOTES - -ALIASES - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsWebTest.md deleted file mode 100644 index 797215e35c10..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Set-AzApplicationInsightsWebTest.md +++ /dev/null @@ -1,569 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightswebtest -schema: 2.0.0 ---- - -# Set-AzApplicationInsightsWebTest - -## SYNOPSIS -Creates or updates an Application Insights web test definition. - -## SYNTAX - -``` -Set-AzApplicationInsightsWebTest -Name -ResourceGroupName [-SubscriptionId ] - -Location [-ConfigurationWebTest ] [-ContentValidationContentMatch ] - [-ContentValidationIgnoreCase] [-ContentValidationPassIfTextFound] [-Description ] [-Enabled] - [-Frequency ] [-Kind ] [-PropertiesLocations ] - [-PropertiesWebTestName ] [-RequestBody ] [-RequestFollowRedirect] - [-RequestHeader ] [-RequestHttpVerb ] [-RequestParseDependentRequest] - [-RequestUrl ] [-RetryEnabled] [-SyntheticMonitorId ] [-Tag ] [-Timeout ] - [-ValidationRuleExpectedHttpStatusCode ] [-ValidationRuleIgnoreHttpsStatusCode] - [-ValidationRuleSslCertRemainingLifetimeCheck ] [-ValidationRuleSslCheck] - [-WebTestKind ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Creates or updates an Application Insights web test definition. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ConfigurationWebTest -The XML specification of a WebTest to run against an application. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentValidationContentMatch -Content to look for in the return of the WebTest. -Must not be null or empty. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentValidationIgnoreCase -When set, this value makes the ContentMatch validation case insensitive. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContentValidationPassIfTextFound -When true, validation will pass if there is a match for the ContentMatch string. -If false, validation will fail if there is a match - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Description -User defined description for this WebTest. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Enabled -Is the test actively being monitored. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Frequency -Interval in seconds between test runs for this WebTest. -Default value is 300. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Kind -The kind of WebTest that this web test watches. -Choices are ping and multistep. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -Resource location - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights WebTest resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: WebTestName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PropertiesLocations -A list of where to physically run the tests from to give global coverage for accessibility of your application. -To construct, see NOTES section for PROPERTIESLOCATIONS properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PropertiesWebTestName -User defined name if this WebTest. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestBody -Base64 encoded string body to send with this web test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestFollowRedirect -Follow redirects for this web test. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestHeader -List of headers and their values to add to the WebTest call. -To construct, see NOTES section for REQUESTHEADER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestHttpVerb -Http verb to use for this web test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestParseDependentRequest -Parse Dependent request for this WebTest. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestUrl -Url location to test. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RetryEnabled -Allow for retries should this WebTest fail. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SyntheticMonitorId -Unique ID of this WebTest. -This is typically the same value as the Name field. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Timeout -Seconds until this WebTest will timeout and fail. -Default value is 30. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleExpectedHttpStatusCode -Validate that the WebTest returns the http status code provided. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleIgnoreHttpsStatusCode -When set, validation will ignore the status code. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleSslCertRemainingLifetimeCheck -A number of days to check still remain before the the existing SSL cert expires. -Value must be positive and the SSLCheck must be set to true. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidationRuleSslCheck -Checks to see if the SSL cert is still valid. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WebTestKind -The kind of web test this is, valid choices are ping, multistep, and standard. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest - -## 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. - - -PROPERTIESLOCATIONS : A list of where to physically run the tests from to give global coverage for accessibility of your application. - - `[Location ]`: Location ID for the WebTest to run from. - -REQUESTHEADER : List of headers and their values to add to the WebTest call. - - `[Name ]`: The name of the header. - - `[Value ]`: The value of the header. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsights.md b/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsights.md deleted file mode 100644 index bc21dc81690d..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsights.md +++ /dev/null @@ -1,392 +0,0 @@ ---- -external help file: -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsights -schema: 2.0.0 ---- - -# Update-AzApplicationInsights - -## SYNOPSIS -Creates (or updates) an Application Insights component. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. - -## SYNTAX - -``` -Update-AzApplicationInsights -Name -ResourceGroupName [-SubscriptionId ] - [-ApplicationType ] [-DisableIPMasking] [-DisableLocalAuth] [-Etag ] - [-FlowType ] [-ForceCustomerStorageForProfiler] [-HockeyAppId ] - [-ImmediatePurgeDataOn30Day] [-IngestionMode ] - [-PublicNetworkAccessForIngestion ] - [-PublicNetworkAccessForQuery ] [-RequestSource ] - [-RetentionInDays ] [-SamplingPercentage ] [-Tag ] [-WorkspaceResourceId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates (or updates) an Application Insights component. -Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. - -## EXAMPLES - -### Example 1: Update application insights component -```powershell -PS C:\> Update-AzApplicationInsights -ResourceGroupName "rgName" -Name "aiName" -PublicNetworkAccessForIngestion "Disabled" -PublicNetworkAccessForQuery "Disabled" -``` - -update application insights component "aiName" PublicNetworkAccessForIngestion/PublicNetworkAccessForQuery both to "Disabled" - -## PARAMETERS - -### -ApplicationType -Type of application being monitored. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.ApplicationType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableIPMasking -Disable IP masking. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableLocalAuth -Disable Non-AAD based Auth. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Etag -Resource etag - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FlowType -Used by the Application Insights system to determine what kind of flow this component was created by. -This is to be set to 'Bluefield' when creating/updating a component via the REST API. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.FlowType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ForceCustomerStorageForProfiler -Force users to create their own storage account for profiler and debugger. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -HockeyAppId -The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ImmediatePurgeDataOn30Day -Purge data immediately after 30 days. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IngestionMode -Indicates the flow of the ingestion. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.IngestionMode -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PublicNetworkAccessForIngestion -The network access type for accessing Application Insights ingestion. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PublicNetworkAccessForQuery -The network access type for accessing Application Insights query. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RequestSource -Describes what tool created this Application Insights component. -Customers using this API should set this to the default 'rest'. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.RequestSource -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RetentionInDays -Retention period in days. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SamplingPercentage -Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. - -```yaml -Type: System.Double -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: Tags - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WorkspaceResourceId -Resource Id of the log analytics workspace which the data will be ingested to. -This property is required to create an application with this API version. -Applications from older versions will not have this property. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsightsLinkedStorageAccount.md deleted file mode 100644 index 243125df205d..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsightsLinkedStorageAccount.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/update-azapplicationinsightslinkedstorageaccount -schema: 2.0.0 ---- - -# Update-AzApplicationInsightsLinkedStorageAccount - -## SYNOPSIS -Update linked storage accounts for an Application Insights component. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzApplicationInsightsLinkedStorageAccount -Name -ResourceGroupName - [-SubscriptionId ] [-LinkedStorageAccountResourceId ] [-DefaultProfile ] [-WhatIf] - [-Confirm] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzApplicationInsightsLinkedStorageAccount -InputObject - [-LinkedStorageAccountResourceId ] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] -``` - -## DESCRIPTION -Update linked storage accounts for an Application Insights component. - -## EXAMPLES - -### Example 1: Update linked storage account -```powershell -PS C:\> $account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Update-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id -``` - -Update linked storage account under component "componentName" to associate with $account - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -LinkedStorageAccountResourceId -Linked storage account resource ID - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights component resource. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ApplicationInsightsComponentName, ComponentName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20200301Preview.IComponentLinkedStorageAccounts - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsightsWebTestTag.md b/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsightsWebTestTag.md deleted file mode 100644 index b8d0b9d486e4..000000000000 --- a/src/ApplicationInsights/ApplicationInsights/help/Update-AzApplicationInsightsWebTestTag.md +++ /dev/null @@ -1,216 +0,0 @@ ---- -external help file: Az.ApplicationInsights-help.xml -Module Name: Az.ApplicationInsights -online version: https://docs.microsoft.com/powershell/module/az.applicationinsights/update-azapplicationinsightswebtesttag -schema: 2.0.0 ---- - -# Update-AzApplicationInsightsWebTestTag - -## SYNOPSIS -Creates or updates an Application Insights web test definition. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzApplicationInsightsWebTestTag -Name -ResourceGroupName [-SubscriptionId ] - [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzApplicationInsightsWebTestTag -InputObject [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] -``` - -## DESCRIPTION -Creates or updates an Application Insights web test definition. - -## EXAMPLES - -### Example 1: Updates Application Insights link of the Web test -```powershell -Update-AzApplicationInsightsWebTestTag -ResourceGroupName azpwsh-rg-test -Name webtest01-lucasappinsights -Tag @{"hidden-link:/subscriptions/xxxxxxxxxx-xxxxx-xxxx-xxxxxxxxxxxx/resourceGroups/azpwsh-rg-test/providers/microsoft.insights/components/lucasappinsights" = "Resource"} -``` - -```output -Location Name WebTestKind ResourceGroupName Enabled --------- ---- ----------- ----------------- ------- -westus2 webtest01-lucasappinsights standard azpwsh-rg-test True -``` - -This command updates Application Insights link of the Web test. - -### Example 2: Updates Application Insights link of the Web test by pipeline -```powershell -Get-AzApplicationInsightsWebTest -ResourceGroupName azpwsh-rg-test -WebTestName webtest01-lucasappinsights | Update-AzApplicationInsightsWebTestTag -Tag @{"hidden-link:/subscriptions/xxxxxxxxxx-xxxxx-xxxx-xxxxxxxxxxxx/resourceGroups/azpwsh-rg-test/providers/microsoft.insights/components/appinsightsportal01" = "Resource"} -``` - -```output -Location Name WebTestKind ResourceGroupName Enabled --------- ---- ----------- ----------------- ------- -westus2 webtest01-lucasappinsights standard azpwsh-rg-test True -``` - -This command updates Application Insights link of the Web test by pipeline. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the Application Insights WebTest resource. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest - -## 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 : Identity Parameter - - `[AnnotationId ]`: The unique annotation ID. This is unique within a Application Insights component. - - `[ComponentName ]`: The name of the Application Insights component resource. - - `[ExportId ]`: The Continuous Export configuration ID. This is unique within a Application Insights component. - - `[Id ]`: Resource identity path - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[StorageType ]`: The type of the Application Insights component data source for the linked storage account. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[WebTestName ]`: The name of the Application Insights WebTest resource. - -## RELATED LINKS diff --git a/src/ApplicationInsights/Az.ApplicationInsights.csproj b/src/ApplicationInsights/Az.ApplicationInsights.csproj new file mode 100644 index 000000000000..f2a942e91447 --- /dev/null +++ b/src/ApplicationInsights/Az.ApplicationInsights.csproj @@ -0,0 +1,7 @@ + + + ApplicationInsights + + + + diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.format.ps1xml b/src/ApplicationInsights/Az.ApplicationInsights.format.ps1xml similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.format.ps1xml rename to src/ApplicationInsights/Az.ApplicationInsights.format.ps1xml diff --git a/src/ApplicationInsights/ApplicationInsights/Az.ApplicationInsights.psd1 b/src/ApplicationInsights/Az.ApplicationInsights.psd1 similarity index 74% rename from src/ApplicationInsights/ApplicationInsights/Az.ApplicationInsights.psd1 rename to src/ApplicationInsights/Az.ApplicationInsights.psd1 index f20ce5c7afe6..8e3f38f6fd85 100644 --- a/src/ApplicationInsights/ApplicationInsights/Az.ApplicationInsights.psd1 +++ b/src/ApplicationInsights/Az.ApplicationInsights.psd1 @@ -3,22 +3,22 @@ # # Generated by: Microsoft Corporation # -# Generated on: 5/10/2022 +# Generated on: 5/16/2022 # @{ # Script module or binary module file associated with this manifest. -# RootModule = '' +RootModule = './Az.ApplicationInsights.psm1' # Version number of this module. -ModuleVersion = '1.3.1' +ModuleVersion = '0.1.0' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' # ID used to uniquely identify this module -GUID = 'e3077f56-10b0-4190-a07f-3f1e454e3a42' +GUID = '031a685e-5904-433f-b2f8-4fcef3cd15d8' # Author of this module Author = 'Microsoft Corporation' @@ -30,9 +30,7 @@ CompanyName = 'Microsoft Corporation' Copyright = 'Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module -Description = 'Microsoft Azure PowerShell - Application Insights management cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core. Creates and manages application insights in Azure Resource Manager. - -For more information on Application Insights, please visit the following: https://docs.microsoft.com/azure/application-insights/' +Description = 'Microsoft Azure PowerShell: ApplicationInsights cmdlets' # Minimum version of the PowerShell engine required by this module PowerShellVersion = '5.1' @@ -53,11 +51,10 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.5'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.6'; }) # Assemblies that must be loaded prior to importing this module -RequiredAssemblies = 'Microsoft.Azure.Management.ApplicationInsights.dll', - 'ApplicationInsights.Autorest\bin\Az.ApplicationInsights.private.dll' +RequiredAssemblies = './bin/Az.ApplicationInsights.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() @@ -66,44 +63,42 @@ RequiredAssemblies = 'Microsoft.Azure.Management.ApplicationInsights.dll', # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'ApplicationInsights.format.ps1xml', - 'ApplicationInsights.Autorest\Az.ApplicationInsights.format.ps1xml' +FormatsToProcess = './Az.ApplicationInsights.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess -NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.dll', - 'ApplicationInsights.Autorest\Az.ApplicationInsights.psm1') +# NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'Get-AzApplicationInsightsWebTest', - 'New-AzApplicationInsightsWebTest', - 'New-AzApplicationInsightsWebTestGeolocationObject', - 'New-AzApplicationInsightsWebTestHeaderFieldObject', - 'Remove-AzApplicationInsightsWebTest', - 'Update-AzApplicationInsightsWebTestTag', - 'Get-AzApplicationInsights', 'Get-AzApplicationInsightsApiKey', +FunctionsToExport = 'Get-AzApplicationInsights', 'Get-AzApplicationInsightsApiKey', 'Get-AzApplicationInsightsContinuousExport', 'Get-AzApplicationInsightsLinkedStorageAccount', - 'New-AzApplicationInsights', 'New-AzApplicationInsightsApiKey', + 'Get-AzApplicationInsightsWebTest', 'New-AzApplicationInsights', + 'New-AzApplicationInsightsApiKey', 'New-AzApplicationInsightsContinuousExport', 'New-AzApplicationInsightsLinkedStorageAccount', + 'New-AzApplicationInsightsWebTest', + 'New-AzApplicationInsightsWebTestGeolocationObject', + 'New-AzApplicationInsightsWebTestHeaderFieldObject', 'Remove-AzApplicationInsights', 'Remove-AzApplicationInsightsApiKey', 'Remove-AzApplicationInsightsContinuousExport', 'Remove-AzApplicationInsightsLinkedStorageAccount', + 'Remove-AzApplicationInsightsWebTest', 'Set-AzApplicationInsightsContinuousExport', 'Set-AzApplicationInsightsDailyCap', 'Set-AzApplicationInsightsPricingPlan', - 'Set-AzApplicationInsightsWebTest', 'Update-AzApplicationInsights', - 'Update-AzApplicationInsightsLinkedStorageAccount' + 'Update-AzApplicationInsights', + 'Update-AzApplicationInsightsLinkedStorageAccount', + 'Update-AzApplicationInsightsWebTestTag' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() # Variables to export from this module -VariablesToExport = '*' +# VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = @() +AliasesToExport = '*' # DSC resources to export from this module # DscResourcesToExport = @() @@ -120,10 +115,10 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure', 'ResourceManager', 'ARM', 'ApplicationInsights' + Tags = 'Azure','ResourceManager','ARM','PSModule','ApplicationInsights' # A URL to the license for this module. - LicenseUri = 'https://raw.githubusercontent.com/Azure/azure-powershell/dev/LICENSE.txt' + LicenseUri = 'https://aka.ms/azps-license' # A URL to the main website for this project. ProjectUri = 'https://github.com/Azure/azure-powershell' @@ -132,7 +127,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = '* Added breaking change warnings for upcoming Az.ApplicationInsights 2.0.0' + # ReleaseNotes = '' # Prerelease string of this module # Prerelease = '' @@ -145,7 +140,7 @@ PrivateData = @{ } # End of PSData hashtable -} # End of PrivateData hashtable + } # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.psm1 b/src/ApplicationInsights/Az.ApplicationInsights.psm1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/Az.ApplicationInsights.psm1 rename to src/ApplicationInsights/Az.ApplicationInsights.psm1 diff --git a/src/ApplicationInsights/ApplicationInsights/ChangeLog.md b/src/ApplicationInsights/ChangeLog.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights/ChangeLog.md rename to src/ApplicationInsights/ChangeLog.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/Properties/AssemblyInfo.cs b/src/ApplicationInsights/Properties/AssemblyInfo.cs similarity index 55% rename from src/ApplicationInsights/ApplicationInsights.Autorest/Properties/AssemblyInfo.cs rename to src/ApplicationInsights/Properties/AssemblyInfo.cs index 342d34b6b58c..340a1a39dba7 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/Properties/AssemblyInfo.cs +++ b/src/ApplicationInsights/Properties/AssemblyInfo.cs @@ -12,35 +12,17 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Microsoft Azure Powershell - Application Insights Provider")] +[assembly: AssemblyTitle("Microsoft Azure Powershell - ApplicationInsights")] [assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] [assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] [assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("313dca76-acce-4948-9317-a10f12f2b28c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.3.1")] -[assembly: AssemblyFileVersion("1.3.1")] +[assembly: CLSCompliant(false)] +[assembly: Guid("be5671f1-96ab-4e9f-bd7f-073a594c9680")] +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")] diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/README.md b/src/ApplicationInsights/README.md similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/README.md rename to src/ApplicationInsights/README.md index 01a1e7d3cb57..ab917b858d49 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/README.md +++ b/src/ApplicationInsights/README.md @@ -33,7 +33,7 @@ For information on how to develop for `Az.ApplicationInsights`, see [how-to.md]( # lock the commit branch: e1eca381eca8ec1f80b722e5dbf060fdeef48653 require: - - $(this-folder)/../../readme.azure.noprofile.md + - $(this-folder)/../readme.azure.noprofile.md input-file: - $(repo)/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/webTests_API.json - https://github.com/Azure/azure-rest-api-specs/blob/9735d8c1580e6b56e6d4508be6ec00f46e45cb77/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json @@ -73,6 +73,11 @@ directive: where: $ transform: return $.replace(/providers\/Microsoft.Insights\//g, "providers/microsoft.insights/") + - where: + subject: WebTest + verb: Set + remove: true + - where: variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ remove: true diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/build-module.ps1 b/src/ApplicationInsights/build-module.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/build-module.ps1 rename to src/ApplicationInsights/build-module.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/check-dependencies.ps1 b/src/ApplicationInsights/check-dependencies.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/check-dependencies.ps1 rename to src/ApplicationInsights/check-dependencies.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/create-model-cmdlets.ps1 b/src/ApplicationInsights/create-model-cmdlets.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/create-model-cmdlets.ps1 rename to src/ApplicationInsights/create-model-cmdlets.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Az.ApplicationInsights.custom.psm1 b/src/ApplicationInsights/custom/Az.ApplicationInsights.custom.psm1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Az.ApplicationInsights.custom.psm1 rename to src/ApplicationInsights/custom/Az.ApplicationInsights.custom.psm1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Get-AzApplicationInsights.ps1 b/src/ApplicationInsights/custom/Get-AzApplicationInsights.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Get-AzApplicationInsights.ps1 rename to src/ApplicationInsights/custom/Get-AzApplicationInsights.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSApiKey.cs b/src/ApplicationInsights/custom/Models/PSApiKey.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSApiKey.cs rename to src/ApplicationInsights/custom/Models/PSApiKey.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSApplicationInsightsComponent.cs b/src/ApplicationInsights/custom/Models/PSApplicationInsightsComponent.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSApplicationInsightsComponent.cs rename to src/ApplicationInsights/custom/Models/PSApplicationInsightsComponent.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSComponentLinkedStorageAccounts.cs b/src/ApplicationInsights/custom/Models/PSComponentLinkedStorageAccounts.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSComponentLinkedStorageAccounts.cs rename to src/ApplicationInsights/custom/Models/PSComponentLinkedStorageAccounts.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSDailyCap.cs b/src/ApplicationInsights/custom/Models/PSDailyCap.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSDailyCap.cs rename to src/ApplicationInsights/custom/Models/PSDailyCap.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSDailyCapStatus.cs b/src/ApplicationInsights/custom/Models/PSDailyCapStatus.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSDailyCapStatus.cs rename to src/ApplicationInsights/custom/Models/PSDailyCapStatus.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSExportConfiguration.cs b/src/ApplicationInsights/custom/Models/PSExportConfiguration.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSExportConfiguration.cs rename to src/ApplicationInsights/custom/Models/PSExportConfiguration.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSPrcingPlan.cs b/src/ApplicationInsights/custom/Models/PSPrcingPlan.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/PSPrcingPlan.cs rename to src/ApplicationInsights/custom/Models/PSPrcingPlan.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/Utilities.cs b/src/ApplicationInsights/custom/Models/Utilities.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Models/Utilities.cs rename to src/ApplicationInsights/custom/Models/Utilities.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsights.ps1 b/src/ApplicationInsights/custom/New-AzApplicationInsights.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsights.ps1 rename to src/ApplicationInsights/custom/New-AzApplicationInsights.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsApiKey.ps1 b/src/ApplicationInsights/custom/New-AzApplicationInsightsApiKey.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsApiKey.ps1 rename to src/ApplicationInsights/custom/New-AzApplicationInsightsApiKey.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/custom/New-AzApplicationInsightsContinuousExport.ps1 similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/custom/New-AzApplicationInsightsContinuousExport.ps1 index bc22892edb56..7caca5a308a0 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/custom/New-AzApplicationInsightsContinuousExport.ps1 @@ -18,6 +18,17 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. +.Example +PS C:\> {{ Add code here }} + +{{ Add output here }} +.Example +PS C:\> {{ Add code here }} + +{{ Add output here }} + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportConfiguration .Link https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightscontinuousexport #> diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsWebTest.ps1 b/src/ApplicationInsights/custom/New-AzApplicationInsightsWebTest.ps1 similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsWebTest.ps1 rename to src/ApplicationInsights/custom/New-AzApplicationInsightsWebTest.ps1 index 17134d7160af..8d77c430b4cf 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsWebTest.ps1 +++ b/src/ApplicationInsights/custom/New-AzApplicationInsightsWebTest.ps1 @@ -19,6 +19,28 @@ Creates or updates an Application Insights web test definition. .Description Creates or updates an Application Insights web test definition. +.Example +PS C:\> {{ Add code here }} + +{{ Add output here }} +.Example +PS C:\> {{ Add code here }} + +{{ Add output here }} + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest +.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. + +GEOLOCATION : A list of where to physically run the tests from to give global coverage for accessibility of your application. + [Location ]: Location ID for the WebTest to run from. + +REQUESTHEADER : List of headers and their values to add to the WebTest call. + [Name ]: The name of the header. + [Value ]: The value of the header. .Link https://docs.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightswebtest #> diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 b/src/ApplicationInsights/custom/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 rename to src/ApplicationInsights/custom/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/README.md b/src/ApplicationInsights/custom/README.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/README.md rename to src/ApplicationInsights/custom/README.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Set-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/custom/Set-AzApplicationInsightsContinuousExport.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Set-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/custom/Set-AzApplicationInsightsContinuousExport.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Set-AzApplicationInsightsDailyCap.ps1 b/src/ApplicationInsights/custom/Set-AzApplicationInsightsDailyCap.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Set-AzApplicationInsightsDailyCap.ps1 rename to src/ApplicationInsights/custom/Set-AzApplicationInsightsDailyCap.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Set-AzApplicationInsightsPricingPlan.ps1 b/src/ApplicationInsights/custom/Set-AzApplicationInsightsPricingPlan.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Set-AzApplicationInsightsPricingPlan.ps1 rename to src/ApplicationInsights/custom/Set-AzApplicationInsightsPricingPlan.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/Update-AzApplicationInsights.ps1 b/src/ApplicationInsights/custom/Update-AzApplicationInsights.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/Update-AzApplicationInsights.ps1 rename to src/ApplicationInsights/custom/Update-AzApplicationInsights.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/custom/autogen-model-cmdlets/New-AzApplicationInsightsWebTestGeolocationObject.ps1 b/src/ApplicationInsights/custom/autogen-model-cmdlets/New-AzApplicationInsightsWebTestGeolocationObject.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/custom/autogen-model-cmdlets/New-AzApplicationInsightsWebTestGeolocationObject.ps1 rename to src/ApplicationInsights/custom/autogen-model-cmdlets/New-AzApplicationInsightsWebTestGeolocationObject.ps1 diff --git a/src/ApplicationInsights/documentation/current-breaking-changes.md b/src/ApplicationInsights/documentation/current-breaking-changes.md deleted file mode 100644 index 0f0cb267c941..000000000000 --- a/src/ApplicationInsights/documentation/current-breaking-changes.md +++ /dev/null @@ -1,41 +0,0 @@ - - -## Current Breaking Changes \ No newline at end of file diff --git a/src/ApplicationInsights/documentation/upcoming-breaking-changes.md b/src/ApplicationInsights/documentation/upcoming-breaking-changes.md deleted file mode 100644 index e01c405de7a3..000000000000 --- a/src/ApplicationInsights/documentation/upcoming-breaking-changes.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# Upcoming Breaking Changes \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsights.md b/src/ApplicationInsights/examples/Get-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsights.md rename to src/ApplicationInsights/examples/Get-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/examples/Get-AzApplicationInsightsApiKey.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsApiKey.md rename to src/ApplicationInsights/examples/Get-AzApplicationInsightsApiKey.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/examples/Get-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/examples/Get-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/examples/Get-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/examples/Get-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/examples/Get-AzApplicationInsightsWebTest.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Get-AzApplicationInsightsWebTest.md rename to src/ApplicationInsights/examples/Get-AzApplicationInsightsWebTest.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsights.md b/src/ApplicationInsights/examples/New-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsights.md rename to src/ApplicationInsights/examples/New-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/examples/New-AzApplicationInsightsApiKey.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsApiKey.md rename to src/ApplicationInsights/examples/New-AzApplicationInsightsApiKey.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/examples/New-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/examples/New-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/examples/New-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/examples/New-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/examples/New-AzApplicationInsightsWebTest.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsWebTest.md rename to src/ApplicationInsights/examples/New-AzApplicationInsightsWebTest.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsWebTestGeolocationObject.md b/src/ApplicationInsights/examples/New-AzApplicationInsightsWebTestGeolocationObject.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsWebTestGeolocationObject.md rename to src/ApplicationInsights/examples/New-AzApplicationInsightsWebTestGeolocationObject.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsWebTestHeaderFieldObject.md b/src/ApplicationInsights/examples/New-AzApplicationInsightsWebTestHeaderFieldObject.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/New-AzApplicationInsightsWebTestHeaderFieldObject.md rename to src/ApplicationInsights/examples/New-AzApplicationInsightsWebTestHeaderFieldObject.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsights.md b/src/ApplicationInsights/examples/Remove-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsights.md rename to src/ApplicationInsights/examples/Remove-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/examples/Remove-AzApplicationInsightsApiKey.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsApiKey.md rename to src/ApplicationInsights/examples/Remove-AzApplicationInsightsApiKey.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/examples/Remove-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/examples/Remove-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/examples/Remove-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/examples/Remove-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/examples/Remove-AzApplicationInsightsWebTest.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Remove-AzApplicationInsightsWebTest.md rename to src/ApplicationInsights/examples/Remove-AzApplicationInsightsWebTest.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/examples/Set-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/examples/Set-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsDailyCap.md b/src/ApplicationInsights/examples/Set-AzApplicationInsightsDailyCap.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsDailyCap.md rename to src/ApplicationInsights/examples/Set-AzApplicationInsightsDailyCap.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsPricingPlan.md b/src/ApplicationInsights/examples/Set-AzApplicationInsightsPricingPlan.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Set-AzApplicationInsightsPricingPlan.md rename to src/ApplicationInsights/examples/Set-AzApplicationInsightsPricingPlan.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Update-AzApplicationInsights.md b/src/ApplicationInsights/examples/Update-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Update-AzApplicationInsights.md rename to src/ApplicationInsights/examples/Update-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Update-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/examples/Update-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Update-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/examples/Update-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/examples/Update-AzApplicationInsightsWebTestTag.md b/src/ApplicationInsights/examples/Update-AzApplicationInsightsWebTestTag.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/examples/Update-AzApplicationInsightsWebTestTag.md rename to src/ApplicationInsights/examples/Update-AzApplicationInsightsWebTestTag.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/export-surface.ps1 b/src/ApplicationInsights/export-surface.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/export-surface.ps1 rename to src/ApplicationInsights/export-surface.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsights.ps1 b/src/ApplicationInsights/exports/Get-AzApplicationInsights.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsights.ps1 rename to src/ApplicationInsights/exports/Get-AzApplicationInsights.ps1 index 93a44eb6c974..c80d5a47980f 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsights.ps1 +++ b/src/ApplicationInsights/exports/Get-AzApplicationInsights.ps1 @@ -20,9 +20,9 @@ Returns an Application Insights component. .Description Returns an Application Insights component. .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsApiKey.ps1 b/src/ApplicationInsights/exports/Get-AzApplicationInsightsApiKey.ps1 similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsApiKey.ps1 rename to src/ApplicationInsights/exports/Get-AzApplicationInsightsApiKey.ps1 index b5f5a000a782..5d2584492cbf 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsApiKey.ps1 +++ b/src/ApplicationInsights/exports/Get-AzApplicationInsightsApiKey.ps1 @@ -20,9 +20,9 @@ Get the API Key for this key id. .Description Get the API Key for this key id. .Example -PS C:\> Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" +Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId 7c4c61dc-b392-4aa4-992f-ee92b84e5dee +Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId 7c4c61dc-b392-4aa4-992f-ee92b84e5dee .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/exports/Get-AzApplicationInsightsContinuousExport.ps1 similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/exports/Get-AzApplicationInsightsContinuousExport.ps1 index 87f35ad5a555..7cd0251b7889 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/exports/Get-AzApplicationInsightsContinuousExport.ps1 @@ -20,9 +20,9 @@ Get the Continuous Export configuration for this export id. .Description Get the Continuous Export configuration for this export id. .Example -PS C:\> Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" +Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "ZJrfffySPdtG3ESn3iRxVIEFuNY=" +Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "ZJrfffySPdtG3ESn3iRxVIEFuNY=" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsLinkedStorageAccount.ps1 b/src/ApplicationInsights/exports/Get-AzApplicationInsightsLinkedStorageAccount.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsLinkedStorageAccount.ps1 rename to src/ApplicationInsights/exports/Get-AzApplicationInsightsLinkedStorageAccount.ps1 index 9d1a57309602..cd3a2ab56e54 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsLinkedStorageAccount.ps1 +++ b/src/ApplicationInsights/exports/Get-AzApplicationInsightsLinkedStorageAccount.ps1 @@ -20,7 +20,7 @@ Returns the current linked storage settings for an Application Insights componen .Description Returns the current linked storage settings for an Application Insights component. .Example -PS C:\> Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName" +Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsWebTest.ps1 b/src/ApplicationInsights/exports/Get-AzApplicationInsightsWebTest.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Get-AzApplicationInsightsWebTest.ps1 rename to src/ApplicationInsights/exports/Get-AzApplicationInsightsWebTest.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsights.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsights.ps1 similarity index 81% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsights.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsights.ps1 index b9e778a445dd..38ada68de059 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsights.ps1 +++ b/src/ApplicationInsights/exports/New-AzApplicationInsights.ps1 @@ -22,7 +22,7 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -PS C:\> New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus +New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent @@ -231,6 +231,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ __AllParameterSets = 'Az.ApplicationInsights.custom\New-AzApplicationInsights'; } @@ -244,6 +262,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -252,15 +271,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsApiKey.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsightsApiKey.ps1 similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsApiKey.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsightsApiKey.ps1 index b84150ae81c6..49d3b3968510 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsApiKey.ps1 +++ b/src/ApplicationInsights/exports/New-AzApplicationInsightsApiKey.ps1 @@ -20,9 +20,9 @@ Create an API Key of an Application Insights component. .Description Create an API Key of an Application Insights component. .Example -PS C:\> $apiKeyDescription = "testapiKey" -PS C:\> $permissions = @("ReadTelemetry", "WriteAnnotations") -PS C:\> New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions +$apiKeyDescription = "testapiKey" +$permissions = @("ReadTelemetry", "WriteAnnotations") +New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions .Outputs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsightsContinuousExport.ps1 similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsightsContinuousExport.ps1 index 50c736cf153d..070b60bbd7d5 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/exports/New-AzApplicationInsightsContinuousExport.ps1 @@ -20,9 +20,9 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` -DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus ` -StorageSASUri $sasuri diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsLinkedStorageAccount.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsightsLinkedStorageAccount.ps1 similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsLinkedStorageAccount.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsightsLinkedStorageAccount.ps1 index f32af5fc5540..d637777f629c 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsLinkedStorageAccount.ps1 +++ b/src/ApplicationInsights/exports/New-AzApplicationInsightsLinkedStorageAccount.ps1 @@ -20,8 +20,8 @@ Replace current linked storage account for an Application Insights component. .Description Replace current linked storage account for an Application Insights component. .Example -PS C:\> $account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | New-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id +$account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" +Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | New-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20200301Preview.IComponentLinkedStorageAccounts diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsWebTest.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsightsWebTest.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsWebTest.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsightsWebTest.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsWebTestGeolocationObject.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsightsWebTestGeolocationObject.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsWebTestGeolocationObject.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsightsWebTestGeolocationObject.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 b/src/ApplicationInsights/exports/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 rename to src/ApplicationInsights/exports/New-AzApplicationInsightsWebTestHeaderFieldObject.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/ApplicationInsights/exports/ProxyCmdletDefinitions.ps1 similarity index 92% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/ProxyCmdletDefinitions.ps1 rename to src/ApplicationInsights/exports/ProxyCmdletDefinitions.ps1 index e15dc4514114..8f8b9e15d4bf 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/ApplicationInsights/exports/ProxyCmdletDefinitions.ps1 @@ -20,9 +20,9 @@ Get the API Key for this key id. .Description Get the API Key for this key id. .Example -PS C:\> Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" +Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId 7c4c61dc-b392-4aa4-992f-ee92b84e5dee +Get-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId 7c4c61dc-b392-4aa4-992f-ee92b84e5dee .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -223,9 +223,9 @@ Get the Continuous Export configuration for this export id. .Description Get the Continuous Export configuration for this export id. .Example -PS C:\> Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" +Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "ZJrfffySPdtG3ESn3iRxVIEFuNY=" +Get-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "ZJrfffySPdtG3ESn3iRxVIEFuNY=" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -426,7 +426,7 @@ Returns the current linked storage settings for an Application Insights componen .Description Returns the current linked storage settings for an Application Insights component. .Example -PS C:\> Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName" +Get-AzApplicationInsightsLinkedStorageAccount -ResourceGroupName "rgName" -ComponentName "componentName" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -835,8 +835,8 @@ Replace current linked storage account for an Application Insights component. .Description Replace current linked storage account for an Application Insights component. .Example -PS C:\> $account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | New-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id +$account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" +Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | New-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20200301Preview.IComponentLinkedStorageAccounts @@ -1005,7 +1005,7 @@ Delete an API Key of an Application Insights component. .Description Delete an API Key of an Application Insights component. .Example -PS C:\> Remove-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-99c29aa0f867 -PassThru +Remove-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-99c29aa0f867 -PassThru .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -1202,7 +1202,7 @@ Delete a Continuous Export configuration of an Application Insights component. .Description Delete a Continuous Export configuration of an Application Insights component. .Example -PS C:\> Remove-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "uGOoki0jQsyEs3IdQ83Q4QsNr4=" -PassThru +Remove-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "uGOoki0jQsyEs3IdQ83Q4QsNr4=" -PassThru .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -1399,7 +1399,7 @@ Delete linked storage accounts for an Application Insights component. .Description Delete linked storage accounts for an Application Insights component. .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Remove-AzApplicationInsightsLinkedStorageAccount +Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Remove-AzApplicationInsightsLinkedStorageAccount .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -1793,7 +1793,7 @@ Deletes an Application Insights component. .Description Deletes an Application Insights component. .Example -PS C:\> Remove-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -PassThru +Remove-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -PassThru .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -1983,364 +1983,14 @@ end { } } -<# -.Synopsis -Creates or updates an Application Insights web test definition. -.Description -Creates or updates an Application Insights web test definition. -.Example -PS C:\> {{ Add code here }} - -{{ Add output here }} -.Example -PS C:\> {{ Add code here }} - -{{ Add output here }} - -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest -.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. - -PROPERTIESLOCATIONS : A list of where to physically run the tests from to give global coverage for accessibility of your application. - [Location ]: Location ID for the WebTest to run from. - -REQUESTHEADER : List of headers and their values to add to the WebTest call. - [Name ]: The name of the header. - [Value ]: The value of the header. -.Link -https://docs.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightswebtest -#> -function Set-AzApplicationInsightsWebTest { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTest])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(Mandatory)] - [Alias('WebTestName')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] - [System.String] - # The name of the Application Insights WebTest resource. - ${Name}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Resource location - ${Location}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # The XML specification of a WebTest to run against an application. - ${ConfigurationWebTest}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Content to look for in the return of the WebTest. - # Must not be null or empty. - ${ContentValidationContentMatch}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # When set, this value makes the ContentMatch validation case insensitive. - ${ContentValidationIgnoreCase}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # When true, validation will pass if there is a match for the ContentMatch string. - # If false, validation will fail if there is a match - ${ContentValidationPassIfTextFound}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # User defined description for this WebTest. - ${Description}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Is the test actively being monitored. - ${Enabled}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # Interval in seconds between test runs for this WebTest. - # Default value is 300. - ${Frequency}, - - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind])] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind] - # The kind of WebTest that this web test watches. - # Choices are ping and multistep. - ${Kind}, - - [Parameter()] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebTestGeolocation[]] - # A list of where to physically run the tests from to give global coverage for accessibility of your application. - # To construct, see NOTES section for PROPERTIESLOCATIONS properties and create a hash table. - ${PropertiesLocations}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # User defined name if this WebTest. - ${PropertiesWebTestName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Base64 encoded string body to send with this web test. - ${RequestBody}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Follow redirects for this web test. - ${RequestFollowRedirect}, - - [Parameter()] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IHeaderField[]] - # List of headers and their values to add to the WebTest call. - # To construct, see NOTES section for REQUESTHEADER properties and create a hash table. - ${RequestHeader}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Http verb to use for this web test. - ${RequestHttpVerb}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Parse Dependent request for this WebTest. - ${RequestParseDependentRequest}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Url location to test. - ${RequestUrl}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Allow for retries should this WebTest fail. - ${RetryEnabled}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.String] - # Unique ID of this WebTest. - # This is typically the same value as the Name field. - ${SyntheticMonitorId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.IWebtestsResourceTags]))] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # Seconds until this WebTest will timeout and fail. - # Default value is 30. - ${Timeout}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # Validate that the WebTest returns the http status code provided. - ${ValidationRuleExpectedHttpStatusCode}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # When set, validation will ignore the status code. - ${ValidationRuleIgnoreHttpsStatusCode}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Int32] - # A number of days to check still remain before the the existing SSL cert expires. - # Value must be positive and the SSLCheck must be set to true. - ${ValidationRuleSslCertRemainingLifetimeCheck}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Checks to see if the SSL cert is still valid. - ${ValidationRuleSslCheck}, - - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum])] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum] - # The kind of web test this is, valid choices are ping, multistep, and standard. - ${WebTestKind}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - UpdateExpanded = 'Az.ApplicationInsights.private\Set-AzApplicationInsightsWebTest_UpdateExpanded'; - } - if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - <# .Synopsis Update linked storage accounts for an Application Insights component. .Description Update linked storage accounts for an Application Insights component. .Example -PS C:\> $account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Update-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id +$account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" +Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Update-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -2734,9 +2384,9 @@ Returns an Application Insights component. .Description Returns an Application Insights component. .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -2949,7 +2599,7 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -PS C:\> New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus +New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent @@ -2988,6 +2638,7 @@ param( ${Location}, [Parameter()] + [Alias('ApplicationKind')] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] [System.String] # The kind of application that this component refers to, used to customize UI. @@ -3087,6 +2738,7 @@ param( ${SamplingPercentage}, [Parameter()] + [Alias('Tags')] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IComponentsResourceTags]))] [System.Collections.Hashtable] @@ -3232,9 +2884,9 @@ Create an API Key of an Application Insights component. .Description Create an API Key of an Application Insights component. .Example -PS C:\> $apiKeyDescription = "testapiKey" -PS C:\> $permissions = @("ReadTelemetry", "WriteAnnotations") -PS C:\> New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions +$apiKeyDescription = "testapiKey" +$permissions = @("ReadTelemetry", "WriteAnnotations") +New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions .Outputs @@ -3411,9 +3063,9 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` -DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus ` -StorageSASUri $sasuri @@ -4191,9 +3843,9 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus -StorageSASUri $sasuri @@ -4220,6 +3872,13 @@ param( # The name of the Application Insights component resource. ${Name}, + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] + [System.String] + # The Continuous Export configuration ID. + # This is unique within a Application Insights component. + ${ExportId}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] @@ -4406,7 +4065,7 @@ Update current billing features for an Application Insights component. .Description Update current billing features for an Application Insights component. .Example -PS C:\> Set-AzApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -DailyCapGB 400 -DisableNotificationWhenHitCap +Set-AzApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -DailyCapGB 400 -DisableNotificationWhenHitCap .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentBillingFeatures @@ -4581,7 +4240,7 @@ Update current billing features for an Application Insights component. .Description Update current billing features for an Application Insights component. .Example -PS C:\> Set-AzApplicationInsightsPricingPlan -ResourceGroupName "testgroup" -Name "test" -PricingPlan "Basic" -DailyCapGB 400 +Set-AzApplicationInsightsPricingPlan -ResourceGroupName "testgroup" -Name "test" -PricingPlan "Basic" -DailyCapGB 400 .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentBillingFeatures @@ -4766,7 +4425,7 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -PS C:\> Update-AzApplicationInsights -ResourceGroupName "rgName" -Name "aiName" -PublicNetworkAccessForIngestion "Disabled" -PublicNetworkAccessForQuery "Disabled" +Update-AzApplicationInsights -ResourceGroupName "rgName" -Name "aiName" -PublicNetworkAccessForIngestion "Disabled" -PublicNetworkAccessForQuery "Disabled" .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent @@ -4891,6 +4550,7 @@ param( ${SamplingPercentage}, [Parameter()] + [Alias('Tags')] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IComponentsResourceTags]))] [System.Collections.Hashtable] diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/README.md b/src/ApplicationInsights/exports/README.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/README.md rename to src/ApplicationInsights/exports/README.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsights.ps1 b/src/ApplicationInsights/exports/Remove-AzApplicationInsights.ps1 similarity index 99% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsights.ps1 rename to src/ApplicationInsights/exports/Remove-AzApplicationInsights.ps1 index 0ad6581a7bc3..979065b51a85 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsights.ps1 +++ b/src/ApplicationInsights/exports/Remove-AzApplicationInsights.ps1 @@ -20,7 +20,7 @@ Deletes an Application Insights component. .Description Deletes an Application Insights component. .Example -PS C:\> Remove-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -PassThru +Remove-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -PassThru .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsApiKey.ps1 b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsApiKey.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsApiKey.ps1 rename to src/ApplicationInsights/exports/Remove-AzApplicationInsightsApiKey.ps1 index f2f5be037afa..58029ad1364f 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsApiKey.ps1 +++ b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsApiKey.ps1 @@ -20,7 +20,7 @@ Delete an API Key of an Application Insights component. .Description Delete an API Key of an Application Insights component. .Example -PS C:\> Remove-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-99c29aa0f867 -PassThru +Remove-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -ApiKeyId dd173f38-4fd1-4c75-8af5-99c29aa0f867 -PassThru .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsContinuousExport.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/exports/Remove-AzApplicationInsightsContinuousExport.ps1 index c24505d02a25..2cc427c36afd 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsContinuousExport.ps1 @@ -20,7 +20,7 @@ Delete a Continuous Export configuration of an Application Insights component. .Description Delete a Continuous Export configuration of an Application Insights component. .Example -PS C:\> Remove-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "uGOoki0jQsyEs3IdQ83Q4QsNr4=" -PassThru +Remove-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -ExportId "uGOoki0jQsyEs3IdQ83Q4QsNr4=" -PassThru .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsLinkedStorageAccount.ps1 b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsLinkedStorageAccount.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsLinkedStorageAccount.ps1 rename to src/ApplicationInsights/exports/Remove-AzApplicationInsightsLinkedStorageAccount.ps1 index 2bcff55b9fc6..6e8690de9194 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsLinkedStorageAccount.ps1 +++ b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsLinkedStorageAccount.ps1 @@ -20,7 +20,7 @@ Delete linked storage accounts for an Application Insights component. .Description Delete linked storage accounts for an Application Insights component. .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Remove-AzApplicationInsightsLinkedStorageAccount +Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Remove-AzApplicationInsightsLinkedStorageAccount .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsWebTest.ps1 b/src/ApplicationInsights/exports/Remove-AzApplicationInsightsWebTest.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Remove-AzApplicationInsightsWebTest.ps1 rename to src/ApplicationInsights/exports/Remove-AzApplicationInsightsWebTest.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/exports/Set-AzApplicationInsightsContinuousExport.ps1 similarity index 74% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/exports/Set-AzApplicationInsightsContinuousExport.ps1 index c2ca2946d48c..0239435fe0f1 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/exports/Set-AzApplicationInsightsContinuousExport.ps1 @@ -20,9 +20,9 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus -StorageSASUri $sasuri @@ -166,6 +166,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ CreateExpanded = 'Az.ApplicationInsights.custom\Set-AzApplicationInsightsContinuousExport'; } @@ -179,6 +197,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -187,15 +206,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsDailyCap.ps1 b/src/ApplicationInsights/exports/Set-AzApplicationInsightsDailyCap.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsDailyCap.ps1 rename to src/ApplicationInsights/exports/Set-AzApplicationInsightsDailyCap.ps1 index dd771fd351a8..f1695cb55d86 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsDailyCap.ps1 +++ b/src/ApplicationInsights/exports/Set-AzApplicationInsightsDailyCap.ps1 @@ -20,7 +20,7 @@ Update current billing features for an Application Insights component. .Description Update current billing features for an Application Insights component. .Example -PS C:\> Set-AzApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -DailyCapGB 400 -DisableNotificationWhenHitCap +Set-AzApplicationInsightsDailyCap -ResourceGroupName "testgroup" -Name "test" -DailyCapGB 400 -DisableNotificationWhenHitCap .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentBillingFeatures diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsPricingPlan.ps1 b/src/ApplicationInsights/exports/Set-AzApplicationInsightsPricingPlan.ps1 similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsPricingPlan.ps1 rename to src/ApplicationInsights/exports/Set-AzApplicationInsightsPricingPlan.ps1 index 45ce41fe2328..ce5d3233d596 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Set-AzApplicationInsightsPricingPlan.ps1 +++ b/src/ApplicationInsights/exports/Set-AzApplicationInsightsPricingPlan.ps1 @@ -20,7 +20,7 @@ Update current billing features for an Application Insights component. .Description Update current billing features for an Application Insights component. .Example -PS C:\> Set-AzApplicationInsightsPricingPlan -ResourceGroupName "testgroup" -Name "test" -PricingPlan "Basic" -DailyCapGB 400 +Set-AzApplicationInsightsPricingPlan -ResourceGroupName "testgroup" -Name "test" -PricingPlan "Basic" -DailyCapGB 400 .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentBillingFeatures diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsights.ps1 b/src/ApplicationInsights/exports/Update-AzApplicationInsights.ps1 similarity index 80% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsights.ps1 rename to src/ApplicationInsights/exports/Update-AzApplicationInsights.ps1 index 791280a3b364..e00a646bc2d1 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsights.ps1 +++ b/src/ApplicationInsights/exports/Update-AzApplicationInsights.ps1 @@ -22,7 +22,7 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -PS C:\> Update-AzApplicationInsights -ResourceGroupName "rgName" -Name "aiName" -PublicNetworkAccessForIngestion "Disabled" -PublicNetworkAccessForQuery "Disabled" +Update-AzApplicationInsights -ResourceGroupName "rgName" -Name "aiName" -PublicNetworkAccessForIngestion "Disabled" -PublicNetworkAccessForQuery "Disabled" .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent @@ -217,6 +217,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ __AllParameterSets = 'Az.ApplicationInsights.custom\Update-AzApplicationInsights'; } @@ -230,6 +248,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -238,15 +257,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsightsLinkedStorageAccount.ps1 b/src/ApplicationInsights/exports/Update-AzApplicationInsightsLinkedStorageAccount.ps1 similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsightsLinkedStorageAccount.ps1 rename to src/ApplicationInsights/exports/Update-AzApplicationInsightsLinkedStorageAccount.ps1 index 9a2dc55c6cb4..e30661766833 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsightsLinkedStorageAccount.ps1 +++ b/src/ApplicationInsights/exports/Update-AzApplicationInsightsLinkedStorageAccount.ps1 @@ -20,8 +20,8 @@ Update linked storage accounts for an Application Insights component. .Description Update linked storage accounts for an Application Insights component. .Example -PS C:\> $account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" -PS C:\> Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Update-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id +$account = Get-AzStorageAccount -ResourceGroupName "rgName" -Name "accountName" +Get-AzApplicationInsights -ResourceGroupName "rgName" -Name "componentName" | Update-AzApplicationInsightsLinkedStorageAccount -LinkedStorageAccountResourceId $account.Id .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsightsWebTestTag.ps1 b/src/ApplicationInsights/exports/Update-AzApplicationInsightsWebTestTag.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/exports/Update-AzApplicationInsightsWebTestTag.ps1 rename to src/ApplicationInsights/exports/Update-AzApplicationInsightsWebTestTag.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generate-help.ps1 b/src/ApplicationInsights/generate-help.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generate-help.ps1 rename to src/ApplicationInsights/generate-help.ps1 diff --git a/src/ApplicationInsights/generate-info.json b/src/ApplicationInsights/generate-info.json new file mode 100644 index 000000000000..c57a8e5b4dbc --- /dev/null +++ b/src/ApplicationInsights/generate-info.json @@ -0,0 +1,8 @@ +{ + "autorest_core": "3.8.4", + "autorest_modelerfour": "4.15.414", + "autorest": "`-- (empty)", + "swagger_commit": "0552171254ea4382c5cb3e85c870bd44dd14ac31", + "autorest_powershell": "3.0.486", + "node": "v14.15.5" +} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/Module.cs b/src/ApplicationInsights/generated/Module.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/Module.cs rename to src/ApplicationInsights/generated/Module.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/ApplicationInsightsManagementClient.cs b/src/ApplicationInsights/generated/api/ApplicationInsightsManagementClient.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/ApplicationInsightsManagementClient.cs rename to src/ApplicationInsights/generated/api/ApplicationInsightsManagementClient.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Any.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Any.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Any.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Any.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.cs b/src/ApplicationInsights/generated/api/Models/Any.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.cs rename to src/ApplicationInsights/generated/api/Models/Any.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.json.cs b/src/ApplicationInsights/generated/api/Models/Any.json.cs similarity index 93% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.json.cs rename to src/ApplicationInsights/generated/api/Models/Any.json.cs index 55b40d8bfa45..451fa4f9fb41 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Any.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Any.json.cs @@ -20,7 +20,7 @@ public partial class Any partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class Any /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class Any /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.cs b/src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.cs rename to src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.json.cs b/src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.json.cs rename to src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.json.cs index 183c7088ba00..debd8f9aba5d 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/ProxyResource.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api10/ProxyResource.json.cs @@ -22,7 +22,7 @@ public partial class ProxyResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class ProxyResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class ProxyResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api10/Resource.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api10/Resource.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api10/Resource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api10/Resource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.cs b/src/ApplicationInsights/generated/api/Models/Api10/Resource.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.cs rename to src/ApplicationInsights/generated/api/Models/Api10/Resource.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.json.cs b/src/ApplicationInsights/generated/api/Models/Api10/Resource.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.json.cs rename to src/ApplicationInsights/generated/api/Models/Api10/Resource.json.cs index 51245c4bba2c..c61c72b8faee 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api10/Resource.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api10/Resource.json.cs @@ -22,7 +22,7 @@ public partial class Resource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class Resource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class Resource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.json.cs index e8e0a53f6295..3b283ee01ea1 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/Annotation.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/Annotation.json.cs @@ -20,7 +20,7 @@ public partial class Annotation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class Annotation /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class Annotation /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.json.cs index 672258443807..7c5c6e3989c0 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationError.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationError.json.cs @@ -20,7 +20,7 @@ public partial class AnnotationError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AnnotationError /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AnnotationError /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.json.cs index 5fed3d17e61a..58dfec9fd014 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/AnnotationsListResult.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/AnnotationsListResult.json.cs @@ -20,7 +20,7 @@ public partial class AnnotationsListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AnnotationsListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AnnotationsListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.json.cs index c1c1ce9db37c..25afee78715c 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApiKeyRequest.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApiKeyRequest.json.cs @@ -20,7 +20,7 @@ public partial class ApiKeyRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApiKeyRequest /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApiKeyRequest /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs index 8e45c4a24978..d03f9018067d 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentApiKey partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentApiKey /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentApiKey /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs index 1aaf21dad1c9..5c5d5e7411ad 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentApiKeyListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentApiKeyListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentApiKeyListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.json.cs index 21e0d23e069a..c426e6f083d2 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentAvailableFeatures.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentAvailableFeatures partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentAvailableFeatures /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentAvailableFeatures /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.json.cs index 4e7fb279e3d6..66159f60ef03 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentBillingFeatures.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentBillingFeatures partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentBillingFeatures /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentBillingFeatures /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.json.cs index ac61a2283f27..df587fca5041 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentDataVolumeCap.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentDataVolumeCap partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentDataVolumeCap /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentDataVolumeCap /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.json.cs similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.json.cs index 0f727d1579e4..ea13e5bb7414 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportConfiguration.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentExportConfiguration partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentExportConfiguration /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentExportConfiguration /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.json.cs index 82409ef283b5..0e2c805039e8 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentExportRequest.json.cs @@ -22,7 +22,7 @@ public partial class ApplicationInsightsComponentExportRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class ApplicationInsightsComponentExportRequest /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class ApplicationInsightsComponentExportRequest /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.json.cs similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.json.cs index 38dba7d8cb37..33dec21a83f3 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeature.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentFeature partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentFeature /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentFeature /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.json.cs similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.json.cs index 9711ca22635d..4dd9cd25ebb9 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapabilities.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentFeatureCapabilities partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentFeatureCapabilities /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentFeatureCapabilities /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.json.cs index d8d42537f849..4f3907a10202 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentFeatureCapability.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentFeatureCapability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentFeatureCapability /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentFeatureCapability /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.json.cs index 46dc2b6e8ba2..474d76648b81 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ApplicationInsightsComponentQuotaStatus.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentQuotaStatus partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentQuotaStatus /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentQuotaStatus /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.json.cs index b16f3a2779ff..dbfb4c9fda15 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/ErrorResponse.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/ErrorResponse.json.cs @@ -23,7 +23,7 @@ public partial class ErrorResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -33,7 +33,8 @@ public partial class ErrorResponse /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -45,7 +46,8 @@ public partial class ErrorResponse /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.json.cs index e2f49ad6f150..6f94a209a853 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/InnerError.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/InnerError.json.cs @@ -20,7 +20,7 @@ public partial class InnerError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class InnerError /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class InnerError /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.json.cs index 6cbd4126d88b..009d05e83604 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationAutoGenerated.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class OperationAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationAutoGenerated /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationAutoGenerated /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.json.cs index c1f40c4d14de..a115ccda8cf9 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationDisplay.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationDisplay.json.cs @@ -20,7 +20,7 @@ public partial class OperationDisplay partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationDisplay /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationDisplay /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.json.cs b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.json.cs index 8c610512b405..30af414d767f 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20150501/OperationListResult.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20150501/OperationListResult.json.cs @@ -22,7 +22,7 @@ public partial class OperationListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class OperationListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class OperationListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.json.cs index dc26e9ee538e..1c37e8baa672 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/HeaderField.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/HeaderField.json.cs @@ -20,7 +20,7 @@ public partial class HeaderField partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class HeaderField /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class HeaderField /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.json.cs index 4bc614a349e9..f74892953277 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/Operation.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/Operation.json.cs @@ -20,7 +20,7 @@ public partial class Operation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class Operation /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class Operation /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.json.cs index 8a967a093f89..21d42acb2971 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationInfo.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationInfo.json.cs @@ -20,7 +20,7 @@ public partial class OperationInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationInfo /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationInfo /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.json.cs index 350cbeb91c4b..ca1693c6d990 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/OperationsListResult.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/OperationsListResult.json.cs @@ -20,7 +20,7 @@ public partial class OperationsListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationsListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationsListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.json.cs index 47fb3d9f2a3e..a55f75d74e2e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResource.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResource.json.cs @@ -22,7 +22,7 @@ public partial class TagsResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class TagsResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class TagsResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.dictionary.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.dictionary.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.dictionary.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.dictionary.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.json.cs index 54c562118289..fe2c2f2cec1e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/TagsResourceTags.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/TagsResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class TagsResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class TagsResourceTags /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class TagsResourceTags /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.json.cs index e6d167bc5064..623d10cdec71 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTest.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTest.json.cs @@ -20,7 +20,7 @@ public partial class WebTest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTest /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTest /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.json.cs index cacd9b9368c7..80c4a09a7fbc 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestGeolocation.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestGeolocation.json.cs @@ -22,7 +22,7 @@ public partial class WebTestGeolocation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class WebTestGeolocation /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class WebTestGeolocation /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.json.cs index a144019db8cc..58dcf4d86bce 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestListResult.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestListResult.json.cs @@ -20,7 +20,7 @@ public partial class WebTestListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTestListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTestListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.json.cs similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.json.cs index 28b8d6f95415..b64b02491a7a 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestProperties.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestProperties.json.cs @@ -20,7 +20,7 @@ public partial class WebTestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTestProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTestProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.json.cs index 790aa35d59b2..d585bb49a6ee 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesConfiguration.json.cs @@ -20,7 +20,7 @@ public partial class WebTestPropertiesConfiguration partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTestPropertiesConfiguration /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTestPropertiesConfiguration /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.json.cs index b6bd1d8cf736..816bd941215e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesRequest.json.cs @@ -20,7 +20,7 @@ public partial class WebTestPropertiesRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTestPropertiesRequest /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTestPropertiesRequest /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.json.cs index d4dc63a2c3eb..03fbd8d94e46 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRules.json.cs @@ -20,7 +20,7 @@ public partial class WebTestPropertiesValidationRules partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTestPropertiesValidationRules /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTestPropertiesValidationRules /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs index 496c2c5b3f3e..75b01f3998e8 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs @@ -20,7 +20,7 @@ public partial class WebTestPropertiesValidationRulesContentValidation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebTestPropertiesValidationRulesContentValidation /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebTestPropertiesValidationRulesContentValidation /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.json.cs index da51113a4364..477fa3416f02 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResource.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResource.json.cs @@ -20,7 +20,7 @@ public partial class WebtestsResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebtestsResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebtestsResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.dictionary.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.dictionary.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.dictionary.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.dictionary.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.json.cs b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.json.cs index 3a575ae87dcc..acd80a0607e1 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebtestsResourceTags.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20180501Preview/WebtestsResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class WebtestsResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class WebtestsResourceTags /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class WebtestsResourceTags /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.json.cs index 45c2a5ae46a3..f0236f754b20 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponent.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponent.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponent partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponent /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponent /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.json.cs index dd14652f2265..cdceaf60ff88 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentListResult.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.json.cs similarity index 98% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.json.cs index ab9c1011f24c..814c4f48b32b 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ApplicationInsightsComponentProperties.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ApplicationInsightsComponentProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ApplicationInsightsComponentProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.json.cs index c2207ff9be36..ab5dcee41936 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBody.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeBody partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentPurgeBody /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentPurgeBody /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.json.cs index c010b221783f..c99669e42393 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeBodyFilters.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBodyFilters.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeBodyFilters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentPurgeBodyFilters /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentPurgeBodyFilters /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.json.cs index 5c4dcf119f21..2e229bc35494 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeResponse.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeResponse.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentPurgeResponse /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentPurgeResponse /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.json.cs index c414e822c0c2..4e483d04ec9f 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentPurgeStatusResponse.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeStatusResponse.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeStatusResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentPurgeStatusResponse /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentPurgeStatusResponse /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.json.cs index 647f2d38c229..ec29b0a5db1c 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResource.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResource.json.cs @@ -20,7 +20,7 @@ public partial class ComponentsResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentsResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentsResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.dictionary.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.dictionary.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.dictionary.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.dictionary.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.json.cs index f8fb9a1d4ae2..97c5e964c3b4 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ComponentsResourceTags.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ComponentsResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class ComponentsResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentsResourceTags /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentsResourceTags /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.json.cs index 18d6ea8ebe2e..a118634219ec 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponents.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponents.json.cs @@ -19,7 +19,7 @@ public partial class ErrorResponseComponents partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ErrorResponseComponents /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ErrorResponseComponents /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.json.cs index e1f1dfce6113..82c3c270fc95 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/ErrorResponseComponentsError.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/ErrorResponseComponentsError.json.cs @@ -23,7 +23,7 @@ public partial class ErrorResponseComponentsError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -33,7 +33,8 @@ public partial class ErrorResponseComponentsError /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -45,7 +46,8 @@ public partial class ErrorResponseComponentsError /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.cs b/src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.json.cs b/src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.json.cs rename to src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.json.cs index e6609dd9e01b..95d8e3ba015e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api202002/PrivateLinkScopedResource.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api202002/PrivateLinkScopedResource.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkScopedResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateLinkScopedResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateLinkScopedResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.json.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.json.cs index 618255928dd3..7fef7038b01e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccounts.json.cs @@ -20,7 +20,7 @@ public partial class ComponentLinkedStorageAccounts partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentLinkedStorageAccounts /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentLinkedStorageAccounts /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.json.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.json.cs index c000dcb3cfef..cd87caf7305c 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ComponentLinkedStorageAccountsPatch.json.cs @@ -20,7 +20,7 @@ public partial class ComponentLinkedStorageAccountsPatch partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ComponentLinkedStorageAccountsPatch /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ComponentLinkedStorageAccountsPatch /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.json.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.json.cs index b4a08523b9af..1dddd397881d 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorage.json.cs @@ -19,7 +19,7 @@ public partial class ErrorResponseLinkedStorage partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ErrorResponseLinkedStorage /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ErrorResponseLinkedStorage /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.json.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.json.cs similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.json.cs index 4a1e29ce8cea..2a0b02e6754e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/ErrorResponseLinkedStorageError.json.cs @@ -23,7 +23,7 @@ public partial class ErrorResponseLinkedStorageError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -33,7 +33,8 @@ public partial class ErrorResponseLinkedStorageError /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -45,7 +46,8 @@ public partial class ErrorResponseLinkedStorageError /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.json.cs b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.json.cs similarity index 94% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.json.cs rename to src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.json.cs index c8f35bc5828b..d0634f6be1b2 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.json.cs +++ b/src/ApplicationInsights/generated/api/Models/Api20200301Preview/LinkedStorageAccountsProperties.json.cs @@ -20,7 +20,7 @@ public partial class LinkedStorageAccountsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class LinkedStorageAccountsProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class LinkedStorageAccountsProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.PowerShell.cs b/src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.PowerShell.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.PowerShell.cs rename to src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.PowerShell.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.TypeConverter.cs b/src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.cs b/src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.cs rename to src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.json.cs b/src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.json.cs similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.json.cs rename to src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.json.cs index be5eb35be878..63f6bb228ad3 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/ApplicationInsightsIdentity.json.cs +++ b/src/ApplicationInsights/generated/api/Models/ApplicationInsightsIdentity.json.cs @@ -19,7 +19,7 @@ public partial class ApplicationInsightsIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ApplicationInsightsIdentity /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ApplicationInsightsIdentity /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.Completer.cs b/src/ApplicationInsights/generated/api/Support/ApplicationType.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.Completer.cs rename to src/ApplicationInsights/generated/api/Support/ApplicationType.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/ApplicationType.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/ApplicationType.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.cs b/src/ApplicationInsights/generated/api/Support/ApplicationType.cs similarity index 91% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.cs rename to src/ApplicationInsights/generated/api/Support/ApplicationType.cs index 93fa900c81d4..07b18d6cb43e 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/ApplicationType.cs +++ b/src/ApplicationInsights/generated/api/Support/ApplicationType.cs @@ -17,7 +17,7 @@ public partial struct ApplicationType : /// the value for an instance of the Enum. private string _value { get; set; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ApplicationType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum ApplicationType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.ApplicationType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.ApplicationType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum ApplicationType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.ApplicationType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.ApplicationType e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.Completer.cs b/src/ApplicationInsights/generated/api/Support/FlowType.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.Completer.cs rename to src/ApplicationInsights/generated/api/Support/FlowType.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/FlowType.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/FlowType.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.cs b/src/ApplicationInsights/generated/api/Support/FlowType.cs similarity index 91% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.cs rename to src/ApplicationInsights/generated/api/Support/FlowType.cs index 9bed459ed004..33d36fab625c 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/FlowType.cs +++ b/src/ApplicationInsights/generated/api/Support/FlowType.cs @@ -41,7 +41,7 @@ public override bool Equals(object obj) return obj is FlowType && Equals((FlowType)obj); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private FlowType(string underlyingValue) { @@ -79,8 +79,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum FlowType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.FlowType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.FlowType e2) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum FlowType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.FlowType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.FlowType e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.Completer.cs b/src/ApplicationInsights/generated/api/Support/IngestionMode.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.Completer.cs rename to src/ApplicationInsights/generated/api/Support/IngestionMode.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/IngestionMode.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/IngestionMode.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.cs b/src/ApplicationInsights/generated/api/Support/IngestionMode.cs similarity index 92% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.cs rename to src/ApplicationInsights/generated/api/Support/IngestionMode.cs index b02b18161672..014257fd5c40 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/IngestionMode.cs +++ b/src/ApplicationInsights/generated/api/Support/IngestionMode.cs @@ -49,7 +49,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private IngestionMode(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum IngestionMode - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.IngestionMode e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.IngestionMode e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum IngestionMode - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.IngestionMode e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.IngestionMode e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.Completer.cs b/src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.Completer.cs rename to src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.cs b/src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.cs similarity index 92% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.cs rename to src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.cs index c0f0bc06b864..a919e11ee8d6 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PublicNetworkAccessType.cs +++ b/src/ApplicationInsights/generated/api/Support/PublicNetworkAccessType.cs @@ -51,7 +51,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private PublicNetworkAccessType(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum PublicNetworkAccessType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum PublicNetworkAccessType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PublicNetworkAccessType e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.Completer.cs b/src/ApplicationInsights/generated/api/Support/PurgeState.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.Completer.cs rename to src/ApplicationInsights/generated/api/Support/PurgeState.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/PurgeState.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/PurgeState.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.cs b/src/ApplicationInsights/generated/api/Support/PurgeState.cs similarity index 91% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.cs rename to src/ApplicationInsights/generated/api/Support/PurgeState.cs index abeea65e0a70..3df32ded4336 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/PurgeState.cs +++ b/src/ApplicationInsights/generated/api/Support/PurgeState.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private PurgeState(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum PurgeState - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PurgeState e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PurgeState e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum PurgeState - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PurgeState e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.PurgeState e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.Completer.cs b/src/ApplicationInsights/generated/api/Support/RequestSource.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.Completer.cs rename to src/ApplicationInsights/generated/api/Support/RequestSource.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/RequestSource.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/RequestSource.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.cs b/src/ApplicationInsights/generated/api/Support/RequestSource.cs similarity index 91% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.cs rename to src/ApplicationInsights/generated/api/Support/RequestSource.cs index 8be5e3bb5885..11549effc9ff 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/RequestSource.cs +++ b/src/ApplicationInsights/generated/api/Support/RequestSource.cs @@ -48,7 +48,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private RequestSource(string underlyingValue) { @@ -79,8 +79,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum RequestSource - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.RequestSource e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.RequestSource e2) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum RequestSource - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.RequestSource e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.RequestSource e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.Completer.cs b/src/ApplicationInsights/generated/api/Support/StorageType.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.Completer.cs rename to src/ApplicationInsights/generated/api/Support/StorageType.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/StorageType.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/StorageType.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.cs b/src/ApplicationInsights/generated/api/Support/StorageType.cs similarity index 91% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.cs rename to src/ApplicationInsights/generated/api/Support/StorageType.cs index deb017d48558..817ad7ebc6fb 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/StorageType.cs +++ b/src/ApplicationInsights/generated/api/Support/StorageType.cs @@ -44,7 +44,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private StorageType(string underlyingValue) { @@ -75,8 +75,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum StorageType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.StorageType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.StorageType e2) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum StorageType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.StorageType e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.StorageType e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.Completer.cs b/src/ApplicationInsights/generated/api/Support/WebTestKind.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.Completer.cs rename to src/ApplicationInsights/generated/api/Support/WebTestKind.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/WebTestKind.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/WebTestKind.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.cs b/src/ApplicationInsights/generated/api/Support/WebTestKind.cs similarity index 91% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.cs rename to src/ApplicationInsights/generated/api/Support/WebTestKind.cs index 61f8bb3997bd..f95c6121b782 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKind.cs +++ b/src/ApplicationInsights/generated/api/Support/WebTestKind.cs @@ -54,7 +54,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private WebTestKind(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum WebTestKind - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum WebTestKind - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKind e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.Completer.cs b/src/ApplicationInsights/generated/api/Support/WebTestKindEnum.Completer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.Completer.cs rename to src/ApplicationInsights/generated/api/Support/WebTestKindEnum.Completer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.TypeConverter.cs b/src/ApplicationInsights/generated/api/Support/WebTestKindEnum.TypeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.TypeConverter.cs rename to src/ApplicationInsights/generated/api/Support/WebTestKindEnum.TypeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.cs b/src/ApplicationInsights/generated/api/Support/WebTestKindEnum.cs similarity index 92% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.cs rename to src/ApplicationInsights/generated/api/Support/WebTestKindEnum.cs index 64a94ba5656f..cb195336d0a5 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Support/WebTestKindEnum.cs +++ b/src/ApplicationInsights/generated/api/Support/WebTestKindEnum.cs @@ -56,7 +56,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private WebTestKindEnum(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding != operator for enum WebTestKindEnum - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Applic } /// Overriding == operator for enum WebTestKindEnum - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum e1, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Support.WebTestKindEnum e2) { diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_Purge.cs b/src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_Purge.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_Purge.cs rename to src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_Purge.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_PurgeExpanded.cs b/src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_PurgeExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_PurgeExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_PurgeExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentityExpanded.cs b/src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentityExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentityExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/ClearAzApplicationInsights_PurgeViaIdentityExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsAnnotation_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsAnnotation_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsAnnotation_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsAnnotation_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsAnnotation_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsAnnotation_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsAnnotation_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsAnnotation_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsAnnotation_List.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsAnnotation_List.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsAnnotation_List.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsAnnotation_List.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsApiKey_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsApiKey_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsApiKey_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsApiKey_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsApiKey_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsApiKey_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsApiKey_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsApiKey_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsApiKey_List.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsApiKey_List.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsApiKey_List.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsApiKey_List.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentAvailableFeature_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentCurrentBillingFeature_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentFeatureCapability_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentPurgeStatus_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsContinuousExport_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsContinuousExport_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsContinuousExport_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsContinuousExport_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsContinuousExport_List.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_List.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsContinuousExport_List.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_List.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsLinkedStorageAccount_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsOperation_List.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsOperation_List.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsOperation_List.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsOperation_List.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsOperation_List1.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsOperation_List1.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsOperation_List1.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsOperation_List1.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_List.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_List.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_List.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_List.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_List1.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_List1.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_List1.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_List1.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_List2.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_List2.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsightsWebTest_List2.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsWebTest_List2.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_Get.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_Get.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_Get.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_Get.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_GetViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_GetViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_GetViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_GetViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_List.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_List.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_List.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_List.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_List1.cs b/src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_List1.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/GetAzApplicationInsights_List1.cs rename to src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsights_List1.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsAnnotation_CreateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsAnnotation_CreateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsAnnotation_CreateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsAnnotation_CreateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsApiKey_CreateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsApiKey_CreateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsApiKey_CreateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsApiKey_CreateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsContinuousExport_CreateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsContinuousExport_CreateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsContinuousExport_CreateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsContinuousExport_CreateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsLinkedStorageAccount_CreateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsLinkedStorageAccount_CreateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsLinkedStorageAccount_CreateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsLinkedStorageAccount_CreateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsWebTest_CreateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsWebTest_CreateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsightsWebTest_CreateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsightsWebTest_CreateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsights_CreateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsights_CreateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/NewAzApplicationInsights_CreateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/NewAzApplicationInsights_CreateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_Delete.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_Delete.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_Delete.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_Delete.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_DeleteViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_DeleteViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_DeleteViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsAnnotation_DeleteViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsApiKey_Delete.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsApiKey_Delete.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsApiKey_Delete.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsApiKey_Delete.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsApiKey_DeleteViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsApiKey_DeleteViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsApiKey_DeleteViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsApiKey_DeleteViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_Delete.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_Delete.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_Delete.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_Delete.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_DeleteViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_DeleteViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_DeleteViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsContinuousExport_DeleteViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_Delete.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_Delete.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_Delete.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_Delete.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_DeleteViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_DeleteViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_DeleteViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsLinkedStorageAccount_DeleteViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsWebTest_Delete.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsWebTest_Delete.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsWebTest_Delete.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsWebTest_Delete.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsWebTest_DeleteViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsWebTest_DeleteViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsightsWebTest_DeleteViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsightsWebTest_DeleteViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsights_Delete.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsights_Delete.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsights_Delete.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsights_Delete.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsights_DeleteViaIdentity.cs b/src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsights_DeleteViaIdentity.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/RemoveAzApplicationInsights_DeleteViaIdentity.cs rename to src/ApplicationInsights/generated/cmdlets/RemoveAzApplicationInsights_DeleteViaIdentity.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsComponentCurrentBillingFeature_UpdateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/SetAzApplicationInsightsComponentCurrentBillingFeature_UpdateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsComponentCurrentBillingFeature_UpdateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/SetAzApplicationInsightsComponentCurrentBillingFeature_UpdateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsContinuousExport_UpdateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/SetAzApplicationInsightsContinuousExport_UpdateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsightsContinuousExport_UpdateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/SetAzApplicationInsightsContinuousExport_UpdateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsights_UpdateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/SetAzApplicationInsights_UpdateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/SetAzApplicationInsights_UpdateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/SetAzApplicationInsights_UpdateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateViaIdentityExpanded.cs b/src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateViaIdentityExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateViaIdentityExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsComponentTag_UpdateViaIdentityExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateViaIdentityExpanded.cs b/src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateViaIdentityExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateViaIdentityExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsLinkedStorageAccount_UpdateViaIdentityExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateExpanded.cs b/src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateViaIdentityExpanded.cs b/src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateViaIdentityExpanded.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateViaIdentityExpanded.cs rename to src/ApplicationInsights/generated/cmdlets/UpdateAzApplicationInsightsWebTestTag_UpdateViaIdentityExpanded.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/AsyncCommandRuntime.cs b/src/ApplicationInsights/generated/runtime/AsyncCommandRuntime.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/AsyncCommandRuntime.cs rename to src/ApplicationInsights/generated/runtime/AsyncCommandRuntime.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/AsyncJob.cs b/src/ApplicationInsights/generated/runtime/AsyncJob.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/AsyncJob.cs rename to src/ApplicationInsights/generated/runtime/AsyncJob.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/AsyncOperationResponse.cs b/src/ApplicationInsights/generated/runtime/AsyncOperationResponse.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/AsyncOperationResponse.cs rename to src/ApplicationInsights/generated/runtime/AsyncOperationResponse.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportCmdletSurface.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportCmdletSurface.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportCmdletSurface.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportCmdletSurface.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportExampleStub.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportExampleStub.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportExampleStub.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportExampleStub.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportFormatPs1xml.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportFormatPs1xml.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportFormatPs1xml.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportFormatPs1xml.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportModelSurface.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportModelSurface.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportModelSurface.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportModelSurface.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/GetCommonParameter.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/GetCommonParameter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/GetCommonParameter.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/GetCommonParameter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/GetModuleGuid.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/GetModuleGuid.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/GetModuleGuid.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/GetModuleGuid.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/GetScriptCmdlet.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/GetScriptCmdlet.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Cmdlets/GetScriptCmdlet.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Cmdlets/GetScriptCmdlet.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/CollectionExtensions.cs b/src/ApplicationInsights/generated/runtime/BuildTime/CollectionExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/CollectionExtensions.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/CollectionExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs b/src/ApplicationInsights/generated/runtime/BuildTime/MarkdownRenderer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/MarkdownRenderer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsFormatTypes.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Models/PsFormatTypes.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsFormatTypes.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Models/PsFormatTypes.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Models/PsHelpTypes.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Models/PsHelpTypes.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Models/PsProxyOutputs.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Models/PsProxyOutputs.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/src/ApplicationInsights/generated/runtime/BuildTime/Models/PsProxyTypes.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/Models/PsProxyTypes.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/src/ApplicationInsights/generated/runtime/BuildTime/PsAttributes.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/PsAttributes.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/PsAttributes.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/PsExtensions.cs b/src/ApplicationInsights/generated/runtime/BuildTime/PsExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/PsExtensions.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/PsExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/PsHelpers.cs b/src/ApplicationInsights/generated/runtime/BuildTime/PsHelpers.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/PsHelpers.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/PsHelpers.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/StringExtensions.cs b/src/ApplicationInsights/generated/runtime/BuildTime/StringExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/StringExtensions.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/StringExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/XmlExtensions.cs b/src/ApplicationInsights/generated/runtime/BuildTime/XmlExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/BuildTime/XmlExtensions.cs rename to src/ApplicationInsights/generated/runtime/BuildTime/XmlExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/CmdInfoHandler.cs b/src/ApplicationInsights/generated/runtime/CmdInfoHandler.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/CmdInfoHandler.cs rename to src/ApplicationInsights/generated/runtime/CmdInfoHandler.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/ConversionException.cs b/src/ApplicationInsights/generated/runtime/Conversions/ConversionException.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/ConversionException.cs rename to src/ApplicationInsights/generated/runtime/Conversions/ConversionException.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/IJsonConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/IJsonConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/IJsonConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/IJsonConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/BinaryConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/BinaryConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/BinaryConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/BinaryConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/BooleanConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/BooleanConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/BooleanConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/BooleanConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DateTimeConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/DateTimeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DateTimeConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/DateTimeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DateTimeOffsetConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/DateTimeOffsetConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DateTimeOffsetConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/DateTimeOffsetConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DecimalConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/DecimalConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DecimalConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/DecimalConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DoubleConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/DoubleConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/DoubleConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/DoubleConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/EnumConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/EnumConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/EnumConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/EnumConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/GuidConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/GuidConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/GuidConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/GuidConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/HashSet'1Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/HashSet'1Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/HashSet'1Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/HashSet'1Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/Int16Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/Int16Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/Int16Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/Int16Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/Int32Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/Int32Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/Int32Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/Int32Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/Int64Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/Int64Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/Int64Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/Int64Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/JsonArrayConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/JsonArrayConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/JsonArrayConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/JsonArrayConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/JsonObjectConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/JsonObjectConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/JsonObjectConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/JsonObjectConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/SingleConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/SingleConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/SingleConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/SingleConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/StringConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/StringConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/StringConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/StringConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/TimeSpanConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/TimeSpanConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/TimeSpanConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/TimeSpanConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UInt16Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/UInt16Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UInt16Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/UInt16Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UInt32Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/UInt32Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UInt32Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/UInt32Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UInt64Converter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/UInt64Converter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UInt64Converter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/UInt64Converter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UriConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/Instances/UriConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/UriConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/Instances/UriConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/JsonConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/JsonConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/JsonConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/JsonConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/JsonConverterAttribute.cs b/src/ApplicationInsights/generated/runtime/Conversions/JsonConverterAttribute.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/JsonConverterAttribute.cs rename to src/ApplicationInsights/generated/runtime/Conversions/JsonConverterAttribute.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/JsonConverterFactory.cs b/src/ApplicationInsights/generated/runtime/Conversions/JsonConverterFactory.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/JsonConverterFactory.cs rename to src/ApplicationInsights/generated/runtime/Conversions/JsonConverterFactory.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/StringLikeConverter.cs b/src/ApplicationInsights/generated/runtime/Conversions/StringLikeConverter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/StringLikeConverter.cs rename to src/ApplicationInsights/generated/runtime/Conversions/StringLikeConverter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/IJsonSerializable.cs b/src/ApplicationInsights/generated/runtime/Customizations/IJsonSerializable.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/IJsonSerializable.cs rename to src/ApplicationInsights/generated/runtime/Customizations/IJsonSerializable.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonArray.cs b/src/ApplicationInsights/generated/runtime/Customizations/JsonArray.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonArray.cs rename to src/ApplicationInsights/generated/runtime/Customizations/JsonArray.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonBoolean.cs b/src/ApplicationInsights/generated/runtime/Customizations/JsonBoolean.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonBoolean.cs rename to src/ApplicationInsights/generated/runtime/Customizations/JsonBoolean.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonNode.cs b/src/ApplicationInsights/generated/runtime/Customizations/JsonNode.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonNode.cs rename to src/ApplicationInsights/generated/runtime/Customizations/JsonNode.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonNumber.cs b/src/ApplicationInsights/generated/runtime/Customizations/JsonNumber.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonNumber.cs rename to src/ApplicationInsights/generated/runtime/Customizations/JsonNumber.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonObject.cs b/src/ApplicationInsights/generated/runtime/Customizations/JsonObject.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonObject.cs rename to src/ApplicationInsights/generated/runtime/Customizations/JsonObject.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonString.cs b/src/ApplicationInsights/generated/runtime/Customizations/JsonString.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/JsonString.cs rename to src/ApplicationInsights/generated/runtime/Customizations/JsonString.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/XNodeArray.cs b/src/ApplicationInsights/generated/runtime/Customizations/XNodeArray.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Customizations/XNodeArray.cs rename to src/ApplicationInsights/generated/runtime/Customizations/XNodeArray.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Debugging.cs b/src/ApplicationInsights/generated/runtime/Debugging.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Debugging.cs rename to src/ApplicationInsights/generated/runtime/Debugging.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/DictionaryExtensions.cs b/src/ApplicationInsights/generated/runtime/DictionaryExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/DictionaryExtensions.cs rename to src/ApplicationInsights/generated/runtime/DictionaryExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventData.cs b/src/ApplicationInsights/generated/runtime/EventData.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventData.cs rename to src/ApplicationInsights/generated/runtime/EventData.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventDataExtensions.cs b/src/ApplicationInsights/generated/runtime/EventDataExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventDataExtensions.cs rename to src/ApplicationInsights/generated/runtime/EventDataExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventListener.cs b/src/ApplicationInsights/generated/runtime/EventListener.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventListener.cs rename to src/ApplicationInsights/generated/runtime/EventListener.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Events.cs b/src/ApplicationInsights/generated/runtime/Events.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Events.cs rename to src/ApplicationInsights/generated/runtime/Events.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventsExtensions.cs b/src/ApplicationInsights/generated/runtime/EventsExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/EventsExtensions.cs rename to src/ApplicationInsights/generated/runtime/EventsExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Extensions.cs b/src/ApplicationInsights/generated/runtime/Extensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Extensions.cs rename to src/ApplicationInsights/generated/runtime/Extensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs b/src/ApplicationInsights/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs rename to src/ApplicationInsights/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/Extensions/TypeExtensions.cs b/src/ApplicationInsights/generated/runtime/Helpers/Extensions/TypeExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/Extensions/TypeExtensions.cs rename to src/ApplicationInsights/generated/runtime/Helpers/Extensions/TypeExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/Seperator.cs b/src/ApplicationInsights/generated/runtime/Helpers/Seperator.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/Seperator.cs rename to src/ApplicationInsights/generated/runtime/Helpers/Seperator.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/TypeDetails.cs b/src/ApplicationInsights/generated/runtime/Helpers/TypeDetails.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/TypeDetails.cs rename to src/ApplicationInsights/generated/runtime/Helpers/TypeDetails.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/XHelper.cs b/src/ApplicationInsights/generated/runtime/Helpers/XHelper.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Helpers/XHelper.cs rename to src/ApplicationInsights/generated/runtime/Helpers/XHelper.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/HttpPipeline.cs b/src/ApplicationInsights/generated/runtime/HttpPipeline.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/HttpPipeline.cs rename to src/ApplicationInsights/generated/runtime/HttpPipeline.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/HttpPipelineMocking.ps1 b/src/ApplicationInsights/generated/runtime/HttpPipelineMocking.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/HttpPipelineMocking.ps1 rename to src/ApplicationInsights/generated/runtime/HttpPipelineMocking.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/IAssociativeArray.cs b/src/ApplicationInsights/generated/runtime/IAssociativeArray.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/IAssociativeArray.cs rename to src/ApplicationInsights/generated/runtime/IAssociativeArray.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/IHeaderSerializable.cs b/src/ApplicationInsights/generated/runtime/IHeaderSerializable.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/IHeaderSerializable.cs rename to src/ApplicationInsights/generated/runtime/IHeaderSerializable.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/ISendAsync.cs b/src/ApplicationInsights/generated/runtime/ISendAsync.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/ISendAsync.cs rename to src/ApplicationInsights/generated/runtime/ISendAsync.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/InfoAttribute.cs b/src/ApplicationInsights/generated/runtime/InfoAttribute.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/InfoAttribute.cs rename to src/ApplicationInsights/generated/runtime/InfoAttribute.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Iso/IsoDate.cs b/src/ApplicationInsights/generated/runtime/Iso/IsoDate.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Iso/IsoDate.cs rename to src/ApplicationInsights/generated/runtime/Iso/IsoDate.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/JsonType.cs b/src/ApplicationInsights/generated/runtime/JsonType.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/JsonType.cs rename to src/ApplicationInsights/generated/runtime/JsonType.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/MessageAttribute.cs b/src/ApplicationInsights/generated/runtime/MessageAttribute.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/MessageAttribute.cs rename to src/ApplicationInsights/generated/runtime/MessageAttribute.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/MessageAttributeHelper.cs b/src/ApplicationInsights/generated/runtime/MessageAttributeHelper.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/MessageAttributeHelper.cs rename to src/ApplicationInsights/generated/runtime/MessageAttributeHelper.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Method.cs b/src/ApplicationInsights/generated/runtime/Method.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Method.cs rename to src/ApplicationInsights/generated/runtime/Method.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Models/JsonMember.cs b/src/ApplicationInsights/generated/runtime/Models/JsonMember.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Models/JsonMember.cs rename to src/ApplicationInsights/generated/runtime/Models/JsonMember.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Models/JsonModel.cs b/src/ApplicationInsights/generated/runtime/Models/JsonModel.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Models/JsonModel.cs rename to src/ApplicationInsights/generated/runtime/Models/JsonModel.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Models/JsonModelCache.cs b/src/ApplicationInsights/generated/runtime/Models/JsonModelCache.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Models/JsonModelCache.cs rename to src/ApplicationInsights/generated/runtime/Models/JsonModelCache.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/JsonArray.cs b/src/ApplicationInsights/generated/runtime/Nodes/Collections/JsonArray.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/JsonArray.cs rename to src/ApplicationInsights/generated/runtime/Nodes/Collections/JsonArray.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XImmutableArray.cs b/src/ApplicationInsights/generated/runtime/Nodes/Collections/XImmutableArray.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XImmutableArray.cs rename to src/ApplicationInsights/generated/runtime/Nodes/Collections/XImmutableArray.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XList.cs b/src/ApplicationInsights/generated/runtime/Nodes/Collections/XList.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XList.cs rename to src/ApplicationInsights/generated/runtime/Nodes/Collections/XList.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XNodeArray.cs b/src/ApplicationInsights/generated/runtime/Nodes/Collections/XNodeArray.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XNodeArray.cs rename to src/ApplicationInsights/generated/runtime/Nodes/Collections/XNodeArray.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XSet.cs b/src/ApplicationInsights/generated/runtime/Nodes/Collections/XSet.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/Collections/XSet.cs rename to src/ApplicationInsights/generated/runtime/Nodes/Collections/XSet.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonBoolean.cs b/src/ApplicationInsights/generated/runtime/Nodes/JsonBoolean.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonBoolean.cs rename to src/ApplicationInsights/generated/runtime/Nodes/JsonBoolean.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonDate.cs b/src/ApplicationInsights/generated/runtime/Nodes/JsonDate.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonDate.cs rename to src/ApplicationInsights/generated/runtime/Nodes/JsonDate.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonNode.cs b/src/ApplicationInsights/generated/runtime/Nodes/JsonNode.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonNode.cs rename to src/ApplicationInsights/generated/runtime/Nodes/JsonNode.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonNumber.cs b/src/ApplicationInsights/generated/runtime/Nodes/JsonNumber.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonNumber.cs rename to src/ApplicationInsights/generated/runtime/Nodes/JsonNumber.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonObject.cs b/src/ApplicationInsights/generated/runtime/Nodes/JsonObject.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonObject.cs rename to src/ApplicationInsights/generated/runtime/Nodes/JsonObject.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonString.cs b/src/ApplicationInsights/generated/runtime/Nodes/JsonString.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/JsonString.cs rename to src/ApplicationInsights/generated/runtime/Nodes/JsonString.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/XBinary.cs b/src/ApplicationInsights/generated/runtime/Nodes/XBinary.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/XBinary.cs rename to src/ApplicationInsights/generated/runtime/Nodes/XBinary.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/XNull.cs b/src/ApplicationInsights/generated/runtime/Nodes/XNull.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Nodes/XNull.cs rename to src/ApplicationInsights/generated/runtime/Nodes/XNull.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/Exceptions/ParseException.cs b/src/ApplicationInsights/generated/runtime/Parser/Exceptions/ParseException.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/Exceptions/ParseException.cs rename to src/ApplicationInsights/generated/runtime/Parser/Exceptions/ParseException.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/JsonParser.cs b/src/ApplicationInsights/generated/runtime/Parser/JsonParser.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/JsonParser.cs rename to src/ApplicationInsights/generated/runtime/Parser/JsonParser.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/JsonToken.cs b/src/ApplicationInsights/generated/runtime/Parser/JsonToken.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/JsonToken.cs rename to src/ApplicationInsights/generated/runtime/Parser/JsonToken.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/JsonTokenizer.cs b/src/ApplicationInsights/generated/runtime/Parser/JsonTokenizer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/JsonTokenizer.cs rename to src/ApplicationInsights/generated/runtime/Parser/JsonTokenizer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/Location.cs b/src/ApplicationInsights/generated/runtime/Parser/Location.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/Location.cs rename to src/ApplicationInsights/generated/runtime/Parser/Location.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/Readers/SourceReader.cs b/src/ApplicationInsights/generated/runtime/Parser/Readers/SourceReader.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/Readers/SourceReader.cs rename to src/ApplicationInsights/generated/runtime/Parser/Readers/SourceReader.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/TokenReader.cs b/src/ApplicationInsights/generated/runtime/Parser/TokenReader.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Parser/TokenReader.cs rename to src/ApplicationInsights/generated/runtime/Parser/TokenReader.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/PipelineMocking.cs b/src/ApplicationInsights/generated/runtime/PipelineMocking.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/PipelineMocking.cs rename to src/ApplicationInsights/generated/runtime/PipelineMocking.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Properties/Resources.Designer.cs b/src/ApplicationInsights/generated/runtime/Properties/Resources.Designer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Properties/Resources.Designer.cs rename to src/ApplicationInsights/generated/runtime/Properties/Resources.Designer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Properties/Resources.resx b/src/ApplicationInsights/generated/runtime/Properties/Resources.resx similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Properties/Resources.resx rename to src/ApplicationInsights/generated/runtime/Properties/Resources.resx diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Response.cs b/src/ApplicationInsights/generated/runtime/Response.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Response.cs rename to src/ApplicationInsights/generated/runtime/Response.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Serialization/JsonSerializer.cs b/src/ApplicationInsights/generated/runtime/Serialization/JsonSerializer.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Serialization/JsonSerializer.cs rename to src/ApplicationInsights/generated/runtime/Serialization/JsonSerializer.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Serialization/PropertyTransformation.cs b/src/ApplicationInsights/generated/runtime/Serialization/PropertyTransformation.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Serialization/PropertyTransformation.cs rename to src/ApplicationInsights/generated/runtime/Serialization/PropertyTransformation.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Serialization/SerializationOptions.cs b/src/ApplicationInsights/generated/runtime/Serialization/SerializationOptions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Serialization/SerializationOptions.cs rename to src/ApplicationInsights/generated/runtime/Serialization/SerializationOptions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/SerializationMode.cs b/src/ApplicationInsights/generated/runtime/SerializationMode.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/SerializationMode.cs rename to src/ApplicationInsights/generated/runtime/SerializationMode.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/TypeConverterExtensions.cs b/src/ApplicationInsights/generated/runtime/TypeConverterExtensions.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/TypeConverterExtensions.cs rename to src/ApplicationInsights/generated/runtime/TypeConverterExtensions.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/UndeclaredResponseException.cs b/src/ApplicationInsights/generated/runtime/UndeclaredResponseException.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/UndeclaredResponseException.cs rename to src/ApplicationInsights/generated/runtime/UndeclaredResponseException.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Writers/JsonWriter.cs b/src/ApplicationInsights/generated/runtime/Writers/JsonWriter.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Writers/JsonWriter.cs rename to src/ApplicationInsights/generated/runtime/Writers/JsonWriter.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/delegates.cs b/src/ApplicationInsights/generated/runtime/delegates.cs similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/delegates.cs rename to src/ApplicationInsights/generated/runtime/delegates.cs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Az.ApplicationInsights.md b/src/ApplicationInsights/help/Az.ApplicationInsights.md similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Az.ApplicationInsights.md rename to src/ApplicationInsights/help/Az.ApplicationInsights.md index 1164857dd01a..3a79cbad0199 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Az.ApplicationInsights.md +++ b/src/ApplicationInsights/help/Az.ApplicationInsights.md @@ -72,9 +72,6 @@ Update current billing features for an Application Insights component. ### [Set-AzApplicationInsightsPricingPlan](Set-AzApplicationInsightsPricingPlan.md) Update current billing features for an Application Insights component. -### [Set-AzApplicationInsightsWebTest](Set-AzApplicationInsightsWebTest.md) -Creates or updates an Application Insights web test definition. - ### [Update-AzApplicationInsights](Update-AzApplicationInsights.md) Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsights.md b/src/ApplicationInsights/help/Get-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsights.md rename to src/ApplicationInsights/help/Get-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/help/Get-AzApplicationInsightsApiKey.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsApiKey.md rename to src/ApplicationInsights/help/Get-AzApplicationInsightsApiKey.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/help/Get-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/help/Get-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/help/Get-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/help/Get-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/help/Get-AzApplicationInsightsWebTest.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Get-AzApplicationInsightsWebTest.md rename to src/ApplicationInsights/help/Get-AzApplicationInsightsWebTest.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsights.md b/src/ApplicationInsights/help/New-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsights.md rename to src/ApplicationInsights/help/New-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/help/New-AzApplicationInsightsApiKey.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsApiKey.md rename to src/ApplicationInsights/help/New-AzApplicationInsightsApiKey.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/help/New-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/help/New-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/help/New-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/help/New-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/help/New-AzApplicationInsightsWebTest.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsWebTest.md rename to src/ApplicationInsights/help/New-AzApplicationInsightsWebTest.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsWebTestGeolocationObject.md b/src/ApplicationInsights/help/New-AzApplicationInsightsWebTestGeolocationObject.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsWebTestGeolocationObject.md rename to src/ApplicationInsights/help/New-AzApplicationInsightsWebTestGeolocationObject.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsWebTestHeaderFieldObject.md b/src/ApplicationInsights/help/New-AzApplicationInsightsWebTestHeaderFieldObject.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/New-AzApplicationInsightsWebTestHeaderFieldObject.md rename to src/ApplicationInsights/help/New-AzApplicationInsightsWebTestHeaderFieldObject.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsights.md b/src/ApplicationInsights/help/Remove-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsights.md rename to src/ApplicationInsights/help/Remove-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsApiKey.md b/src/ApplicationInsights/help/Remove-AzApplicationInsightsApiKey.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsApiKey.md rename to src/ApplicationInsights/help/Remove-AzApplicationInsightsApiKey.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/help/Remove-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/help/Remove-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/help/Remove-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/help/Remove-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsWebTest.md b/src/ApplicationInsights/help/Remove-AzApplicationInsightsWebTest.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Remove-AzApplicationInsightsWebTest.md rename to src/ApplicationInsights/help/Remove-AzApplicationInsightsWebTest.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsContinuousExport.md b/src/ApplicationInsights/help/Set-AzApplicationInsightsContinuousExport.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsContinuousExport.md rename to src/ApplicationInsights/help/Set-AzApplicationInsightsContinuousExport.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsDailyCap.md b/src/ApplicationInsights/help/Set-AzApplicationInsightsDailyCap.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsDailyCap.md rename to src/ApplicationInsights/help/Set-AzApplicationInsightsDailyCap.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsPricingPlan.md b/src/ApplicationInsights/help/Set-AzApplicationInsightsPricingPlan.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Set-AzApplicationInsightsPricingPlan.md rename to src/ApplicationInsights/help/Set-AzApplicationInsightsPricingPlan.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Update-AzApplicationInsights.md b/src/ApplicationInsights/help/Update-AzApplicationInsights.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Update-AzApplicationInsights.md rename to src/ApplicationInsights/help/Update-AzApplicationInsights.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Update-AzApplicationInsightsLinkedStorageAccount.md b/src/ApplicationInsights/help/Update-AzApplicationInsightsLinkedStorageAccount.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Update-AzApplicationInsightsLinkedStorageAccount.md rename to src/ApplicationInsights/help/Update-AzApplicationInsightsLinkedStorageAccount.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/docs/Update-AzApplicationInsightsWebTestTag.md b/src/ApplicationInsights/help/Update-AzApplicationInsightsWebTestTag.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/docs/Update-AzApplicationInsightsWebTestTag.md rename to src/ApplicationInsights/help/Update-AzApplicationInsightsWebTestTag.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/how-to.md b/src/ApplicationInsights/how-to.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/how-to.md rename to src/ApplicationInsights/how-to.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Az.ApplicationInsights.internal.psm1 b/src/ApplicationInsights/internal/Az.ApplicationInsights.internal.psm1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Az.ApplicationInsights.internal.psm1 rename to src/ApplicationInsights/internal/Az.ApplicationInsights.internal.psm1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Clear-AzApplicationInsights.ps1 b/src/ApplicationInsights/internal/Clear-AzApplicationInsights.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Clear-AzApplicationInsights.ps1 rename to src/ApplicationInsights/internal/Clear-AzApplicationInsights.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsights.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsights.ps1 similarity index 97% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsights.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsights.ps1 index 7a978db9be1e..e60ca0ade473 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsights.ps1 +++ b/src/ApplicationInsights/internal/Get-AzApplicationInsights.ps1 @@ -20,9 +20,9 @@ Returns an Application Insights component. .Description Returns an Application Insights component. .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsAnnotation.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsAnnotation.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsAnnotation.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsAnnotation.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentAvailableFeature.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentAvailableFeature.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentAvailableFeature.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentAvailableFeature.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentCurrentBillingFeature.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentCurrentBillingFeature.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentCurrentBillingFeature.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentCurrentBillingFeature.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentFeatureCapability.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentFeatureCapability.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentFeatureCapability.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentFeatureCapability.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentPurgeStatus.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentPurgeStatus.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentPurgeStatus.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentPurgeStatus.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentQuotaStatus.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentQuotaStatus.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsComponentQuotaStatus.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsComponentQuotaStatus.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsOperation.ps1 b/src/ApplicationInsights/internal/Get-AzApplicationInsightsOperation.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Get-AzApplicationInsightsOperation.ps1 rename to src/ApplicationInsights/internal/Get-AzApplicationInsightsOperation.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsights.ps1 b/src/ApplicationInsights/internal/New-AzApplicationInsights.ps1 similarity index 99% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsights.ps1 rename to src/ApplicationInsights/internal/New-AzApplicationInsights.ps1 index b54e9f41dc97..cc1764573e3d 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsights.ps1 +++ b/src/ApplicationInsights/internal/New-AzApplicationInsights.ps1 @@ -22,7 +22,7 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -PS C:\> New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus +New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsAnnotation.ps1 b/src/ApplicationInsights/internal/New-AzApplicationInsightsAnnotation.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsAnnotation.ps1 rename to src/ApplicationInsights/internal/New-AzApplicationInsightsAnnotation.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsApiKey.ps1 b/src/ApplicationInsights/internal/New-AzApplicationInsightsApiKey.ps1 similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsApiKey.ps1 rename to src/ApplicationInsights/internal/New-AzApplicationInsightsApiKey.ps1 index fab490001782..7d058d97fcd1 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsApiKey.ps1 +++ b/src/ApplicationInsights/internal/New-AzApplicationInsightsApiKey.ps1 @@ -20,9 +20,9 @@ Create an API Key of an Application Insights component. .Description Create an API Key of an Application Insights component. .Example -PS C:\> $apiKeyDescription = "testapiKey" -PS C:\> $permissions = @("ReadTelemetry", "WriteAnnotations") -PS C:\> New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions +$apiKeyDescription = "testapiKey" +$permissions = @("ReadTelemetry", "WriteAnnotations") +New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions .Outputs diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/internal/New-AzApplicationInsightsContinuousExport.ps1 similarity index 95% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/internal/New-AzApplicationInsightsContinuousExport.ps1 index 35cd8f99c71c..a6ebfa81d02f 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/internal/New-AzApplicationInsightsContinuousExport.ps1 @@ -20,9 +20,9 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` -DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus ` -StorageSASUri $sasuri diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsWebTest.ps1 b/src/ApplicationInsights/internal/New-AzApplicationInsightsWebTest.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/New-AzApplicationInsightsWebTest.ps1 rename to src/ApplicationInsights/internal/New-AzApplicationInsightsWebTest.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/ApplicationInsights/internal/ProxyCmdletDefinitions.ps1 similarity index 99% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/ProxyCmdletDefinitions.ps1 rename to src/ApplicationInsights/internal/ProxyCmdletDefinitions.ps1 index 82a5e92e7244..efbcd4b541a8 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/ApplicationInsights/internal/ProxyCmdletDefinitions.ps1 @@ -1339,9 +1339,9 @@ Returns an Application Insights component. .Description Returns an Application Insights component. .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" .Example -PS C:\> Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan +Get-AzApplicationInsights -ResourceGroupName "testgroup" -Name "test" -IncludePricingPlan .Inputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.IApplicationInsightsIdentity @@ -1672,9 +1672,9 @@ Create an API Key of an Application Insights component. .Description Create an API Key of an Application Insights component. .Example -PS C:\> $apiKeyDescription = "testapiKey" -PS C:\> $permissions = @("ReadTelemetry", "WriteAnnotations") -PS C:\> New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions +$apiKeyDescription = "testapiKey" +$permissions = @("ReadTelemetry", "WriteAnnotations") +New-AzApplicationInsightsApiKey -ResourceGroupName "testGroup" -Name "test" -Description $apiKeyDescription -Permissions $permissions .Outputs @@ -1826,9 +1826,9 @@ Create a Continuous Export configuration of an Application Insights component. .Description Create a Continuous Export configuration of an Application Insights component. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" ` -DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus ` -StorageSASUri $sasuri @@ -2355,7 +2355,7 @@ Note: You cannot specify a different value for InstrumentationKey nor AppId in t Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example -PS C:\> New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus +New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus .Outputs Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent @@ -2944,9 +2944,9 @@ Update the Continuous Export configuration for this export id. .Description Update the Continuous Export configuration for this export id. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus -StorageSASUri $sasuri diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/README.md b/src/ApplicationInsights/internal/README.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/README.md rename to src/ApplicationInsights/internal/README.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Remove-AzApplicationInsightsAnnotation.ps1 b/src/ApplicationInsights/internal/Remove-AzApplicationInsightsAnnotation.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Remove-AzApplicationInsightsAnnotation.ps1 rename to src/ApplicationInsights/internal/Remove-AzApplicationInsightsAnnotation.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsights.ps1 b/src/ApplicationInsights/internal/Set-AzApplicationInsights.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsights.ps1 rename to src/ApplicationInsights/internal/Set-AzApplicationInsights.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsightsComponentCurrentBillingFeature.ps1 b/src/ApplicationInsights/internal/Set-AzApplicationInsightsComponentCurrentBillingFeature.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsightsComponentCurrentBillingFeature.ps1 rename to src/ApplicationInsights/internal/Set-AzApplicationInsightsComponentCurrentBillingFeature.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsightsContinuousExport.ps1 b/src/ApplicationInsights/internal/Set-AzApplicationInsightsContinuousExport.ps1 similarity index 96% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsightsContinuousExport.ps1 rename to src/ApplicationInsights/internal/Set-AzApplicationInsightsContinuousExport.ps1 index 05d2c79e732b..92740f7c565d 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Set-AzApplicationInsightsContinuousExport.ps1 +++ b/src/ApplicationInsights/internal/Set-AzApplicationInsightsContinuousExport.ps1 @@ -20,9 +20,9 @@ Update the Continuous Export configuration for this export id. .Description Update the Continuous Export configuration for this export id. .Example -PS C:\> $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w -PS C:\> $sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken -PS C:\> Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" +$sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context -ExpiryTime (Get-Date).AddYears(50) -Permission w +$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken +Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" -DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus -StorageSASUri $sasuri diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/internal/Update-AzApplicationInsightsComponentTag.ps1 b/src/ApplicationInsights/internal/Update-AzApplicationInsightsComponentTag.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/internal/Update-AzApplicationInsightsComponentTag.ps1 rename to src/ApplicationInsights/internal/Update-AzApplicationInsightsComponentTag.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/pack-module.ps1 b/src/ApplicationInsights/pack-module.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/pack-module.ps1 rename to src/ApplicationInsights/pack-module.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/run-module.ps1 b/src/ApplicationInsights/run-module.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/run-module.ps1 rename to src/ApplicationInsights/run-module.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test-module.ps1 b/src/ApplicationInsights/test-module.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test-module.ps1 rename to src/ApplicationInsights/test-module.ps1 diff --git a/src/ApplicationInsights/test/ApplicationInsightsComponent.Recording.json b/src/ApplicationInsights/test/ApplicationInsightsComponent.Recording.json new file mode 100644 index 000000000000..feab6d53d85a --- /dev/null +++ b/src/ApplicationInsights/test/ApplicationInsightsComponent.Recording.json @@ -0,0 +1,128 @@ +{ + "ApplicationInsightsComponent+[NoContext]+Component+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0?api-version=2020-02-02+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0?api-version=2020-02-02", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"Application_Type\": \"web\"\r\n },\r\n \"kind\": \"web\"\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "103" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f4f32e10-8573-4ef3-b42b-d9c8528f9ca5" ], + "X-Content-Type-Options": [ "nosniff" ], + "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], + "Access-Control-Expose-Headers": [ "Request-Context" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Microsoft-IIS/10.0" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "f8130d8a-ef8f-4c94-9ba3-1b7a390198b8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155422Z:f8130d8a-ef8f-4c94-9ba3-1b7a390198b8" ], + "Date": [ "Mon, 16 May 2022 15:54:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1082" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0\",\"name\":\"componentjq87r0\",\"type\":\"microsoft.insights/components\",\"location\":\"westus2\",\"tags\":{},\"kind\":\"web\",\"etag\":\"\\\"8f01b4e6-0000-0600-0000-628273ac0000\\\"\",\"properties\":{\"ApplicationId\":\"componentjq87r0\",\"AppId\":\"5c4bf24b-70bb-4b47-8977-983e7d5ad657\",\"Application_Type\":\"web\",\"Flow_Type\":null,\"Request_Source\":null,\"InstrumentationKey\":\"c75c7968-7317-4a52-bda9-8ba6c76558c1\",\"ConnectionString\":\"InstrumentationKey=c75c7968-7317-4a52-bda9-8ba6c76558c1;IngestionEndpoint=https://westus2-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/\",\"Name\":\"componentjq87r0\",\"CreationDate\":\"2022-05-16T15:54:20.0201213+00:00\",\"TenantId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"provisioningState\":\"Succeeded\",\"SamplingPercentage\":null,\"RetentionInDays\":90,\"IngestionMode\":\"ApplicationInsights\",\"publicNetworkAccessForIngestion\":\"Enabled\",\"publicNetworkAccessForQuery\":\"Enabled\",\"Ver\":\"v2\"}}", + "isContentBase64": false + } + }, + "ApplicationInsightsComponent+[NoContext]+Component+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0?api-version=2020-02-02+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0?api-version=2020-02-02", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "6900db86-59b6-4471-804c-fa7695259e7f" ], + "CommandName": [ "." ], + "FullCommandName": [ "Get-AzApplicationInsights_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "Az.ApplicationInsights/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6900db86-59b6-4471-804c-fa7695259e7f" ], + "X-Content-Type-Options": [ "nosniff" ], + "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], + "Access-Control-Expose-Headers": [ "Request-Context" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Microsoft-IIS/10.0" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "f2d437bd-b871-48f5-bf5b-b249cf2bfe83" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155423Z:f2d437bd-b871-48f5-bf5b-b249cf2bfe83" ], + "Date": [ "Mon, 16 May 2022 15:54:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1082" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0\",\"name\":\"componentjq87r0\",\"type\":\"microsoft.insights/components\",\"location\":\"westus2\",\"tags\":{},\"kind\":\"web\",\"etag\":\"\\\"8f01b4e6-0000-0600-0000-628273ac0000\\\"\",\"properties\":{\"ApplicationId\":\"componentjq87r0\",\"AppId\":\"5c4bf24b-70bb-4b47-8977-983e7d5ad657\",\"Application_Type\":\"web\",\"Flow_Type\":null,\"Request_Source\":null,\"InstrumentationKey\":\"c75c7968-7317-4a52-bda9-8ba6c76558c1\",\"ConnectionString\":\"InstrumentationKey=c75c7968-7317-4a52-bda9-8ba6c76558c1;IngestionEndpoint=https://westus2-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/\",\"Name\":\"componentjq87r0\",\"CreationDate\":\"2022-05-16T15:54:20.0201213+00:00\",\"TenantId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"provisioningState\":\"Succeeded\",\"SamplingPercentage\":null,\"RetentionInDays\":90,\"IngestionMode\":\"ApplicationInsights\",\"publicNetworkAccessForIngestion\":\"Enabled\",\"publicNetworkAccessForQuery\":\"Enabled\",\"Ver\":\"v2\"}}", + "isContentBase64": false + } + }, + "ApplicationInsightsComponent+[NoContext]+Component+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0?api-version=2020-02-02+3": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/componentjq87r0?api-version=2020-02-02", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "a42872a2-d151-476e-af6e-f72e81af73a4" ], + "CommandName": [ "Remove-AzApplicationInsights" ], + "FullCommandName": [ "Remove-AzApplicationInsights_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "Az.ApplicationInsights/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a42872a2-d151-476e-af6e-f72e81af73a4" ], + "X-Content-Type-Options": [ "nosniff" ], + "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], + "Access-Control-Expose-Headers": [ "Request-Context" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Microsoft-IIS/10.0" ], + "X-Powered-By": [ "ASP.NET" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "c983d465-24dc-40d1-8d9a-85c1d01b9bb2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155431Z:c983d465-24dc-40d1-8d9a-85c1d01b9bb2" ], + "Date": [ "Mon, 16 May 2022 15:54:30 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/ApplicationInsightsComponent.Tests.ps1 b/src/ApplicationInsights/test/ApplicationInsightsComponent.Tests.ps1 similarity index 70% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/ApplicationInsightsComponent.Tests.ps1 rename to src/ApplicationInsights/test/ApplicationInsightsComponent.Tests.ps1 index 52f8281577a4..dcc2860cae4c 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/ApplicationInsightsComponent.Tests.ps1 +++ b/src/ApplicationInsights/test/ApplicationInsightsComponent.Tests.ps1 @@ -27,15 +27,8 @@ Describe 'ApplicationInsightsComponent' { $component.Name | Should -Be $env.component1 $component.Kind | Should -Be $kind $component.InstrumentationKey | Should -Not -BeNullOrEmpty - "Enabled" | Should -Be $component.PublicNetworkAccessForIngestion - "Enabled" | Should -Be $component.PublicNetworkAccessForQuery - - $component = Update-AzApplicationInsights -ResourceGroupName $env.resourceGroup -Name $env.component1 -Tag $tag -PublicNetworkAccessForIngestion "Disabled" -PublicNetworkAccessForQuery "Disabled" - - "Disabled" | Should -Be $component.PublicNetworkAccessForIngestion - "Disabled" | Should -Be $component.PublicNetworkAccessForQuery - $val | Should -Be $component.Tag[$key] - + $component.PublicNetworkAccessForIngestion | Should -Be "Enabled" + $component.PublicNetworkAccessForQuery | Should -Be "Enabled" Remove-AzApplicationInsights -ResourceGroupName $env.resourceGroup -Name $env.component1 } } \ No newline at end of file diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsights.Tests.ps1 b/src/ApplicationInsights/test/Get-AzApplicationInsights.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsights.Tests.ps1 rename to src/ApplicationInsights/test/Get-AzApplicationInsights.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsApiKey.Tests.ps1 b/src/ApplicationInsights/test/Get-AzApplicationInsightsApiKey.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsApiKey.Tests.ps1 rename to src/ApplicationInsights/test/Get-AzApplicationInsightsApiKey.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsContinuousExport.Tests.ps1 b/src/ApplicationInsights/test/Get-AzApplicationInsightsContinuousExport.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsContinuousExport.Tests.ps1 rename to src/ApplicationInsights/test/Get-AzApplicationInsightsContinuousExport.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 b/src/ApplicationInsights/test/Get-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 rename to src/ApplicationInsights/test/Get-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsWebTest.Recording.json b/src/ApplicationInsights/test/Get-AzApplicationInsightsWebTest.Recording.json similarity index 67% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsWebTest.Recording.json rename to src/ApplicationInsights/test/Get-AzApplicationInsightsWebTest.Recording.json index c16510d91912..8daf97dba3c0 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsWebTest.Recording.json +++ b/src/ApplicationInsights/test/Get-AzApplicationInsightsWebTest.Recording.json @@ -6,8 +6,8 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "a815fafd-ccf4-4678-b20b-5d9cdbe7b134" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "9c38a2af-73e1-4158-8093-040f5f10dcc5" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_List1" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,33 +22,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "a815fafd-ccf4-4678-b20b-5d9cdbe7b134", "a815fafd-ccf4-4678-b20b-5d9cdbe7b134" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-request-id": [ "19e90f97-de1a-4a82-aa61-2fddab2932a7" ], - "x-ms-correlation-request-id": [ "19e90f97-de1a-4a82-aa61-2fddab2932a7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034634Z:19e90f97-de1a-4a82-aa61-2fddab2932a7" ], + "x-ms-original-request-ids": [ "9c38a2af-73e1-4158-8093-040f5f10dcc5", "9c38a2af-73e1-4158-8093-040f5f10dcc5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-request-id": [ "6ba9f2a9-81d9-4d25-8253-f6857794afb7" ], + "x-ms-correlation-request-id": [ "6ba9f2a9-81d9-4d25-8253-f6857794afb7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155436Z:6ba9f2a9-81d9-4d25-8253-f6857794afb7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 May 2022 03:46:33 GMT" ] + "Date": [ "Mon, 16 May 2022 15:54:35 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ], "Content-Length": [ "1157" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzApplicationInsightsWebTest+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview+1": { + "Get-AzApplicationInsightsWebTest+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "e2b55500-c012-4bab-aedf-0c517066ef4f" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "b3b8754f-b8dc-40b7-9846-07bdafdf0d01" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -63,36 +63,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e2b55500-c012-4bab-aedf-0c517066ef4f" ], + "x-ms-request-id": [ "b3b8754f-b8dc-40b7-9846-07bdafdf0d01" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "c8423532-d7e9-4641-a550-08660945f690" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034635Z:c8423532-d7e9-4641-a550-08660945f690" ], - "Date": [ "Tue, 10 May 2022 03:46:34 GMT" ] + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "cd7a5f1b-9772-4ca2-8bd4-b456e48c4309" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155437Z:cd7a5f1b-9772-4ca2-8bd4-b456e48c4309" ], + "Date": [ "Mon, 16 May 2022 15:54:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Get-AzApplicationInsightsWebTest+[NoContext]+List2+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview+1": { + "Get-AzApplicationInsightsWebTest+[NoContext]+List2+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "cf66faf1-10d4-42df-aa7a-0add3c899678" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "48b8dab4-08f4-4283-b0e9-fc626d926474" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -107,33 +107,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "cf66faf1-10d4-42df-aa7a-0add3c899678", "cf66faf1-10d4-42df-aa7a-0add3c899678" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-request-id": [ "dd0d5c48-c72b-422f-826b-991b2c5e6767" ], - "x-ms-correlation-request-id": [ "dd0d5c48-c72b-422f-826b-991b2c5e6767" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034636Z:dd0d5c48-c72b-422f-826b-991b2c5e6767" ], + "x-ms-original-request-ids": [ "48b8dab4-08f4-4283-b0e9-fc626d926474", "48b8dab4-08f4-4283-b0e9-fc626d926474" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-request-id": [ "5f97c1e5-454e-451a-af0e-1c4b4e4298f8" ], + "x-ms-correlation-request-id": [ "5f97c1e5-454e-451a-af0e-1c4b4e4298f8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155438Z:5f97c1e5-454e-451a-af0e-1c4b4e4298f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 May 2022 03:46:36 GMT" ] + "Date": [ "Mon, 16 May 2022 15:54:37 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ], "Content-Length": [ "1157" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzApplicationInsightsWebTest+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh/webtests?api-version=2018-05-01-preview+1": { + "Get-AzApplicationInsightsWebTest+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh/webtests?api-version=2018-05-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh/webtests?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh/webtests?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "b2d951c0-4681-4c25-88b1-7aacc0f1d1ab" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "5271fc30-a03d-43d4-88df-9db31601148e" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_List2" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -154,30 +154,30 @@ "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-request-id": [ "38175070-cd84-4e30-a7f9-f9b6a3173f60" ], - "x-ms-correlation-request-id": [ "38175070-cd84-4e30-a7f9-f9b6a3173f60" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034638Z:38175070-cd84-4e30-a7f9-f9b6a3173f60" ], - "Date": [ "Tue, 10 May 2022 03:46:37 GMT" ] + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-request-id": [ "1d6e0448-43fc-461a-b8bd-ca5008c8f10f" ], + "x-ms-correlation-request-id": [ "1d6e0448-43fc-461a-b8bd-ca5008c8f10f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155440Z:1d6e0448-43fc-461a-b8bd-ca5008c8f10f" ], + "Date": [ "Mon, 16 May 2022 15:54:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1694" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\r\n \"name\": \"standardwebtest-p7kj09-pwsh\",\r\n \"type\": \"microsoft.insights/webtests\",\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\": \"Resource\"\r\n },\r\n \"kind\": null,\r\n \"etag\": \"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\r\n \"properties\": {\r\n \"SyntheticMonitorId\": \"standardwebtest-p7kj09-pwsh\",\r\n \"Name\": \"standardwebtest-p7kj09-pwsh\",\r\n \"Description\": null,\r\n \"Enabled\": true,\r\n \"Frequency\": 300,\r\n \"Timeout\": 120,\r\n \"Kind\": \"standard\",\r\n \"RetryEnabled\": true,\r\n \"Locations\": [\r\n {\r\n \"Id\": \"emea-nl-ams-azr\"\r\n },\r\n {\r\n \"Id\": \"us-ca-sjc-azr\"\r\n }\r\n ],\r\n \"Configuration\": null,\r\n \"Request\": {\r\n \"RequestUrl\": \"https://docs.microsoft.com/\",\r\n \"Headers\": null,\r\n \"HttpVerb\": \"GET\",\r\n \"RequestBody\": null,\r\n \"ParseDependentRequests\": null,\r\n \"FollowRedirects\": null\r\n },\r\n \"ValidationRules\": {\r\n \"ExpectedHttpStatusCode\": 200,\r\n \"IgnoreHttpStatusCode\": null,\r\n \"ContentValidation\": null,\r\n \"SSLCheck\": null,\r\n \"SSLCertRemainingLifetimeCheck\": null\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "Content": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\r\n \"name\": \"standardwebtest-p9b7o0-pwsh\",\r\n \"type\": \"microsoft.insights/webtests\",\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\": \"Resource\"\r\n },\r\n \"kind\": null,\r\n \"etag\": \"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\r\n \"properties\": {\r\n \"SyntheticMonitorId\": \"standardwebtest-p9b7o0-pwsh\",\r\n \"Name\": \"standardwebtest-p9b7o0-pwsh\",\r\n \"Description\": null,\r\n \"Enabled\": true,\r\n \"Frequency\": 300,\r\n \"Timeout\": 120,\r\n \"Kind\": \"standard\",\r\n \"RetryEnabled\": true,\r\n \"Locations\": [\r\n {\r\n \"Id\": \"emea-nl-ams-azr\"\r\n },\r\n {\r\n \"Id\": \"us-ca-sjc-azr\"\r\n }\r\n ],\r\n \"Configuration\": null,\r\n \"Request\": {\r\n \"RequestUrl\": \"https://docs.microsoft.com/\",\r\n \"Headers\": null,\r\n \"HttpVerb\": \"GET\",\r\n \"RequestBody\": null,\r\n \"ParseDependentRequests\": null,\r\n \"FollowRedirects\": null\r\n },\r\n \"ValidationRules\": {\r\n \"ExpectedHttpStatusCode\": 200,\r\n \"IgnoreHttpStatusCode\": null,\r\n \"ContentValidation\": null,\r\n \"SSLCheck\": null,\r\n \"SSLCertRemainingLifetimeCheck\": null\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "isContentBase64": false } }, - "Get-AzApplicationInsightsWebTest+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview+1": { + "Get-AzApplicationInsightsWebTest+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "5a4c2953-12a5-4e2a-b79c-d657fbad034d" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "caf0a5b6-b1a8-41aa-bd86-f346c241dfba" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -192,36 +192,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5a4c2953-12a5-4e2a-b79c-d657fbad034d" ], + "x-ms-request-id": [ "caf0a5b6-b1a8-41aa-bd86-f346c241dfba" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "f7cd92ee-e826-4f63-b466-9d0ff8d2e1c1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034639Z:f7cd92ee-e826-4f63-b466-9d0ff8d2e1c1" ], - "Date": [ "Tue, 10 May 2022 03:46:38 GMT" ] + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "57e2da51-d377-438d-9048-a194618c1816" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155441Z:57e2da51-d377-438d-9048-a194618c1816" ], + "Date": [ "Mon, 16 May 2022 15:54:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Get-AzApplicationInsightsWebTest+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview+2": { + "Get-AzApplicationInsightsWebTest+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "e71eebd3-0be0-43d0-bd6e-a51fc377e4e0" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "d25dae4a-d360-4fd7-82ba-fb15504f4146" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -236,24 +236,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e71eebd3-0be0-43d0-bd6e-a51fc377e4e0" ], + "x-ms-request-id": [ "d25dae4a-d360-4fd7-82ba-fb15504f4146" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "e63b1f50-7ecb-4770-9321-fa98ac836c98" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034640Z:e63b1f50-7ecb-4770-9321-fa98ac836c98" ], - "Date": [ "Tue, 10 May 2022 03:46:40 GMT" ] + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "d5d1b594-0d80-4a24-9e8e-b9241cd86919" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155442Z:d5d1b594-0d80-4a24-9e8e-b9241cd86919" ], + "Date": [ "Mon, 16 May 2022 15:54:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsWebTest.Tests.ps1 b/src/ApplicationInsights/test/Get-AzApplicationInsightsWebTest.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Get-AzApplicationInsightsWebTest.Tests.ps1 rename to src/ApplicationInsights/test/Get-AzApplicationInsightsWebTest.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsights.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsights.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsights.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsights.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsApiKey.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsightsApiKey.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsApiKey.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsightsApiKey.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsContinuousExport.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsightsContinuousExport.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsContinuousExport.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsightsContinuousExport.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTest.Recording.json b/src/ApplicationInsights/test/New-AzApplicationInsightsWebTest.Recording.json similarity index 68% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTest.Recording.json rename to src/ApplicationInsights/test/New-AzApplicationInsightsWebTest.Recording.json index 6f5d88fb271a..af1510dd0a35 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTest.Recording.json +++ b/src/ApplicationInsights/test/New-AzApplicationInsightsWebTest.Recording.json @@ -1,9 +1,9 @@ { - "New-AzApplicationInsightsWebTest+[NoContext]+CreateStandard+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-hpscby-pwsh?api-version=2018-05-01-preview+1": { + "New-AzApplicationInsightsWebTest+[NoContext]+CreateStandard+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-x6i8rc-pwsh?api-version=2018-05-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-hpscby-pwsh?api-version=2018-05-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\": \"Resource\"\r\n },\r\n \"properties\": {\r\n \"Request\": {\r\n \"RequestUrl\": \"https://docs.microsoft.com/\",\r\n \"HttpVerb\": \"GET\"\r\n },\r\n \"ValidationRules\": {\r\n \"ExpectedHttpStatusCode\": 200\r\n },\r\n \"Name\": \"standardwebtest-hpscby-pwsh\",\r\n \"Enabled\": true,\r\n \"Frequency\": 300,\r\n \"Timeout\": 120,\r\n \"Kind\": \"standard\",\r\n \"RetryEnabled\": true,\r\n \"Locations\": [\r\n {\r\n \"Id\": \"emea-nl-ams-azr\"\r\n },\r\n {\r\n \"Id\": \"us-ca-sjc-azr\"\r\n }\r\n ]\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-x6i8rc-pwsh?api-version=2018-05-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\": \"Resource\"\r\n },\r\n \"properties\": {\r\n \"Request\": {\r\n \"RequestUrl\": \"https://docs.microsoft.com/\",\r\n \"HttpVerb\": \"GET\"\r\n },\r\n \"ValidationRules\": {\r\n \"ExpectedHttpStatusCode\": 200\r\n },\r\n \"Name\": \"standardwebtest-x6i8rc-pwsh\",\r\n \"Enabled\": true,\r\n \"Frequency\": 300,\r\n \"Timeout\": 120,\r\n \"Kind\": \"standard\",\r\n \"RetryEnabled\": true,\r\n \"Locations\": [\r\n {\r\n \"Id\": \"emea-nl-ams-azr\"\r\n },\r\n {\r\n \"Id\": \"us-ca-sjc-azr\"\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,36 +17,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f1559fb7-9b95-4139-81a5-469dd597a456" ], + "x-ms-request-id": [ "9eac849d-6602-4755-b09a-637a38d913b7" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "20e3167b-4b04-45ca-b1ae-f1b72b5c7c07" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034648Z:20e3167b-4b04-45ca-b1ae-f1b72b5c7c07" ], - "Date": [ "Tue, 10 May 2022 03:46:47 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "5c08e127-0f6e-4434-b282-f14cfd866183" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155449Z:5c08e127-0f6e-4434-b282-f14cfd866183" ], + "Date": [ "Mon, 16 May 2022 15:54:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-hpscby-pwsh\",\"name\":\"standardwebtest-hpscby-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600b011-0000-0600-0000-6279e0260000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-hpscby-pwsh\",\"Name\":\"standardwebtest-hpscby-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-x6i8rc-pwsh\",\"name\":\"standardwebtest-x6i8rc-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0155e8-0000-0600-0000-628273c80000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-x6i8rc-pwsh\",\"Name\":\"standardwebtest-x6i8rc-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New-AzApplicationInsightsWebTest+[NoContext]+CreateStandard+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-hpscby-pwsh?api-version=2018-05-01-preview+2": { + "New-AzApplicationInsightsWebTest+[NoContext]+CreateStandard+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-x6i8rc-pwsh?api-version=2018-05-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-hpscby-pwsh?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-x6i8rc-pwsh?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "dcbd79e5-af23-4aaa-8f48-9ed253f23b46" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "035e4930-87ad-441b-bc97-9f3e43321386" ], "CommandName": [ "Remove-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Remove-AzApplicationInsightsWebTest_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -61,7 +61,7 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "dcbd79e5-af23-4aaa-8f48-9ed253f23b46" ], + "x-ms-request-id": [ "035e4930-87ad-441b-bc97-9f3e43321386" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], @@ -69,9 +69,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "182abd43-cee1-40bc-a2c5-91d8f64cbbd7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034651Z:182abd43-cee1-40bc-a2c5-91d8f64cbbd7" ], - "Date": [ "Tue, 10 May 2022 03:46:50 GMT" ] + "x-ms-correlation-request-id": [ "309091ca-3c73-4a06-9be0-10891685ac6d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155453Z:309091ca-3c73-4a06-9be0-10891685ac6d" ], + "Date": [ "Mon, 16 May 2022 15:54:53 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -81,15 +81,15 @@ "isContentBase64": false } }, - "New-AzApplicationInsightsWebTest+[NoContext]+CreateStandard+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview+3": { + "New-AzApplicationInsightsWebTest+[NoContext]+CreateStandard+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "292eabc7-be53-4b06-aed8-f005f23857ed" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "3a1a11b0-7534-4aea-b03a-720210ebcbf0" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -104,29 +104,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "292eabc7-be53-4b06-aed8-f005f23857ed", "292eabc7-be53-4b06-aed8-f005f23857ed" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-request-id": [ "1a8938e0-9d88-41fa-bad6-355f1d95b92f" ], - "x-ms-correlation-request-id": [ "1a8938e0-9d88-41fa-bad6-355f1d95b92f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034652Z:1a8938e0-9d88-41fa-bad6-355f1d95b92f" ], + "x-ms-original-request-ids": [ "3a1a11b0-7534-4aea-b03a-720210ebcbf0", "3a1a11b0-7534-4aea-b03a-720210ebcbf0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-request-id": [ "c263e995-fa10-43dd-aea5-b1ab508cbcb9" ], + "x-ms-correlation-request-id": [ "c263e995-fa10-43dd-aea5-b1ab508cbcb9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155454Z:c263e995-fa10-43dd-aea5-b1ab508cbcb9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 May 2022 03:46:51 GMT" ] + "Date": [ "Mon, 16 May 2022 15:54:54 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ], "Content-Length": [ "1157" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "New-AzApplicationInsightsWebTest+[NoContext]+CreatePing+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/basicwebtest-aebyvh-pwsh?api-version=2018-05-01-preview+1": { + "New-AzApplicationInsightsWebTest+[NoContext]+CreatePing+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/basicwebtest-287gcu-pwsh?api-version=2018-05-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/basicwebtest-aebyvh-pwsh?api-version=2018-05-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\": \"Resource\"\r\n },\r\n \"properties\": {\r\n \"Configuration\": {\r\n \"WebTest\": \"\\u003cWebTest Name=\\\"basicwebtest-aebyvh-pwsh\\\" Id=\\\"4c78b7fc-fba1-4f6c-b961-17a58db30355\\\" Enabled=\\\"True\\\" CssProjectStructure=\\\"\\\" CssIteration=\\\"\\\" Timeout=\\\"120\\\" WorkItemIds=\\\"\\\" xmlns=\\\"http://microsoft.com/schemas/VisualStudio/TeamTest/2010\\\" Description=\\\"\\\" CredentialUserName=\\\"\\\" CredentialPassword=\\\"\\\" PreAuthenticate=\\\"True\\\" Proxy=\\\"default\\\" StopOnError=\\\"False\\\" RecordedResultFile=\\\"\\\" ResultsLocale=\\\"\\\"\\u003e \\r\\n \\u003cItems\\u003e \\r\\n \\u003cRequest Method=\\\"Get\\\" Guid=\\\"e1b423ab-45ff-4c48-881f-7e570054979a\\\" Version=\\\"1.1\\\" Url=\\\"https://docs.microsoft.com/\\\" ThinkTime=\\\"0\\\" Timeout=\\\"120\\\" ParseDependentRequests=\\\"\\\" FollowRedirects=\\\"True\\\" RecordResult=\\\"True\\\" Cache=\\\"False\\\" ResponseTimeGoal=\\\"0\\\" Encoding=\\\"utf-8\\\" ExpectedHttpStatusCode=\\\"200\\\" ExpectedResponseUrl=\\\"\\\" ReportingName=\\\"\\\" IgnoreHttpStatusCode=\\\"False\\\" /\\u003e \\r\\n \\u003c/Items\\u003e\\r\\n \\r\\n \\u003c/WebTest\\u003e\"\r\n },\r\n \"Name\": \"basicwebtest-aebyvh-pwsh\",\r\n \"Enabled\": true,\r\n \"Frequency\": 300,\r\n \"Timeout\": 120,\r\n \"Kind\": \"ping\",\r\n \"RetryEnabled\": true,\r\n \"Locations\": [\r\n {\r\n \"Id\": \"emea-nl-ams-azr\"\r\n },\r\n {\r\n \"Id\": \"us-ca-sjc-azr\"\r\n }\r\n ]\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/basicwebtest-287gcu-pwsh?api-version=2018-05-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\": \"Resource\"\r\n },\r\n \"properties\": {\r\n \"Configuration\": {\r\n \"WebTest\": \"\\u003cWebTest Name=\\\"basicwebtest-287gcu-pwsh\\\" Id=\\\"0c9718bb-17e5-48c9-b6a1-0b1f18bd8216\\\" Enabled=\\\"True\\\" CssProjectStructure=\\\"\\\" CssIteration=\\\"\\\" Timeout=\\\"120\\\" WorkItemIds=\\\"\\\" xmlns=\\\"http://microsoft.com/schemas/VisualStudio/TeamTest/2010\\\" Description=\\\"\\\" CredentialUserName=\\\"\\\" CredentialPassword=\\\"\\\" PreAuthenticate=\\\"True\\\" Proxy=\\\"default\\\" StopOnError=\\\"False\\\" RecordedResultFile=\\\"\\\" ResultsLocale=\\\"\\\"\\u003e \\r\\n \\u003cItems\\u003e \\r\\n \\u003cRequest Method=\\\"Get\\\" Guid=\\\"77ddf90f-1ff2-4d1c-bbf0-08dd337db2c4\\\" Version=\\\"1.1\\\" Url=\\\"https://docs.microsoft.com/\\\" ThinkTime=\\\"0\\\" Timeout=\\\"120\\\" ParseDependentRequests=\\\"\\\" FollowRedirects=\\\"True\\\" RecordResult=\\\"True\\\" Cache=\\\"False\\\" ResponseTimeGoal=\\\"0\\\" Encoding=\\\"utf-8\\\" ExpectedHttpStatusCode=\\\"200\\\" ExpectedResponseUrl=\\\"\\\" ReportingName=\\\"\\\" IgnoreHttpStatusCode=\\\"False\\\" /\\u003e \\r\\n \\u003c/Items\\u003e\\r\\n \\r\\n \\u003c/WebTest\\u003e\"\r\n },\r\n \"Name\": \"basicwebtest-287gcu-pwsh\",\r\n \"Enabled\": true,\r\n \"Frequency\": 300,\r\n \"Timeout\": 120,\r\n \"Kind\": \"ping\",\r\n \"RetryEnabled\": true,\r\n \"Locations\": [\r\n {\r\n \"Id\": \"emea-nl-ams-azr\"\r\n },\r\n {\r\n \"Id\": \"us-ca-sjc-azr\"\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -140,36 +140,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3853b9da-556a-42bc-b3a2-f48bee3d2292" ], + "x-ms-request-id": [ "ccd81210-f4d6-4d8e-9ce7-a37aba5714d2" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "8aebc04a-2514-41f0-a2d8-f19fd84b9bcd" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034658Z:8aebc04a-2514-41f0-a2d8-f19fd84b9bcd" ], - "Date": [ "Tue, 10 May 2022 03:46:57 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "caf89aa0-1217-4629-aafd-a4642f75aa8f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155500Z:caf89aa0-1217-4629-aafd-a4642f75aa8f" ], + "Date": [ "Mon, 16 May 2022 15:55:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2016" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/basicwebtest-aebyvh-pwsh\",\"name\":\"basicwebtest-aebyvh-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f6004212-0000-0600-0000-6279e0300000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"basicwebtest-aebyvh-pwsh\",\"Name\":\"basicwebtest-aebyvh-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"ping\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":{\"WebTest\":\"\u003cWebTest Name=\\\"basicwebtest-aebyvh-pwsh\\\" Id=\\\"4c78b7fc-fba1-4f6c-b961-17a58db30355\\\" Enabled=\\\"True\\\" CssProjectStructure=\\\"\\\" CssIteration=\\\"\\\" Timeout=\\\"120\\\" WorkItemIds=\\\"\\\" xmlns=\\\"http://microsoft.com/schemas/VisualStudio/TeamTest/2010\\\" Description=\\\"\\\" CredentialUserName=\\\"\\\" CredentialPassword=\\\"\\\" PreAuthenticate=\\\"True\\\" Proxy=\\\"default\\\" StopOnError=\\\"False\\\" RecordedResultFile=\\\"\\\" ResultsLocale=\\\"\\\"\u003e \\r\\n \u003cItems\u003e \\r\\n \u003cRequest Method=\\\"Get\\\" Guid=\\\"e1b423ab-45ff-4c48-881f-7e570054979a\\\" Version=\\\"1.1\\\" Url=\\\"https://docs.microsoft.com/\\\" ThinkTime=\\\"0\\\" Timeout=\\\"120\\\" ParseDependentRequests=\\\"\\\" FollowRedirects=\\\"True\\\" RecordResult=\\\"True\\\" Cache=\\\"False\\\" ResponseTimeGoal=\\\"0\\\" Encoding=\\\"utf-8\\\" ExpectedHttpStatusCode=\\\"200\\\" ExpectedResponseUrl=\\\"\\\" ReportingName=\\\"\\\" IgnoreHttpStatusCode=\\\"False\\\" /\u003e \\r\\n \u003c/Items\u003e\\r\\n \\r\\n \u003c/WebTest\u003e\"},\"Request\":null,\"ValidationRules\":null,\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/basicwebtest-287gcu-pwsh\",\"name\":\"basicwebtest-287gcu-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0143e9-0000-0600-0000-628273d20000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"basicwebtest-287gcu-pwsh\",\"Name\":\"basicwebtest-287gcu-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"ping\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":{\"WebTest\":\"\u003cWebTest Name=\\\"basicwebtest-287gcu-pwsh\\\" Id=\\\"0c9718bb-17e5-48c9-b6a1-0b1f18bd8216\\\" Enabled=\\\"True\\\" CssProjectStructure=\\\"\\\" CssIteration=\\\"\\\" Timeout=\\\"120\\\" WorkItemIds=\\\"\\\" xmlns=\\\"http://microsoft.com/schemas/VisualStudio/TeamTest/2010\\\" Description=\\\"\\\" CredentialUserName=\\\"\\\" CredentialPassword=\\\"\\\" PreAuthenticate=\\\"True\\\" Proxy=\\\"default\\\" StopOnError=\\\"False\\\" RecordedResultFile=\\\"\\\" ResultsLocale=\\\"\\\"\u003e \\r\\n \u003cItems\u003e \\r\\n \u003cRequest Method=\\\"Get\\\" Guid=\\\"77ddf90f-1ff2-4d1c-bbf0-08dd337db2c4\\\" Version=\\\"1.1\\\" Url=\\\"https://docs.microsoft.com/\\\" ThinkTime=\\\"0\\\" Timeout=\\\"120\\\" ParseDependentRequests=\\\"\\\" FollowRedirects=\\\"True\\\" RecordResult=\\\"True\\\" Cache=\\\"False\\\" ResponseTimeGoal=\\\"0\\\" Encoding=\\\"utf-8\\\" ExpectedHttpStatusCode=\\\"200\\\" ExpectedResponseUrl=\\\"\\\" ReportingName=\\\"\\\" IgnoreHttpStatusCode=\\\"False\\\" /\u003e \\r\\n \u003c/Items\u003e\\r\\n \\r\\n \u003c/WebTest\u003e\"},\"Request\":null,\"ValidationRules\":null,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New-AzApplicationInsightsWebTest+[NoContext]+CreatePing+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/basicwebtest-aebyvh-pwsh?api-version=2018-05-01-preview+2": { + "New-AzApplicationInsightsWebTest+[NoContext]+CreatePing+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/basicwebtest-287gcu-pwsh?api-version=2018-05-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/basicwebtest-aebyvh-pwsh?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/basicwebtest-287gcu-pwsh?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "a18c001e-8dab-44c6-8491-795a191fd37e" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "439b68cc-9773-4fc7-8174-d9c2d434bcbe" ], "CommandName": [ "Remove-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Remove-AzApplicationInsightsWebTest_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -184,7 +184,7 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a18c001e-8dab-44c6-8491-795a191fd37e" ], + "x-ms-request-id": [ "439b68cc-9773-4fc7-8174-d9c2d434bcbe" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], @@ -192,9 +192,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "eca3725a-0bbd-4695-b4ae-dff28e419785" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034702Z:eca3725a-0bbd-4695-b4ae-dff28e419785" ], - "Date": [ "Tue, 10 May 2022 03:47:01 GMT" ] + "x-ms-correlation-request-id": [ "49b1b07c-57bf-4488-a25a-ef4ecbbb184c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155505Z:49b1b07c-57bf-4488-a25a-ef4ecbbb184c" ], + "Date": [ "Mon, 16 May 2022 15:55:04 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -204,15 +204,15 @@ "isContentBase64": false } }, - "New-AzApplicationInsightsWebTest+[NoContext]+CreatePing+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview+3": { + "New-AzApplicationInsightsWebTest+[NoContext]+CreatePing+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "04445adc-14de-4664-b70f-3fc6f8957bae" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "9f91de91-b98c-46fc-a90d-a4cfa6dad90c" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -227,21 +227,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "04445adc-14de-4664-b70f-3fc6f8957bae", "04445adc-14de-4664-b70f-3fc6f8957bae" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-request-id": [ "3ee79ad4-8a75-4c23-a39d-30314ea976ae" ], - "x-ms-correlation-request-id": [ "3ee79ad4-8a75-4c23-a39d-30314ea976ae" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034703Z:3ee79ad4-8a75-4c23-a39d-30314ea976ae" ], + "x-ms-original-request-ids": [ "9f91de91-b98c-46fc-a90d-a4cfa6dad90c", "9f91de91-b98c-46fc-a90d-a4cfa6dad90c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-request-id": [ "6c6d2431-34c7-4a4f-9dc4-b9660e493336" ], + "x-ms-correlation-request-id": [ "6c6d2431-34c7-4a4f-9dc4-b9660e493336" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155506Z:6c6d2431-34c7-4a4f-9dc4-b9660e493336" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 May 2022 03:47:02 GMT" ] + "Date": [ "Mon, 16 May 2022 15:55:05 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ], "Content-Length": [ "1157" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600a20d-0000-0600-0000-6279dfe90000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f0128e6-0000-0600-0000-628273a50000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } } diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTest.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsightsWebTest.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTest.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsightsWebTest.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTestGeolocationObject.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsightsWebTestGeolocationObject.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTestGeolocationObject.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsightsWebTestGeolocationObject.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTestHeaderFieldObject.Tests.ps1 b/src/ApplicationInsights/test/New-AzApplicationInsightsWebTestHeaderFieldObject.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/New-AzApplicationInsightsWebTestHeaderFieldObject.Tests.ps1 rename to src/ApplicationInsights/test/New-AzApplicationInsightsWebTestHeaderFieldObject.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/README.md b/src/ApplicationInsights/test/README.md similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/README.md rename to src/ApplicationInsights/test/README.md diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsights.Tests.ps1 b/src/ApplicationInsights/test/Remove-AzApplicationInsights.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsights.Tests.ps1 rename to src/ApplicationInsights/test/Remove-AzApplicationInsights.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsApiKey.Tests.ps1 b/src/ApplicationInsights/test/Remove-AzApplicationInsightsApiKey.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsApiKey.Tests.ps1 rename to src/ApplicationInsights/test/Remove-AzApplicationInsightsApiKey.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsContinuousExport.Tests.ps1 b/src/ApplicationInsights/test/Remove-AzApplicationInsightsContinuousExport.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsContinuousExport.Tests.ps1 rename to src/ApplicationInsights/test/Remove-AzApplicationInsightsContinuousExport.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 b/src/ApplicationInsights/test/Remove-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 rename to src/ApplicationInsights/test/Remove-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsWebTest.Tests.ps1 b/src/ApplicationInsights/test/Remove-AzApplicationInsightsWebTest.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Remove-AzApplicationInsightsWebTest.Tests.ps1 rename to src/ApplicationInsights/test/Remove-AzApplicationInsightsWebTest.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsights.Tests.ps1 b/src/ApplicationInsights/test/Set-AzApplicationInsights.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsights.Tests.ps1 rename to src/ApplicationInsights/test/Set-AzApplicationInsights.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsContinuousExport.Tests.ps1 b/src/ApplicationInsights/test/Set-AzApplicationInsightsContinuousExport.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsContinuousExport.Tests.ps1 rename to src/ApplicationInsights/test/Set-AzApplicationInsightsContinuousExport.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsDailyCap.Tests.ps1 b/src/ApplicationInsights/test/Set-AzApplicationInsightsDailyCap.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsDailyCap.Tests.ps1 rename to src/ApplicationInsights/test/Set-AzApplicationInsightsDailyCap.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsPricingPlan.Tests.ps1 b/src/ApplicationInsights/test/Set-AzApplicationInsightsPricingPlan.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Set-AzApplicationInsightsPricingPlan.Tests.ps1 rename to src/ApplicationInsights/test/Set-AzApplicationInsightsPricingPlan.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsights.Tests.ps1 b/src/ApplicationInsights/test/Update-AzApplicationInsights.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsights.Tests.ps1 rename to src/ApplicationInsights/test/Update-AzApplicationInsights.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 b/src/ApplicationInsights/test/Update-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 rename to src/ApplicationInsights/test/Update-AzApplicationInsightsLinkedStorageAccount.Tests.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsWebTestTag.Recording.json b/src/ApplicationInsights/test/Update-AzApplicationInsightsWebTestTag.Recording.json similarity index 64% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsWebTestTag.Recording.json rename to src/ApplicationInsights/test/Update-AzApplicationInsightsWebTestTag.Recording.json index be0ef9867679..c9df5d59e9d8 100644 --- a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsWebTestTag.Recording.json +++ b/src/ApplicationInsights/test/Update-AzApplicationInsightsWebTestTag.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzApplicationInsightsWebTestTag+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview+1": { + "Update-AzApplicationInsightsWebTestTag+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview", - "Content": "{\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-q31ebc-pwsh\": \"Resource\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview", + "Content": "{\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-8f7gor-pwsh\": \"Resource\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,36 +17,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5f1da18b-0c39-46d7-a440-0548ef5508c3" ], + "x-ms-request-id": [ "51ad1418-3612-4111-a71f-26affc054ac9" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "660f2ebd-9ac0-491d-a74c-f89a9f81da69" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034710Z:660f2ebd-9ac0-491d-a74c-f89a9f81da69" ], - "Date": [ "Tue, 10 May 2022 03:47:10 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "7214d27e-b8df-457e-8bcc-352560994485" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155514Z:7214d27e-b8df-457e-8bcc-352560994485" ], + "Date": [ "Mon, 16 May 2022 15:55:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-q31ebc-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600fc12-0000-0600-0000-6279e03d0000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-8f7gor-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f01efe9-0000-0600-0000-628273e00000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzApplicationInsightsWebTestTag+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview+1": { + "Update-AzApplicationInsightsWebTestTag+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "e87f39ed-11cb-47dc-aa77-3c66984693eb" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "baa72401-be8e-4bbc-b4a8-dee9ab07c754" ], "CommandName": [ "Get-AzApplicationInsightsWebTest" ], "FullCommandName": [ "Get-AzApplicationInsightsWebTest_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -61,32 +61,32 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e87f39ed-11cb-47dc-aa77-3c66984693eb" ], + "x-ms-request-id": [ "baa72401-be8e-4bbc-b4a8-dee9ab07c754" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "9d38f3a7-7dc8-44be-8e5e-7b6c2b81c378" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034712Z:9d38f3a7-7dc8-44be-8e5e-7b6c2b81c378" ], - "Date": [ "Tue, 10 May 2022 03:47:11 GMT" ] + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "c9063e23-bea9-4bbd-8e48-f144ee9cc806" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155515Z:c9063e23-bea9-4bbd-8e48-f144ee9cc806" ], + "Date": [ "Mon, 16 May 2022 15:55:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-q31ebc-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f600fc12-0000-0600-0000-6279e03d0000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-8f7gor-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f01efe9-0000-0600-0000-628273e00000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzApplicationInsightsWebTestTag+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview+2": { + "Update-AzApplicationInsightsWebTestTag+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh?api-version=2018-05-01-preview", - "Content": "{\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\": \"Resource\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh?api-version=2018-05-01-preview", + "Content": "{\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\": \"Resource\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -100,24 +100,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c9d2a4ab-5d00-4616-8f16-bbe8fd7851e3" ], + "x-ms-request-id": [ "98152e67-2645-4a6c-91f5-aab0bb31df26" ], "X-Content-Type-Options": [ "nosniff" ], "Request-Context": [ "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" ], "Access-Control-Expose-Headers": [ "Request-Context" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-correlation-request-id": [ "79352b2f-fea4-4e76-a9fd-56288339ffb0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220510T034715Z:79352b2f-fea4-4e76-a9fd-56288339ffb0" ], - "Date": [ "Tue, 10 May 2022 03:47:14 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "4e3fd9df-cca5-4ab9-b997-758a20128b36" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220516T155520Z:4e3fd9df-cca5-4ab9-b997-758a20128b36" ], + "Date": [ "Mon, 16 May 2022 15:55:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1145" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/webtests/standardwebtest-p7kj09-pwsh\",\"name\":\"standardwebtest-p7kj09-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-g4edrv-test/providers/microsoft.insights/components/appInsights-a5empk-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"f6004813-0000-0600-0000-6279e0420000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p7kj09-pwsh\",\"Name\":\"standardwebtest-p7kj09-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/webtests/standardwebtest-p9b7o0-pwsh\",\"name\":\"standardwebtest-p9b7o0-pwsh\",\"type\":\"microsoft.insights/webtests\",\"location\":\"westus2\",\"tags\":{\"hidden-link:/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh\":\"Resource\"},\"kind\":null,\"etag\":\"\\\"8f01e0ea-0000-0600-0000-628273e60000\\\"\",\"properties\":{\"SyntheticMonitorId\":\"standardwebtest-p9b7o0-pwsh\",\"Name\":\"standardwebtest-p9b7o0-pwsh\",\"Description\":null,\"Enabled\":true,\"Frequency\":300,\"Timeout\":120,\"Kind\":\"standard\",\"RetryEnabled\":true,\"Locations\":[{\"Id\":\"emea-nl-ams-azr\"},{\"Id\":\"us-ca-sjc-azr\"}],\"Configuration\":null,\"Request\":{\"RequestUrl\":\"https://docs.microsoft.com/\",\"Headers\":null,\"HttpVerb\":\"GET\",\"RequestBody\":null,\"ParseDependentRequests\":null,\"FollowRedirects\":null},\"ValidationRules\":{\"ExpectedHttpStatusCode\":200,\"IgnoreHttpStatusCode\":null,\"ContentValidation\":null,\"SSLCheck\":null,\"SSLCertRemainingLifetimeCheck\":null},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsWebTestTag.Tests.ps1 b/src/ApplicationInsights/test/Update-AzApplicationInsightsWebTestTag.Tests.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/Update-AzApplicationInsightsWebTestTag.Tests.ps1 rename to src/ApplicationInsights/test/Update-AzApplicationInsightsWebTestTag.Tests.ps1 diff --git a/src/ApplicationInsights/test/env.json b/src/ApplicationInsights/test/env.json new file mode 100644 index 000000000000..10196f95c1ed --- /dev/null +++ b/src/ApplicationInsights/test/env.json @@ -0,0 +1,19 @@ +{ + "basicWebTest03": "basicwebtest-287gcu-pwsh", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "geoLocation03": "emea-ru-msa-edge", + "appInsights02Id": "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-8f7gor-pwsh", + "standardWebTest01": "standardwebtest-p9b7o0-pwsh", + "appInsights01": "appInsights-48mah3-pwsh", + "location": "westus2", + "standardWebTest02": "standardwebtest-x6i8rc-pwsh", + "basicWebTest04": "basicwebtest-bxagpd-pwsh", + "resourceGroup": "appInsights-hkrs2v-test", + "geoLocation04": "emea-se-sto-edge", + "geoLocation01": "emea-nl-ams-azr", + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "appInsights01Id": "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-hkrs2v-test/providers/microsoft.insights/components/appInsights-48mah3-pwsh", + "appInsights02": "appInsights-8f7gor-pwsh", + "geoLocation02": "us-ca-sjc-azr", + "component1": "componentjq87r0" +} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/loadEnv.ps1 b/src/ApplicationInsights/test/loadEnv.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/loadEnv.ps1 rename to src/ApplicationInsights/test/loadEnv.ps1 diff --git a/src/ApplicationInsights/test/localEnv.json b/src/ApplicationInsights/test/localEnv.json new file mode 100644 index 000000000000..fec8123ae469 --- /dev/null +++ b/src/ApplicationInsights/test/localEnv.json @@ -0,0 +1,19 @@ +{ + "standardWebTest02": "standardwebtest-feilrx-pwsh", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "component1": "componentkl4sqp", + "appInsights01": "appInsights-f0swik-pwsh", + "location": "westus2", + "appInsights01Id": "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-ezhyxn-test/providers/microsoft.insights/components/appInsights-f0swik-pwsh", + "geoLocation02": "us-ca-sjc-azr", + "resourceGroup": "appInsights-ezhyxn-test", + "appInsights02Id": "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/appInsights-ezhyxn-test/providers/microsoft.insights/components/appInsights-x2qg9m-pwsh", + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "geoLocation04": "emea-se-sto-edge", + "basicWebTest04": "basicwebtest-pytheb-pwsh", + "geoLocation01": "emea-nl-ams-azr", + "standardWebTest01": "standardwebtest-6cwj9r-pwsh", + "geoLocation03": "emea-ru-msa-edge", + "appInsights02": "appInsights-x2qg9m-pwsh", + "basicWebTest03": "basicwebtest-nhuw7c-pwsh" +} diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/test/utils.ps1 b/src/ApplicationInsights/test/utils.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/test/utils.ps1 rename to src/ApplicationInsights/test/utils.ps1 diff --git a/src/ApplicationInsights/ApplicationInsights.Autorest/utils/Unprotect-SecureString.ps1 b/src/ApplicationInsights/utils/Unprotect-SecureString.ps1 similarity index 100% rename from src/ApplicationInsights/ApplicationInsights.Autorest/utils/Unprotect-SecureString.ps1 rename to src/ApplicationInsights/utils/Unprotect-SecureString.ps1