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

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

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

Overview

Note:

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

  • (Array<Types::Attribute>)

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

#computer_nameString

The name of the computer account.

Returns:

  • (String)

    The name of the computer account.

#directory_idString

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

Returns:

  • (String)

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

#organizational_unit_distinguished_nameString

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

Returns:

  • (String)

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

#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)

    A one-time password that is used to join the computer to the directory.