Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dns;
new InstanceProps {
    object DnsSecurity,
    object DomainNumbers,
    object Period,
    object PeriodUnit,
    object Version,
    object Domain = null,
    object InstanceType = null,
    object RenewalStatus = null
};

Properties

Name Type Description
DnsSecurity object Property dnsSecurity: The DNS security policy.
DomainNumbers object Property domainNumbers: The number of domain names.
Period object Property period: The subscription duration.
PeriodUnit object Property periodUnit: The subscription duration unit.
Version object Property version: The edition of Alibaba Cloud DNS.
Domain object Property domain: The domain name that you want to bind to the instance.
InstanceType object Property instanceType: The type of the instance.
RenewalStatus object Property renewalStatus: The renewal method.

DnsSecurityRequired

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

Property dnsSecurity: The DNS security policy.

Valid values:

  • no: No protection against DNS attacks is provided.
  • basic: Basic protection against DNS attacks is provided.
  • advanced: Advanced protection against DNS attacks is provided.

DomainNumbersRequired

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

Property domainNumbers: The number of domain names.


PeriodRequired

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

Property period: The subscription duration.

Valid values:

  • If unit is month: 1, 2, 3, 6
  • If unit is year: 1, 2

PeriodUnitRequired

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

Property periodUnit: The subscription duration unit.


VersionRequired

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

Property version: The edition of Alibaba Cloud DNS.

Valid values: If create hosted public zone:

  • version_personal: Personal Edition.
  • version_enterprise_basic: Enterprise Standard Edition.
  • version_enterprise_advanced: Enterprise Ultimate Edition. If create cached public zone:
  • version_cached_basicNote: Only upgrade operations are supported after instance creation.

DomainOptional

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

Property domain: The domain name that you want to bind to the instance.

If you want to bind multiple domain names to the instance, separate these domain names with commas (,).


InstanceTypeOptional

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

Property instanceType: The type of the instance.

Valid values:

  • HostedPublicZone: Hosted Public Zone
  • CachedPublicZone: Cached Public Zone.

RenewalStatusOptional

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

Property renewalStatus: The renewal method.

Valid values:

  • AutoRenewal: The instance is automatically renewed.
  • ManualRenewal: The instance is manually renewed. Default value: ManualRenewal.