-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AvailableApiManagementServiceSkuResult.cs
44 lines (37 loc) · 1.66 KB
/
AvailableApiManagementServiceSkuResult.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> Describes an available API Management service SKU. </summary>
public partial class AvailableApiManagementServiceSkuResult
{
/// <summary> Initializes a new instance of AvailableApiManagementServiceSkuResult. </summary>
internal AvailableApiManagementServiceSkuResult()
{
}
/// <summary> Initializes a new instance of AvailableApiManagementServiceSkuResult. </summary>
/// <param name="resourceType"> The type of resource the SKU applies to. </param>
/// <param name="sku"> Specifies API Management SKU. </param>
/// <param name="capacity"> Specifies the number of API Management units. </param>
internal AvailableApiManagementServiceSkuResult(ResourceType? resourceType, ResourceSku sku, ApiManagementResourceSkuCapacity capacity)
{
ResourceType = resourceType;
Sku = sku;
Capacity = capacity;
}
/// <summary> The type of resource the SKU applies to. </summary>
public ResourceType? ResourceType { get; }
/// <summary> Specifies API Management SKU. </summary>
internal ResourceSku Sku { get; }
/// <summary> Name of the Sku. </summary>
public ApiManagementServiceSkuType? SkuName
{
get => Sku?.Name;
}
/// <summary> Specifies the number of API Management units. </summary>
public ApiManagementResourceSkuCapacity Capacity { get; }
}
}