Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cr;
new InstanceProps {
    object ImageScanner,
    object InstanceName,
    object InstanceType,
    object Period,
    object InstanceStorageName = null,
    object RenewalStatus = null,
    object RenewPeriod = null,
    object ResourceGroupId = null
};

Properties

Name Type Description
ImageScanner object Property imageScanner: Security scan engine.
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.
Period object Property period: Prepaid cycle.
InstanceStorageName object Property instanceStorageName: Custom OSS Bucket name.
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.

ImageScannerRequired

public object ImageScanner { get; set; }
  • Type: object

Property imageScanner: Security scan engine.


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.


PeriodRequired

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.


InstanceStorageNameOptional

public object InstanceStorageName { get; set; }
  • Type: object

Property instanceStorageName: Custom OSS Bucket name.


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.