Skip to content

Instance

This class encapsulates and extends the ROS resource type ALIYUN::Hologram::Instance, which is used to create a Hologres instance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Hologram;
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.Hologram;
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.
AttrAutoRenewal AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute AutoRenewal: Whether automatic renewal is enabled.
AttrColdStorageSize AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ColdStorageSize: Instance low-frequency storage space.
AttrCommodityCode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CommodityCode: The commodity code.
AttrComputeNodeCount AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ComputeNodeCount: Number of compute nodes.
AttrCpu AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Cpu: Instance specifications.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: The creation time of the resource.
AttrEnableHiveAccess AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnableHiveAccess: Whether data Lake acceleration is enabled.
AttrEndpoints AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Endpoints: List of domain names.
AttrExpirationTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ExpirationTime: Expiration time.
AttrGatewayCount AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute GatewayCount: Number of gateway nodes.
AttrGatewayCpu AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute GatewayCpu: Cpu resources of the Gateway.
AttrGatewayMemory AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute GatewayMemory: Gateway memory resources.
AttrInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceId: Resource attribute fields that represent the resource's primary key.
AttrInstanceName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceName: The name of the resource.
AttrInstanceOwner AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceOwner: The instance owner.
AttrInstanceType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceType: The instance type.
AttrMemory AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Memory: Memory.
AttrPaymentType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PaymentType: The payment type of the resource.
AttrResourceGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
AttrStorageSize AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute StorageSize: The standard storage space of the instance.
AttrSuspendReason AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SuspendReason: Reason for suspension.
AttrTags AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Tags: Instance tag.
AttrVersion AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Version: The instance version.
AttrZoneId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ZoneId: The zone Id.

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

AttrAutoRenewalRequired

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

Attribute AutoRenewal: Whether automatic renewal is enabled.


AttrColdStorageSizeRequired

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

Attribute ColdStorageSize: Instance low-frequency storage space.

Unit: GB.


AttrCommodityCodeRequired

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

Attribute CommodityCode: The commodity code.


AttrComputeNodeCountRequired

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

Attribute ComputeNodeCount: Number of compute nodes.


AttrCpuRequired

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

Attribute Cpu: Instance specifications.


AttrCreateTimeRequired

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

Attribute CreateTime: The creation time of the resource.


AttrEnableHiveAccessRequired

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

Attribute EnableHiveAccess: Whether data Lake acceleration is enabled.


AttrEndpointsRequired

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

Attribute Endpoints: List of domain names.


AttrExpirationTimeRequired

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

Attribute ExpirationTime: Expiration time.


AttrGatewayCountRequired

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

Attribute GatewayCount: Number of gateway nodes.


AttrGatewayCpuRequired

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

Attribute GatewayCpu: Cpu resources of the Gateway.


AttrGatewayMemoryRequired

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

Attribute GatewayMemory: Gateway memory resources.


AttrInstanceIdRequired

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

Attribute InstanceId: Resource attribute fields that represent the resource's primary key.


AttrInstanceNameRequired

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

Attribute InstanceName: The name of the resource.


AttrInstanceOwnerRequired

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

Attribute InstanceOwner: The instance owner.


AttrInstanceTypeRequired

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

Attribute InstanceType: The instance type.


AttrMemoryRequired

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

Attribute Memory: Memory.


AttrPaymentTypeRequired

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

Attribute PaymentType: The payment type of the resource.


AttrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


AttrStorageSizeRequired

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

Attribute StorageSize: The standard storage space of the instance.

Unit: GB.


AttrSuspendReasonRequired

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

Attribute SuspendReason: Reason for suspension.


AttrTagsRequired

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

Attribute Tags: Instance tag.


AttrVersionRequired

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

Attribute Version: The instance version.


AttrZoneIdRequired

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

Attribute ZoneId: The zone Id.