Amazon.Route53.AmazonRoute53Client.DisassociateVPCFromHostedZone C# (CSharp) Méthode

DisassociateVPCFromHostedZone() public méthode

Disassociates a VPC from a Amazon Route 53 private hosted zone.

You can't disassociate the last VPC from a private hosted zone.

Send a POST request to the /2013-04-01/hostedzone/hosted zone ID/disassociatevpc resource. The request body must include a document with a DisassociateVPCFromHostedZoneRequest element. The response includes a DisassociateVPCFromHostedZoneResponse element.

You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone.

/// The input is not valid. /// /// The VPC ID that you specified either isn't a valid ID or the current account is not /// authorized to access this VPC. /// /// The VPC that you're trying to disassociate from the private hosted zone is the last /// VPC that is associated with the hosted zone. Amazon Route 53 doesn't support disassociating /// the last VPC from a hosted zone. /// /// No hosted zone exists with the ID that you specified. /// /// The specified VPC and hosted zone are not currently associated. ///
public DisassociateVPCFromHostedZone ( DisassociateVPCFromHostedZoneRequest request ) : DisassociateVPCFromHostedZoneResponse
request DisassociateVPCFromHostedZoneRequest Container for the necessary parameters to execute the DisassociateVPCFromHostedZone service method.
Résultat DisassociateVPCFromHostedZoneResponse
        public DisassociateVPCFromHostedZoneResponse DisassociateVPCFromHostedZone(DisassociateVPCFromHostedZoneRequest request)
        {
            var marshaller = new DisassociateVPCFromHostedZoneRequestMarshaller();
            var unmarshaller = DisassociateVPCFromHostedZoneResponseUnmarshaller.Instance;

            return Invoke<DisassociateVPCFromHostedZoneRequest,DisassociateVPCFromHostedZoneResponse>(request, marshaller, unmarshaller);
        }
AmazonRoute53Client