次の方法で共有


Database コンストラクター

定義

オーバーロード

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' です。

port
Nullable<Int32>

データベース エンドポイントの TCP ポート。 作成時に指定されます。 既定値は使用可能なポートです。

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

永続化の設定

modules
IList<Module>

このデータベースで有効にする redis モジュールのオプション セット - モジュールは作成時にのみ追加できます。

geoReplication
DatabasePropertiesGeoReplication

このデータベースの geo レプリケーションを構成するためのプロパティのオプション セット。

適用対象