C# Class Amazon.Route53.Model.DeleteHostedZoneRequest

Container for the parameters to the DeleteHostedZone operation.

This action deletes a hosted zone. To delete a hosted zone, send a DELETE request to the 2012-12-12/hostedzone/hosted zone ID resource.

For more information about deleting a hosted zone, see Deleting a Hosted Zone in the Amazon Route 53 Developer Guide .

IMPORTANT: You can delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If your hosted zone contains other resource record sets, you must delete them before you can delete your hosted zone. If you try to delete a hosted zone that contains other resource record sets, Route 53 will deny your request with a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
Exibir arquivo Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DeleteHostedZoneRequest ( ) : System

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

DeleteHostedZoneRequest ( string id ) : System

Instantiates DeleteHostedZoneRequest with the parameterized properties

Private Methods

Method Description
IsSetId ( ) : bool

Method Details

DeleteHostedZoneRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DeleteHostedZoneRequest ( ) : System
return System

DeleteHostedZoneRequest() public method

Instantiates DeleteHostedZoneRequest with the parameterized properties
public DeleteHostedZoneRequest ( string id ) : System
id string The ID of the hosted zone you want to delete.
return System