Server Constructors
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
Server() |
Initializes a new instance of the Server class. |
Server(String, String, String, String, IDictionary<String,String>, Sku, String, String, String, String, String, String, Storage, Backup, Network, HighAvailability, MaintenanceWindow, String, Nullable<DateTime>, String, String, IDictionary<String,String>, SystemData) |
Initializes a new instance of the Server class. |
Server()
Initializes a new instance of the Server class.
public Server ();
Public Sub New ()
Applies to
Server(String, String, String, String, IDictionary<String,String>, Sku, String, String, String, String, String, String, Storage, Backup, Network, HighAvailability, MaintenanceWindow, String, Nullable<DateTime>, String, String, IDictionary<String,String>, SystemData)
Initializes a new instance of the Server class.
public Server (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Sku sku = default, string administratorLogin = default, string administratorLoginPassword = default, string version = default, string minorVersion = default, string state = default, string fullyQualifiedDomainName = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Storage storage = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Backup backup = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Network network = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.HighAvailability highAvailability = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.MaintenanceWindow maintenanceWindow = default, string sourceServerResourceId = default, DateTime? pointInTimeUTC = default, string availabilityZone = default, string createMode = default, System.Collections.Generic.IDictionary<string,string> serverTags = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.SystemData systemData = default);
new Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Server : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Sku * string * string * string * string * string * string * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Storage * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Backup * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Network * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.HighAvailability * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.MaintenanceWindow * string * Nullable<DateTime> * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.SystemData -> Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Server
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional version As String = Nothing, Optional minorVersion As String = Nothing, Optional state As String = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional storage As Storage = Nothing, Optional backup As Backup = Nothing, Optional network As Network = Nothing, Optional highAvailability As HighAvailability = Nothing, Optional maintenanceWindow As MaintenanceWindow = Nothing, Optional sourceServerResourceId As String = Nothing, Optional pointInTimeUTC As Nullable(Of DateTime) = Nothing, Optional availabilityZone As String = Nothing, Optional createMode As String = Nothing, Optional serverTags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
Resource tags.
- sku
- Sku
The SKU (pricing tier) of the server.
- administratorLogin
- String
The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- administratorLoginPassword
- String
The administrator login password (required for server creation).
- version
- String
PostgreSQL Server version. Possible values include: '13', '12', '11'
- minorVersion
- String
The minor version of the server.
- state
- String
A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating'
- fullyQualifiedDomainName
- String
The fully qualified domain name of a server.
- storage
- Storage
Storage properties of a server.
- backup
- Backup
Backup properties of a server.
- network
- Network
Network properties of a server.
- highAvailability
- HighAvailability
High availability properties of a server.
- maintenanceWindow
- MaintenanceWindow
Maintenance window properties of a server.
- sourceServerResourceId
- String
The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.
Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.
- availabilityZone
- String
availability zone information of the server.
- createMode
- String
The mode to create a new PostgreSQL server. Possible values include: 'Default', 'Create', 'Update', 'PointInTimeRestore'
- serverTags
- IDictionary<String,String>
Application-specific metadata in the form of key-value pairs.
- systemData
- SystemData
The system metadata relating to this resource.
Applies to
Azure SDK for .NET