ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerServerVersionCapability 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 PostgreSqlFlexibleServerServerVersionCapability.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerServerVersionCapability PostgreSqlFlexibleServerServerVersionCapability (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexbileServerCapabilityStatus? capabilityStatus = default, string reason = default, string name = default, System.Collections.Generic.IEnumerable<string> supportedVersionsToUpgrade = default);
static member PostgreSqlFlexibleServerServerVersionCapability : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexbileServerCapabilityStatus> * string * string * seq<string> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerServerVersionCapability
Public Shared Function PostgreSqlFlexibleServerServerVersionCapability (Optional capabilityStatus As Nullable(Of PostgreSqlFlexbileServerCapabilityStatus) = Nothing, Optional reason As String = Nothing, Optional name As String = Nothing, Optional supportedVersionsToUpgrade As IEnumerable(Of String) = Nothing) As PostgreSqlFlexibleServerServerVersionCapability
Parameters
- capabilityStatus
- Nullable<PostgreSqlFlexbileServerCapabilityStatus>
The status of the capability.
- reason
- String
The reason for the capability not being available.
- name
- String
Server version.
- supportedVersionsToUpgrade
- IEnumerable<String>
Supported servers versions to upgrade.
Returns
A new PostgreSqlFlexibleServerServerVersionCapability instance for mocking.