Skip to content

Instance

This class encapsulates and extends the ROS resource type ALIYUN::REDIS::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.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsOptional


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.
FetchCondition No description.
FetchDependency No description.
FetchResourceDesc 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.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

FetchCondition

private RosCondition FetchCondition()

FetchDependency

private string[] FetchDependency()

FetchResourceDesc

private string FetchResourceDesc()

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • 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.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
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 object Attribute ArchitectureType: The architecture.
AttrBandwidth object Attribute Bandwidth: The bandwidth of the instance.
AttrCapacity object Attribute Capacity: The storage capacity of the instance.
AttrChargeType object Attribute ChargeType: The billing method of the instance.
AttrClassicInnerConnectionPort object Attribute ClassicInnerConnectionPort: The classic inner connection port of the instance.
AttrClassicInnerConnectionString object Attribute ClassicInnerConnectionString: The classic inner connection string of the instance.
AttrConnectionDomain object Attribute ConnectionDomain: Connection domain of created instance.
AttrConnections object Attribute Connections: The maximum number of connections supported by the instance.
AttrDirectConnectionPort object Attribute DirectConnectionPort: The direct connection port of the instance.
AttrDirectConnectionString object Attribute DirectConnectionString: The direct connection string of the instance.
AttrEngineVersion object Attribute EngineVersion: The engine version of the instance.
AttrHasRenewChangeOrder object Attribute HasRenewChangeOrder: Indicates whether the Alibaba Cloud account has pending renewal or scaling orders.
AttrInstanceClass object Attribute InstanceClass: Redis instance type.
AttrInstanceId object Attribute InstanceId: Instance id of created redis instance.
AttrInstanceName object Attribute InstanceName: Name of created redis instance.
AttrInstanceType object Attribute InstanceType: The engine type of the instance.
AttrNetworkType object Attribute NetworkType: The network type.
AttrNodeType object Attribute NodeType: The type of node.
AttrOrderId object Attribute OrderId: Order Id of created instance.
AttrPackageType object Attribute PackageType: The plan type.
AttrPort object Attribute Port: Port of created instance.
AttrPrivateIp object Attribute PrivateIp: The internal IP address of the instance.
AttrPublicConnectionPort object Attribute PublicConnectionPort: The public connection port of the instance.
AttrPublicConnectionString object Attribute PublicConnectionString: The public connection string of the instance.
AttrQps object Attribute QPS: The queries per second (QPS) supported by the instance.
AttrResourceGroupId object Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
AttrVpcId object Attribute VpcId: The ID of the VPC.
AttrVpcPrivateConnectionPort object Attribute VpcPrivateConnectionPort: The vpc private connection port of the instance.
AttrVpcPrivateConnectionString object Attribute VpcPrivateConnectionString: The vpc private connection string of the instance.
AttrVSwitchId object Attribute VSwitchId: The ID of the vSwitch.
AttrZoneId object Attribute ZoneId: The ID of the zone.
Props InstanceProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


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 object AttrArchitectureType { get; }
  • Type: object

Attribute ArchitectureType: The architecture.


AttrBandwidthRequired

public object AttrBandwidth { get; }
  • Type: object

Attribute Bandwidth: The bandwidth of the instance.

Unit: Mbit/s.


AttrCapacityRequired

public object AttrCapacity { get; }
  • Type: object

Attribute Capacity: The storage capacity of the instance.

Unit: MB.


AttrChargeTypeRequired

public object AttrChargeType { get; }
  • Type: object

Attribute ChargeType: The billing method of the instance.


AttrClassicInnerConnectionPortRequired

public object AttrClassicInnerConnectionPort { get; }
  • Type: object

Attribute ClassicInnerConnectionPort: The classic inner connection port of the instance.


AttrClassicInnerConnectionStringRequired

public object AttrClassicInnerConnectionString { get; }
  • Type: object

Attribute ClassicInnerConnectionString: The classic inner connection string of the instance.


AttrConnectionDomainRequired

public object AttrConnectionDomain { get; }
  • Type: object

Attribute ConnectionDomain: Connection domain of created instance.


AttrConnectionsRequired

public object AttrConnections { get; }
  • Type: object

Attribute Connections: The maximum number of connections supported by the instance.


AttrDirectConnectionPortRequired

public object AttrDirectConnectionPort { get; }
  • Type: object

Attribute DirectConnectionPort: The direct connection port of the instance.


AttrDirectConnectionStringRequired

public object AttrDirectConnectionString { get; }
  • Type: object

Attribute DirectConnectionString: The direct connection string of the instance.


AttrEngineVersionRequired

public object AttrEngineVersion { get; }
  • Type: object

Attribute EngineVersion: The engine version of the instance.


AttrHasRenewChangeOrderRequired

public object AttrHasRenewChangeOrder { get; }
  • Type: object

Attribute HasRenewChangeOrder: Indicates whether the Alibaba Cloud account has pending renewal or scaling orders.


AttrInstanceClassRequired

public object AttrInstanceClass { get; }
  • Type: object

Attribute InstanceClass: Redis instance type.


AttrInstanceIdRequired

public object AttrInstanceId { get; }
  • Type: object

Attribute InstanceId: Instance id of created redis instance.


AttrInstanceNameRequired

public object AttrInstanceName { get; }
  • Type: object

Attribute InstanceName: Name of created redis instance.


AttrInstanceTypeRequired

public object AttrInstanceType { get; }
  • Type: object

Attribute InstanceType: The engine type of the instance.


AttrNetworkTypeRequired

public object AttrNetworkType { get; }
  • Type: object

Attribute NetworkType: The network type.


AttrNodeTypeRequired

public object AttrNodeType { get; }
  • Type: object

Attribute NodeType: The type of node.


AttrOrderIdRequired

public object AttrOrderId { get; }
  • Type: object

Attribute OrderId: Order Id of created instance.


AttrPackageTypeRequired

public object AttrPackageType { get; }
  • Type: object

Attribute PackageType: The plan type.


AttrPortRequired

public object AttrPort { get; }
  • Type: object

Attribute Port: Port of created instance.


AttrPrivateIpRequired

public object AttrPrivateIp { get; }
  • Type: object

Attribute PrivateIp: The internal IP address of the instance.


AttrPublicConnectionPortRequired

public object AttrPublicConnectionPort { get; }
  • Type: object

Attribute PublicConnectionPort: The public connection port of the instance.


AttrPublicConnectionStringRequired

public object AttrPublicConnectionString { get; }
  • Type: object

Attribute PublicConnectionString: The public connection string of the instance.


AttrQpsRequired

public object AttrQps { get; }
  • Type: object

Attribute QPS: The queries per second (QPS) supported by the instance.


AttrResourceGroupIdRequired

public object AttrResourceGroupId { get; }
  • Type: object

Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.


AttrVpcIdRequired

public object AttrVpcId { get; }
  • Type: object

Attribute VpcId: The ID of the VPC.


AttrVpcPrivateConnectionPortRequired

public object AttrVpcPrivateConnectionPort { get; }
  • Type: object

Attribute VpcPrivateConnectionPort: The vpc private connection port of the instance.


AttrVpcPrivateConnectionStringRequired

public object AttrVpcPrivateConnectionString { get; }
  • Type: object

Attribute VpcPrivateConnectionString: The vpc private connection string of the instance.


AttrVSwitchIdRequired

public object AttrVSwitchId { get; }
  • Type: object

Attribute VSwitchId: The ID of the vSwitch.


AttrZoneIdRequired

public object AttrZoneId { get; }
  • Type: object

Attribute ZoneId: The ID of the zone.


PropsRequired

public InstanceProps Props { get; }