Method: Fog::Compute::AWS::Real#start_instances
- Defined in:
- lib/fog/compute/requests/aws/start_instances.rb
#start_instances(instance_id) ⇒ Object
Start specified instance
Parameters
-
instance_id<~Array> - Id of instance to start
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘requestId’<~String> - Id of request
-
TODO: fill in the blanks
-
-
20 21 22 23 24 25 26 27 |
# File 'lib/fog/compute/requests/aws/start_instances.rb', line 20 def start_instances(instance_id) params = Fog::AWS.indexed_param('InstanceId', instance_id) request({ 'Action' => 'StartInstances', :idempotent => true, :parser => Fog::Parsers::Compute::AWS::StartStopInstances.new }.merge!(params)) end |