Share via


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerSkuCapability Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerSkuCapability.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSkuCapability PostgreSqlFlexibleServerSkuCapability (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexbileServerCapabilityStatus? capabilityStatus = default, string reason = default, string name = default, int? vCores = default, int? supportedIops = default, long? supportedMemoryPerVcoreMb = default, System.Collections.Generic.IEnumerable<string> supportedZones = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHAMode> supportedHaMode = default);
static member PostgreSqlFlexibleServerSkuCapability : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexbileServerCapabilityStatus> * string * string * Nullable<int> * Nullable<int> * Nullable<int64> * seq<string> * seq<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHAMode> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSkuCapability
Public Shared Function PostgreSqlFlexibleServerSkuCapability (Optional capabilityStatus As Nullable(Of PostgreSqlFlexbileServerCapabilityStatus) = Nothing, Optional reason As String = Nothing, Optional name As String = Nothing, Optional vCores As Nullable(Of Integer) = Nothing, Optional supportedIops As Nullable(Of Integer) = Nothing, Optional supportedMemoryPerVcoreMb As Nullable(Of Long) = Nothing, Optional supportedZones As IEnumerable(Of String) = Nothing, Optional supportedHaMode As IEnumerable(Of PostgreSqlFlexibleServerHAMode) = Nothing) As PostgreSqlFlexibleServerSkuCapability

Parameters

capabilityStatus
Nullable<PostgreSqlFlexbileServerCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

name
String

Sku name.

vCores
Nullable<Int32>

Supported vCores.

supportedIops
Nullable<Int32>

Supported IOPS.

supportedMemoryPerVcoreMb
Nullable<Int64>

Supported memory per vCore in MB.

supportedZones
IEnumerable<String>

List of supported Availability Zones. E.g. "1", "2", "3".

supportedHaMode
IEnumerable<PostgreSqlFlexibleServerHAMode>

Supported high availability mode.

Returns

A new PostgreSqlFlexibleServerSkuCapability instance for mocking.

Applies to