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, Sku, String, String, Nullable<SslEnforcementEnum>, String, String, String, String, String, Nullable<DateTime>, StorageProfile, String, String, Nullable<Int32>, String, IList<ServerPrivateEndpointConnection>) |
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, Sku, String, String, Nullable<SslEnforcementEnum>, String, String, String, String, String, Nullable<DateTime>, StorageProfile, String, String, Nullable<Int32>, String, IList<ServerPrivateEndpointConnection>)
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.MySQL.Models.ResourceIdentity identity = default, Microsoft.Azure.Management.MySQL.Models.Sku sku = default, string administratorLogin = default, string version = default, Microsoft.Azure.Management.MySQL.Models.SslEnforcementEnum? sslEnforcement = default, string minimalTlsVersion = default, string byokEnforcement = default, string infrastructureEncryption = default, string userVisibleState = default, string fullyQualifiedDomainName = default, DateTime? earliestRestoreDate = default, Microsoft.Azure.Management.MySQL.Models.StorageProfile storageProfile = default, string replicationRole = default, string masterServerId = default, int? replicaCapacity = default, string publicNetworkAccess = default, System.Collections.Generic.IList<Microsoft.Azure.Management.MySQL.Models.ServerPrivateEndpointConnection> privateEndpointConnections = default);
new Microsoft.Azure.Management.MySQL.Models.Server : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.MySQL.Models.ResourceIdentity * Microsoft.Azure.Management.MySQL.Models.Sku * string * string * Nullable<Microsoft.Azure.Management.MySQL.Models.SslEnforcementEnum> * string * string * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.MySQL.Models.StorageProfile * string * string * Nullable<int> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.MySQL.Models.ServerPrivateEndpointConnection> -> Microsoft.Azure.Management.MySQL.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 sku As Sku = Nothing, Optional administratorLogin As String = Nothing, Optional version As String = Nothing, Optional sslEnforcement As Nullable(Of SslEnforcementEnum) = Nothing, Optional minimalTlsVersion As String = Nothing, Optional byokEnforcement As String = Nothing, Optional infrastructureEncryption As String = Nothing, Optional userVisibleState As String = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional earliestRestoreDate As Nullable(Of DateTime) = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional replicationRole As String = Nothing, Optional masterServerId As String = Nothing, Optional replicaCapacity As Nullable(Of Integer) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional privateEndpointConnections As IList(Of ServerPrivateEndpointConnection) = 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.
- identity
- ResourceIdentity
The Azure Active Directory identity of the server.
- 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).
- version
- String
Server version. Possible values include: '5.6', '5.7', '8.0'
- sslEnforcement
- Nullable<SslEnforcementEnum>
Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'
- minimalTlsVersion
- String
Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2', 'TLSEnforcementDisabled'
- byokEnforcement
- String
Status showing whether the server data encryption is enabled with customer-managed keys.
- infrastructureEncryption
- String
Status showing whether the server enabled infrastructure encryption. Possible values include: 'Enabled', 'Disabled'
- userVisibleState
- String
A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Inaccessible'
- fullyQualifiedDomainName
- String
The fully qualified domain name of a server.
- storageProfile
- StorageProfile
Storage profile of a server.
- replicationRole
- String
The replication role of the server.
- masterServerId
- String
The master server id of a replica server.
- publicNetworkAccess
- String
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
- privateEndpointConnections
- IList<ServerPrivateEndpointConnection>
List of private endpoint connections on a server