/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ds-2015-04-16.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DirectoryService.Model { /// /// Container for the parameters to the CreateMicrosoftAD operation. /// Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, /// see Managed /// Microsoft AD in the Directory Service Admin Guide. /// /// /// /// 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 Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// public partial class CreateMicrosoftADRequest : AmazonDirectoryServiceRequest { private string _description; private DirectoryEdition _edition; private string _name; private string _password; private string _shortName; private List _tags = new List(); private DirectoryVpcSettings _vpcSettings; /// /// Gets and sets the property Description. /// /// A description for the directory. This label will appear on the Amazon Web Services /// console Directory Details page after the directory is created. /// /// [AWSProperty(Min=0, Max=128)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Edition. /// /// Managed Microsoft AD is available in two editions: Standard and Enterprise. /// Enterprise is the default. /// /// public DirectoryEdition Edition { get { return this._edition; } set { this._edition = value; } } // Check to see if Edition property is set internal bool IsSetEdition() { return this._edition != null; } /// /// Gets and sets the property Name. /// /// The fully qualified domain name for the Managed Microsoft AD directory, such as corp.example.com. /// This name will resolve inside your VPC only. It does not need to be publicly resolvable. /// /// [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Password. /// /// The password for the default administrative user named Admin. /// /// /// /// If you need to change the password for the administrator account, you can use the /// ResetUserPassword API call. /// /// [AWSProperty(Required=true, Sensitive=true)] public string Password { get { return this._password; } set { this._password = value; } } // Check to see if Password property is set internal bool IsSetPassword() { return this._password != null; } /// /// Gets and sets the property ShortName. /// /// The NetBIOS name for your domain, such as CORP. If you don't specify /// a NetBIOS name, it will default to the first part of your directory DNS. For example, /// CORP for the directory DNS corp.example.com. /// /// public string ShortName { get { return this._shortName; } set { this._shortName = value; } } // Check to see if ShortName property is set internal bool IsSetShortName() { return this._shortName != null; } /// /// Gets and sets the property Tags. /// /// The tags to be assigned to the Managed Microsoft AD directory. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property VpcSettings. /// /// Contains VPC information for the CreateDirectory or CreateMicrosoftAD /// operation. /// /// [AWSProperty(Required=true)] public DirectoryVpcSettings VpcSettings { get { return this._vpcSettings; } set { this._vpcSettings = value; } } // Check to see if VpcSettings property is set internal bool IsSetVpcSettings() { return this._vpcSettings != null; } } }