InstanceV2Props
Properties for defining a InstanceV2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-instancev2
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcr"
&alicloudroscdkcr.InstanceV2Props {
InstanceName: interface{},
InstanceType: interface{},
PaymentType: interface{},
CustomOssBucket: interface{},
DefaultOssBucket: interface{},
ImageScanner: interface{},
Password: interface{},
Period: interface{},
RenewalStatus: interface{},
RenewPeriod: interface{},
ResourceGroupId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
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. |
PaymentType | interface{} | Property paymentType: Payment type, value: - Subscription: Prepaid. |
CustomOssBucket | interface{} | Property customOssBucket: Custom OSS Bucket name. |
DefaultOssBucket | interface{} | Property defaultOssBucket: Whether to use the default OSS Bucket. |
ImageScanner | interface{} | Property imageScanner: The security scan engine used by the Enterprise Edition of Container Image Service. |
Password | interface{} | Property password: Login password, 8-32 digits, must contain at least two letters, symbols, or numbers. |
Period | interface{} | Property period: Prepaid cycle. |
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. |
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.
PaymentTypeRequired
PaymentType interface{}
- Type: interface{}
Property paymentType: Payment type, value: - Subscription: Prepaid.
CustomOssBucketOptional
CustomOssBucket interface{}
- Type: interface{}
Property customOssBucket: Custom OSS Bucket name.
DefaultOssBucketOptional
DefaultOssBucket interface{}
- Type: interface{}
Property defaultOssBucket: Whether to use the default OSS Bucket.
Value: true: Use the default OSS Bucket. false: Use a custom OSS Bucket.
ImageScannerOptional
ImageScanner interface{}
- Type: interface{}
Property imageScanner: The security scan engine used by the Enterprise Edition of Container Image Service.
Value: ACR: Uses the Trivy scan engine provided by default. SAS: uses the enhanced cloud security scan engine.
PasswordOptional
Password interface{}
- Type: interface{}
Property password: Login password, 8-32 digits, must contain at least two letters, symbols, or numbers.
PeriodOptional
Period interface{}
- Type: interface{}
Property period: Prepaid cycle.
The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
must be set when creating a prepaid instance.
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.