Amazon.DirectConnect.AmazonDirectConnectClient.AllocatePublicVirtualInterfaceAsync C# (CSharp) Method

AllocatePublicVirtualInterfaceAsync() public method

Initiates the asynchronous execution of the AllocatePublicVirtualInterface operation.
public AllocatePublicVirtualInterfaceAsync ( AllocatePublicVirtualInterfaceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DirectConnect.Model.AllocatePublicVirtualInterfaceRequest Container for the necessary parameters to execute the AllocatePublicVirtualInterface operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AllocatePublicVirtualInterfaceResponse> AllocatePublicVirtualInterfaceAsync(AllocatePublicVirtualInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AllocatePublicVirtualInterfaceRequestMarshaller();
            var unmarshaller = AllocatePublicVirtualInterfaceResponseUnmarshaller.Instance;

            return InvokeAsync<AllocatePublicVirtualInterfaceRequest,AllocatePublicVirtualInterfaceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDirectConnectClient