-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ArmApplicationDefinitionData.cs
36 lines (32 loc) · 1.41 KB
/
ArmApplicationDefinitionData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Resources
{
// the base class here is mandatory for fixing the base class, otherwise the generator will change it
[CodeGenSuppress("DeploymentMode")]
public partial class ArmApplicationDefinitionData : ArmApplicationResourceData
{
/// <summary> The managed application deployment mode. </summary>
public ArmApplicationDeploymentMode DeploymentMode
{
get => DeploymentPolicy is null ? ArmApplicationDeploymentMode.NotSpecified : DeploymentPolicy.DeploymentMode;
set => DeploymentPolicy = new ArmApplicationDeploymentPolicy(value);
}
/// <summary> The deny assignment excluded actions. </summary>
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.ObsoleteAttribute("This property is obsolete and will be removed in a future release.", false)]
public IList<string> LockingAllowedActions
{
get
{
if (LockingPolicy is null)
LockingPolicy = new ArmApplicationPackageLockingPolicy();
return LockingPolicy.AllowedActions;
}
}
}
}