共用方式為


Cluster Constructors

Definition

Overloads

Cluster()

Initializes a new instance of the Cluster class.

Cluster(String, Sku, String, String, String, IDictionary<String, String>, IList<String>, String, String, String, String, String, IList<PrivateEndpointConnection>)

Initializes a new instance of the Cluster class.

Cluster()

Initializes a new instance of the Cluster class.

public Cluster ();
Public Sub New ()

Applies to

Cluster(String, Sku, String, String, String, IDictionary<String, String>, IList<String>, String, String, String, String, String, IList<PrivateEndpointConnection>)

Initializes a new instance of the Cluster class.

public Cluster (string location, Microsoft.Azure.Management.RedisEnterprise.Models.Sku sku, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<string> zones = default, string minimumTlsVersion = default, string hostName = default, string provisioningState = default, string resourceState = default, string redisVersion = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RedisEnterprise.Models.PrivateEndpointConnection> privateEndpointConnections = default);
new Microsoft.Azure.Management.RedisEnterprise.Models.Cluster : string * Microsoft.Azure.Management.RedisEnterprise.Models.Sku * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<string> * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RedisEnterprise.Models.PrivateEndpointConnection> -> Microsoft.Azure.Management.RedisEnterprise.Models.Cluster
Public Sub New (location As String, sku As Sku, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional zones As IList(Of String) = Nothing, Optional minimumTlsVersion As String = Nothing, Optional hostName As String = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As String = Nothing, Optional redisVersion As String = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing)

Parameters

location
String

The geo-location where the resource lives

sku
Sku

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

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags
IDictionary<String,String>

Resource tags.

zones
IList<String>

The Availability Zones where this cluster will be deployed.

minimumTlsVersion
String

The minimum TLS version for the cluster to support, e.g. '1.2'. Possible values include: '1.0', '1.1', '1.2'

hostName
String

DNS name of the cluster endpoint

provisioningState
String

Current provisioning status of the cluster. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Creating', 'Updating', 'Deleting'

resourceState
String

Current resource status of the cluster. Possible values include: 'Running', 'Creating', 'CreateFailed', 'Updating', 'UpdateFailed', 'Deleting', 'DeleteFailed', 'Enabling', 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled'

redisVersion
String

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

privateEndpointConnections
IList<PrivateEndpointConnection>

List of private endpoint connections associated with the specified RedisEnterprise cluster

Applies to