AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateDirectory operation. Creates a Simple AD directory. For more information, see Simple Active Directory in the Directory Service Admin Guide.
Before you call CreateDirectory
, ensure that all of the required permissions
have been explicitly granted through a policy. For details about what permissions
are required to run the CreateDirectory
operation, see Directory
Service API Permissions: Actions, Resources, and Conditions Reference.
Namespace: Amazon.DirectoryService.Model
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z
public class CreateDirectoryRequest : AmazonDirectoryServiceRequest IAmazonWebServiceRequest
The CreateDirectoryRequest type exposes the following members
Name | Description | |
---|---|---|
CreateDirectoryRequest() |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description. A description for the directory. |
|
Name | System.String |
Gets and sets the property Name.
The fully qualified name for the directory, such as |
|
Password | System.String |
Gets and sets the property Password.
The password for the directory administrator. The directory creation process creates
a directory administrator account with the user name If you need to change the password for the administrator account, you can use the ResetUserPassword API call. The regex pattern for this string is made up of the following conditions:
AND any 3 of the following password complexity rules required by Active Directory:
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website. |
|
ShortName | System.String |
Gets and sets the property ShortName.
The NetBIOS name of the directory, such as |
|
Size | Amazon.DirectoryService.DirectorySize |
Gets and sets the property Size. The size of the directory. |
|
Tags | System.Collections.Generic.List<Amazon.DirectoryService.Model.Tag> |
Gets and sets the property Tags. The tags to be assigned to the Simple AD directory. |
|
VpcSettings | Amazon.DirectoryService.Model.DirectoryVpcSettings |
Gets and sets the property VpcSettings. A DirectoryVpcSettings object that contains additional information for the operation. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5