InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hologram-instance
Initializer
using AlibabaCloud.SDK.ROS.CDK.Hologram;
new InstanceProps {
object Endpoints,
object InstanceName,
object InstanceType,
object PaymentType,
object ZoneId,
object AutoPay = null,
object ColdStorageSize = null,
object Cpu = null,
object Duration = null,
object GatewayCount = null,
object InitialDatabases = null,
object LeaderInstanceId = null,
object PricingCycle = null,
object ProductCode = null,
object ResourceGroupId = null,
object ScaleType = null,
object StorageSize = null,
TagsProperty[] Tags = null
};
Properties
Name | Type | Description |
---|---|---|
Endpoints |
object |
Property endpoints: List of domain names. |
InstanceName |
object |
Property instanceName: The name of the resource. |
InstanceType |
object |
Property instanceType: The instance type. |
PaymentType |
object |
Property paymentType: The payment type of the resource. |
ZoneId |
object |
Property zoneId: The zone Id. |
AutoPay |
object |
Property autoPay: Whether to pay automatically. |
ColdStorageSize |
object |
Property coldStorageSize: Instance low-frequency storage space. |
Cpu |
object |
Property cpu: Instance specifications. |
Duration |
object |
Property duration: The buying cycle. |
GatewayCount |
object |
Property gatewayCount: Number of gateway nodes. |
InitialDatabases |
object |
Property initialDatabases: Initialize the database and split multiple database names ",". |
LeaderInstanceId |
object |
Property leaderInstanceId: The id of leader instance. |
PricingCycle |
object |
Property pricingCycle: Billing cycle. |
ProductCode |
object |
Property productCode: product code. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group. |
ScaleType |
object |
Property scaleType: Change matching type. |
StorageSize |
object |
Property storageSize: The standard storage space of the instance. |
Tags |
TagsProperty[] |
Property tags: Tags of instance. |
Endpoints
Required
public object Endpoints { get; set; }
- Type: object
Property endpoints: List of domain names.
InstanceName
Required
public object InstanceName { get; set; }
- Type: object
Property instanceName: The name of the resource.
InstanceType
Required
public object InstanceType { get; set; }
- Type: object
Property instanceType: The instance type.
Value:
- Standard: Universal.
- Follower: Read-only slave instance.
- Warehouse: calculation group type.
- Shared: Shared.
PaymentType
Required
public object PaymentType { get; set; }
- Type: object
Property paymentType: The payment type of the resource.
ZoneId
Required
public object ZoneId { get; set; }
- Type: object
Property zoneId: The zone Id.
AutoPay
Optional
public object AutoPay { get; set; }
- Type: object
Property autoPay: Whether to pay automatically.
The default value is true. Value:
- true: automatic payment
- false: only generate orders, not pay
The default value is true. If the balance of your payment method is insufficient, you can set the parameter AutoPay to false, and an unpaid order will be generated. You can log in to the user Center to pay by yourself.
ColdStorageSize
Optional
public object ColdStorageSize { get; set; }
- Type: object
Property coldStorageSize: Instance low-frequency storage space.
Unit: GB.
Pay-As-You-Go (PostPaid) instances ignore this parameter.
Cpu
Optional
public object Cpu { get; set; }
- Type: object
Property cpu: Instance specifications.
Value:
- 8 cores 32 GB (number of compute nodes: 1)
- 16 cores 64 GB (number of compute nodes: 1)
- 32 core 128 GB (number of compute nodes: 2)
- 64 core 256 GB (number of compute nodes: 4)
- 96 core 384 GB (number of computing nodes: 6)
- 128 core 512 GB (number of compute nodes: 8)
- Wait
- just fill in the audit number.
- Please submit a work order application for purchasing 1024 or above specifications.
- Shared instance types do not need to specify specifications. The specification of -8 core 32GB (number of computing nodes: 1) is only for experience use and cannot be used for production.
Duration
Optional
public object Duration { get; set; }
- Type: object
Property duration: The buying cycle.
Buy for 2 months.
If the Payment type is PostPaid, you do not need to specify it.
GatewayCount
Optional
public object GatewayCount { get; set; }
- Type: object
Property gatewayCount: Number of gateway nodes.
InitialDatabases
Optional
public object InitialDatabases { get; set; }
- Type: object
Property initialDatabases: Initialize the database and split multiple database names ",".
LeaderInstanceId
Optional
public object LeaderInstanceId { get; set; }
- Type: object
Property leaderInstanceId: The id of leader instance.
PricingCycle
Optional
public object PricingCycle { get; set; }
- Type: object
Property pricingCycle: Billing cycle.
Value:
- Month: monthly billing
- Hour: hourly billing
- PrePaid only supports Month
- PostPaid only supports Hour
- The Shared type is automatically set to Hour without specifying it.
ProductCode
Optional
public object ProductCode { get; set; }
- Type: object
Property productCode: product code.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
ScaleType
Optional
public object ScaleType { get; set; }
- Type: object
Property scaleType: Change matching type.
Value:
- UPGRADE: UPGRADE
- DOWNGRADE: Downgrading
- The upgrade specification cannot be less than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is larger than the original specification.
- The downgrading specification cannot be greater than the original specification. A blank field indicates that the original specification remains unchanged. On this basis, at least one specification is smaller than the original specification.
StorageSize
Optional
public object StorageSize { get; set; }
- Type: object
Property storageSize: The standard storage space of the instance.
Unit: GB.
Pay-As-You-Go instances (PostPaid) ignore this parameter.
Tags
Optional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags of instance.