Skip to content

Commit a8545ed

Browse files
authored
[PS] Migrate NetworkFunction module to autorest v4 (#27792)
1 parent ddf085b commit a8545ed

32 files changed

+789
-171
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - NetworkFunction")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.5")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.5")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
27+

src/NetworkFunction/NetworkFunction.Autorest/README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,28 @@ input-file:
3535
module-version: 0.1.0
3636
title: NetworkFunction
3737
subject-prefix: $(service-name)
38-
identity-correction-for-post: true
39-
resourcegroup-append: true
40-
nested-object-to-string: true
41-
42-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
43-
use-extension:
44-
"@autorest/powershell": "3.x"
4538

4639
directive:
4740
- where:
4841
subject: ^AzureTrafficCollector(.*)
4942
set:
5043
subject: TrafficCollector$1
5144
- where:
52-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
45+
variant: ^Update(?!.*?(Expanded|JsonFilePath|JsonString))
46+
remove: true
47+
- where:
48+
variant: ^Create(?!.*?(Expanded|JsonFilePath|JsonString))
5349
hide: true
50+
# Remove the set-* cmdlet
51+
- where:
52+
verb: Set
53+
remove: true
5454
- from: swagger-document
5555
where: $.paths..operationId
5656
transform: return $.replace(/^(AzureTrafficCollectors)(.+)(_List)$/, "$1$3$2")
5757
- where:
5858
subject: (.)*(Operation)$
59-
hide: true
60-
- where:
61-
verb: Set
62-
hide: true
59+
remove: true
6360
- where:
6461
verb: New
6562
subject: ^CollectorPolicy(.*)

src/NetworkFunction/NetworkFunction.Autorest/custom/New-AzNetworkFunctionCollectorPolicy.ps1

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,86 +22,112 @@ Creates or updates a Collector Policy resource
2222
.Example
2323
New-AzNetworkFunctionCollectorPolicy -collectorpolicyname cp1 -azuretrafficcollectorname atc -resourcegroupname rg1 -location eastus | Format-List
2424
25+
.Inputs
26+
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.INetworkFunctionIdentity
2527
.Outputs
26-
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ICollectorPolicy
28+
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ICollectorPolicy
2729
.Notes
2830
COMPLEX PARAMETER PROPERTIES
2931
3032
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.
3133
34+
AZURETRAFFICCOLLECTORINPUTOBJECT <INetworkFunctionIdentity>: Identity Parameter
35+
[AzureTrafficCollectorName <String>]: Azure Traffic Collector name
36+
[CollectorPolicyName <String>]: Collector Policy Name
37+
[Id <String>]: Resource identity path
38+
[ResourceGroupName <String>]: The name of the resource group.
39+
[SubscriptionId <String>]: Azure Subscription ID.
40+
3241
EMISSIONPOLICY <IEmissionPoliciesPropertiesFormat[]>: Emission policies.
33-
[EmissionDestination <IEmissionPolicyDestination[]>]: Emission policy destinations.
34-
[DestinationType <DestinationType?>]: Emission destination type.
35-
[EmissionType <EmissionType?>]: Emission format type.
42+
[EmissionDestination <List<IEmissionPolicyDestination>>]: Emission policy destinations.
43+
[DestinationType <String>]: Emission destination type.
44+
[EmissionType <String>]: Emission format type.
3645
3746
INGESTIONPOLICYINGESTIONSOURCE <IIngestionSourcesPropertiesFormat[]>: Ingestion Sources.
3847
[ResourceId <String>]: Resource ID.
39-
[SourceType <SourceType?>]: Ingestion source type.
48+
[SourceType <String>]: Ingestion source type.
49+
INPUTOBJECT <INetworkFunctionIdentity>: Identity Parameter
50+
[AzureTrafficCollectorName <String>]: Azure Traffic Collector name
51+
[CollectorPolicyName <String>]: Collector Policy Name
52+
[Id <String>]: Resource identity path
53+
[ResourceGroupName <String>]: The name of the resource group.
54+
[SubscriptionId <String>]: Azure Subscription ID.
4055
.Link
4156
https://learn.microsoft.com/powershell/module/az.networkfunction/new-aznetworkfunctioncollectorpolicy
4257
#>
4358
function New-AzNetworkFunctionCollectorPolicy {
44-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ICollectorPolicy])]
45-
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
59+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ICollectorPolicy])]
60+
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess)]
4661
param(
47-
[Parameter(Mandatory)]
62+
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
4863
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Path')]
4964
[System.String]
5065
# Azure Traffic Collector name
5166
${AzureTrafficCollectorName},
5267

53-
[Parameter(Mandatory)]
68+
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
69+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded', Mandatory)]
5470
[Alias('CollectorPolicyName')]
5571
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Path')]
5672
[System.String]
5773
# Collector Policy Name
5874
${Name},
5975

60-
[Parameter(Mandatory)]
76+
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
6177
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Path')]
6278
[System.String]
6379
# The name of the resource group.
6480
${ResourceGroupName},
6581

66-
[Parameter()]
82+
[Parameter(ParameterSetName='CreateExpanded')]
6783
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Path')]
6884
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
6985
[System.String]
7086
# Azure Subscription ID.
7187
${SubscriptionId},
7288

73-
[Parameter(Mandatory)]
89+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded', Mandatory, ValueFromPipeline)]
90+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Path')]
91+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.INetworkFunctionIdentity]
92+
# Identity Parameter
93+
${AzureTrafficCollectorInputObject},
94+
95+
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
96+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded', Mandatory)]
7497
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
7598
[System.String]
7699
# Resource location.
77100
${Location},
78101

79-
[Parameter()]
102+
[Parameter(ParameterSetName='CreateExpanded')]
103+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded')]
80104
[AllowEmptyCollection()]
81105
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
82-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.IEmissionPoliciesPropertiesFormat[]]
106+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.IEmissionPoliciesPropertiesFormat[]]
83107
# Emission policies.
84-
# To construct, see NOTES section for EMISSIONPOLICY properties and create a hash table.
85108
${EmissionPolicy},
86109

87-
[Parameter()]
110+
[Parameter(ParameterSetName='CreateExpanded')]
111+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded')]
88112
[AllowEmptyCollection()]
89113
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
90-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.IIngestionSourcesPropertiesFormat[]]
114+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.IIngestionSourcesPropertiesFormat[]]
91115
# Ingestion Sources.
92116
# To construct, see NOTES section for INGESTIONPOLICYINGESTIONSOURCE properties and create a hash table.
93117
${IngestionPolicyIngestionSource},
94118

95-
[Parameter()]
96-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Support.IngestionType])]
119+
[Parameter(ParameterSetName='CreateExpanded')]
120+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded')]
121+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.PSArgumentCompleterAttribute("IPFIX")]
97122
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
98-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Support.IngestionType]
123+
[System.String]
99124
# The ingestion type.
100125
${IngestionPolicyIngestionType},
101126

102-
[Parameter()]
127+
[Parameter(ParameterSetName='CreateExpanded')]
128+
[Parameter(ParameterSetName='CreateViaIdentityAzureTrafficCollectorExpanded')]
103129
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
104-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ITrackedResourceTags]))]
130+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ITrackedResourceTags]))]
105131
[System.Collections.Hashtable]
106132
# Resource tags.
107133
${Tag},

src/NetworkFunction/NetworkFunction.Autorest/custom/Update-AzNetworkFunctionCollectorPolicy.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Creates or updates a Collector Policy resource
2424
.Example
2525
{{ Add code here }}
2626
.Outputs
27-
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ICollectorPolicy
27+
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ICollectorPolicy
2828
.Notes
2929
COMPLEX PARAMETER PROPERTIES
3030
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.
@@ -37,7 +37,7 @@ INGESTIONPOLICYINGESTIONSOURCE <IIngestionSourcesPropertiesFormat[]>: Ingestion
3737
[SourceType <SourceType?>]: Ingestion source type.
3838
#>
3939
function Update-AzNetworkFunctionCollectorPolicy {
40-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ICollectorPolicy])]
40+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ICollectorPolicy])]
4141
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
4242
param(
4343
[Parameter(Mandatory)]
@@ -69,23 +69,23 @@ param(
6969
[Parameter()]
7070
[AllowEmptyCollection()]
7171
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
72-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.IEmissionPoliciesPropertiesFormat[]]
72+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.IEmissionPoliciesPropertiesFormat[]]
7373
# Emission policies.
7474
# To construct, see NOTES section for EMISSIONPOLICY properties and create a hash table.
7575
${EmissionPolicy},
7676

7777
[Parameter()]
7878
[AllowEmptyCollection()]
7979
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
80-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.IIngestionSourcesPropertiesFormat[]]
80+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.IIngestionSourcesPropertiesFormat[]]
8181
# Ingestion Sources.
8282
# To construct, see NOTES section for INGESTIONPOLICYINGESTIONSOURCE properties and create a hash table.
8383
${IngestionPolicyIngestionSource},
8484

8585
[Parameter()]
86-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Support.IngestionType])]
86+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.PSArgumentCompleterAttribute("IPFIX")]
8787
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
88-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Support.IngestionType]
88+
[System.String]
8989
# The ingestion type.
9090
${IngestionPolicyIngestionType},
9191

@@ -97,7 +97,7 @@ param(
9797

9898
[Parameter()]
9999
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
100-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ITrackedResourceTags]))]
100+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ITrackedResourceTags]))]
101101
[System.Collections.Hashtable]
102102
# Resource tags.
103103
${Tag},

src/NetworkFunction/NetworkFunction.Autorest/custom/Update-AzNetworkFunctionTrafficCollector.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Creates or updates a Azure Traffic Collector resource
2424
.Example
2525
{{ Add code here }}
2626
.Outputs
27-
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.IAzureTrafficCollector
27+
Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.IAzureTrafficCollector
2828
.Notes
2929
COMPLEX PARAMETER PROPERTIES
3030
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.
@@ -47,7 +47,7 @@ COLLECTORPOLICY <ICollectorPolicy[]>: Collector Policies for Azure Traffic Colle
4747
[IngestionPolicyIngestionType <IngestionType?>]: The ingestion type.
4848
#>
4949
function Update-AzNetworkFunctionTrafficCollector {
50-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.IAzureTrafficCollector])]
50+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.IAzureTrafficCollector])]
5151
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
5252
param(
5353
[Parameter(Mandatory)]
@@ -73,7 +73,7 @@ function Update-AzNetworkFunctionTrafficCollector {
7373
[Parameter()]
7474
[AllowEmptyCollection()]
7575
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
76-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ICollectorPolicy[]]
76+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ICollectorPolicy[]]
7777
# Collector Policies for Azure Traffic Collector.
7878
# To construct, see NOTES section for COLLECTORPOLICY properties and create a hash table.
7979
${CollectorPolicy},
@@ -86,7 +86,7 @@ function Update-AzNetworkFunctionTrafficCollector {
8686

8787
[Parameter()]
8888
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Category('Body')]
89-
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ITrackedResourceTags]))]
89+
[Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ITrackedResourceTags]))]
9090
[System.Collections.Hashtable]
9191
# Resource tags.
9292
${Tag},

src/NetworkFunction/NetworkFunction.Autorest/docs/Az.NetworkFunction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.NetworkFunction
3-
Module Guid: 1d339b1c-5a86-4fbd-9a2e-d0497c39b397
3+
Module Guid: 8e269219-9c00-4745-a2e9-4f38cf2648ea
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.networkfunction
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -21,7 +21,7 @@ Gets the specified Azure Traffic Collector in a specified resource group
2121
Creates or updates a Collector Policy resource
2222

2323
### [New-AzNetworkFunctionTrafficCollector](New-AzNetworkFunctionTrafficCollector.md)
24-
Creates or updates a Azure Traffic Collector resource
24+
create a Azure Traffic Collector resource
2525

2626
### [Remove-AzNetworkFunctionCollectorPolicy](Remove-AzNetworkFunctionCollectorPolicy.md)
2727
Deletes a specified Collector Policy resource.
@@ -33,11 +33,11 @@ Deletes a specified Azure Traffic Collector resource.
3333
Creates or updates a Collector Policy resource
3434

3535
### [Update-AzNetworkFunctionCollectorPolicyTag](Update-AzNetworkFunctionCollectorPolicyTag.md)
36-
Updates the specified Collector Policy tags.
36+
update the specified Collector Policy tags.
3737

3838
### [Update-AzNetworkFunctionTrafficCollector](Update-AzNetworkFunctionTrafficCollector.md)
3939
Creates or updates a Azure Traffic Collector resource
4040

4141
### [Update-AzNetworkFunctionTrafficCollectorTag](Update-AzNetworkFunctionTrafficCollectorTag.md)
42-
Updates the specified Azure Traffic Collector tags.
42+
update the specified Azure Traffic Collector tags.
4343

src/NetworkFunction/NetworkFunction.Autorest/docs/Get-AzNetworkFunctionCollectorPolicy.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Get-AzNetworkFunctionCollectorPolicy -InputObject <INetworkFunctionIdentity> [-D
3030
[<CommonParameters>]
3131
```
3232

33+
### GetViaIdentityAzureTrafficCollector
34+
```
35+
Get-AzNetworkFunctionCollectorPolicy -AzureTrafficCollectorInputObject <INetworkFunctionIdentity>
36+
-Name <String> [-DefaultProfile <PSObject>] [<CommonParameters>]
37+
```
38+
3339
## DESCRIPTION
3440
Gets the collector policy in a specified Traffic Collector
3541

@@ -73,6 +79,21 @@ This cmdlet gets list of traffic collector policies by atc name and resource gro
7379

7480
## PARAMETERS
7581

82+
### -AzureTrafficCollectorInputObject
83+
Identity Parameter
84+
85+
```yaml
86+
Type: Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.INetworkFunctionIdentity
87+
Parameter Sets: GetViaIdentityAzureTrafficCollector
88+
Aliases:
89+
90+
Required: True
91+
Position: Named
92+
Default value: None
93+
Accept pipeline input: True (ByValue)
94+
Accept wildcard characters: False
95+
```
96+
7697
### -AzureTrafficCollectorName
7798
Azure Traffic Collector name
7899
@@ -106,7 +127,6 @@ Accept wildcard characters: False
106127
107128
### -InputObject
108129
Identity Parameter
109-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
110130
111131
```yaml
112132
Type: Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.INetworkFunctionIdentity
@@ -125,7 +145,7 @@ Collector Policy Name
125145
126146
```yaml
127147
Type: System.String
128-
Parameter Sets: Get
148+
Parameter Sets: Get, GetViaIdentityAzureTrafficCollector
129149
Aliases: CollectorPolicyName
130150

131151
Required: True
@@ -174,7 +194,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
174194
175195
## OUTPUTS
176196
177-
### Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.Api20221101.ICollectorPolicy
197+
### Microsoft.Azure.PowerShell.Cmdlets.NetworkFunction.Models.ICollectorPolicy
178198
179199
## NOTES
180200

0 commit comments

Comments
 (0)