PostgreSqlFlexibleServer 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.
Creates a new instance of the PostgreSqlFlexibleServer class.
public PostgreSqlFlexibleServer (Azure.Provisioning.IConstruct scope, Azure.Provisioning.Parameter administratorLogin, Azure.Provisioning.Parameter administratorPassword, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSku? sku = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVersion? serverVersion = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHighAvailability? highAvailability = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption? encryption = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties? backup = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork? network = default, int? storageSizeInGB = default, string? availabilityZone = default, Azure.Provisioning.ResourceManager.ResourceGroup? parent = default, string name = "postgres", string version = "2023-03-01-preview", Azure.Core.AzureLocation? location = default);
new Azure.Provisioning.PostgreSql.PostgreSqlFlexibleServer : Azure.Provisioning.IConstruct * Azure.Provisioning.Parameter * Azure.Provisioning.Parameter * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSku * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVersion> * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHighAvailability * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork * Nullable<int> * string * Azure.Provisioning.ResourceManager.ResourceGroup * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.Provisioning.PostgreSql.PostgreSqlFlexibleServer
Public Sub New (scope As IConstruct, administratorLogin As Parameter, administratorPassword As Parameter, Optional sku As PostgreSqlFlexibleServerSku = Nothing, Optional serverVersion As Nullable(Of PostgreSqlFlexibleServerVersion) = Nothing, Optional highAvailability As PostgreSqlFlexibleServerHighAvailability = Nothing, Optional encryption As PostgreSqlFlexibleServerDataEncryption = Nothing, Optional backup As PostgreSqlFlexibleServerBackupProperties = Nothing, Optional network As PostgreSqlFlexibleServerNetwork = Nothing, Optional storageSizeInGB As Nullable(Of Integer) = Nothing, Optional availabilityZone As String = Nothing, Optional parent As ResourceGroup = Nothing, Optional name As String = "postgres", Optional version As String = "2023-03-01-preview", Optional location As Nullable(Of AzureLocation) = Nothing)
Parameters
- scope
- IConstruct
The scope.
- administratorLogin
- Parameter
The administrator login.
- administratorPassword
- Parameter
The administrator password.
The Sku.
- serverVersion
- Nullable<PostgreSqlFlexibleServerVersion>
The version.
- highAvailability
- PostgreSqlFlexibleServerHighAvailability
The high availability.
- encryption
- PostgreSqlFlexibleServerDataEncryption
The backup.
- network
- PostgreSqlFlexibleServerNetwork
The network.
- availabilityZone
- String
The availability zone.
- parent
- ResourceGroup
The parent.
- name
- String
The name.
- version
- String
The version.
- location
- Nullable<AzureLocation>
The location.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET