ArmMySqlModelFactory.MySqlServerData Method

Definition

Initializes a new instance of MySqlServerData.

public static Azure.ResourceManager.MySql.MySqlServerData MySqlServerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.MySql.Models.MySqlSku sku = default, string administratorLogin = default, Azure.ResourceManager.MySql.Models.MySqlServerVersion? version = default, Azure.ResourceManager.MySql.Models.MySqlSslEnforcementEnum? sslEnforcement = default, Azure.ResourceManager.MySql.Models.MySqlMinimalTlsVersionEnum? minimalTlsVersion = default, string byokEnforcement = default, Azure.ResourceManager.MySql.Models.MySqlInfrastructureEncryption? infrastructureEncryption = default, Azure.ResourceManager.MySql.Models.MySqlServerState? userVisibleState = default, string fullyQualifiedDomainName = default, DateTimeOffset? earliestRestoreOn = default, Azure.ResourceManager.MySql.Models.MySqlStorageProfile storageProfile = default, string replicationRole = default, Azure.Core.ResourceIdentifier masterServerId = default, int? replicaCapacity = default, Azure.ResourceManager.MySql.Models.MySqlPublicNetworkAccessEnum? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MySql.Models.MySqlServerPrivateEndpointConnection> privateEndpointConnections = default);
static member MySqlServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.MySql.Models.MySqlSku * string * Nullable<Azure.ResourceManager.MySql.Models.MySqlServerVersion> * Nullable<Azure.ResourceManager.MySql.Models.MySqlSslEnforcementEnum> * Nullable<Azure.ResourceManager.MySql.Models.MySqlMinimalTlsVersionEnum> * string * Nullable<Azure.ResourceManager.MySql.Models.MySqlInfrastructureEncryption> * Nullable<Azure.ResourceManager.MySql.Models.MySqlServerState> * string * Nullable<DateTimeOffset> * Azure.ResourceManager.MySql.Models.MySqlStorageProfile * string * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Azure.ResourceManager.MySql.Models.MySqlPublicNetworkAccessEnum> * seq<Azure.ResourceManager.MySql.Models.MySqlServerPrivateEndpointConnection> -> Azure.ResourceManager.MySql.MySqlServerData
Public Shared Function MySqlServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As MySqlSku = Nothing, Optional administratorLogin As String = Nothing, Optional version As Nullable(Of MySqlServerVersion) = Nothing, Optional sslEnforcement As Nullable(Of MySqlSslEnforcementEnum) = Nothing, Optional minimalTlsVersion As Nullable(Of MySqlMinimalTlsVersionEnum) = Nothing, Optional byokEnforcement As String = Nothing, Optional infrastructureEncryption As Nullable(Of MySqlInfrastructureEncryption) = Nothing, Optional userVisibleState As Nullable(Of MySqlServerState) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional storageProfile As MySqlStorageProfile = Nothing, Optional replicationRole As String = Nothing, Optional masterServerId As ResourceIdentifier = Nothing, Optional replicaCapacity As Nullable(Of Integer) = Nothing, Optional publicNetworkAccess As Nullable(Of MySqlPublicNetworkAccessEnum) = Nothing, Optional privateEndpointConnections As IEnumerable(Of MySqlServerPrivateEndpointConnection) = Nothing) As MySqlServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

The Azure Active Directory identity of the server. Current supported identity types: SystemAssigned.

sku
MySqlSku

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
Nullable<MySqlServerVersion>

Server version.

sslEnforcement
Nullable<MySqlSslEnforcementEnum>

Enable ssl enforcement or not when connect to server.

minimalTlsVersion
Nullable<MySqlMinimalTlsVersionEnum>

Enforce a minimal Tls version for the server.

byokEnforcement
String

Status showing whether the server data encryption is enabled with customer-managed keys.

infrastructureEncryption
Nullable<MySqlInfrastructureEncryption>

Status showing whether the server enabled infrastructure encryption.

userVisibleState
Nullable<MySqlServerState>

A state of a server that is visible to user.

fullyQualifiedDomainName
String

The fully qualified domain name of a server.

earliestRestoreOn
Nullable<DateTimeOffset>

Earliest restore point creation time (ISO8601 format).

storageProfile
MySqlStorageProfile

Storage profile of a server.

replicationRole
String

The replication role of the server.

masterServerId
ResourceIdentifier

The master server id of a replica server.

replicaCapacity
Nullable<Int32>

The maximum number of replicas that a master server can have.

publicNetworkAccess
Nullable<MySqlPublicNetworkAccessEnum>

Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

privateEndpointConnections
IEnumerable<MySqlServerPrivateEndpointConnection>

List of private endpoint connections on a server.

Returns

A new MySqlServerData instance for mocking.

Applies to