You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SMS::Types::CreateReplicationJobRequest

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

Overview

Note:

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

{
  server_id: "ServerId", # required
  seed_replication_time: Time.now, # required
  frequency: 1, # required
  license_type: "AWS", # accepts AWS, BYOL
  role_name: "RoleName",
  description: "Description",
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description for a Replication Job/Run.

Returns:

  • (String)


110
111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 110

class CreateReplicationJobRequest < Struct.new(
  :server_id,
  :seed_replication_time,
  :frequency,
  :license_type,
  :role_name,
  :description)
  include Aws::Structure
end

#frequencyInteger

Interval between Replication Runs. This value is specified in hours, and represents the time between consecutive Replication Runs.

Returns:

  • (Integer)


110
111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 110

class CreateReplicationJobRequest < Struct.new(
  :server_id,
  :seed_replication_time,
  :frequency,
  :license_type,
  :role_name,
  :description)
  include Aws::Structure
end

#license_typeString

The license type to be used for the Amazon Machine Image (AMI) created after a successful ReplicationRun.

Returns:

  • (String)


110
111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 110

class CreateReplicationJobRequest < Struct.new(
  :server_id,
  :seed_replication_time,
  :frequency,
  :license_type,
  :role_name,
  :description)
  include Aws::Structure
end

#role_nameString

Name of service role in customer's account to be used by SMS service.

Returns:

  • (String)


110
111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 110

class CreateReplicationJobRequest < Struct.new(
  :server_id,
  :seed_replication_time,
  :frequency,
  :license_type,
  :role_name,
  :description)
  include Aws::Structure
end

#seed_replication_timeTime

Timestamp of an operation

Returns:

  • (Time)


110
111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 110

class CreateReplicationJobRequest < Struct.new(
  :server_id,
  :seed_replication_time,
  :frequency,
  :license_type,
  :role_name,
  :description)
  include Aws::Structure
end

#server_idString

Unique Identifier for a server

Returns:

  • (String)


110
111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 110

class CreateReplicationJobRequest < Struct.new(
  :server_id,
  :seed_replication_time,
  :frequency,
  :license_type,
  :role_name,
  :description)
  include Aws::Structure
end