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

Class: Aws::SMS::Types::ServerGroup

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

{
  server_group_id: "ServerGroupId",
  name: "ServerGroupName",
  server_list: [
    {
      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,
    },
  ],
}

A logical grouping of servers.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Name of a server group.

Returns:

  • (String)


1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1553

class ServerGroup < Struct.new(
  :server_group_id,
  :name,
  :server_list)
  include Aws::Structure
end

#server_group_idString

Identifier of a server group.

Returns:

  • (String)


1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1553

class ServerGroup < Struct.new(
  :server_group_id,
  :name,
  :server_list)
  include Aws::Structure
end

#server_listArray<Types::Server>

List of servers belonging to a server group.

Returns:



1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1553

class ServerGroup < Struct.new(
  :server_group_id,
  :name,
  :server_list)
  include Aws::Structure
end