-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DeliveryRuleSocketAddressCondition.cs
39 lines (32 loc) · 1.55 KB
/
DeliveryRuleSocketAddressCondition.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
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> Defines the SocketAddress condition for the delivery rule. </summary>
public partial class DeliveryRuleSocketAddressCondition : DeliveryRuleCondition
{
/// <summary> Initializes a new instance of DeliveryRuleSocketAddressCondition. </summary>
/// <param name="properties"> Defines the parameters for the condition. </param>
/// <exception cref="ArgumentNullException"> <paramref name="properties"/> is null. </exception>
public DeliveryRuleSocketAddressCondition(SocketAddressMatchCondition properties)
{
Argument.AssertNotNull(properties, nameof(properties));
Properties = properties;
Name = MatchVariable.SocketAddr;
}
/// <summary> Initializes a new instance of DeliveryRuleSocketAddressCondition. </summary>
/// <param name="name"> The name of the condition for the delivery rule. </param>
/// <param name="properties"> Defines the parameters for the condition. </param>
internal DeliveryRuleSocketAddressCondition(MatchVariable name, SocketAddressMatchCondition properties) : base(name)
{
Properties = properties;
Name = name;
}
/// <summary> Defines the parameters for the condition. </summary>
public SocketAddressMatchCondition Properties { get; set; }
}
}