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

AttrAutoRenewalRequired

public object AttrAutoRenewal { get; }
  • Type: object

Attribute AutoRenewal: Whether automatic renewal is enabled.


AttrColdStorageSizeRequired

public object AttrColdStorageSize { get; }
  • Type: object

Attribute ColdStorageSize: Instance low-frequency storage space.

Unit: GB.


AttrCommodityCodeRequired

public object AttrCommodityCode { get; }
  • Type: object

Attribute CommodityCode: The commodity code.


AttrComputeNodeCountRequired

public object AttrComputeNodeCount { get; }
  • Type: object

Attribute ComputeNodeCount: Number of compute nodes.


AttrCpuRequired

public object AttrCpu { get; }
  • Type: object

Attribute Cpu: Instance specifications.


AttrCreateTimeRequired

public object AttrCreateTime { get; }
  • Type: object

Attribute CreateTime: The creation time of the resource.


AttrEnableHiveAccessRequired

public object AttrEnableHiveAccess { get; }
  • Type: object

Attribute EnableHiveAccess: Whether data Lake acceleration is enabled.


AttrEndpointsRequired

public object AttrEndpoints { get; }
  • Type: object

Attribute Endpoints: List of domain names.


AttrExpirationTimeRequired

public object AttrExpirationTime { get; }
  • Type: object

Attribute ExpirationTime: Expiration time.


AttrGatewayCountRequired

public object AttrGatewayCount { get; }
  • Type: object

Attribute GatewayCount: Number of gateway nodes.


AttrGatewayCpuRequired

public object AttrGatewayCpu { get; }
  • Type: object

Attribute GatewayCpu: Cpu resources of the Gateway.


AttrGatewayMemoryRequired

public object AttrGatewayMemory { get; }
  • Type: object

Attribute GatewayMemory: Gateway memory resources.


AttrInstanceIdRequired

public object AttrInstanceId { get; }
  • Type: object

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


AttrInstanceNameRequired

public object AttrInstanceName { get; }
  • Type: object

Attribute InstanceName: The name of the resource.


AttrInstanceOwnerRequired

public object AttrInstanceOwner { get; }
  • Type: object

Attribute InstanceOwner: The instance owner.


AttrInstanceTypeRequired

public object AttrInstanceType { get; }
  • Type: object

Attribute InstanceType: The instance type.


AttrMemoryRequired

public object AttrMemory { get; }
  • Type: object

Attribute Memory: Memory.


AttrPaymentTypeRequired

public object AttrPaymentType { get; }
  • Type: object

Attribute PaymentType: The payment type of the resource.


AttrResourceGroupIdRequired

public object AttrResourceGroupId { get; }
  • Type: object

Attribute ResourceGroupId: The ID of the resource group.


AttrStorageSizeRequired

public object AttrStorageSize { get; }
  • Type: object

Attribute StorageSize: The standard storage space of the instance.

Unit: GB.


AttrSuspendReasonRequired

public object AttrSuspendReason { get; }
  • Type: object

Attribute SuspendReason: Reason for suspension.


AttrTagsRequired

public object AttrTags { get; }
  • Type: object

Attribute Tags: Instance tag.


AttrVersionRequired

public object AttrVersion { get; }
  • Type: object

Attribute Version: The instance version.


AttrZoneIdRequired

public object AttrZoneId { get; }
  • Type: object

Attribute ZoneId: The zone Id.


PropsRequired

public InstanceProps Props { get; }