-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CsmOperationDescription.cs
49 lines (44 loc) · 2.11 KB
/
CsmOperationDescription.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Description of an operation available for Microsoft.Web resource provider. </summary>
public partial class CsmOperationDescription
{
/// <summary> Initializes a new instance of <see cref="CsmOperationDescription"/>. </summary>
internal CsmOperationDescription()
{
}
/// <summary> Initializes a new instance of <see cref="CsmOperationDescription"/>. </summary>
/// <param name="name"></param>
/// <param name="isDataAction"></param>
/// <param name="display"> Meta data about operation used for display in portal. </param>
/// <param name="origin"></param>
/// <param name="properties"> Properties available for a Microsoft.Web resource provider operation. </param>
internal CsmOperationDescription(string name, bool? isDataAction, CsmOperationDisplay display, string origin, CsmOperationDescriptionProperties properties)
{
Name = name;
IsDataAction = isDataAction;
Display = display;
Origin = origin;
Properties = properties;
}
/// <summary> Gets the name. </summary>
public string Name { get; }
/// <summary> Gets the is data action. </summary>
public bool? IsDataAction { get; }
/// <summary> Meta data about operation used for display in portal. </summary>
public CsmOperationDisplay Display { get; }
/// <summary> Gets the origin. </summary>
public string Origin { get; }
/// <summary> Properties available for a Microsoft.Web resource provider operation. </summary>
internal CsmOperationDescriptionProperties Properties { get; }
/// <summary> Resource metrics service provided by Microsoft.Insights resource provider. </summary>
public ServiceSpecification CsmOperationDescriptionServiceSpecification
{
get => Properties?.ServiceSpecification;
}
}
}