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

Class: Aws::SMS::Types::ServerReplicationConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ServerReplicationConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  server: {
    server_id: "ServerId",
    server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
    vm_server: {
      vm_server_address: {
        vm_manager_id: "VmManagerId",
        vm_id: "VmId",
      },
      vm_name: "VmName",
      vm_manager_name: "VmManagerName",
      vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
      vm_path: "VmPath",
    },
    replication_job_id: "ReplicationJobId",
    replication_job_terminated: false,
  },
  server_replication_parameters: {
    seed_time: Time.now,
    frequency: 1,
    run_once: false,
    license_type: "AWS", # accepts AWS, BYOL
    number_of_recent_amis_to_keep: 1,
    encrypted: false,
    kms_key_id: "KmsKeyId",
  },
}

Replication configuration of a server.

Instance Attribute Summary collapse

Instance Attribute Details

#serverTypes::Server

The ID of the server with which this replication configuration is associated.

Returns:

  • (Types::Server)

    The ID of the server with which this replication configuration is associated.

#server_replication_parametersTypes::ServerReplicationParameters

The parameters for replicating the server.

Returns: