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

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 CreateAppRequest data as a 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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

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)


311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 311

class CreateAppRequest < Struct.new(
  :name,
  :description,
  :role_name,
  :client_token,
  :server_groups,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the new application

Returns:

  • (String)


311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 311

class CreateAppRequest < Struct.new(
  :name,
  :description,
  :role_name,
  :client_token,
  :server_groups,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the new application.

Returns:

  • (String)


311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 311

class CreateAppRequest < Struct.new(
  :name,
  :description,
  :role_name,
  :client_token,
  :server_groups,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#role_nameString

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

Returns:

  • (String)


311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 311

class CreateAppRequest < Struct.new(
  :name,
  :description,
  :role_name,
  :client_token,
  :server_groups,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#server_groupsArray<Types::ServerGroup>

The server groups to include in the application.

Returns:



311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 311

class CreateAppRequest < Struct.new(
  :name,
  :description,
  :role_name,
  :client_token,
  :server_groups,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to be associated with the application.

Returns:



311
312
313
314
315
316
317
318
319
320
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 311

class CreateAppRequest < Struct.new(
  :name,
  :description,
  :role_name,
  :client_token,
  :server_groups,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end