Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-instance

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcr"
&alicloudroscdkcr.InstanceProps {
    ImageScanner: interface{},
    InstanceName: interface{},
    InstanceType: interface{},
    Period: interface{},
    InstanceStorageName: interface{},
    RenewalStatus: interface{},
    RenewPeriod: interface{},
    ResourceGroupId: interface{},
}

Properties

Name Type Description
ImageScanner interface{} Property imageScanner: Security scan engine.
InstanceName interface{} Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last).
InstanceType interface{} Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition.
Period interface{} Property period: Prepaid cycle.
InstanceStorageName interface{} Property instanceStorageName: Custom OSS Bucket name.
RenewalStatus interface{} Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
RenewPeriod interface{} Property renewPeriod: Automatic renewal cycle, in months.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.

ImageScannerRequired

ImageScanner interface{}
  • Type: interface{}

Property imageScanner: Security scan engine.


InstanceNameRequired

InstanceName interface{}
  • Type: interface{}

Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last).


InstanceTypeRequired

InstanceType interface{}
  • Type: interface{}

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.


PeriodRequired

Period interface{}
  • Type: interface{}

Property period: Prepaid cycle.

The unit is Monthly, please enter an integer multiple of 12 for annual paid products.


InstanceStorageNameOptional

InstanceStorageName interface{}
  • Type: interface{}

Property instanceStorageName: Custom OSS Bucket name.


RenewalStatusOptional

RenewalStatus interface{}
  • Type: interface{}

Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.

  • ManualRenewal: manual renewal. Default ManualRenewal.

RenewPeriodOptional

RenewPeriod interface{}
  • Type: interface{}

Property renewPeriod: Automatic renewal cycle, in months.

When RenewalStatus is set to AutoRenewal, it must be set.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.