Skip to content

Commit ce6a055

Browse files
authored
Merge pull request #4 from ChenglongLiu/feature/Cdndev
Add in memory obj new command
2 parents 7eae940 + ba9bd37 commit ce6a055

File tree

87 files changed

+5101
-1
lines changed

Some content is hidden

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

87 files changed

+5101
-1
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-AzCdnLogAnalyticLocation', 'Get-AzCdnLogAnalyticMetric', 'Get-AzCdnLogAnalyticRanking', 'Get-AzCdnLogAnalyticResource', 'Get-AzCdnLogAnalyticWafLogAnalyticMetric', 'Get-AzCdnLogAnalyticWafLogAnalyticRanking', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnResourceUsage', '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-AzCdnEndpoint', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecurityPolicy', '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-AzCdnEndpointNameAvailability', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', '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-AzCdnLogAnalyticLocation', 'Get-AzCdnLogAnalyticMetric', 'Get-AzCdnLogAnalyticRanking', 'Get-AzCdnLogAnalyticResource', 'Get-AzCdnLogAnalyticWafLogAnalyticMetric', 'Get-AzCdnLogAnalyticWafLogAnalyticRanking', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnResourceUsage', '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-AzCdnDeliveryRuleCacheExpirationActionObject', 'New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject', '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-AzCdnDeliveryRuleRouteConfigurationOverrideActionObject', 'New-AzCdnDeliveryRuleServerPortConditionObject', 'New-AzCdnDeliveryRuleSocketAddrConditionObject', 'New-AzCdnDeliveryRuleSslProtocolConditionObject', 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject', 'New-AzCdnDeliveryRuleUrlFileNameConditionObject', 'New-AzCdnDeliveryRuleUrlPathConditionObject', 'New-AzCdnEndpoint', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnOriginGroupOverrideActionObject', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzCdnUrlRedirectActionObject', 'New-AzCdnUrlRewriteActionObject', 'New-AzCdnUrlSigningActionObject', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecurityPolicy', '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-AzCdnEndpointNameAvailability', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', '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: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,37 @@ resourcegroup-append: true
5555
nested-object-to-string: true
5656

5757
directive:
58+
# Generate memory object as parameter of the cmelet.
59+
- model-cmdlet:
60+
- DeliveryRuleRemoteAddressCondition
61+
- DeliveryRuleRequestMethodCondition
62+
- DeliveryRuleQueryStringCondition
63+
- DeliveryRulePostArgsCondition
64+
- DeliveryRuleRequestUriCondition
65+
- DeliveryRuleRequestHeaderCondition
66+
- DeliveryRuleRequestBodyCondition
67+
- DeliveryRuleRequestSchemeCondition
68+
- DeliveryRuleUrlPathCondition
69+
- DeliveryRuleUrlFileExtensionCondition
70+
- DeliveryRuleUrlFileNameCondition
71+
- DeliveryRuleHttpVersionCondition
72+
- DeliveryRuleCookiesCondition
73+
- DeliveryRuleIsDeviceCondition
74+
- DeliveryRuleSocketAddrCondition
75+
- DeliveryRuleClientPortCondition
76+
- DeliveryRuleServerPortCondition
77+
- DeliveryRuleHostNameCondition
78+
- DeliveryRuleSslProtocolCondition
79+
- UrlRedirectAction
80+
- UrlSigningAction
81+
- OriginGroupOverrideAction
82+
- UrlRewriteAction
83+
- DeliveryRuleRequestHeaderAction
84+
- DeliveryRuleResponseHeaderAction
85+
- DeliveryRuleCacheExpirationAction
86+
- DeliveryRuleCacheKeyQueryStringAction
87+
- DeliveryRuleRouteConfigurationOverrideAction
88+
5889
# Following is two common directive which are normally required in all the RPs
5990
# 1. Remove the unexpanded parameter set
6091
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well

