-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
UriSigningActionProperties.cs
42 lines (36 loc) · 1.83 KB
/
UriSigningActionProperties.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
40
41
42
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> Defines the parameters for the Url Signing action. </summary>
public partial class UriSigningActionProperties
{
/// <summary> Initializes a new instance of UriSigningActionProperties. </summary>
/// <param name="actionType"></param>
public UriSigningActionProperties(UriSigningActionType actionType)
{
ActionType = actionType;
ParameterNameOverride = new ChangeTrackingList<UriSigningParamIdentifier>();
}
/// <summary> Initializes a new instance of UriSigningActionProperties. </summary>
/// <param name="actionType"></param>
/// <param name="algorithm"> Algorithm to use for URL signing. </param>
/// <param name="parameterNameOverride"> Defines which query string parameters in the url to be considered for expires, key id etc. </param>
internal UriSigningActionProperties(UriSigningActionType actionType, UriSigningAlgorithm? algorithm, IList<UriSigningParamIdentifier> parameterNameOverride)
{
ActionType = actionType;
Algorithm = algorithm;
ParameterNameOverride = parameterNameOverride;
}
/// <summary> Gets or sets the action type. </summary>
public UriSigningActionType ActionType { get; set; }
/// <summary> Algorithm to use for URL signing. </summary>
public UriSigningAlgorithm? Algorithm { get; set; }
/// <summary> Defines which query string parameters in the url to be considered for expires, key id etc. </summary>
public IList<UriSigningParamIdentifier> ParameterNameOverride { get; }
}
}