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. |
DnsSecurity
Required
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.
DomainNumbers
Required
public object DomainNumbers { get; set; }
- Type: object
Property domainNumbers: The number of domain names.
Period
Required
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
PeriodUnit
Required
public object PeriodUnit { get; set; }
- Type: object
Property periodUnit: The subscription duration unit.
Version
Required
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.
Domain
Optional
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 (,).
InstanceType
Optional
public object InstanceType { get; set; }
- Type: object
Property instanceType: The type of the instance.
Valid values:
- HostedPublicZone: Hosted Public Zone
- CachedPublicZone: Cached Public Zone.
RenewalStatus
Optional
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.