Skip to content

Instance

This class encapsulates and extends the ROS resource type DATASOURCE::ROCKETMQ5::Instance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Rocketmq5;
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


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.Rocketmq5;
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.
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.
AttrAccountInfo AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AccountInfo: The account information.
AttrAclInfo AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AclInfo: The information about access control.
AttrBid AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Bid: The business ID (BID) of the commodity.
AttrCommodityCode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CommodityCode: The commodity code of the instance.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: The time when the instance was created.
AttrExpireTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ExpireTime: The time when the instance expires.
AttrExtConfig AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ExtConfig: The extended configurations.
AttrGroupCount AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute GroupCount: The number of groups.
AttrInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceId: The ID of the RocketMQ instance.
AttrInstanceName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceName: The name of the instance.
AttrInstanceQuotas AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceQuotas: The instance quotas.
AttrNetworkInfo AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute NetworkInfo: The network information.
AttrPaymentType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PaymentType: The billing method of the instance.
AttrProductInfo AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ProductInfo: The extended configurations of the instance.
AttrReleaseTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ReleaseTime: The time when the instance was released.
AttrRemark AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Remark: The description of the instance.
AttrResourceGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
AttrSeriesCode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SeriesCode: The primary edition of the instance.
AttrServiceCode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ServiceCode: The code of the service to which the instance belongs.
AttrSoftware AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Software: The instance software information.
AttrStartTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute StartTime: The time when the instance was started.
AttrStatus AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Status: The status of the instance.
AttrSubSeriesCode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SubSeriesCode: The sub-category edition of the instance.
AttrTags AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Tags: The resource tags.
AttrTopicCount AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute TopicCount: The number of topics.
AttrUpdateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UpdateTime: The time when the instance was last modified.
AttrUserId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UserId: The ID of the user who owns the instance.

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

AttrAccountInfoRequired

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

Attribute AccountInfo: The account information.


AttrAclInfoRequired

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

Attribute AclInfo: The information about access control.


AttrBidRequired

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

Attribute Bid: The business ID (BID) of the commodity.


AttrCommodityCodeRequired

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

Attribute CommodityCode: The commodity code of the instance.

The commodity code of a ApsaraMQ for RocketMQ 5.0 instance has a similar format as ons_rmqsub_public_cn.


AttrCreateTimeRequired

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

Attribute CreateTime: The time when the instance was created.


AttrExpireTimeRequired

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

Attribute ExpireTime: The time when the instance expires.


AttrExtConfigRequired

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

Attribute ExtConfig: The extended configurations.

We recommend you configure productInfo, internetInfo, or aclInfo instead of this parameter.


AttrGroupCountRequired

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

Attribute GroupCount: The number of groups.


AttrInstanceIdRequired

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

Attribute InstanceId: The ID of the RocketMQ instance.


AttrInstanceNameRequired

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

Attribute InstanceName: The name of the instance.


AttrInstanceQuotasRequired

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

Attribute InstanceQuotas: The instance quotas.


AttrNetworkInfoRequired

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

Attribute NetworkInfo: The network information.


AttrPaymentTypeRequired

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

Attribute PaymentType: The billing method of the instance.


AttrProductInfoRequired

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

Attribute ProductInfo: The extended configurations of the instance.


AttrReleaseTimeRequired

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

Attribute ReleaseTime: The time when the instance was released.


AttrRemarkRequired

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

Attribute Remark: The description of the instance.


AttrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


AttrSeriesCodeRequired

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

Attribute SeriesCode: The primary edition of the instance.


AttrServiceCodeRequired

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

Attribute ServiceCode: The code of the service to which the instance belongs.

The service code of ApsaraMQ for RocketMQ is rmq.


AttrSoftwareRequired

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

Attribute Software: The instance software information.


AttrStartTimeRequired

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

Attribute StartTime: The time when the instance was started.


AttrStatusRequired

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

Attribute Status: The status of the instance.


AttrSubSeriesCodeRequired

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

Attribute SubSeriesCode: The sub-category edition of the instance.


AttrTagsRequired

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

Attribute Tags: The resource tags.


AttrTopicCountRequired

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

Attribute TopicCount: The number of topics.


AttrUpdateTimeRequired

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

Attribute UpdateTime: The time when the instance was last modified.


AttrUserIdRequired

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

Attribute UserId: The ID of the user who owns the instance.