ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlServerMetadata Method
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.
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)
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.
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)
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.
- sku
- ServerSku
SKU for the database server.
Returns
A new PostgreSqlServerMetadata instance for mocking.
Applies to
Azure SDK for .NET