共用方式為


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServersValidationMessage Method

Definition

Initializes a new instance of PostgreSqlFlexibleServersValidationMessage.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationMessage PostgreSqlFlexibleServersValidationMessage (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationState? state = default, string message = default);
static member PostgreSqlFlexibleServersValidationMessage : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationState> * string -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersValidationMessage
Public Shared Function PostgreSqlFlexibleServersValidationMessage (Optional state As Nullable(Of PostgreSqlFlexibleServersValidationState) = Nothing, Optional message As String = Nothing) As PostgreSqlFlexibleServersValidationMessage

Parameters

state
Nullable<PostgreSqlFlexibleServersValidationState>

Severity of validation message.

message
String

Validation message string.

Returns

A new PostgreSqlFlexibleServersValidationMessage instance for mocking.

Applies to