Instance
This class encapsulates and extends the ROS resource type DATASOURCE::REDIS::Instance
, which is used to query the information about a Tair (Redis OSS-compatible) instance.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Redis;
new Instance(Construct Scope, string Id, InstanceProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
InstanceProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: InstanceProps
EnableResourcePropertyConstraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition |
No description. |
AddCount |
No description. |
AddDependency |
No description. |
AddResourceDesc |
No description. |
ApplyRemovalPolicy |
No description. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Redis;
Instance.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrArchitectureType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ArchitectureType: Architecture type. |
AttrBandwidth |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Bandwidth: Bandwidth. |
AttrCapacity |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Capacity: Capacity. |
AttrCloudType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CloudType: Cloud category. |
AttrConfig |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Config: Config. |
AttrConnectionDomain |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConnectionDomain: Connection domain. |
AttrCreateTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CreateTime: Create time. |
AttrDbInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBInstanceId: Database instance id. |
AttrDbInstanceName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBInstanceName: Instance name. |
AttrEndTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EndTime: End time. |
AttrEngineVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EngineVersion: Engine version. |
AttrHasRenewChangeOrder |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HasRenewChangeOrder: Has renew change order. |
AttrInstanceClass |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceClass: Instance class. |
AttrInstanceReleaseProtection |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceReleaseProtection: Instance release protection. |
AttrInstanceType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceType: Instance type. |
AttrIsRds |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute IsRds: is RDS. |
AttrMaintainEndTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MaintainEndTime: Maintain end time. |
AttrMaintainStartTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MaintainStartTime: Maintain start time. |
AttrNetworkType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NetworkType: Network type. |
AttrPackageType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PackageType: Package type. |
AttrPaymentType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PaymentType: Payment type. |
AttrPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Port: Port. |
AttrPrivateIp |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PrivateIp: Private IP. |
AttrQps |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Qps: QPS. |
AttrReadOnlyCount |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ReadOnlyCount: The number of read-only nodes. |
AttrReplacateId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ReplacateId: Replacate id. |
AttrResourceGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ResourceGroupId: Resource group id. |
AttrSecondaryZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecondaryZoneId: The ID of the standby zone. |
AttrSecurityGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecurityGroupId: Security group id. |
AttrSecurityIpGroupAttribute |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecurityIpGroupAttribute: Security IP group attribute. |
AttrSecurityIpGroupName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecurityIpGroupName: Security IP group name. |
AttrSecurityIps |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecurityIps: Security IPs. |
AttrShardCount |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ShardCount: The number of slices. |
AttrTags |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Tags: Tags. |
AttrVpcAuthMode |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcAuthMode: Vpc auth mode. |
AttrVpcCloudInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcCloudInstanceId: Vpc cloud instance id. |
AttrVpcId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcId: Vpc id. |
AttrVSwitchId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VSwitchId: Vswitch id. |
AttrZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ZoneId: Zone id. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrArchitectureType
Required
public IResolvable AttrArchitectureType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ArchitectureType: Architecture type.
AttrBandwidth
Required
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: Bandwidth.
AttrCapacity
Required
public IResolvable AttrCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Capacity: Capacity.
AttrCloudType
Required
public IResolvable AttrCloudType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CloudType: Cloud category.
AttrConfig
Required
public IResolvable AttrConfig { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Config: Config.
AttrConnectionDomain
Required
public IResolvable AttrConnectionDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionDomain: Connection domain.
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: Create time.
AttrDbInstanceId
Required
public IResolvable AttrDbInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBInstanceId: Database instance id.
AttrDbInstanceName
Required
public IResolvable AttrDbInstanceName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBInstanceName: Instance name.
AttrEndTime
Required
public IResolvable AttrEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EndTime: End time.
AttrEngineVersion
Required
public IResolvable AttrEngineVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EngineVersion: Engine version.
AttrHasRenewChangeOrder
Required
public IResolvable AttrHasRenewChangeOrder { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HasRenewChangeOrder: Has renew change order.
AttrInstanceClass
Required
public IResolvable AttrInstanceClass { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceClass: Instance class.
AttrInstanceReleaseProtection
Required
public IResolvable AttrInstanceReleaseProtection { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceReleaseProtection: Instance release protection.
AttrInstanceType
Required
public IResolvable AttrInstanceType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceType: Instance type.
AttrIsRds
Required
public IResolvable AttrIsRds { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IsRds: is RDS.
AttrMaintainEndTime
Required
public IResolvable AttrMaintainEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MaintainEndTime: Maintain end time.
AttrMaintainStartTime
Required
public IResolvable AttrMaintainStartTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MaintainStartTime: Maintain start time.
AttrNetworkType
Required
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: Network type.
AttrPackageType
Required
public IResolvable AttrPackageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PackageType: Package type.
AttrPaymentType
Required
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: Payment type.
AttrPort
Required
public IResolvable AttrPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Port: Port.
AttrPrivateIp
Required
public IResolvable AttrPrivateIp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PrivateIp: Private IP.
AttrQps
Required
public IResolvable AttrQps { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Qps: QPS.
AttrReadOnlyCount
Required
public IResolvable AttrReadOnlyCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ReadOnlyCount: The number of read-only nodes.
This parameter is only applicable to the creation of read-write splitting instances in the cloud disk version. You can use this parameter to customize the number of read-only nodes. Valid values: 1 to 5.
AttrReplacateId
Required
public IResolvable AttrReplacateId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ReplacateId: Replacate id.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: Resource group id.
AttrSecondaryZoneId
Required
public IResolvable AttrSecondaryZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecondaryZoneId: The ID of the standby zone.
AttrSecurityGroupId
Required
public IResolvable AttrSecurityGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityGroupId: Security group id.
AttrSecurityIpGroupAttribute
Required
public IResolvable AttrSecurityIpGroupAttribute { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityIpGroupAttribute: Security IP group attribute.
AttrSecurityIpGroupName
Required
public IResolvable AttrSecurityIpGroupName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityIpGroupName: Security IP group name.
AttrSecurityIps
Required
public IResolvable AttrSecurityIps { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityIps: Security IPs.
AttrShardCount
Required
public IResolvable AttrShardCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ShardCount: The number of slices.
This parameter is only applicable to creating a cloud disk cluster architecture instance. You can use this parameter to customize the number of slices.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: Tags.
AttrVpcAuthMode
Required
public IResolvable AttrVpcAuthMode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcAuthMode: Vpc auth mode.
AttrVpcCloudInstanceId
Required
public IResolvable AttrVpcCloudInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcCloudInstanceId: Vpc cloud instance id.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: Vpc id.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: Vswitch id.
AttrZoneId
Required
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: Zone id.