-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SiteCloneability.cs
52 lines (46 loc) · 2.55 KB
/
SiteCloneability.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
43
44
45
46
47
48
49
50
51
52
// 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.AppService.Models
{
/// <summary> Represents whether or not an app is cloneable. </summary>
public partial class SiteCloneability
{
/// <summary> Initializes a new instance of SiteCloneability. </summary>
internal SiteCloneability()
{
BlockingFeatures = new ChangeTrackingList<SiteCloneabilityCriterion>();
UnsupportedFeatures = new ChangeTrackingList<SiteCloneabilityCriterion>();
BlockingCharacteristics = new ChangeTrackingList<SiteCloneabilityCriterion>();
}
/// <summary> Initializes a new instance of SiteCloneability. </summary>
/// <param name="result"> Name of app. </param>
/// <param name="blockingFeatures"> List of features enabled on app that prevent cloning. </param>
/// <param name="unsupportedFeatures">
/// List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned
/// but the features in this list will not be set up on cloned app.
/// </param>
/// <param name="blockingCharacteristics"> List of blocking application characteristics. </param>
internal SiteCloneability(CloneAbilityResult? result, IReadOnlyList<SiteCloneabilityCriterion> blockingFeatures, IReadOnlyList<SiteCloneabilityCriterion> unsupportedFeatures, IReadOnlyList<SiteCloneabilityCriterion> blockingCharacteristics)
{
Result = result;
BlockingFeatures = blockingFeatures;
UnsupportedFeatures = unsupportedFeatures;
BlockingCharacteristics = blockingCharacteristics;
}
/// <summary> Name of app. </summary>
public CloneAbilityResult? Result { get; }
/// <summary> List of features enabled on app that prevent cloning. </summary>
public IReadOnlyList<SiteCloneabilityCriterion> BlockingFeatures { get; }
/// <summary>
/// List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned
/// but the features in this list will not be set up on cloned app.
/// </summary>
public IReadOnlyList<SiteCloneabilityCriterion> UnsupportedFeatures { get; }
/// <summary> List of blocking application characteristics. </summary>
public IReadOnlyList<SiteCloneabilityCriterion> BlockingCharacteristics { get; }
}
}