Skip to content

Instance

This class encapsulates and extends the ROS resource type DATASOURCE::ApiGateway::Instance, which is used to query the information about an instance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Apigateway;
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.Apigateway;
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.
AttrAclId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AclId: Access control ID.
AttrAclName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AclName: Access control name.
AttrAclStatus AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AclStatus: Access control type.
AttrAclType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AclType: Access control type.
AttrClassicEgressAddress AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ClassicEgressAddress: Classic network exit address.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: Creation time.
AttrEgressIpv6Enable AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EgressIpv6Enable: Does IPV6 Capability Support.
AttrExpiredTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ExpiredTime: Instance expiration time.
AttrHttpsPolicy AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute HttpsPolicy: Https policy.
AttrInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceId: Instance id.
AttrInstanceName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceName: Instance name.
AttrInstanceRpsLimit AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceRpsLimit: Instance rps limits.
AttrInstanceSpec AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceSpec: Instance type.
AttrInstanceSpecAttributes AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceSpecAttributes: Instance type.
AttrInstanceType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceType: Instance type.
AttrInternetEgressAddress AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InternetEgressAddress: Public network exit address.
AttrPaymentType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PaymentType: The payment type of the resource.
AttrSupportIpv6 AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SupportIpv6: Does ipv6 support.
AttrUserVpcId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UserVpcId: User's VpcID.
AttrUserVswitchId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UserVswitchId: DescribeInstances.
AttrVipTypeList AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VipTypeList: Vip type.
AttrVpcEgressAddress AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VpcEgressAddress: Intranet VPC exit network segment.
AttrVpcIntranetEnable AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VpcIntranetEnable: Whether Vpc allows authorization.
AttrVpcOwnerId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VpcOwnerId: Vpc licensor ID.
AttrVpcSlbIntranetEnable AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VpcSlbIntranetEnable: Whether the slb of the Vpc supports.
AttrZoneId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ZoneId: Zone.
AttrZoneLocalName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ZoneLocalName: Available area.

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

AttrAclIdRequired

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

Attribute AclId: Access control ID.


AttrAclNameRequired

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

Attribute AclName: Access control name.


AttrAclStatusRequired

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

Attribute AclStatus: Access control type.


AttrAclTypeRequired

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

Attribute AclType: Access control type.


AttrClassicEgressAddressRequired

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

Attribute ClassicEgressAddress: Classic network exit address.


AttrCreateTimeRequired

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

Attribute CreateTime: Creation time.


AttrEgressIpv6EnableRequired

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

Attribute EgressIpv6Enable: Does IPV6 Capability Support.


AttrExpiredTimeRequired

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

Attribute ExpiredTime: Instance expiration time.


AttrHttpsPolicyRequired

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

Attribute HttpsPolicy: Https policy.


AttrInstanceIdRequired

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

Attribute InstanceId: Instance id.


AttrInstanceNameRequired

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

Attribute InstanceName: Instance name.


AttrInstanceRpsLimitRequired

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

Attribute InstanceRpsLimit: Instance rps limits.


AttrInstanceSpecRequired

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

Attribute InstanceSpec: Instance type.


AttrInstanceSpecAttributesRequired

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

Attribute InstanceSpecAttributes: Instance type.


AttrInstanceTypeRequired

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

Attribute InstanceType: Instance type.


AttrInternetEgressAddressRequired

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

Attribute InternetEgressAddress: Public network exit address.


AttrPaymentTypeRequired

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

Attribute PaymentType: The payment type of the resource.


AttrSupportIpv6Required

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

Attribute SupportIpv6: Does ipv6 support.


AttrUserVpcIdRequired

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

Attribute UserVpcId: User's VpcID.


AttrUserVswitchIdRequired

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

Attribute UserVswitchId: DescribeInstances.


AttrVipTypeListRequired

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

Attribute VipTypeList: Vip type.


AttrVpcEgressAddressRequired

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

Attribute VpcEgressAddress: Intranet VPC exit network segment.


AttrVpcIntranetEnableRequired

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

Attribute VpcIntranetEnable: Whether Vpc allows authorization.


AttrVpcOwnerIdRequired

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

Attribute VpcOwnerId: Vpc licensor ID.


AttrVpcSlbIntranetEnableRequired

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

Attribute VpcSlbIntranetEnable: Whether the slb of the Vpc supports.


AttrZoneIdRequired

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

Attribute ZoneId: Zone.


AttrZoneLocalNameRequired

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

Attribute ZoneLocalName: Available area.