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>, ResourceIdentity, String, String, String, String, String, String, IList<ServerPrivateEndpointConnection>, String, String, String, String, Nullable<Guid>, String, ServerExternalAdministrator, String) |
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>, ResourceIdentity, String, String, String, String, String, String, IList<ServerPrivateEndpointConnection>, String, String, String, String, Nullable<Guid>, String, ServerExternalAdministrator, String)
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.Sql.Models.ResourceIdentity identity = default, string kind = default, string administratorLogin = default, string administratorLoginPassword = default, string version = default, string state = default, string fullyQualifiedDomainName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ServerPrivateEndpointConnection> privateEndpointConnections = default, string minimalTlsVersion = default, string publicNetworkAccess = default, string workspaceFeature = default, string primaryUserAssignedIdentityId = default, Guid? federatedClientId = default, string keyId = default, Microsoft.Azure.Management.Sql.Models.ServerExternalAdministrator administrators = default, string restrictOutboundNetworkAccess = default);
new Microsoft.Azure.Management.Sql.Models.Server : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Sql.Models.ResourceIdentity * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ServerPrivateEndpointConnection> * string * string * string * string * Nullable<Guid> * string * Microsoft.Azure.Management.Sql.Models.ServerExternalAdministrator * string -> Microsoft.Azure.Management.Sql.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 identity As ResourceIdentity = Nothing, Optional kind As String = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional version As String = Nothing, Optional state As String = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional privateEndpointConnections As IList(Of ServerPrivateEndpointConnection) = Nothing, Optional minimalTlsVersion As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional workspaceFeature As String = Nothing, Optional primaryUserAssignedIdentityId As String = Nothing, Optional federatedClientId As Nullable(Of Guid) = Nothing, Optional keyId As String = Nothing, Optional administrators As ServerExternalAdministrator = Nothing, Optional restrictOutboundNetworkAccess As String = Nothing)
Parameters
- location
- String
Resource location.
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- tags
- IDictionary<String,String>
Resource tags.
- identity
- ResourceIdentity
The Azure Active Directory identity of the server.
- kind
- String
Kind of sql server. This is metadata used for the Azure portal experience.
- administratorLogin
- String
Administrator username for the server. Once created it cannot be changed.
- administratorLoginPassword
- String
The administrator login password (required for server creation).
- version
- String
The version of the server.
- state
- String
The state of the server.
- fullyQualifiedDomainName
- String
The fully qualified domain name of the server.
- privateEndpointConnections
- IList<ServerPrivateEndpointConnection>
List of private endpoint connections on a server
- minimalTlsVersion
- String
Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- publicNetworkAccess
- String
Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
- workspaceFeature
- String
Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: 'Connected', 'Disconnected'
- primaryUserAssignedIdentityId
- String
The resource id of a user assigned identity to be used by default.
- keyId
- String
A CMK URI of the key to use for encryption.
- administrators
- ServerExternalAdministrator
The Azure Active Directory identity of the server.
- restrictOutboundNetworkAccess
- String
Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'