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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell