Skip to content

PrepayInstance

This class encapsulates and extends the ROS resource type ALIYUN::REDIS::PrepayInstance, which is used to create a subscription ApsaraDB for Redis instance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Redis;
new PrepayInstance(Construct Scope, string Id, PrepayInstanceProps Props = null, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props PrepayInstanceProps 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.
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

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;
PrepayInstance.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.
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.

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: The architecture.


AttrBandwidthRequired

public IResolvable AttrBandwidth { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Bandwidth: The bandwidth of the instance.

Unit: Mbit/s.


AttrCapacityRequired

public IResolvable AttrCapacity { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Capacity: The storage capacity of the instance.

Unit: MB.


AttrChargeTypeRequired

public IResolvable AttrChargeType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ChargeType: The billing method of the instance.


AttrClassicInnerConnectionPortRequired

public IResolvable AttrClassicInnerConnectionPort { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrClassicInnerConnectionStringRequired

public IResolvable AttrClassicInnerConnectionString { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrConnectionDomainRequired

public IResolvable AttrConnectionDomain { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ConnectionDomain: Connection domain of created instance.


AttrConnectionsRequired

public IResolvable AttrConnections { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrDirectConnectionPortRequired

public IResolvable AttrDirectConnectionPort { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DirectConnectionPort: The direct connection port of the instance.


AttrDirectConnectionStringRequired

public IResolvable AttrDirectConnectionString { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DirectConnectionString: The direct connection string of the instance.


AttrEngineVersionRequired

public IResolvable AttrEngineVersion { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute EngineVersion: The engine version of the instance.


AttrHasRenewChangeOrderRequired

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.


AttrInstanceClassRequired

public IResolvable AttrInstanceClass { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceClass: Redis instance type.


AttrInstanceIdRequired

public IResolvable AttrInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceId: Instance id of created redis instance.


AttrInstanceNameRequired

public IResolvable AttrInstanceName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceName: Name of created redis instance.


AttrInstanceTypeRequired

public IResolvable AttrInstanceType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceType: The engine type of the instance.


AttrNetworkTypeRequired

public IResolvable AttrNetworkType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute NetworkType: The network type.


AttrNodeTypeRequired

public IResolvable AttrNodeType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute NodeType: The type of node.


AttrOrderIdRequired

public IResolvable AttrOrderId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OrderId: Order Id of created instance.


AttrPackageTypeRequired

public IResolvable AttrPackageType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PackageType: The plan type.


AttrPortRequired

public IResolvable AttrPort { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Port: Port of created instance.


AttrPrivateIpRequired

public IResolvable AttrPrivateIp { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PrivateIp: The internal IP address of the instance.


AttrPublicConnectionPortRequired

public IResolvable AttrPublicConnectionPort { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PublicConnectionPort: The public connection port of the instance.


AttrPublicConnectionStringRequired

public IResolvable AttrPublicConnectionString { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PublicConnectionString: The public connection string of the instance.


AttrQpsRequired

public IResolvable AttrQps { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrResourceGroupIdRequired

public IResolvable AttrResourceGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrVpcIdRequired

public IResolvable AttrVpcId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute VpcId: The ID of the VPC.


AttrVpcPrivateConnectionPortRequired

public IResolvable AttrVpcPrivateConnectionPort { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrVpcPrivateConnectionStringRequired

public IResolvable AttrVpcPrivateConnectionString { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

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


AttrVSwitchIdRequired

public IResolvable AttrVSwitchId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute VSwitchId: The ID of the vSwitch.


AttrZoneIdRequired

public IResolvable AttrZoneId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ZoneId: The ID of the zone.