AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DisassociateClientVpnTargetNetwork operation. Disassociates a target network from the specified Client VPN endpoint. When you disassociate the last target network from a Client VPN, the following happens:
The route that was automatically added for the VPC is deleted
All active client connections are terminated
New client connections are disallowed
The Client VPN endpoint's status changes to pending-associate
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class DisassociateClientVpnTargetNetworkRequest : AmazonEC2Request IAmazonWebServiceRequest
The DisassociateClientVpnTargetNetworkRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DisassociateClientVpnTargetNetworkRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AssociationId | System.String |
Gets and sets the property AssociationId. The ID of the target network association. |
![]() |
ClientVpnEndpointId | System.String |
Gets and sets the property ClientVpnEndpointId. The ID of the Client VPN endpoint from which to disassociate the target network. |
![]() |
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer