![]() |
![]()
| ![]() |
![]()
NAMEPaws::DS::CreateComputer - Arguments for method CreateComputer on Paws::DS DESCRIPTIONThis class represents the parameters used for calling the method CreateComputer on the AWS Directory Service service. Use the attributes of this class as arguments to method CreateComputer. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateComputer. SYNOPSISmy $ds = Paws->service('DS'); my $CreateComputerResult = $ds->CreateComputer( ComputerName => 'MyComputerName', DirectoryId => 'MyDirectoryId', Password => 'MyComputerPassword', ComputerAttributes => [ { Name => 'MyAttributeName', # min: 1; OPTIONAL Value => 'MyAttributeValue', # OPTIONAL }, ... ], # OPTIONAL OrganizationalUnitDistinguishedName => 'MyOrganizationalUnitDN', # OPTIONAL ); # Results: my $Computer = $CreateComputerResult->Computer; # Returns a L<Paws::DS::CreateComputerResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ds/CreateComputer> ATTRIBUTESComputerAttributes => ArrayRef[Paws::DS::Attribute]An array of Attribute objects that contain any LDAP attributes to apply to the computer account. REQUIRED ComputerName => StrThe name of the computer account. REQUIRED DirectoryId => StrThe identifier of the directory in which to create the computer account. OrganizationalUnitDistinguishedName => StrThe fully-qualified distinguished name of the organizational unit to place the computer account in. REQUIRED Password => StrA 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. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateComputer in Paws::DS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|