ArmRedisEnterpriseModelFactory.RedisEnterpriseDatabasePatch 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 RedisEnterpriseDatabasePatch.
public static Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseDatabasePatch RedisEnterpriseDatabasePatch (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 RedisEnterpriseDatabasePatch : 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.Models.RedisEnterpriseDatabasePatch
Public Shared Function RedisEnterpriseDatabasePatch (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 RedisEnterpriseDatabasePatch
Parameters
- clientProtocol
- Nullable<RedisEnterpriseClientProtocol>
Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.
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 RedisEnterpriseDatabasePatch instance for mocking.
Applies to
Azure SDK for .NET