Partilhar via


ArmPostgreSqlModelFactory.PostgreSqlServerCreateOrUpdateContent Method

Definition

Initializes a new instance of PostgreSqlServerCreateOrUpdateContent.

public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerCreateOrUpdateContent PostgreSqlServerCreateOrUpdateContent (Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlSku sku = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForCreate properties = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member PostgreSqlServerCreateOrUpdateContent : Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.PostgreSql.Models.PostgreSqlSku * Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForCreate * Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerCreateOrUpdateContent
Public Shared Function PostgreSqlServerCreateOrUpdateContent (Optional identity As ManagedServiceIdentity = Nothing, Optional sku As PostgreSqlSku = Nothing, Optional properties As PostgreSqlServerPropertiesForCreate = Nothing, Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As PostgreSqlServerCreateOrUpdateContent

Parameters

identity
ManagedServiceIdentity

The Azure Active Directory identity of the server. Current supported identity types: SystemAssigned.

sku
PostgreSqlSku

The SKU (pricing tier) of the server.

properties
PostgreSqlServerPropertiesForCreate

Properties of the server. Please note PostgreSqlServerPropertiesForCreate is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include PostgreSqlServerPropertiesForDefaultCreate, PostgreSqlServerPropertiesForGeoRestore, PostgreSqlServerPropertiesForRestore and PostgreSqlServerPropertiesForReplica.

location
AzureLocation

The location the resource resides in.

tags
IDictionary<String,String>

Application-specific metadata in the form of key-value pairs.

Returns

A new PostgreSqlServerCreateOrUpdateContent instance for mocking.

Applies to