-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DeliveryRuleAction.cs
32 lines (27 loc) · 1.54 KB
/
DeliveryRuleAction.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary>
/// An action for the delivery rule.
/// Please note <see cref="DeliveryRuleAction"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="DeliveryRuleCacheExpirationAction"/>, <see cref="DeliveryRuleCacheKeyQueryStringAction"/>, <see cref="DeliveryRuleRequestHeaderAction"/>, <see cref="DeliveryRuleResponseHeaderAction"/>, <see cref="OriginGroupOverrideAction"/>, <see cref="DeliveryRuleRouteConfigurationOverrideAction"/>, <see cref="UriRedirectAction"/>, <see cref="UriRewriteAction"/> and <see cref="UriSigningAction"/>.
/// </summary>
public abstract partial class DeliveryRuleAction
{
/// <summary> Initializes a new instance of DeliveryRuleAction. </summary>
protected DeliveryRuleAction()
{
}
/// <summary> Initializes a new instance of DeliveryRuleAction. </summary>
/// <param name="name"> The name of the action for the delivery rule. </param>
internal DeliveryRuleAction(DeliveryRuleActionType name)
{
Name = name;
}
/// <summary> The name of the action for the delivery rule. </summary>
internal DeliveryRuleActionType Name { get; set; }
}
}