你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Cluster 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Cluster()
初始化 Cluster 类的新实例。
public Cluster ();
Public Sub New ()
适用于
Cluster(String, Sku, String, String, String, IDictionary<String, String>, IList<String>, String, String, String, String, String, IList<PrivateEndpointConnection>)
初始化 Cluster 类的新实例。
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)
参数
- location
- String
资源所在的地理位置
- sku
- Sku
要创建的 SKU,这会影响价格、性能和功能。
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”
- tags
- IDictionary<String,String>
资源标记。
- minimumTlsVersion
- String
群集支持的最低 TLS 版本,例如“1.2”。 可能的值包括:“1.0”、“1.1”、“1.2”
- hostName
- String
群集终结点的 DNS 名称
- provisioningState
- String
群集的当前预配状态。 可能的值包括:“Succeeded”、“Failed”、“Canceled”、“Create”、“Updateing”、“删除”
- resourceState
- String
群集的当前资源状态。 可能的值包括:“Running”、“Create”、“CreateFailed”、“Updateing”、“UpdateFailed”、“DeleteFailed”、“Enableing”、“Enableing”、“EnableFailed”、“Disableing”、“Disableing”、“Disablefailed”、“Disableiled”、“Disabled”
- redisVersion
- String
群集支持的 redis 版本,例如“6”
- privateEndpointConnections
- IList<PrivateEndpointConnection>
与指定的 RedisEnterprise 群集关联的专用终结点连接列表