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

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

Returns the port states for a specific virtual private server, or 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 GetInstancePortStates ( GetInstancePortStatesRequest request ) : GetInstancePortStatesResponse
request Amazon.Lightsail.Model.GetInstancePortStatesRequest Container for the necessary parameters to execute the GetInstancePortStates service method.
Результат Amazon.Lightsail.Model.GetInstancePortStatesResponse
        public GetInstancePortStatesResponse GetInstancePortStates(GetInstancePortStatesRequest request)
        {
            var marshaller = new GetInstancePortStatesRequestMarshaller();
            var unmarshaller = GetInstancePortStatesResponseUnmarshaller.Instance;

            return Invoke<GetInstancePortStatesRequest,GetInstancePortStatesResponse>(request, marshaller, unmarshaller);
        }
AmazonLightsailClient