InstanceProps
Properties for defining a Instance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-instance
Initializer
import { InstanceProps } from '@alicloud/ros-cdk-cr'
const instanceProps: InstanceProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
instanceName | string | @alicloud/ros-cdk-core.IResolvable | Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last). |
instanceType | string | @alicloud/ros-cdk-core.IResolvable | Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. |
imageScanner | string | @alicloud/ros-cdk-core.IResolvable | Property imageScanner: Security scan engine. |
instanceStorageName | string | @alicloud/ros-cdk-core.IResolvable | Property instanceStorageName: Custom OSS Bucket name. |
period | number | @alicloud/ros-cdk-core.IResolvable | Property period: Prepaid cycle. |
renewalStatus | string | @alicloud/ros-cdk-core.IResolvable | Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal. |
renewPeriod | number | @alicloud/ros-cdk-core.IResolvable | Property renewPeriod: Automatic renewal cycle, in months. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: The ID of the resource group. |
instanceNameRequired
public readonly instanceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last).
instanceTypeRequired
public readonly instanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition.
Valid values: Basic: Basic instance Standard: Standard instance Advanced: Advanced Edition Instance.
imageScannerOptional
public readonly imageScanner: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageScanner: Security scan engine.
instanceStorageNameOptional
public readonly instanceStorageName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceStorageName: Custom OSS Bucket name.
periodOptional
public readonly period: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property period: Prepaid cycle.
The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
renewalStatusOptional
public readonly renewalStatus: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
ManualRenewal: manual renewal. Default ManualRenewal.
renewPeriodOptional
public readonly renewPeriod: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property renewPeriod: Automatic renewal cycle, in months.
When RenewalStatus is set to AutoRenewal, it must be set.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.