共用方式為


ArmRedisEnterpriseModelFactory.RedisEnterpriseClusterData Method

Definition

Initializes a new instance of RedisEnterpriseClusterData.

public static Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterData RedisEnterpriseClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseSku sku = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseHighAvailability? highAvailability = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseTlsVersion? minimumTlsVersion = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseCustomerManagedKeyEncryption customerManagedKeyEncryption = default, string hostName = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseProvisioningStatus? provisioningState = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseRedundancyMode? redundancyMode = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClusterResourceState? resourceState = default, string redisVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RedisEnterprise.RedisEnterprisePrivateEndpointConnectionData> privateEndpointConnections = default);
static member RedisEnterpriseClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseSku * seq<string> * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseHighAvailability> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseTlsVersion> * Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseCustomerManagedKeyEncryption * string * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseProvisioningStatus> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseRedundancyMode> * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseClusterResourceState> * string * seq<Azure.ResourceManager.RedisEnterprise.RedisEnterprisePrivateEndpointConnectionData> -> Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterData
Public Shared Function RedisEnterpriseClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As RedisEnterpriseSku = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional highAvailability As Nullable(Of RedisEnterpriseHighAvailability) = Nothing, Optional minimumTlsVersion As Nullable(Of RedisEnterpriseTlsVersion) = Nothing, Optional customerManagedKeyEncryption As RedisEnterpriseCustomerManagedKeyEncryption = Nothing, Optional hostName As String = Nothing, Optional provisioningState As Nullable(Of RedisEnterpriseProvisioningStatus) = Nothing, Optional redundancyMode As Nullable(Of RedisEnterpriseRedundancyMode) = Nothing, Optional resourceState As Nullable(Of RedisEnterpriseClusterResourceState) = Nothing, Optional redisVersion As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of RedisEnterprisePrivateEndpointConnectionData) = Nothing) As RedisEnterpriseClusterData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
RedisEnterpriseSku

The SKU to create, which affects price, performance, and features.

zones
IEnumerable<String>

The Availability Zones where this cluster will be deployed.

identity
ManagedServiceIdentity

The identity of the resource.

highAvailability
Nullable<RedisEnterpriseHighAvailability>

Enabled by default. If highAvailability is disabled, the data set is not replicated. This affects the availability SLA, and increases the risk of data loss.

minimumTlsVersion
Nullable<RedisEnterpriseTlsVersion>

The minimum TLS version for the cluster to support, e.g. '1.2'. Newer versions can be added in the future. Note that TLS 1.0 and TLS 1.1 are now completely obsolete -- you cannot use them. They are mentioned only for the sake of consistency with old API versions.

customerManagedKeyEncryption
RedisEnterpriseCustomerManagedKeyEncryption

Encryption-at-rest configuration for the cluster.

hostName
String

DNS name of the cluster endpoint.

provisioningState
Nullable<RedisEnterpriseProvisioningStatus>

Current provisioning status of the cluster.

redundancyMode
Nullable<RedisEnterpriseRedundancyMode>

Explains the current redundancy strategy of the cluster, which affects the expected SLA.

resourceState
Nullable<RedisEnterpriseClusterResourceState>

Current resource status of the cluster.

redisVersion
String

Version of redis the cluster supports, e.g. '6'.

privateEndpointConnections
IEnumerable<RedisEnterprisePrivateEndpointConnectionData>

List of private endpoint connections associated with the specified Redis Enterprise cluster.

Returns

A new RedisEnterpriseClusterData instance for mocking.

Applies to