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

Class: Aws::SMS::Types::CreateAppRequest

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

Overview

Note:

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

{
  name: "AppName",
  description: "AppDescription",
  role_name: "RoleName",
  client_token: "ClientToken",
  server_groups: [
    {
      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,
        },
      ],
    },
  ],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.

Returns:

  • (String)

    A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.

#descriptionString

The description of the new application

Returns:

  • (String)

    The description of the new application.

#nameString

The name of the new application.

Returns:

  • (String)

    The name of the new application.

#role_nameString

The name of the service role in the customer\'s account to be used by AWS SMS.

Returns:

  • (String)

    The name of the service role in the customer\'s account to be used by AWS SMS.

#server_groupsArray<Types::ServerGroup>

The server groups to include in the application.

Returns:

#tagsArray<Types::Tag>

The tags to be associated with the application.

Returns:

  • (Array<Types::Tag>)

    The tags to be associated with the application.