Amazon.Lightsail.AmazonLightsailClient.AllocateStaticIpAsync C# (CSharp) Метод

AllocateStaticIpAsync() публичный Метод

Initiates the asynchronous execution of the AllocateStaticIp operation.
public AllocateStaticIpAsync ( AllocateStaticIpRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lightsail.Model.AllocateStaticIpRequest Container for the necessary parameters to execute the AllocateStaticIp operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<AllocateStaticIpResponse> AllocateStaticIpAsync(AllocateStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AllocateStaticIpRequestMarshaller();
            var unmarshaller = AllocateStaticIpResponseUnmarshaller.Instance;

            return InvokeAsync<AllocateStaticIpRequest,AllocateStaticIpResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient