Skip to content

Commit 3ab1c3b

Browse files
authored
Merge pull request #25 from ChenglongLiu/feature/Cdndev
Rename in memory cmd
2 parents edda615 + 4529ee3 commit 3ab1c3b

File tree

126 files changed

+4208
-475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+4208
-475
lines changed

src/Cdn/Cdn.Autorest/Az.Cdn.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.Cdn.private.dll'
1313
FormatsToProcess = './Az.Cdn.format.ps1xml'
14-
FunctionsToExport = 'Clear-AzCdnEndpointContent', 'Clear-AzFrontDoorCdnEndpointContent', 'Disable-AzCdnCustomDomainCustomHttps', 'Enable-AzCdnCustomDomainCustomHttps', 'Get-AzCdnCustomDomain', 'Get-AzCdnEdgeNode', 'Get-AzCdnEndpoint', 'Get-AzCdnEndpointResourceUsage', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnSubscriptionResourceUsage', 'Get-AzFrontDoorCdnCustomDomain', 'Get-AzFrontDoorCdnEndpoint', 'Get-AzFrontDoorCdnEndpointResourceUsage', 'Get-AzFrontDoorCdnOrigin', 'Get-AzFrontDoorCdnOriginGroup', 'Get-AzFrontDoorCdnOriginGroupResourceUsage', 'Get-AzFrontDoorCdnProfile', 'Get-AzFrontDoorCdnProfileResourceUsage', 'Get-AzFrontDoorCdnRoute', 'Get-AzFrontDoorCdnRule', 'Get-AzFrontDoorCdnRuleSet', 'Get-AzFrontDoorCdnRuleSetResourceUsage', 'Get-AzFrontDoorCdnSecret', 'Get-AzFrontDoorCdnSecurityPolicy', 'Import-AzCdnEndpointContent', 'Invoke-AzCdnSecretValidate', 'New-AzCdnCustomDomain', 'New-AzCdnDeliveryRuleClientPortConditionObject', 'New-AzCdnDeliveryRuleCookiesConditionObject', 'New-AzCdnDeliveryRuleHostNameConditionObject', 'New-AzCdnDeliveryRuleHttpVersionConditionObject', 'New-AzCdnDeliveryRuleIsDeviceConditionObject', 'New-AzCdnDeliveryRulePostArgsConditionObject', 'New-AzCdnDeliveryRuleQueryStringConditionObject', 'New-AzCdnDeliveryRuleRemoteAddressConditionObject', 'New-AzCdnDeliveryRuleRequestBodyConditionObject', 'New-AzCdnDeliveryRuleRequestHeaderActionObject', 'New-AzCdnDeliveryRuleRequestHeaderConditionObject', 'New-AzCdnDeliveryRuleRequestMethodConditionObject', 'New-AzCdnDeliveryRuleRequestSchemeConditionObject', 'New-AzCdnDeliveryRuleRequestUriConditionObject', 'New-AzCdnDeliveryRuleResponseHeaderActionObject', 'New-AzCdnDeliveryRuleServerPortConditionObject', 'New-AzCdnDeliveryRuleSocketAddrConditionObject', 'New-AzCdnDeliveryRuleSslProtocolConditionObject', 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject', 'New-AzCdnDeliveryRuleUrlFileNameConditionObject', 'New-AzCdnDeliveryRuleUrlPathConditionObject', 'New-AzCdnEndpoint', 'New-AzCdnManagedHttpsParametersObject', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzCdnUserManagedHttpsParametersObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleRequestHeaderActionObject', 'New-AzFrontDoorCdnRuleResponseHeaderActionObject', 'New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnRuleUrlRedirectActionObject', 'New-AzFrontDoorCdnRuleUrlRewriteActionObject', 'New-AzFrontDoorCdnRuleUrlSigningActionObject', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecretCustomerCertificateParametersObject', 'New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject', 'New-AzFrontDoorCdnSecurityPolicy', 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject', 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject', 'Remove-AzCdnCustomDomain', 'Remove-AzCdnEndpoint', 'Remove-AzCdnOrigin', 'Remove-AzCdnOriginGroup', 'Remove-AzCdnPolicy', 'Remove-AzCdnProfile', 'Remove-AzFrontDoorCdnCustomDomain', 'Remove-AzFrontDoorCdnEndpoint', 'Remove-AzFrontDoorCdnOrigin', 'Remove-AzFrontDoorCdnOriginGroup', 'Remove-AzFrontDoorCdnProfile', 'Remove-AzFrontDoorCdnRoute', 'Remove-AzFrontDoorCdnRule', 'Remove-AzFrontDoorCdnRuleSet', 'Remove-AzFrontDoorCdnSecret', 'Remove-AzFrontDoorCdnSecurityPolicy', 'Start-AzCdnEndpoint', 'Stop-AzCdnEndpoint', 'Test-AzCdnEndpointCustomDomain', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', 'Test-AzFrontDoorCdnEndpointNameAvailability', 'Test-AzFrontDoorCdnProfileHostNameAvailability', 'Update-AzCdnEndpoint', 'Update-AzCdnOrigin', 'Update-AzCdnOriginGroup', 'Update-AzCdnPolicy', 'Update-AzCdnProfile', 'Update-AzFrontDoorCdnCustomDomain', 'Update-AzFrontDoorCdnCustomDomainValidationToken', 'Update-AzFrontDoorCdnEndpoint', 'Update-AzFrontDoorCdnOrigin', 'Update-AzFrontDoorCdnOriginGroup', 'Update-AzFrontDoorCdnProfile', 'Update-AzFrontDoorCdnRoute', 'Update-AzFrontDoorCdnRule', 'Update-AzFrontDoorCdnSecurityPolicy', '*'
14+
FunctionsToExport = 'Clear-AzCdnEndpointContent', 'Clear-AzFrontDoorCdnEndpointContent', 'Disable-AzCdnCustomDomainCustomHttps', 'Enable-AzCdnCustomDomainCustomHttps', 'Get-AzCdnCustomDomain', 'Get-AzCdnEdgeNode', 'Get-AzCdnEndpoint', 'Get-AzCdnEndpointResourceUsage', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnSubscriptionResourceUsage', 'Get-AzFrontDoorCdnCustomDomain', 'Get-AzFrontDoorCdnEndpoint', 'Get-AzFrontDoorCdnEndpointResourceUsage', 'Get-AzFrontDoorCdnOrigin', 'Get-AzFrontDoorCdnOriginGroup', 'Get-AzFrontDoorCdnOriginGroupResourceUsage', 'Get-AzFrontDoorCdnProfile', 'Get-AzFrontDoorCdnProfileResourceUsage', 'Get-AzFrontDoorCdnRoute', 'Get-AzFrontDoorCdnRule', 'Get-AzFrontDoorCdnRuleSet', 'Get-AzFrontDoorCdnRuleSetResourceUsage', 'Get-AzFrontDoorCdnSecret', 'Get-AzFrontDoorCdnSecurityPolicy', 'Import-AzCdnEndpointContent', 'New-AzCdnCustomDomain', 'New-AzCdnDeliveryRuleCookiesConditionObject', 'New-AzCdnDeliveryRuleHttpVersionConditionObject', 'New-AzCdnDeliveryRuleIsDeviceConditionObject', 'New-AzCdnDeliveryRulePostArgsConditionObject', 'New-AzCdnDeliveryRuleQueryStringConditionObject', 'New-AzCdnDeliveryRuleRemoteAddressConditionObject', 'New-AzCdnDeliveryRuleRequestBodyConditionObject', 'New-AzCdnDeliveryRuleRequestHeaderActionObject', 'New-AzCdnDeliveryRuleRequestHeaderConditionObject', 'New-AzCdnDeliveryRuleRequestMethodConditionObject', 'New-AzCdnDeliveryRuleRequestSchemeConditionObject', 'New-AzCdnDeliveryRuleRequestUriConditionObject', 'New-AzCdnDeliveryRuleResponseHeaderActionObject', 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject', 'New-AzCdnDeliveryRuleUrlFileNameConditionObject', 'New-AzCdnDeliveryRuleUrlPathConditionObject', 'New-AzCdnEndpoint', 'New-AzCdnManagedHttpsParametersObject', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzCdnUserManagedHttpsParametersObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleClientPortConditionObject', 'New-AzFrontDoorCdnRuleCookiesConditionObject', 'New-AzFrontDoorCdnRuleHostNameConditionObject', 'New-AzFrontDoorCdnRuleHttpVersionConditionObject', 'New-AzFrontDoorCdnRuleIsDeviceConditionObject', 'New-AzFrontDoorCdnRulePostArgsConditionObject', 'New-AzFrontDoorCdnRuleQueryStringConditionObject', 'New-AzFrontDoorCdnRuleRemoteAddressConditionObject', 'New-AzFrontDoorCdnRuleRequestBodyConditionObject', 'New-AzFrontDoorCdnRuleRequestHeaderActionObject', 'New-AzFrontDoorCdnRuleRequestHeaderConditionObject', 'New-AzFrontDoorCdnRuleRequestMethodConditionObject', 'New-AzFrontDoorCdnRuleRequestSchemeConditionObject', 'New-AzFrontDoorCdnRuleRequestUriConditionObject', 'New-AzFrontDoorCdnRuleResponseHeaderActionObject', 'New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject', 'New-AzFrontDoorCdnRuleServerPortConditionObject', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnRuleSocketAddrConditionObject', 'New-AzFrontDoorCdnRuleSslProtocolConditionObject', 'New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject', 'New-AzFrontDoorCdnRuleUrlFileNameConditionObject', 'New-AzFrontDoorCdnRuleUrlPathConditionObject', 'New-AzFrontDoorCdnRuleUrlRedirectActionObject', 'New-AzFrontDoorCdnRuleUrlRewriteActionObject', 'New-AzFrontDoorCdnRuleUrlSigningActionObject', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecretCustomerCertificateParametersObject', 'New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretManagedCertificateParametersObject', 'New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject', 'New-AzFrontDoorCdnSecurityPolicy', 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject', 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject', 'Remove-AzCdnCustomDomain', 'Remove-AzCdnEndpoint', 'Remove-AzCdnOrigin', 'Remove-AzCdnOriginGroup', 'Remove-AzCdnPolicy', 'Remove-AzCdnProfile', 'Remove-AzFrontDoorCdnCustomDomain', 'Remove-AzFrontDoorCdnEndpoint', 'Remove-AzFrontDoorCdnOrigin', 'Remove-AzFrontDoorCdnOriginGroup', 'Remove-AzFrontDoorCdnProfile', 'Remove-AzFrontDoorCdnRoute', 'Remove-AzFrontDoorCdnRule', 'Remove-AzFrontDoorCdnRuleSet', 'Remove-AzFrontDoorCdnSecret', 'Remove-AzFrontDoorCdnSecurityPolicy', 'Start-AzCdnEndpoint', 'Stop-AzCdnEndpoint', 'Test-AzCdnEndpointCustomDomain', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', 'Test-AzFrontDoorCdnEndpointNameAvailability', 'Test-AzFrontDoorCdnProfileHostNameAvailability', 'Update-AzCdnEndpoint', 'Update-AzCdnOrigin', 'Update-AzCdnOriginGroup', 'Update-AzCdnPolicy', 'Update-AzCdnProfile', 'Update-AzFrontDoorCdnCustomDomain', 'Update-AzFrontDoorCdnCustomDomainValidationToken', 'Update-AzFrontDoorCdnEndpoint', 'Update-AzFrontDoorCdnOrigin', 'Update-AzFrontDoorCdnOriginGroup', 'Update-AzFrontDoorCdnProfile', 'Update-AzFrontDoorCdnRoute', 'Update-AzFrontDoorCdnRule', 'Update-AzFrontDoorCdnSecurityPolicy', '*'
1515
AliasesToExport = '*'
1616
PrivateData = @{
1717
PSData = @{

src/Cdn/Cdn.Autorest/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ directive:
6666
- model-cmdlet:
6767
- UserManagedHttpsParameters
6868
- CdnManagedHttpsParameters
69+
# CDN condition
6970
- DeliveryRuleRemoteAddressCondition
7071
- DeliveryRuleRequestMethodCondition
7172
- DeliveryRuleQueryStringCondition
@@ -80,11 +81,6 @@ directive:
8081
- DeliveryRuleHttpVersionCondition
8182
- DeliveryRuleCookiesCondition
8283
- DeliveryRuleIsDeviceCondition
83-
- DeliveryRuleSocketAddrCondition
84-
- DeliveryRuleClientPortCondition
85-
- DeliveryRuleServerPortCondition
86-
- DeliveryRuleHostNameCondition
87-
- DeliveryRuleSslProtocolCondition
8884
# CDN action
8985
- UrlRedirectAction
9086
- UrlSigningAction
@@ -125,6 +121,9 @@ directive:
125121
- where:
126122
subject: Profile
127123
hide: true
124+
- where:
125+
subject: SecretValidate
126+
hide: true
128127
- where:
129128
subject: LogAnalytic(.*)
130129
hide: true
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
2+
# ----------------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
14+
# is regenerated.
15+
# ----------------------------------------------------------------------------------
16+
17+
<#
18+
.Synopsis
19+
Create an in-memory object for DeliveryRuleClientPortCondition.
20+
.Description
21+
Create an in-memory object for DeliveryRuleClientPortCondition.
22+
23+
.Outputs
24+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleClientPortCondition
25+
.Link
26+
https://docs.microsoft.com/powershell/module/az.Cdn/new-AzFrontDoorCdnRuleClientPortConditionObject
27+
#>
28+
function New-AzFrontDoorCdnRuleClientPortConditionObject {
29+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleClientPortCondition')]
30+
[CmdletBinding(PositionalBinding=$false)]
31+
Param(
32+
33+
[Parameter(HelpMessage="The match value for the condition of the delivery rule.")]
34+
[string[]]
35+
$ParameterMatchValue,
36+
[Parameter(HelpMessage="Describes if this is negate condition or not.")]
37+
[bool]
38+
$ParameterNegateCondition,
39+
[Parameter(Mandatory, HelpMessage="Describes operator to be matched.")]
40+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.ClientPortOperator])]
41+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.ClientPortOperator]
42+
$ParameterOperator,
43+
[Parameter(HelpMessage="List of transforms.")]
44+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.Transform])]
45+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.Transform[]]
46+
$ParameterTransform,
47+
[Parameter(Mandatory, HelpMessage="The name of the condition for the delivery rule.")]
48+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.MatchVariable])]
49+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.MatchVariable]
50+
$Name
51+
)
52+
53+
process {
54+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleClientPortCondition]::New()
55+
56+
if ($PSBoundParameters.ContainsKey('ParameterMatchValue')) {
57+
$Object.ParameterMatchValue = $ParameterMatchValue
58+
}
59+
if ($PSBoundParameters.ContainsKey('ParameterNegateCondition')) {
60+
$Object.ParameterNegateCondition = $ParameterNegateCondition
61+
}
62+
if ($PSBoundParameters.ContainsKey('ParameterOperator')) {
63+
$Object.ParameterOperator = $ParameterOperator
64+
}
65+
if ($PSBoundParameters.ContainsKey('ParameterTransform')) {
66+
$Object.ParameterTransform = $ParameterTransform
67+
}
68+
if ($PSBoundParameters.ContainsKey('Name')) {
69+
$Object.Name = $Name
70+
}
71+
return $Object
72+
}
73+
}
74+
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
# ----------------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
14+
# is regenerated.
15+
# ----------------------------------------------------------------------------------
16+
17+
<#
18+
.Synopsis
19+
Create an in-memory object for DeliveryRuleCookiesCondition.
20+
.Description
21+
Create an in-memory object for DeliveryRuleCookiesCondition.
22+
23+
.Outputs
24+
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleCookiesCondition
25+
.Link
26+
https://docs.microsoft.com/powershell/module/az.Cdn/new-AzFrontDoorCdnRuleCookiesConditionObject
27+
#>
28+
function New-AzFrontDoorCdnRuleCookiesConditionObject {
29+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleCookiesCondition')]
30+
[CmdletBinding(PositionalBinding=$false)]
31+
Param(
32+
33+
[Parameter(HelpMessage="The match value for the condition of the delivery rule.")]
34+
[string[]]
35+
$ParameterMatchValue,
36+
[Parameter(HelpMessage="Describes if this is negate condition or not.")]
37+
[bool]
38+
$ParameterNegateCondition,
39+
[Parameter(Mandatory, HelpMessage="Describes operator to be matched.")]
40+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.CookiesOperator])]
41+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.CookiesOperator]
42+
$ParameterOperator,
43+
[Parameter(HelpMessage="Name of Cookies to be matched.")]
44+
[string]
45+
$ParameterSelector,
46+
[Parameter(HelpMessage="List of transforms.")]
47+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.Transform])]
48+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.Transform[]]
49+
$ParameterTransform,
50+
[Parameter(Mandatory, HelpMessage="The name of the condition for the delivery rule.")]
51+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.MatchVariable])]
52+
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.MatchVariable]
53+
$Name
54+
)
55+
56+
process {
57+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleCookiesCondition]::New()
58+
59+
if ($PSBoundParameters.ContainsKey('ParameterMatchValue')) {
60+
$Object.ParameterMatchValue = $ParameterMatchValue
61+
}
62+
if ($PSBoundParameters.ContainsKey('ParameterNegateCondition')) {
63+
$Object.ParameterNegateCondition = $ParameterNegateCondition
64+
}
65+
if ($PSBoundParameters.ContainsKey('ParameterOperator')) {
66+
$Object.ParameterOperator = $ParameterOperator
67+
}
68+
if ($PSBoundParameters.ContainsKey('ParameterSelector')) {
69+
$Object.ParameterSelector = $ParameterSelector
70+
}
71+
if ($PSBoundParameters.ContainsKey('ParameterTransform')) {
72+
$Object.ParameterTransform = $ParameterTransform
73+
}
74+
if ($PSBoundParameters.ContainsKey('Name')) {
75+
$Object.Name = $Name
76+
}
77+
return $Object
78+
}
79+
}
80+

0 commit comments

Comments
 (0)