ArmMySqlFlexibleServersModelFactory.MySqlFlexibleServerData Method
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.
Initializes a new instance of MySqlFlexibleServerData.
public static Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerData MySqlFlexibleServerData (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.FlexibleServers.Models.MySqlFlexibleServerSku sku = default, string administratorLogin = default, string administratorLoginPassword = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVersion? version = default, string availabilityZone = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerCreateMode? createMode = default, Azure.Core.ResourceIdentifier sourceServerResourceId = default, DateTimeOffset? restorePointInTime = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerReplicationRole? replicationRole = default, int? replicaCapacity = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerDataEncryption dataEncryption = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerState? state = default, string fullyQualifiedDomainName = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerStorage storage = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerBackupProperties backup = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailability highAvailability = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNetwork network = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServersPrivateEndpointConnection> privateEndpointConnections = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceWindow maintenanceWindow = default, Azure.ResourceManager.MySql.FlexibleServers.Models.ImportSourceProperties importSourceProperties = default);
static member MySqlFlexibleServerData : 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.FlexibleServers.Models.MySqlFlexibleServerSku * string * string * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVersion> * string * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerCreateMode> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerReplicationRole> * Nullable<int> * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerDataEncryption * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerState> * string * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerStorage * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerBackupProperties * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailability * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerNetwork * seq<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServersPrivateEndpointConnection> * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceWindow * Azure.ResourceManager.MySql.FlexibleServers.Models.ImportSourceProperties -> Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerData
Public Shared Function MySqlFlexibleServerData (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 MySqlFlexibleServerSku = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional version As Nullable(Of MySqlFlexibleServerVersion) = Nothing, Optional availabilityZone As String = Nothing, Optional createMode As Nullable(Of MySqlFlexibleServerCreateMode) = Nothing, Optional sourceServerResourceId As ResourceIdentifier = Nothing, Optional restorePointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional replicationRole As Nullable(Of MySqlFlexibleServerReplicationRole) = Nothing, Optional replicaCapacity As Nullable(Of Integer) = Nothing, Optional dataEncryption As MySqlFlexibleServerDataEncryption = Nothing, Optional state As Nullable(Of MySqlFlexibleServerState) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional storage As MySqlFlexibleServerStorage = Nothing, Optional backup As MySqlFlexibleServerBackupProperties = Nothing, Optional highAvailability As MySqlFlexibleServerHighAvailability = Nothing, Optional network As MySqlFlexibleServerNetwork = Nothing, Optional privateEndpointConnections As IEnumerable(Of MySqlFlexibleServersPrivateEndpointConnection) = Nothing, Optional maintenanceWindow As MySqlFlexibleServerMaintenanceWindow = Nothing, Optional importSourceProperties As ImportSourceProperties = Nothing) As MySqlFlexibleServerData
Parameters
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 cmk identity for the server. Current supported identity types: UserAssigned.
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 password of the administrator login (required for server creation).
- version
- Nullable<MySqlFlexibleServerVersion>
Server version.
- availabilityZone
- String
availability Zone information of the server.
- createMode
- Nullable<MySqlFlexibleServerCreateMode>
The mode to create a new MySQL server.
- sourceServerResourceId
- ResourceIdentifier
The source MySQL server id.
- restorePointInTime
- Nullable<DateTimeOffset>
Restore point creation time (ISO8601 format), specifying the time to restore from.
- replicationRole
- Nullable<MySqlFlexibleServerReplicationRole>
The replication role.
- dataEncryption
- MySqlFlexibleServerDataEncryption
The Data Encryption for CMK.
- state
- Nullable<MySqlFlexibleServerState>
The state of a server.
- fullyQualifiedDomainName
- String
The fully qualified domain name of a server.
- storage
- MySqlFlexibleServerStorage
Storage related properties of a server.
Backup related properties of a server.
- highAvailability
- MySqlFlexibleServerHighAvailability
High availability related properties of a server.
- network
- MySqlFlexibleServerNetwork
Network related properties of a server.
- privateEndpointConnections
- IEnumerable<MySqlFlexibleServersPrivateEndpointConnection>
PrivateEndpointConnections related properties of a server.
- maintenanceWindow
- MySqlFlexibleServerMaintenanceWindow
Maintenance window of a server.
- importSourceProperties
- ImportSourceProperties
Source properties for import from storage.
Returns
A new MySqlFlexibleServerData instance for mocking.
Applies to
Azure SDK for .NET