編集

次の方法で共有


New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject

Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction.

Syntax

New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject
   -Name <DeliveryRuleAction>
   [-CacheConfigurationCacheBehavior <RuleCacheBehavior>]
   [-CacheConfigurationCacheDuration <String>]
   [-CacheConfigurationIsCompressionEnabled <RuleIsCompressionEnabled>]
   [-CacheConfigurationQueryParameter <String>]
   [-CacheConfigurationQueryStringCachingBehavior <RuleQueryStringCachingBehavior>]
   [-OriginGroupId <String>]
   [-OriginGroupOverrideForwardingProtocol <ForwardingProtocol>]
   [<CommonParameters>]

Description

Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction.

Examples

Example 1: Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction

$originGroupId = "xxxx"
New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject -Name RouteConfigurationOverride -OriginGroupOverrideForwardingProtocol HttpOnly -OriginGroupId $originGroupId

Name
----
RouteConfigurationOverride

Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction

Parameters

-CacheConfigurationCacheBehavior

Caching behavior for the requests.

Type:RuleCacheBehavior
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CacheConfigurationCacheDuration

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

-CacheConfigurationIsCompressionEnabled

Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.

Type:RuleIsCompressionEnabled
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CacheConfigurationQueryParameter

query parameters to include or exclude (comma separated).

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CacheConfigurationQueryStringCachingBehavior

Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings.

Type:RuleQueryStringCachingBehavior
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-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

-OriginGroupId

Resource ID.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OriginGroupOverrideForwardingProtocol

Protocol this rule will use when forwarding traffic to backends.

Type:ForwardingProtocol
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DeliveryRuleRouteConfigurationOverrideAction