RecordProps
Properties for defining a Record.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-record
Initializer
using AlibabaCloud.SDK.ROS.CDK.Esa;
new RecordProps {
object Data,
object RecordName,
object RecordType,
object SiteId,
object AuthConf = null,
object BizName = null,
object Comment = null,
object HostPolicy = null,
object Proxied = null,
object SourceType = null,
object Ttl = null
};
Properties
| Name | Type | Description |
|---|---|---|
Data | object | Property data: The DNS record information. |
RecordName | object | Property recordName: The record name. |
RecordType | object | Property recordType: The type of the DNS record, such as A\/AAAA, CNAME, and TXT. |
SiteId | object | Property siteId: The website ID. |
AuthConf | object | Property authConf: The origin authentication information of the CNAME record. |
BizName | object | Property bizName: The business scenario of the record for acceleration. |
Comment | object | Property comment: The comment of the record. |
HostPolicy | object | Property hostPolicy: The origin host policy. |
Proxied | object | Property proxied: Specifies whether to proxy the record. |
SourceType | object | Property sourceType: The origin type for the CNAME record. |
Ttl | object | Property ttl: The TTL of the record. |
DataRequired
public object Data { get; set; }
- Type: object
Property data: The DNS record information.
The format of this field varies based on the record type. For more information, see [References] https://www.alibabacloud.com/help/doc-detail/2708761.html?spm=openapi-amp.newDocPublishment.0.0.6a0f281feoeVWr.
RecordNameRequired
public object RecordName { get; set; }
- Type: object
Property recordName: The record name.
This parameter specifies a filter condition for the query.
RecordTypeRequired
public object RecordType { get; set; }
- Type: object
Property recordType: The type of the DNS record, such as A\/AAAA, CNAME, and TXT.
SiteIdRequired
public object SiteId { get; set; }
- Type: object
Property siteId: The website ID.
AuthConfOptional
public object AuthConf { get; set; }
- Type: object
Property authConf: The origin authentication information of the CNAME record.
BizNameOptional
public object BizName { get; set; }
- Type: object
Property bizName: The business scenario of the record for acceleration.
Leave the parameter empty if your record is not proxied. Valid values: image_video: video and image. api: API. web: web page.
CommentOptional
public object Comment { get; set; }
- Type: object
Property comment: The comment of the record.
The maximum length is 100 characters.
HostPolicyOptional
public object HostPolicy { get; set; }
- Type: object
Property hostPolicy: The origin host policy.
This policy takes effect when the record type is CNAME. You can set the policy in two modes: follow_hostname: Follow the host record. follow_origin_domain: match the origin's domain name.
ProxiedOptional
public object Proxied { get; set; }
- Type: object
Property proxied: Specifies whether to proxy the record.
Only CNAME and A/AAAA records can be proxied. Valid values: true false.
SourceTypeOptional
public object SourceType { get; set; }
- Type: object
Property sourceType: The origin type for the CNAME record.
This parameter is required when you add a CNAME record. Valid values: OSS: OSS bucket. S3: S3 bucket. LB: load balancer. OP: origin pool. Domain: domain name. If you do not pass this parameter or if you leave its value empty, Domain is used by default.
TtlOptional
public object Ttl { get; set; }
- Type: object
Property ttl: The TTL of the record.
Unit: seconds. If the value is 1, the TTL of the record is determined by the system.