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 you provide to ensure idempotency of application creation.

Returns:

  • (String)

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

#descriptionString

Description of the new application

Returns:

  • (String)

    Description of the new application.

#nameString

Name of the new application.

Returns:

  • (String)

    Name of the new application.

#role_nameString

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

Returns:

  • (String)

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

#server_groupsArray<Types::ServerGroup>

List of server groups to include in the application.

Returns:

#tagsArray<Types::Tag>

List of tags to be associated with the application.

Returns:

  • (Array<Types::Tag>)

    List of tags to be associated with the application.