Server コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Server()
Server クラスの新しいインスタンスを初期化します。
public Server ();
Public Sub New ()
適用対象
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>)
Server クラスの新しいインスタンスを初期化します。
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)
パラメーター
- location
- String
リソースが保存されている地理的な場所
- id
- String
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
リソースの名前
- type
- String
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
リソース タグ。
- identity
- ResourceIdentity
サーバーの Azure Active Directory ID。
- sku
- Sku
サーバーの SKU (価格レベル)。
- administratorLogin
- String
サーバーの管理者のログイン名。 サーバーが作成されている場合にのみ指定できます (作成に必要です)。
- version
- String
サーバーのバージョン。 使用できる値は、'5.6'、'5.7'、'8.0' です。
- sslEnforcement
- Nullable<SslEnforcementEnum>
サーバーに接続するときに ssl 強制を有効にするか、有効にしないか。 使用可能な値は次のとおりです: 'Enabled'、'Disabled'
- minimalTlsVersion
- String
サーバーに最小限の Tls バージョンを適用します。 使用できる値は、'TLS1_0'、'TLS1_1'、'TLS1_2'、'TLSEnforcementDisabled' です。
- byokEnforcement
- String
カスタマー マネージド キーでサーバー データ暗号化が有効になっているかどうかを示す状態。
- infrastructureEncryption
- String
サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。 使用可能な値は次のとおりです: 'Enabled'、'Disabled'
- userVisibleState
- String
ユーザーに表示されるサーバーの状態。 使用可能な値には、'Ready'、'Dropping'、'Disabled'、'Inaccessible' などがあります。
- fullyQualifiedDomainName
- String
サーバーの完全修飾ドメイン名。
- storageProfile
- StorageProfile
サーバーのストレージ プロファイル。
- replicationRole
- String
サーバーのレプリケーション ロール。
- masterServerId
- String
レプリカ サーバーのマスター サーバー ID。
- publicNetworkAccess
- String
このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は、'Enabled' または 'Disabled' である必要があります。 使用可能な値は次のとおりです: 'Enabled'、'Disabled'
- privateEndpointConnections
- IList<ServerPrivateEndpointConnection>
サーバー上のプライベート エンドポイント接続の一覧
適用対象
Azure SDK for .NET