Amazon.DirectoryService.AmazonDirectoryServiceClient.CreateMicrosoftAD C# (CSharp) Method

CreateMicrosoftAD() public method

Creates a Microsoft AD in the AWS cloud.

Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.

/// A client exception has occurred. /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// One or more parameters are not valid. /// /// An exception has occurred in AWS Directory Service. /// /// The operation is not supported. ///
public CreateMicrosoftAD ( CreateMicrosoftADRequest request ) : CreateMicrosoftADResponse
request Amazon.DirectoryService.Model.CreateMicrosoftADRequest Container for the necessary parameters to execute the CreateMicrosoftAD service method.
return Amazon.DirectoryService.Model.CreateMicrosoftADResponse
        public CreateMicrosoftADResponse CreateMicrosoftAD(CreateMicrosoftADRequest request)
        {
            var marshaller = new CreateMicrosoftADRequestMarshaller();
            var unmarshaller = CreateMicrosoftADResponseUnmarshaller.Instance;

            return Invoke<CreateMicrosoftADRequest,CreateMicrosoftADResponse>(request, marshaller, unmarshaller);
        }
AmazonDirectoryServiceClient