src/Cdn/Cdn.Autorest/docs/Az.Cdn.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,78 @@ Validate a Secret in the profile.
130130
### [New-AzCdnCustomDomain](New-AzCdnCustomDomain.md)
131131
Creates a new custom domain within an endpoint.
132132

133+
### [New-AzCdnDeliveryRuleCacheExpirationActionObject](New-AzCdnDeliveryRuleCacheExpirationActionObject.md)
134+
Create an in-memory object for DeliveryRuleCacheExpirationAction.
135+
136+
### [New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject](New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.md)
137+
Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction.
138+
139+
### [New-AzCdnDeliveryRuleClientPortConditionObject](New-AzCdnDeliveryRuleClientPortConditionObject.md)
140+
Create an in-memory object for DeliveryRuleClientPortCondition.
141+
142+
### [New-AzCdnDeliveryRuleCookiesConditionObject](New-AzCdnDeliveryRuleCookiesConditionObject.md)
143+
Create an in-memory object for DeliveryRuleCookiesCondition.
144+
145+
### [New-AzCdnDeliveryRuleHostNameConditionObject](New-AzCdnDeliveryRuleHostNameConditionObject.md)
146+
Create an in-memory object for DeliveryRuleHostNameCondition.
147+
148+
### [New-AzCdnDeliveryRuleHttpVersionConditionObject](New-AzCdnDeliveryRuleHttpVersionConditionObject.md)
149+
Create an in-memory object for DeliveryRuleHttpVersionCondition.
150+
151+
### [New-AzCdnDeliveryRuleIsDeviceConditionObject](New-AzCdnDeliveryRuleIsDeviceConditionObject.md)
152+
Create an in-memory object for DeliveryRuleIsDeviceCondition.
153+
154+
### [New-AzCdnDeliveryRulePostArgsConditionObject](New-AzCdnDeliveryRulePostArgsConditionObject.md)
155+
Create an in-memory object for DeliveryRulePostArgsCondition.
156+
157+
### [New-AzCdnDeliveryRuleQueryStringConditionObject](New-AzCdnDeliveryRuleQueryStringConditionObject.md)
158+
Create an in-memory object for DeliveryRuleQueryStringCondition.
159+
160+
### [New-AzCdnDeliveryRuleRemoteAddressConditionObject](New-AzCdnDeliveryRuleRemoteAddressConditionObject.md)
161+
Create an in-memory object for DeliveryRuleRemoteAddressCondition.
162+
163+
### [New-AzCdnDeliveryRuleRequestBodyConditionObject](New-AzCdnDeliveryRuleRequestBodyConditionObject.md)
164+
Create an in-memory object for DeliveryRuleRequestBodyCondition.
165+
166+
### [New-AzCdnDeliveryRuleRequestHeaderActionObject](New-AzCdnDeliveryRuleRequestHeaderActionObject.md)
167+
Create an in-memory object for DeliveryRuleRequestHeaderAction.
168+
169+
### [New-AzCdnDeliveryRuleRequestHeaderConditionObject](New-AzCdnDeliveryRuleRequestHeaderConditionObject.md)
170+
Create an in-memory object for DeliveryRuleRequestHeaderCondition.
171+
172+
### [New-AzCdnDeliveryRuleRequestMethodConditionObject](New-AzCdnDeliveryRuleRequestMethodConditionObject.md)
173+
Create an in-memory object for DeliveryRuleRequestMethodCondition.
174+
175+
### [New-AzCdnDeliveryRuleRequestSchemeConditionObject](New-AzCdnDeliveryRuleRequestSchemeConditionObject.md)
176+
Create an in-memory object for DeliveryRuleRequestSchemeCondition.
177+
178+
### [New-AzCdnDeliveryRuleRequestUriConditionObject](New-AzCdnDeliveryRuleRequestUriConditionObject.md)
179+
Create an in-memory object for DeliveryRuleRequestUriCondition.
180+
181+
### [New-AzCdnDeliveryRuleResponseHeaderActionObject](New-AzCdnDeliveryRuleResponseHeaderActionObject.md)
182+
Create an in-memory object for DeliveryRuleResponseHeaderAction.
183+
184+
### [New-AzCdnDeliveryRuleRouteConfigurationOverrideActionObject](New-AzCdnDeliveryRuleRouteConfigurationOverrideActionObject.md)
185+
Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction.
186+
187+
### [New-AzCdnDeliveryRuleServerPortConditionObject](New-AzCdnDeliveryRuleServerPortConditionObject.md)
188+
Create an in-memory object for DeliveryRuleServerPortCondition.
189+
190+
### [New-AzCdnDeliveryRuleSocketAddrConditionObject](New-AzCdnDeliveryRuleSocketAddrConditionObject.md)
191+
Create an in-memory object for DeliveryRuleSocketAddrCondition.
192+
193+
### [New-AzCdnDeliveryRuleSslProtocolConditionObject](New-AzCdnDeliveryRuleSslProtocolConditionObject.md)
194+
Create an in-memory object for DeliveryRuleSslProtocolCondition.
195+
196+
### [New-AzCdnDeliveryRuleUrlFileExtensionConditionObject](New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.md)
197+
Create an in-memory object for DeliveryRuleUrlFileExtensionCondition.
198+
199+
### [New-AzCdnDeliveryRuleUrlFileNameConditionObject](New-AzCdnDeliveryRuleUrlFileNameConditionObject.md)
200+
Create an in-memory object for DeliveryRuleUrlFileNameCondition.
201+
202+
### [New-AzCdnDeliveryRuleUrlPathConditionObject](New-AzCdnDeliveryRuleUrlPathConditionObject.md)
203+
Create an in-memory object for DeliveryRuleUrlPathCondition.
204+
133205
### [New-AzCdnEndpoint](New-AzCdnEndpoint.md)
134206
Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
135207

