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

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

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

Overview

Note:

When passing ServerGroup as input to an Aws::Client method, you can use a vanilla 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,
    },
  ],
}

Logical grouping of servers.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of a server group.

Returns:

  • (String)

    The name of a server group.

#server_group_idString

The ID of a server group.

Returns:

  • (String)

    The ID of a server group.

#server_listArray<Types::Server>

The servers that belong to a server group.

Returns:

  • (Array<Types::Server>)

    The servers that belong to a server group.