-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AvailableAppPlatformSku.cs
64 lines (58 loc) · 3.07 KB
/
AvailableAppPlatformSku.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
53
54
55
56
57
58
59
60
61
62
63
64
// 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.AppPlatform.Models
{
/// <summary> Describes an available Azure Spring Apps SKU. </summary>
public partial class AvailableAppPlatformSku
{
/// <summary> Initializes a new instance of AvailableAppPlatformSku. </summary>
internal AvailableAppPlatformSku()
{
Locations = new ChangeTrackingList<AzureLocation>();
LocationInfo = new ChangeTrackingList<AppPlatformSkuLocationInfo>();
Restrictions = new ChangeTrackingList<AppPlatformSkuRestrictions>();
}
/// <summary> Initializes a new instance of AvailableAppPlatformSku. </summary>
/// <param name="resourceType"> Gets the type of resource the SKU applies to. </param>
/// <param name="name"> Gets the name of SKU. </param>
/// <param name="tier"> Gets the tier of SKU. </param>
/// <param name="capacity"> Gets the capacity of SKU. </param>
/// <param name="locations"> Gets the set of locations that the SKU is available. </param>
/// <param name="locationInfo"> Gets a list of locations and availability zones in those locations where the SKU is available. </param>
/// <param name="restrictions">
/// Gets the restrictions because of which SKU cannot be used. This is
/// empty if there are no restrictions.
/// </param>
internal AvailableAppPlatformSku(ResourceType? resourceType, string name, string tier, AppPlatformSkuCapacity capacity, IReadOnlyList<AzureLocation> locations, IReadOnlyList<AppPlatformSkuLocationInfo> locationInfo, IReadOnlyList<AppPlatformSkuRestrictions> restrictions)
{
ResourceType = resourceType;
Name = name;
Tier = tier;
Capacity = capacity;
Locations = locations;
LocationInfo = locationInfo;
Restrictions = restrictions;
}
/// <summary> Gets the type of resource the SKU applies to. </summary>
public ResourceType? ResourceType { get; }
/// <summary> Gets the name of SKU. </summary>
public string Name { get; }
/// <summary> Gets the tier of SKU. </summary>
public string Tier { get; }
/// <summary> Gets the capacity of SKU. </summary>
public AppPlatformSkuCapacity Capacity { get; }
/// <summary> Gets the set of locations that the SKU is available. </summary>
public IReadOnlyList<AzureLocation> Locations { get; }
/// <summary> Gets a list of locations and availability zones in those locations where the SKU is available. </summary>
public IReadOnlyList<AppPlatformSkuLocationInfo> LocationInfo { get; }
/// <summary>
/// Gets the restrictions because of which SKU cannot be used. This is
/// empty if there are no restrictions.
/// </summary>
public IReadOnlyList<AppPlatformSkuRestrictions> Restrictions { get; }
}
}