Sdílet prostřednictvím


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlServerMetadata Method

Definition

Initializes a new instance of PostgreSqlServerMetadata.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlServerMetadata PostgreSqlServerMetadata (Azure.Core.AzureLocation? location = default, string version = default, int? storageMb = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ServerSku sku = default);
static member PostgreSqlServerMetadata : Nullable<Azure.Core.AzureLocation> * string * Nullable<int> * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ServerSku -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlServerMetadata
Public Shared Function PostgreSqlServerMetadata (Optional location As Nullable(Of AzureLocation) = Nothing, Optional version As String = Nothing, Optional storageMb As Nullable(Of Integer) = Nothing, Optional sku As ServerSku = Nothing) As PostgreSqlServerMetadata

Parameters

location
Nullable<AzureLocation>

Location of database server.

version
String

Version for database engine.

storageMb
Nullable<Int32>

Storage size in MB for database server.

sku
ServerSku

SKU for the database server.

Returns

A new PostgreSqlServerMetadata instance for mocking.

Applies to