diff --git a/src/NetworkFunction/NetworkFunction.Autorest/custom/New-AzNetworkFunctionCollectorPolicy.ps1 b/src/NetworkFunction/NetworkFunction.Autorest/custom/New-AzNetworkFunctionCollectorPolicy.ps1 index 42a877cd2459..b182fc703360 100644 --- a/src/NetworkFunction/NetworkFunction.Autorest/custom/New-AzNetworkFunctionCollectorPolicy.ps1 +++ b/src/NetworkFunction/NetworkFunction.Autorest/custom/New-AzNetworkFunctionCollectorPolicy.ps1 @@ -167,23 +167,33 @@ param( ) process { - $rg = $PSBoundParameters.ResourceGroupName - + $hasIngestionPolicyIngestionSource = $PSBoundParameters.Remove('IngestionPolicyIngestionSource') # Ensure exr circuit bandwidth 1G or more - $cktname = $IngestionPolicyIngestionSource.ResourceId | Where {$IngestionPolicyIngestionSource.ResourceId -match "/*subscriptions/(?.*)/resourceGroups/(?.*)/providers/Microsoft.Network/expressRouteCircuits/(?.*)"} | Foreach {$Matches['circuitname']} - Import-Module Az.Network -Force - $exrCircuit = Get-AzExpressRouteCircuit -Name $cktname -ResourceGroupName $rg - $bandwidthInGbps = $exrCircuit.BandwidthInGbps - $bandwidthInMbps = $exrCircuit.ServiceProviderProperties.BandwidthInMbps - - if ($bandwidthInGbps -and ($bandwidthInGbps -lt 1)) { - throw "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." - } - - if ($bandwidthInMbps -and ($bandwidthInMbps -lt 1000)) { - throw "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + if ($hasIngestionPolicyIngestionSource) { + Import-Module Az.Network -Force + $ResourceIdSplit = $IngestionPolicyIngestionSource.ResourceId.Split(' ') + foreach ($ResourceId in $ResourceIdSplit) + { + $Splits = $ResourceId -split "/" + $cktsub = $Splits[2] + $cktrg = $Splits[4] + $cktname = $Splits[8] + Set-AzContext $cktsub -ErrorVariable notPresent -ErrorAction SilentlyContinue + $exrCircuit = Get-AzExpressRouteCircuit -Name $cktname -ResourceGroupName $cktrg + $bandwidthInGbps = $exrCircuit.BandwidthInGbps + $bandwidthInMbps = $exrCircuit.ServiceProviderProperties.BandwidthInMbps + + if ($bandwidthInGbps -and ($bandwidthInGbps -lt 1)) { + throw "CollectorPolicy can not be created because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + } + + if ($bandwidthInMbps -and ($bandwidthInMbps -lt 1000)) { + throw "CollectorPolicy can not be created because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + } + } } - + Set-AzContext $SubscriptionId -ErrorVariable notPresent -ErrorAction SilentlyContinue + $PSBoundParameters.Add('IngestionPolicyIngestionSource', $IngestionPolicyIngestionSource) Az.NetworkFunction.internal\New-AzNetworkFunctionCollectorPolicy @PSBoundParameters } } \ No newline at end of file diff --git a/src/NetworkFunction/NetworkFunction.Autorest/custom/Update-AzNetworkFunctionCollectorPolicy.ps1 b/src/NetworkFunction/NetworkFunction.Autorest/custom/Update-AzNetworkFunctionCollectorPolicy.ps1 index 09e58824742a..6495f0e4c87c 100644 --- a/src/NetworkFunction/NetworkFunction.Autorest/custom/Update-AzNetworkFunctionCollectorPolicy.ps1 +++ b/src/NetworkFunction/NetworkFunction.Autorest/custom/Update-AzNetworkFunctionCollectorPolicy.ps1 @@ -173,23 +173,33 @@ process { $null = $PSBoundParameters.Remove('WhatIf') $null = $PSBoundParameters.Remove('Confirm') $null = $PSBoundParameters.Remove('Location') - $rg = $PSBoundParameters.ResourceGroupName # 2. Ensure exr circuit bandwidth 1G or more - $cktname = $IngestionPolicyIngestionSource.ResourceId | Where {$IngestionPolicyIngestionSource.ResourceId -match "/*subscriptions/(?.*)/resourceGroups/(?.*)/providers/Microsoft.Network/expressRouteCircuits/(?.*)"} | Foreach {$Matches['circuitname']} - Import-Module Az.Network -Force - $exrCircuit = Get-AzExpressRouteCircuit -Name $cktname -ResourceGroupName $rg - $bandwidthInGbps = $exrCircuit.BandwidthInGbps - $bandwidthInMbps = $exrCircuit.ServiceProviderProperties.BandwidthInMbps - - if ($bandwidthInGbps -and ($bandwidthInGbps -lt 1)) { - throw "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." - } - - if ($bandwidthInMbps -and ($bandwidthInMbps -lt 1000)) { - throw "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + if ($hasIngestionPolicyIngestionSource) { + Import-Module Az.Network -Force + # Ensure exr circuit bandwidth 1G or more + $ResourceIdSplit = $IngestionPolicyIngestionSource.ResourceId.Split(' ') + foreach ($ResourceId in $ResourceIdSplit) + { + $Splits = $ResourceId -split "/" + $cktsub = $Splits[2] + $cktrg = $Splits[4] + $cktname = $Splits[8] + Set-AzContext $cktsub -ErrorVariable notPresent -ErrorAction SilentlyContinue + $exrCircuit = Get-AzExpressRouteCircuit -Name $cktname -ResourceGroupName $cktrg + $bandwidthInGbps = $exrCircuit.BandwidthInGbps + $bandwidthInMbps = $exrCircuit.ServiceProviderProperties.BandwidthInMbps + + if ($bandwidthInGbps -and ($bandwidthInGbps -lt 1)) { + throw "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + } + + if ($bandwidthInMbps -and ($bandwidthInMbps -lt 1000)) { + throw "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + } + } } - + Set-AzContext $SubscriptionId -ErrorVariable notPresent -ErrorAction SilentlyContinue $cp = Get-AzNetworkFunctionCollectorPolicy @PSBoundParameters # 3. PUT diff --git a/src/NetworkFunction/NetworkFunction.Autorest/test/New-AzNetworkFunctionCollectorPolicy.Tests.ps1 b/src/NetworkFunction/NetworkFunction.Autorest/test/New-AzNetworkFunctionCollectorPolicy.Tests.ps1 index 570054154703..35a069386699 100644 --- a/src/NetworkFunction/NetworkFunction.Autorest/test/New-AzNetworkFunctionCollectorPolicy.Tests.ps1 +++ b/src/NetworkFunction/NetworkFunction.Autorest/test/New-AzNetworkFunctionCollectorPolicy.Tests.ps1 @@ -27,6 +27,12 @@ Describe 'New-AzNetworkFunctionCollectorPolicy' { } } + It 'CreateExpanded2' { + { + { New-AzNetworkFunctionCollectorPolicy -collectorpolicyname $env.collectorPolicyName -azuretrafficcollectorname $env.azureTrafficCollectorName -resourcegroupname $env.resourceGroup -location $env.location -IngestionPolicyIngestionSource @{ResourceId = $env.ResourceIdLessThan1G}, @{ResourceId = $env.ResourceId1G} -IngestionPolicyIngestionType $env.IngestionType } | Should -Throw -ExpectedMessage "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + } + } + It 'Create' { { { New-AzNetworkFunctionCollectorPolicy -collectorpolicyname $env.collectorPolicyName -azuretrafficcollectorname $env.azureTrafficCollectorName -resourcegroupname $env.resourceGroup -location $env.location -IngestionPolicyIngestionSource @{ResourceId = $env.ResourceId1G} -IngestionPolicyIngestionType $env.IngestionType } | Should -Not -Throw diff --git a/src/NetworkFunction/NetworkFunction.Autorest/test/Update-AzNetworkFunctionCollectorPolicy.Tests.ps1 b/src/NetworkFunction/NetworkFunction.Autorest/test/Update-AzNetworkFunctionCollectorPolicy.Tests.ps1 index b3423040fbe1..4a3c83c9d52e 100644 --- a/src/NetworkFunction/NetworkFunction.Autorest/test/Update-AzNetworkFunctionCollectorPolicy.Tests.ps1 +++ b/src/NetworkFunction/NetworkFunction.Autorest/test/Update-AzNetworkFunctionCollectorPolicy.Tests.ps1 @@ -26,4 +26,10 @@ Describe 'Update-AzNetworkFunctionCollectorPolicy' { { Update-AzNetworkFunctionCollectorPolicy -collectorpolicyname $env.collectorPolicyName -azuretrafficcollectorname $env.azureTrafficCollectorName -resourcegroupname $env.resourceGroup -location $env.location -IngestionPolicyIngestionSource @{ResourceId = $env.ResourceIdLessThan1G} -IngestionPolicyIngestionType $env.IngestionType } | Should Throw -ExpectedMessage "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." } } + + It 'UpdateExpanded2' { + { + { Update-AzNetworkFunctionCollectorPolicy -collectorpolicyname $env.collectorPolicyName -azuretrafficcollectorname $env.azureTrafficCollectorName -resourcegroupname $env.resourceGroup -location $env.location -IngestionPolicyIngestionSource @{ResourceId = $env.ResourceIdLessThan1G}, @{ResourceId = $env.ResourceId1G} -IngestionPolicyIngestionType $env.IngestionType } | Should Throw -ExpectedMessage "CollectorPolicy can not be updated because circuit has bandwidth less than 1G. Circuit size with a bandwidth of 1G or more is supported." + } + } } \ No newline at end of file diff --git a/src/NetworkFunction/NetworkFunction/Az.NetworkFunction.psd1 b/src/NetworkFunction/NetworkFunction/Az.NetworkFunction.psd1 index 3aa002e42192..d3b391cb2af0 100644 --- a/src/NetworkFunction/NetworkFunction/Az.NetworkFunction.psd1 +++ b/src/NetworkFunction/NetworkFunction/Az.NetworkFunction.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 23/04/2024 +# Generated on: 5/8/2024 # @{ @@ -57,13 +57,13 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.19.0'; }) RequiredAssemblies = 'NetworkFunction.Autorest/bin/Az.NetworkFunction.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'NetworkFunction.Autorest\Az.NetworkFunction.format.ps1xml' +FormatsToProcess = 'NetworkFunction.Autorest/Az.NetworkFunction.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('NetworkFunction.Autorest/Az.NetworkFunction.psm1') @@ -104,7 +104,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','NetworkFunction' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'NetworkFunction' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -130,7 +130,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/NetworkFunction/NetworkFunction/ChangeLog.md b/src/NetworkFunction/NetworkFunction/ChangeLog.md index 2ae4ba1b09b9..7bc70c7dd644 100644 --- a/src/NetworkFunction/NetworkFunction/ChangeLog.md +++ b/src/NetworkFunction/NetworkFunction/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Changed parsing logic in ATC custom cmdlet ## Version 0.1.3 * Introduced secrets detection feature to safeguard sensitive data. diff --git a/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionCollectorPolicy.md b/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionCollectorPolicy.md index 7dbb6a4e0cc9..910a9d827673 100644 --- a/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionCollectorPolicy.md +++ b/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionCollectorPolicy.md @@ -15,7 +15,7 @@ Gets the collector policy in a specified Traffic Collector ### List (Default) ``` Get-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -23,13 +23,13 @@ Get-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorName -Resour ``` Get-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzNetworkFunctionCollectorPolicy -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -137,6 +137,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionTrafficCollector.md b/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionTrafficCollector.md index 9390c92267fd..8ba76c8121ec 100644 --- a/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionTrafficCollector.md +++ b/src/NetworkFunction/NetworkFunction/help/Get-AzNetworkFunctionTrafficCollector.md @@ -15,25 +15,25 @@ Gets the specified Azure Traffic Collector in a specified resource group ### List (Default) ``` Get-AzNetworkFunctionTrafficCollector [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get ``` Get-AzNetworkFunctionTrafficCollector -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### List1 ``` Get-AzNetworkFunctionTrafficCollector -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzNetworkFunctionTrafficCollector -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -153,6 +153,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionCollectorPolicy.md b/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionCollectorPolicy.md index 228eae6e18b0..ce38eba56d05 100644 --- a/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionCollectorPolicy.md +++ b/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionCollectorPolicy.md @@ -18,7 +18,7 @@ New-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorName -Name < [-EmissionPolicy ] [-IngestionPolicyIngestionSource ] [-IngestionPolicyIngestionType ] [-Tag ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -201,6 +201,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionTrafficCollector.md b/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionTrafficCollector.md index 2f68614b1fb7..4c11dfe226b1 100644 --- a/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionTrafficCollector.md +++ b/src/NetworkFunction/NetworkFunction/help/New-AzNetworkFunctionTrafficCollector.md @@ -15,7 +15,7 @@ Creates or updates a Azure Traffic Collector resource ``` New-AzNetworkFunctionTrafficCollector -Name -ResourceGroupName [-SubscriptionId ] -Location [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -119,6 +119,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/README.md b/src/NetworkFunction/NetworkFunction/help/README.md new file mode 100644 index 000000000000..78ff9239d4bc --- /dev/null +++ b/src/NetworkFunction/NetworkFunction/help/README.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `Az.NetworkFunction` 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.NetworkFunction` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.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/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionCollectorPolicy.md b/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionCollectorPolicy.md index 690edb2e6a7e..c717726e85ad 100644 --- a/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionCollectorPolicy.md +++ b/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionCollectorPolicy.md @@ -16,13 +16,13 @@ Deletes a specified Collector Policy resource. ``` Remove-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzNetworkFunctionCollectorPolicy -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -146,6 +146,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionTrafficCollector.md b/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionTrafficCollector.md index 477d59db2358..de46f857d40a 100644 --- a/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionTrafficCollector.md +++ b/src/NetworkFunction/NetworkFunction/help/Remove-AzNetworkFunctionTrafficCollector.md @@ -15,14 +15,14 @@ Deletes a specified Azure Traffic Collector resource. ### Delete (Default) ``` Remove-AzNetworkFunctionTrafficCollector -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzNetworkFunctionTrafficCollector -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -131,6 +131,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicy.md b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicy.md index 5da6cf464340..01f0374a9ff1 100644 --- a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicy.md +++ b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicy.md @@ -18,7 +18,7 @@ Update-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorName -Nam [-EmissionPolicy ] [-IngestionPolicyIngestionSource ] [-IngestionPolicyIngestionType ] [-Tag ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -201,6 +201,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicyTag.md b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicyTag.md index 2729a8c170a6..14a11f2fd856 100644 --- a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicyTag.md +++ b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionCollectorPolicyTag.md @@ -16,13 +16,13 @@ Updates the specified Collector Policy tags. ``` Update-AzNetworkFunctionCollectorPolicyTag -AzureTrafficCollectorName -CollectorPolicyName -ResourceGroupName [-SubscriptionId ] [-Tag ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzNetworkFunctionCollectorPolicyTag -InputObject [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -135,6 +135,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollector.md b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollector.md index 296e8f044f1f..c1dc91db2bce 100644 --- a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollector.md +++ b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollector.md @@ -15,7 +15,7 @@ Creates or updates a Azure Traffic Collector resource ``` Update-AzNetworkFunctionTrafficCollector -Name -ResourceGroupName [-SubscriptionId ] -Location [-CollectorPolicy ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -134,6 +134,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollectorTag.md b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollectorTag.md index 3768e8004e4e..fd18c907cffe 100644 --- a/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollectorTag.md +++ b/src/NetworkFunction/NetworkFunction/help/Update-AzNetworkFunctionTrafficCollectorTag.md @@ -16,13 +16,13 @@ Updates the specified Azure Traffic Collector tags. ``` Update-AzNetworkFunctionTrafficCollectorTag -AzureTrafficCollectorName -ResourceGroupName [-SubscriptionId ] [-Tag ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzNetworkFunctionTrafficCollectorTag -InputObject [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -102,6 +102,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group.