Instance
This class encapsulates and extends the ROS resource type ALIYUN::REDIS::Instance
, which is used to create a Tair (Redis OSS-compatible) instance.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Redis;
new Instance(Construct Scope, string Id, InstanceProps Props = null, 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
Optional
- 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: The architecture. |
AttrBandwidth |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Bandwidth: The bandwidth of the instance. |
AttrCapacity |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Capacity: The storage capacity of the instance. |
AttrChargeType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ChargeType: The billing method of the instance. |
AttrClassicInnerConnectionPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClassicInnerConnectionPort: The classic inner connection port of the instance. |
AttrClassicInnerConnectionString |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClassicInnerConnectionString: The classic inner connection string of the instance. |
AttrConnectionDomain |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConnectionDomain: Connection domain of created instance. |
AttrConnections |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Connections: The maximum number of connections supported by the instance. |
AttrDirectConnectionPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DirectConnectionPort: The direct connection port of the instance. |
AttrDirectConnectionString |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DirectConnectionString: The direct connection string of the instance. |
AttrEngineVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EngineVersion: The engine version of the instance. |
AttrHasRenewChangeOrder |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HasRenewChangeOrder: Indicates whether the Alibaba Cloud account has pending renewal or scaling orders. |
AttrInstanceClass |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceClass: Redis instance type. |
AttrInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceId: Instance id of created redis instance. |
AttrInstanceName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceName: Name of created redis instance. |
AttrInstanceType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceType: The engine type of the instance. |
AttrNetworkType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NetworkType: The network type. |
AttrNodeType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NodeType: The type of node. |
AttrOrderId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute OrderId: Order Id of created instance. |
AttrPackageType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PackageType: The plan type. |
AttrPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Port: Port of created instance. |
AttrPrivateIp |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PrivateIp: The internal IP address of the instance. |
AttrPublicConnectionPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PublicConnectionPort: The public connection port of the instance. |
AttrPublicConnectionString |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PublicConnectionString: The public connection string of the instance. |
AttrQps |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute QPS: The queries per second (QPS) supported by the instance. |
AttrResourceGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs. |
AttrVpcId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcId: The ID of the VPC. |
AttrVpcPrivateConnectionPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcPrivateConnectionPort: The vpc private connection port of the instance. |
AttrVpcPrivateConnectionString |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcPrivateConnectionString: The vpc private connection string of the instance. |
AttrVSwitchId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VSwitchId: The ID of the vSwitch. |
AttrZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ZoneId: The ID of the zone. |
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: The architecture.
AttrBandwidth
Required
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: The bandwidth of the instance.
Unit: Mbit/s.
AttrCapacity
Required
public IResolvable AttrCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Capacity: The storage capacity of the instance.
Unit: MB.
AttrChargeType
Required
public IResolvable AttrChargeType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ChargeType: The billing method of the instance.
AttrClassicInnerConnectionPort
Required
public IResolvable AttrClassicInnerConnectionPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClassicInnerConnectionPort: The classic inner connection port of the instance.
AttrClassicInnerConnectionString
Required
public IResolvable AttrClassicInnerConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClassicInnerConnectionString: The classic inner connection string of the instance.
AttrConnectionDomain
Required
public IResolvable AttrConnectionDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionDomain: Connection domain of created instance.
AttrConnections
Required
public IResolvable AttrConnections { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Connections: The maximum number of connections supported by the instance.
AttrDirectConnectionPort
Required
public IResolvable AttrDirectConnectionPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DirectConnectionPort: The direct connection port of the instance.
AttrDirectConnectionString
Required
public IResolvable AttrDirectConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DirectConnectionString: The direct connection string of the instance.
AttrEngineVersion
Required
public IResolvable AttrEngineVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EngineVersion: The engine version of the instance.
AttrHasRenewChangeOrder
Required
public IResolvable AttrHasRenewChangeOrder { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HasRenewChangeOrder: Indicates whether the Alibaba Cloud account has pending renewal or scaling orders.
AttrInstanceClass
Required
public IResolvable AttrInstanceClass { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceClass: Redis instance type.
AttrInstanceId
Required
public IResolvable AttrInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceId: Instance id of created redis instance.
AttrInstanceName
Required
public IResolvable AttrInstanceName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceName: Name of created redis instance.
AttrInstanceType
Required
public IResolvable AttrInstanceType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceType: The engine type of the instance.
AttrNetworkType
Required
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: The network type.
AttrNodeType
Required
public IResolvable AttrNodeType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NodeType: The type of node.
AttrOrderId
Required
public IResolvable AttrOrderId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute OrderId: Order Id of created instance.
AttrPackageType
Required
public IResolvable AttrPackageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PackageType: The plan type.
AttrPort
Required
public IResolvable AttrPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Port: Port of created instance.
AttrPrivateIp
Required
public IResolvable AttrPrivateIp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PrivateIp: The internal IP address of the instance.
AttrPublicConnectionPort
Required
public IResolvable AttrPublicConnectionPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PublicConnectionPort: The public connection port of the instance.
AttrPublicConnectionString
Required
public IResolvable AttrPublicConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PublicConnectionString: The public connection string of the instance.
AttrQps
Required
public IResolvable AttrQps { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute QPS: The queries per second (QPS) supported by the instance.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: The ID of the VPC.
AttrVpcPrivateConnectionPort
Required
public IResolvable AttrVpcPrivateConnectionPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcPrivateConnectionPort: The vpc private connection port of the instance.
AttrVpcPrivateConnectionString
Required
public IResolvable AttrVpcPrivateConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcPrivateConnectionString: The vpc private connection string of the instance.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: The ID of the vSwitch.
AttrZoneId
Required
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: The ID of the zone.