Share via


Database Constructors

Definition

Overloads

Database()

Initializes a new instance of the Database class.

Database(String, String, String, String, String, SystemData)

Initializes a new instance of the Database class.

Database()

Initializes a new instance of the Database class.

public Database ();
Public Sub New ()

Applies to

Database(String, String, String, String, String, SystemData)

Initializes a new instance of the Database class.

public Database (string id = default, string name = default, string type = default, string charset = default, string collation = default, Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.SystemData systemData = default);
new Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Database : string * string * string * string * string * Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.SystemData -> Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.Database
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional charset As String = Nothing, Optional collation As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

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"

charset
String

The charset of the database.

collation
String

The collation of the database.

systemData
SystemData

The system metadata relating to this resource.

Applies to