Sdílet prostřednictvím


ArmRedisEnterpriseModelFactory.RedisEnterpriseDatabaseData Method

Definition

Initializes a new instance of RedisEnterpriseDatabaseData.

public static Azure.ResourceManager.RedisEnterprise.RedisEnterpriseDatabaseData RedisEnterpriseDatabaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClientProtocol? clientProtocol = default, int? port = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseProvisioningStatus? provisioningState = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClusterResourceState? resourceState = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClusteringPolicy? clusteringPolicy = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseEvictionPolicy? evictionPolicy = default, Azure.ResourceManager.RedisEnterprise.Models.RedisPersistenceSettings persistence = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseModule> modules = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseDatabaseGeoReplication geoReplication = default, string redisVersion = default, Azure.ResourceManager.RedisEnterprise.Models.DeferUpgradeSetting? deferUpgrade = default, Azure.ResourceManager.RedisEnterprise.Models.AccessKeysAuthentication? accessKeysAuthentication = default);
static member RedisEnterpriseDatabaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClientProtocol> * Nullable<int> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseProvisioningStatus> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClusterResourceState> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClusteringPolicy> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseEvictionPolicy> * Azure.ResourceManager.RedisEnterprise.Models.RedisPersistenceSettings * seq<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseModule> * Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseDatabaseGeoReplication * string * Nullable<Azure.ResourceManager.RedisEnterprise.Models.DeferUpgradeSetting> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.AccessKeysAuthentication> -> Azure.ResourceManager.RedisEnterprise.RedisEnterpriseDatabaseData
Public Shared Function RedisEnterpriseDatabaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional clientProtocol As Nullable(Of RedisEnterpriseClientProtocol) = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of RedisEnterpriseProvisioningStatus) = Nothing, Optional resourceState As Nullable(Of RedisEnterpriseClusterResourceState) = Nothing, Optional clusteringPolicy As Nullable(Of RedisEnterpriseClusteringPolicy) = Nothing, Optional evictionPolicy As Nullable(Of RedisEnterpriseEvictionPolicy) = Nothing, Optional persistence As RedisPersistenceSettings = Nothing, Optional modules As IEnumerable(Of RedisEnterpriseModule) = Nothing, Optional geoReplication As RedisEnterpriseDatabaseGeoReplication = Nothing, Optional redisVersion As String = Nothing, Optional deferUpgrade As Nullable(Of DeferUpgradeSetting) = Nothing, Optional accessKeysAuthentication As Nullable(Of AccessKeysAuthentication) = Nothing) As RedisEnterpriseDatabaseData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

clientProtocol
Nullable<RedisEnterpriseClientProtocol>

Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.

port
Nullable<Int32>

TCP port of the database endpoint. Specified at create time. Defaults to an available port.

provisioningState
Nullable<RedisEnterpriseProvisioningStatus>

Current provisioning status of the database.

resourceState
Nullable<RedisEnterpriseClusterResourceState>

Current resource status of the database.

clusteringPolicy
Nullable<RedisEnterpriseClusteringPolicy>

Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database.

evictionPolicy
Nullable<RedisEnterpriseEvictionPolicy>

Redis eviction policy - default is VolatileLRU.

persistence
RedisPersistenceSettings

Persistence settings.

modules
IEnumerable<RedisEnterpriseModule>

Optional set of redis modules to enable in this database - modules can only be added at creation time.

geoReplication
RedisEnterpriseDatabaseGeoReplication

Optional set of properties to configure geo replication for this database.

redisVersion
String

Version of Redis the database is running on, e.g. '6.0'.

deferUpgrade
Nullable<DeferUpgradeSetting>

Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade.

accessKeysAuthentication
Nullable<AccessKeysAuthentication>

This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.

Returns

A new RedisEnterpriseDatabaseData instance for mocking.

Applies to