Amazon.Lightsail.AmazonLightsailClient.AllocateStaticIp C# (CSharp) Method

AllocateStaticIp() public method

Allocates a static IP address.
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid /// credentials to access a resource. /// /// Lightsail throws this exception when an account is still in the setup in progress /// state. /// /// Lightsail throws this exception when user input does not conform to the validation /// rules of an input field. /// /// Lightsail throws this exception when it cannot find a resource. /// /// Lightsail throws this exception when an operation fails to execute. /// /// A general service exception. /// /// Lightsail throws this exception when the user has not been authenticated. ///
public AllocateStaticIp ( AllocateStaticIpRequest request ) : AllocateStaticIpResponse
request Amazon.Lightsail.Model.AllocateStaticIpRequest Container for the necessary parameters to execute the AllocateStaticIp service method.
return Amazon.Lightsail.Model.AllocateStaticIpResponse
        public AllocateStaticIpResponse AllocateStaticIp(AllocateStaticIpRequest request)
        {
            var marshaller = new AllocateStaticIpRequestMarshaller();
            var unmarshaller = AllocateStaticIpResponseUnmarshaller.Instance;

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