ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerSkuCapability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET