InstanceV2Props
Properties for defining a InstanceV2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-instancev2
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cr;
new InstanceV2Props {
object InstanceName,
object InstanceType,
object PaymentType,
object CustomOssBucket = null,
object DefaultOssBucket = null,
object ImageScanner = null,
object Password = null,
object Period = null,
object RenewalStatus = null,
object RenewPeriod = null,
object ResourceGroupId = null
};
Properties
| Name | Type | Description |
|---|---|---|
InstanceName | object | Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last). |
InstanceType | object | Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. |
PaymentType | object | Property paymentType: Payment type, value: - Subscription: Prepaid. |
CustomOssBucket | object | Property customOssBucket: Custom OSS Bucket name. |
DefaultOssBucket | object | Property defaultOssBucket: Whether to use the default OSS Bucket. |
ImageScanner | object | Property imageScanner: The security scan engine used by the Enterprise Edition of Container Image Service. |
Password | object | Property password: Login password, 8-32 digits, must contain at least two letters, symbols, or numbers. |
Period | object | Property period: Prepaid cycle. |
RenewalStatus | object | Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal. |
RenewPeriod | object | Property renewPeriod: Automatic renewal cycle, in months. |
ResourceGroupId | object | Property resourceGroupId: The ID of the resource group. |
InstanceNameRequired
public object InstanceName { get; set; }
- Type: object
Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last).
InstanceTypeRequired
public object InstanceType { get; set; }
- Type: object
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
public object PaymentType { get; set; }
- Type: object
Property paymentType: Payment type, value: - Subscription: Prepaid.
CustomOssBucketOptional
public object CustomOssBucket { get; set; }
- Type: object
Property customOssBucket: Custom OSS Bucket name.
DefaultOssBucketOptional
public object DefaultOssBucket { get; set; }
- Type: object
Property defaultOssBucket: Whether to use the default OSS Bucket.
Value: true: Use the default OSS Bucket. false: Use a custom OSS Bucket.
ImageScannerOptional
public object ImageScanner { get; set; }
- Type: object
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
public object Password { get; set; }
- Type: object
Property password: Login password, 8-32 digits, must contain at least two letters, symbols, or numbers.
PeriodOptional
public object Period { get; set; }
- Type: object
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
public object RenewalStatus { get; set; }
- Type: object
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal. Default ManualRenewal.
RenewPeriodOptional
public object RenewPeriod { get; set; }
- Type: object
Property renewPeriod: Automatic renewal cycle, in months.
When RenewalStatus is set to AutoRenewal, it must be set.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.