PostgreSqlServerCreateOrUpdateContent Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PostgreSqlServerCreateOrUpdateContent.
public PostgreSqlServerCreateOrUpdateContent (Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForCreate properties, Azure.Core.AzureLocation location);
new Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerCreateOrUpdateContent : Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForCreate * Azure.Core.AzureLocation -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerCreateOrUpdateContent
Public Sub New (properties As PostgreSqlServerPropertiesForCreate, location As AzureLocation)
Parameters
- 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.
Exceptions
properties
is null.