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

Class: Aws::DirectoryService::Types::CreateComputerRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb

Overview

Note:

When making an API call, you may pass CreateComputerRequest data as a hash:

{
  directory_id: "DirectoryId", # required
  computer_name: "ComputerName", # required
  password: "ComputerPassword", # required
  organizational_unit_distinguished_name: "OrganizationalUnitDN",
  computer_attributes: [
    {
      name: "AttributeName",
      value: "AttributeValue",
    },
  ],
}

Contains the inputs for the CreateComputer operation.

Instance Attribute Summary collapse

Instance Attribute Details

#computer_attributesArray<Types::Attribute>

An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

Returns:



419
420
421
422
423
424
425
426
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 419

class CreateComputerRequest < Struct.new(
  :directory_id,
  :computer_name,
  :password,
  :organizational_unit_distinguished_name,
  :computer_attributes)
  include Aws::Structure
end

#computer_nameString

The name of the computer account.

Returns:

  • (String)


419
420
421
422
423
424
425
426
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 419

class CreateComputerRequest < Struct.new(
  :directory_id,
  :computer_name,
  :password,
  :organizational_unit_distinguished_name,
  :computer_attributes)
  include Aws::Structure
end

#directory_idString

The identifier of the directory in which to create the computer account.

Returns:

  • (String)


419
420
421
422
423
424
425
426
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 419

class CreateComputerRequest < Struct.new(
  :directory_id,
  :computer_name,
  :password,
  :organizational_unit_distinguished_name,
  :computer_attributes)
  include Aws::Structure
end

#organizational_unit_distinguished_nameString

The fully-qualified distinguished name of the organizational unit to place the computer account in.

Returns:

  • (String)


419
420
421
422
423
424
425
426
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 419

class CreateComputerRequest < Struct.new(
  :directory_id,
  :computer_name,
  :password,
  :organizational_unit_distinguished_name,
  :computer_attributes)
  include Aws::Structure
end

#passwordString

A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter.

Returns:

  • (String)


419
420
421
422
423
424
425
426
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 419

class CreateComputerRequest < Struct.new(
  :directory_id,
  :computer_name,
  :password,
  :organizational_unit_distinguished_name,
  :computer_attributes)
  include Aws::Structure
end