AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Mgn::Types::ChangeServerLifeCycleStateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb

Overview

Note:

When making an API call, you may pass ChangeServerLifeCycleStateRequest data as a hash:

{
  life_cycle: { # required
    state: "READY_FOR_TEST", # required, accepts READY_FOR_TEST, READY_FOR_CUTOVER, CUTOVER
  },
  source_server_id: "SourceServerID", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#life_cycleTypes::ChangeServerLifeCycleStateSourceServerLifecycle

The request to change the source server migration lifecycle state.



70
71
72
73
74
75
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 70

class ChangeServerLifeCycleStateRequest < Struct.new(
  :life_cycle,
  :source_server_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_server_idString

The request to change the source server migration lifecycle state by source server ID.

Returns:

  • (String)


70
71
72
73
74
75
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 70

class ChangeServerLifeCycleStateRequest < Struct.new(
  :life_cycle,
  :source_server_id)
  SENSITIVE = []
  include Aws::Structure
end