Aracılığıyla paylaş


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlServerMetadata Method

Definition

Overloads

PostgreSqlServerMetadata(Nullable<AzureLocation>, String, Nullable<Int32>, PostgreSqlFlexibleServersServerSku)

Initializes a new instance of PostgreSqlServerMetadata.

PostgreSqlServerMetadata(Nullable<AzureLocation>, String, Nullable<Int32>, ServerSku)

Initializes a new instance of PostgreSqlServerMetadata.

PostgreSqlServerMetadata(Nullable<AzureLocation>, String, Nullable<Int32>, PostgreSqlFlexibleServersServerSku)

Source:
ArmPostgreSqlFlexibleServersModelFactory.cs

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.PostgreSqlFlexibleServersServerSku sku = default);
static member PostgreSqlServerMetadata : Nullable<Azure.Core.AzureLocation> * string * Nullable<int> * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersServerSku -> 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 PostgreSqlFlexibleServersServerSku = 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
PostgreSqlFlexibleServersServerSku

SKU for the database server. This object is empty for PG single server.

Returns

A new PostgreSqlServerMetadata instance for mocking.

Applies to

PostgreSqlServerMetadata(Nullable<AzureLocation>, String, Nullable<Int32>, ServerSku)

Source:
ArmPostgreSqlFlexibleServersModelFactory.cs

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