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. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: InstanceProps
EnableResourcePropertyConstraintOptional
- 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. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
RefRequired
public string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrArchitectureTypeRequired
public IResolvable AttrArchitectureType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ArchitectureType: Architecture type.
AttrBandwidthRequired
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: Bandwidth.
AttrCapacityRequired
public IResolvable AttrCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Capacity: Capacity.
AttrCloudTypeRequired
public IResolvable AttrCloudType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CloudType: Cloud category.
AttrConfigRequired
public IResolvable AttrConfig { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Config: Config.
AttrConnectionDomainRequired
public IResolvable AttrConnectionDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionDomain: Connection domain.
AttrCreateTimeRequired
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: Create time.
AttrDbInstanceIdRequired
public IResolvable AttrDbInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBInstanceId: Database instance id.
AttrDbInstanceNameRequired
public IResolvable AttrDbInstanceName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBInstanceName: Instance name.
AttrEndTimeRequired
public IResolvable AttrEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EndTime: End time.
AttrEngineVersionRequired
public IResolvable AttrEngineVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EngineVersion: Engine version.
AttrHasRenewChangeOrderRequired
public IResolvable AttrHasRenewChangeOrder { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HasRenewChangeOrder: Has renew change order.
AttrInstanceClassRequired
public IResolvable AttrInstanceClass { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceClass: Instance class.
AttrInstanceReleaseProtectionRequired
public IResolvable AttrInstanceReleaseProtection { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceReleaseProtection: Instance release protection.
AttrInstanceTypeRequired
public IResolvable AttrInstanceType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceType: Instance type.
AttrIsRdsRequired
public IResolvable AttrIsRds { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IsRds: is RDS.
AttrMaintainEndTimeRequired
public IResolvable AttrMaintainEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MaintainEndTime: Maintain end time.
AttrMaintainStartTimeRequired
public IResolvable AttrMaintainStartTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MaintainStartTime: Maintain start time.
AttrNetworkTypeRequired
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: Network type.
AttrPackageTypeRequired
public IResolvable AttrPackageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PackageType: Package type.
AttrPaymentTypeRequired
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: Payment type.
AttrPortRequired
public IResolvable AttrPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Port: Port.
AttrPrivateIpRequired
public IResolvable AttrPrivateIp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PrivateIp: Private IP.
AttrQpsRequired
public IResolvable AttrQps { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Qps: QPS.
AttrReadOnlyCountRequired
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.
AttrReplacateIdRequired
public IResolvable AttrReplacateId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ReplacateId: Replacate id.
AttrResourceGroupIdRequired
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: Resource group id.
AttrSecondaryZoneIdRequired
public IResolvable AttrSecondaryZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecondaryZoneId: The ID of the standby zone.
AttrSecurityGroupIdRequired
public IResolvable AttrSecurityGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityGroupId: Security group id.
AttrSecurityIpGroupAttributeRequired
public IResolvable AttrSecurityIpGroupAttribute { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityIpGroupAttribute: Security IP group attribute.
AttrSecurityIpGroupNameRequired
public IResolvable AttrSecurityIpGroupName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityIpGroupName: Security IP group name.
AttrSecurityIpsRequired
public IResolvable AttrSecurityIps { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecurityIps: Security IPs.
AttrShardCountRequired
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.
AttrTagsRequired
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: Tags.
AttrVpcAuthModeRequired
public IResolvable AttrVpcAuthMode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcAuthMode: Vpc auth mode.
AttrVpcCloudInstanceIdRequired
public IResolvable AttrVpcCloudInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcCloudInstanceId: Vpc cloud instance id.
AttrVpcIdRequired
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: Vpc id.
AttrVSwitchIdRequired
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: Vswitch id.
AttrZoneIdRequired
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: Zone id.