Database コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Database() |
Database クラスの新しいインスタンスを初期化します。 |
Database(String, String, String, String, Nullable<Int32>, String, String, String, String, Persistence, IList<Module>, DatabasePropertiesGeoReplication) |
Database クラスの新しいインスタンスを初期化します。 |
Database()
Database クラスの新しいインスタンスを初期化します。
public Database();
Public Sub New ()
適用対象
Database(String, String, String, String, Nullable<Int32>, String, String, String, String, Persistence, IList<Module>, DatabasePropertiesGeoReplication)
Database クラスの新しいインスタンスを初期化します。
public Database(string id = default, string name = default, string type = default, string clientProtocol = default, int? port = default, string provisioningState = default, string resourceState = default, string clusteringPolicy = default, string evictionPolicy = default, Microsoft.Azure.Management.RedisEnterprise.Models.Persistence persistence = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RedisEnterprise.Models.Module> modules = default, Microsoft.Azure.Management.RedisEnterprise.Models.DatabasePropertiesGeoReplication geoReplication = default);
new Microsoft.Azure.Management.RedisEnterprise.Models.Database : string * string * string * string * Nullable<int> * string * string * string * string * Microsoft.Azure.Management.RedisEnterprise.Models.Persistence * System.Collections.Generic.IList<Microsoft.Azure.Management.RedisEnterprise.Models.Module> * Microsoft.Azure.Management.RedisEnterprise.Models.DatabasePropertiesGeoReplication -> Microsoft.Azure.Management.RedisEnterprise.Models.Database
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional clientProtocol As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As String = Nothing, Optional clusteringPolicy As String = Nothing, Optional evictionPolicy As String = Nothing, Optional persistence As Persistence = Nothing, Optional modules As IList(Of Module) = Nothing, Optional geoReplication As DatabasePropertiesGeoReplication = Nothing)
パラメーター
- id
- String
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
リソースの名前
- type
- String
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"
- clientProtocol
- String
redis クライアントが TLS で暗号化された redis プロトコルまたはプレーンテキスト redis プロトコルを使用して接続できるかどうかを指定します。 既定値は TLS で暗号化されています。 指定できる値は、'Encrypted'、'Plaintext' です。
- provisioningState
- String
データベースの現在のプロビジョニング状態。 指定できる値は、'Succeeded'、'Failed'、'Canceled'、'Creating'、'Updating'、'Deleting' です。
- resourceState
- String
データベースの現在のリソースの状態。 使用可能な値は、'Running'、'Creating'、'CreateFailed'、'Updating'、'UpdateFailed'、'DeleteFailed'、'Enableing'、'EnableFailed'、'Disableing'、'DisableFailed'、'Disabled' です。
- clusteringPolicy
- String
クラスタリング ポリシー - 既定値は OSSCluster です。 作成時に指定されます。 使用できる値は、'EnterpriseCluster'、'OSSCluster' です。
- evictionPolicy
- String
Redis 削除ポリシー - 既定値は VolatileLRU です。 使用できる値は、'AllKeysLFU'、'AllKeysLRU'、'AllKeysRandom'、'VolatileLRU'、'VolatileLFU'、'VolatileTTL'、'VolatileRandom'、'NoEviction' です。
- persistence
- Persistence
永続化の設定
- geoReplication
- DatabasePropertiesGeoReplication
このデータベースの geo レプリケーションを構成するためのプロパティのオプション セット。
適用対象
Azure SDK for .NET