@@ -139,6 +211,9 @@ Creates a new origin within the specified endpoint.
139211
### [New-AzCdnOriginGroup](New-AzCdnOriginGroup.md)
140212
Creates a new origin group within the specified endpoint.
141213

214+
### [New-AzCdnOriginGroupOverrideActionObject](New-AzCdnOriginGroupOverrideActionObject.md)
215+
Create an in-memory object for OriginGroupOverrideAction.
216+
142217
### [New-AzCdnPolicy](New-AzCdnPolicy.md)
143218
Create or update policy with specified rule set name within a resource group.
144219

@@ -150,6 +225,15 @@ Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.
150225
Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile.
151226
The SSO URI changes approximately every 10 minutes.
152227

228+
### [New-AzCdnUrlRedirectActionObject](New-AzCdnUrlRedirectActionObject.md)
229+
Create an in-memory object for UrlRedirectAction.
230+
231+
### [New-AzCdnUrlRewriteActionObject](New-AzCdnUrlRewriteActionObject.md)
232+
Create an in-memory object for UrlRewriteAction.
233+
234+
### [New-AzCdnUrlSigningActionObject](New-AzCdnUrlSigningActionObject.md)
235+
Create an in-memory object for UrlSigningAction.
236+
153237
### [New-AzFrontDoorCdnCustomDomain](New-AzFrontDoorCdnCustomDomain.md)
154238
Creates a new domain within the specified profile.
155239

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
external help file:
3+
Module Name: Az.Cdn
4+
online version: https://docs.microsoft.com/powershell/module/az.Cdn/new-AzCdnDeliveryRuleCacheExpirationActionObject
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzCdnDeliveryRuleCacheExpirationActionObject
9+
10+
## SYNOPSIS
11+
Create an in-memory object for DeliveryRuleCacheExpirationAction.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzCdnDeliveryRuleCacheExpirationActionObject -Name <DeliveryRuleAction>
17+
-ParameterCacheBehavior <CacheBehavior> [-ParameterCacheDuration <String>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Create an in-memory object for DeliveryRuleCacheExpirationAction.
22+
23+
## EXAMPLES
24+
25+
### Example 1: {{ Add title here }}
26+
```powershell
27+
{{ Add code here }}
28+
```
29+
30+
```output
31+
{{ Add output here }}
32+
```
33+
34+
{{ Add description here }}
35+
36+
### Example 2: {{ Add title here }}
37+
```powershell
38+
{{ Add code here }}
39+
```
40+
41+
```output
42+
{{ Add output here }}
43+
```
44+
45+
{{ Add description here }}
46+
47+
## PARAMETERS
48+
49+
### -Name
50+
The name of the action for the delivery rule.
51+
52+
```yaml
53+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.DeliveryRuleAction
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: Named
59+
Default value: None
60+
Accept pipeline input: False
61+
Accept wildcard characters: False
62+
```
63+
64+
### -ParameterCacheBehavior
65+
Caching behavior for the requests.
66+
67+
```yaml
68+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.CacheBehavior
69+
Parameter Sets: (All)
70+
Aliases:
71+
72+
Required: True
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: False
76+
Accept wildcard characters: False
77+
```
78+
79+
### -ParameterCacheDuration
80+
The duration for which the content needs to be cached.
81+
Allowed format is [d.]hh:mm:ss.
82+
83+
```yaml
84+
Type: System.String
85+
Parameter Sets: (All)
86+
Aliases:
87+
88+
Required: False
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: False
92+
Accept wildcard characters: False
93+
```
94+
95+
### CommonParameters
96+
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).
97+
98+
## INPUTS
99+
100+
## OUTPUTS
101+
102+
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleCacheExpirationAction
103+
104+
## NOTES
105+
106+
ALIASES
107+
108+
## RELATED LINKS
109+
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
external help file:
3+
Module Name: Az.Cdn
4+
online version: https://docs.microsoft.com/powershell/module/az.Cdn/new-AzCdnDeliveryRuleCacheKeyQueryStringActionObject
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject
9+
10+
## SYNOPSIS
11+
Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject -Name <DeliveryRuleAction>
17+
-ParameterQueryStringBehavior <QueryStringBehavior> [-ParameterQueryParameter <String>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction.
22+
23+
## EXAMPLES
24+
25+
### Example 1: {{ Add title here }}
26+
```powershell
27+
{{ Add code here }}
28+
```
29+
30+
```output
31+
{{ Add output here }}
32+
```
33+
34+
{{ Add description here }}
35+
36+
### Example 2: {{ Add title here }}
37+
```powershell
38+
{{ Add code here }}
39+
```
40+
41+
```output
42+
{{ Add output here }}
43+
```
44+
45+
{{ Add description here }}
46+
47+
## PARAMETERS
48+
49+
### -Name
50+
The name of the action for the delivery rule.
51+
52+
```yaml
53+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.DeliveryRuleAction
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: Named
59+
Default value: None
60+
Accept pipeline input: False
61+
Accept wildcard characters: False
62+
```
63+
64+
### -ParameterQueryParameter
65+
query parameters to include or exclude (comma separated).
66+
67+
```yaml
68+
Type: System.String
69+
Parameter Sets: (All)
70+
Aliases:
71+
72+
Required: False
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: False
76+
Accept wildcard characters: False
77+
```
78+
79+
### -ParameterQueryStringBehavior
80+
Caching behavior for the requests.
81+
82+
```yaml
83+
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Support.QueryStringBehavior
84+
Parameter Sets: (All)
85+
Aliases:
86+
87+
Required: True
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: False
91+
Accept wildcard characters: False
92+
```
93+
94+
### CommonParameters
95+
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).
96+
97+
## INPUTS
98+
99+
## OUTPUTS
100+
101+
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.DeliveryRuleCacheKeyQueryStringAction
102+
103+
## NOTES
104+
105+
ALIASES
106+
107+
## RELATED LINKS
108+

0 commit comments

Comments
 (0)