alicloud_alidns_instance
更新时间:
Create an Alidns Instance resource.
-> NOTE: Available since v1.95.0.
Example Usage
Basic Usage
resource "alicloud_alidns_instance" "example" {
dns_security = "no"
domain_numbers = "2"
period = 1
renew_period = 1
renewal_status = "ManualRenewal"
version_code = "version_personal"
}
Argument Reference
The following arguments are supported:
dns_security- (Required, ForceNew) Alidns security level. Valid values:no,basic,advanced.domain_numbers- (Required, ForceNew) Number of domain names bound.period- (Optional) Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.renew_period- (Optional, ForceNew) Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.renewal_status- (Optional, ForceNew) Automatic renewal status. Valid values:AutoRenewal,ManualRenewal, default toManualRenewal.version_code- (Required, ForceNew) Paid package version. Valid values:version_personal,version_enterprise_basic,version_enterprise_advanced.payment_type- (Optional, ForceNew) The billing method of the Alidns instance. Valid values:Subscription. Default toSubscription.
Attributes Reference
id- ID of the Alidns instance.version_name- Paid package version name.
Import
DNS instance be imported using the id, e.g.
$ terraform import alicloud_alidns_instance.example dns-cn-v0h1ldjhfff
该文章对您有帮助吗?