ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlBaseCapability 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 PostgreSqlBaseCapability.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlBaseCapability PostgreSqlBaseCapability (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexbileServerCapabilityStatus? capabilityStatus = default, string reason = default);
static member PostgreSqlBaseCapability : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexbileServerCapabilityStatus> * string -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlBaseCapability
Public Shared Function PostgreSqlBaseCapability (Optional capabilityStatus As Nullable(Of PostgreSqlFlexbileServerCapabilityStatus) = Nothing, Optional reason As String = Nothing) As PostgreSqlBaseCapability
Parameters
- capabilityStatus
- Nullable<PostgreSqlFlexbileServerCapabilityStatus>
The status of the capability.
- reason
- String
The reason for the capability not being available.
Returns
A new PostgreSqlBaseCapability instance for mocking.