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. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: InstanceProps
EnableResourcePropertyConstraint
Optional
- 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- 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.
- 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. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAutoRenewal
Required
public IResolvable AttrAutoRenewal { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AutoRenewal: Whether automatic renewal is enabled.
AttrColdStorageSize
Required
public IResolvable AttrColdStorageSize { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ColdStorageSize: Instance low-frequency storage space.
Unit: GB.
AttrCommodityCode
Required
public IResolvable AttrCommodityCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CommodityCode: The commodity code.
AttrComputeNodeCount
Required
public IResolvable AttrComputeNodeCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ComputeNodeCount: Number of compute nodes.
AttrCpu
Required
public IResolvable AttrCpu { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Cpu: Instance specifications.
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The creation time of the resource.
AttrEnableHiveAccess
Required
public IResolvable AttrEnableHiveAccess { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EnableHiveAccess: Whether data Lake acceleration is enabled.
AttrEndpoints
Required
public IResolvable AttrEndpoints { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Endpoints: List of domain names.
AttrExpirationTime
Required
public IResolvable AttrExpirationTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ExpirationTime: Expiration time.
AttrGatewayCount
Required
public IResolvable AttrGatewayCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute GatewayCount: Number of gateway nodes.
AttrGatewayCpu
Required
public IResolvable AttrGatewayCpu { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute GatewayCpu: Cpu resources of the Gateway.
AttrGatewayMemory
Required
public IResolvable AttrGatewayMemory { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute GatewayMemory: Gateway memory resources.
AttrInstanceId
Required
public IResolvable AttrInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceId: Resource attribute fields that represent the resource's primary key.
AttrInstanceName
Required
public IResolvable AttrInstanceName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceName: The name of the resource.
AttrInstanceOwner
Required
public IResolvable AttrInstanceOwner { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceOwner: The instance owner.
AttrInstanceType
Required
public IResolvable AttrInstanceType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceType: The instance type.
AttrMemory
Required
public IResolvable AttrMemory { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Memory: Memory.
AttrPaymentType
Required
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: The payment type of the resource.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
AttrStorageSize
Required
public IResolvable AttrStorageSize { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute StorageSize: The standard storage space of the instance.
Unit: GB.
AttrSuspendReason
Required
public IResolvable AttrSuspendReason { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SuspendReason: Reason for suspension.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: Instance tag.
AttrVersion
Required
public IResolvable AttrVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Version: The instance version.
AttrZoneId
Required
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: The zone Id.