Udostępnij za pośrednictwem


ArmPostgreSqlFlexibleServersModelFactory.ServerSku Method

Definition

Initializes a new instance of ServerSku.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ServerSku ServerSku (string name = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSkuTier tier = default);
static member ServerSku : string * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSkuTier -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ServerSku
Public Shared Function ServerSku (Optional name As String = Nothing, Optional tier As PostgreSqlFlexibleServerSkuTier = Nothing) As ServerSku

Parameters

name
String

The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

tier
PostgreSqlFlexibleServerSkuTier

The tier of the particular SKU, e.g. Burstable.

Returns

A new ServerSku instance for mocking.

Exceptions

name is null.

Applies to