Class: Aws::SMS::Types::PutAppReplicationConfigurationRequest

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 PutAppReplicationConfigurationRequest data as a hash:

{
  app_id: "AppId",
  server_group_replication_configurations: [
    {
      server_group_id: "ServerGroupId",
      server_replication_configurations: [
        {
          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",
          },
        },
      ],
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The ID of the application.

Returns:

  • (String)


1510
1511
1512
1513
1514
1515
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1510

class PutAppReplicationConfigurationRequest < Struct.new(
  :app_id,
  :server_group_replication_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#server_group_replication_configurationsArray<Types::ServerGroupReplicationConfiguration>

Information about the replication configurations for server groups in the application.



1510
1511
1512
1513
1514
1515
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1510

class PutAppReplicationConfigurationRequest < Struct.new(
  :app_id,
  :server_group_replication_configurations)
  SENSITIVE = []
  include Aws::Structure
end