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
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
IsSetId ( ) : bool

Method Details

DeleteHostedZoneRequest() public méthode

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

DeleteHostedZoneRequest() public méthode

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