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

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

Adds public ports to an Amazon Lightsail instance.
/// 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 OpenInstancePublicPorts ( OpenInstancePublicPortsRequest request ) : OpenInstancePublicPortsResponse
request Amazon.Lightsail.Model.OpenInstancePublicPortsRequest Container for the necessary parameters to execute the OpenInstancePublicPorts service method.
Результат Amazon.Lightsail.Model.OpenInstancePublicPortsResponse
        public OpenInstancePublicPortsResponse OpenInstancePublicPorts(OpenInstancePublicPortsRequest request)
        {
            var marshaller = new OpenInstancePublicPortsRequestMarshaller();
            var unmarshaller = OpenInstancePublicPortsResponseUnmarshaller.Instance;

            return Invoke<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResponse>(request, marshaller, unmarshaller);
        }
AmazonLightsailClient