-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PostgreSqlFlexibleServerStorageCapability.cs
47 lines (42 loc) · 2.55 KB
/
PostgreSqlFlexibleServerStorageCapability.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Models
{
/// <summary> storage size in MB capability. </summary>
public partial class PostgreSqlFlexibleServerStorageCapability : PostgreSqlBaseCapability
{
/// <summary> Initializes a new instance of <see cref="PostgreSqlFlexibleServerStorageCapability"/>. </summary>
internal PostgreSqlFlexibleServerStorageCapability()
{
SupportedIopsTiers = new ChangeTrackingList<PostgreSqlFlexibleServerStorageTierCapability>();
}
/// <summary> Initializes a new instance of <see cref="PostgreSqlFlexibleServerStorageCapability"/>. </summary>
/// <param name="capabilityStatus"> The status of the capability. </param>
/// <param name="reason"> The reason for the capability not being available. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="supportedIops"> Supported IOPS. </param>
/// <param name="storageSizeInMB"> Storage size in MB. </param>
/// <param name="defaultIopsTier"> Default tier for IOPS. </param>
/// <param name="supportedIopsTiers"> List of available options to upgrade the storage performance. </param>
internal PostgreSqlFlexibleServerStorageCapability(PostgreSqlFlexbileServerCapabilityStatus? capabilityStatus, string reason, IDictionary<string, BinaryData> serializedAdditionalRawData, long? supportedIops, long? storageSizeInMB, string defaultIopsTier, IReadOnlyList<PostgreSqlFlexibleServerStorageTierCapability> supportedIopsTiers) : base(capabilityStatus, reason, serializedAdditionalRawData)
{
SupportedIops = supportedIops;
StorageSizeInMB = storageSizeInMB;
DefaultIopsTier = defaultIopsTier;
SupportedIopsTiers = supportedIopsTiers;
}
/// <summary> Storage size in MB. </summary>
[WirePath("storageSizeMb")]
public long? StorageSizeInMB { get; }
/// <summary> Default tier for IOPS. </summary>
[WirePath("defaultIopsTier")]
public string DefaultIopsTier { get; }
/// <summary> List of available options to upgrade the storage performance. </summary>
[WirePath("supportedIopsTiers")]
public IReadOnlyList<PostgreSqlFlexibleServerStorageTierCapability> SupportedIopsTiers { get; }
}
}