共用方式為


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerServerVersionCapability Method

Definition

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.

Applies to