Bearbeiten

Freigeben über


New-AzCdnOriginGroupOverrideActionObject

Create an in-memory object for OriginGroupOverrideAction.

Syntax

New-AzCdnOriginGroupOverrideActionObject
   -Name <DeliveryRuleAction>
   [-OriginGroupId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for OriginGroupOverrideAction.

Examples

Example 1: Create an in-memory object for AzureCDN OriginGroupOverrideAction

New-AzCdnOriginGroupOverrideActionObject -Name OriginGroupOverride -OriginGroupId 001

Name
----
OriginGroupOverride

Create an in-memory object for AzureCDN OriginGroupOverrideAction

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

-OriginGroupId

Resource ID.

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

Outputs

OriginGroupOverrideAction