C# Класс Amazon.Route53.Model.CreateHostedZoneRequest

Container for the parameters to the CreateHostedZone operation.

This action creates a new hosted zone.

To create a new hosted zone, send a POST request to the 2012-12-12/hostedzone resource. The request body must include an XML document with a CreateHostedZoneRequest element. The response returns the CreateHostedZoneResponse element that contains metadata about the hosted zone.

Route 53 automatically creates a default SOA record and four NS records for the zone. The NS records in the hosted zone are the name servers you give your registrar to delegate your domain to. For more information about SOA and NS records, see NS and SOA Records that Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide .

When you create a zone, its initial status is PENDING . This means that it is not yet available on all DNS servers. The status of the zone changes to INSYNC when the NS and SOA records are available on all Route 53 DNS servers.

Наследование: Amazon.Runtime.AmazonWebServiceRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateHostedZoneRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateHostedZoneRequest ( string name, string callerReference ) : System

Instantiates CreateHostedZoneRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetCallerReference ( ) : bool
IsSetDelegationSetId ( ) : bool
IsSetHostedZoneConfig ( ) : bool
IsSetName ( ) : bool
IsSetVPC ( ) : bool

Описание методов

CreateHostedZoneRequest() публичный метод

Empty constructor used to set properties independently even when a simple constructor is available
public CreateHostedZoneRequest ( ) : System
Результат System

CreateHostedZoneRequest() публичный метод

Instantiates CreateHostedZoneRequest with the parameterized properties
public CreateHostedZoneRequest ( string name, string callerReference ) : System
name string The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical. If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Amazon Route 53, change the name servers for your domain to the set of NameServers that CreateHostedZone returns in the DelegationSet element.
callerReference string A unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you create a hosted zone. CallerReference can be any unique string, for example, a date/time stamp.
Результат System