New-AzCdnDeliveryRuleCacheExpirationActionObject
Create an in-memory object for DeliveryRuleCacheExpirationAction.
Syntax
New-AzCdnDeliveryRuleCacheExpirationActionObject
-ParameterCacheBehavior <CacheBehavior>
-Name <DeliveryRuleAction>
[-ParameterCacheDuration <String>]
[<CommonParameters>]
Description
Create an in-memory object for DeliveryRuleCacheExpirationAction.
Examples
Example 1: Create an in-memory object for AzureCDN DeliveryRuleCacheExpirationAction
New-AzCdnDeliveryRuleCacheExpirationActionObject -Name CacheExpiration -ParameterCacheBehavior SetIfMissing -ParameterCacheDuration 0.01:30:00
Name
----
CacheExpiration
Create an in-memory object for AzureCDN DeliveryRuleCacheExpirationAction
Parameters
-Name
The name of the action for the delivery rule.
Type: | DeliveryRuleAction |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ParameterCacheBehavior
Caching behavior for the requests.
Type: | CacheBehavior |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ParameterCacheDuration
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell