/* * 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 fsx-2018-03-01.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.FSx.Model { /// /// The configuration of the self-managed Microsoft Active Directory (AD) directory to /// which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. /// public partial class SelfManagedActiveDirectoryAttributes { private List _dnsIps = new List(); private string _domainName; private string _fileSystemAdministratorsGroup; private string _organizationalUnitDistinguishedName; private string _userName; /// /// Gets and sets the property DnsIps. /// /// A list of up to three IP addresses of DNS servers or domain controllers in the self-managed /// AD directory. /// /// [AWSProperty(Min=1, Max=3)] public List DnsIps { get { return this._dnsIps; } set { this._dnsIps = value; } } // Check to see if DnsIps property is set internal bool IsSetDnsIps() { return this._dnsIps != null && this._dnsIps.Count > 0; } /// /// Gets and sets the property DomainName. /// /// The fully qualified domain name of the self-managed AD directory. /// /// [AWSProperty(Min=1, Max=255)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// /// Gets and sets the property FileSystemAdministratorsGroup. /// /// The name of the domain group whose members have administrative privileges for the /// FSx file system. /// /// [AWSProperty(Min=1, Max=256)] public string FileSystemAdministratorsGroup { get { return this._fileSystemAdministratorsGroup; } set { this._fileSystemAdministratorsGroup = value; } } // Check to see if FileSystemAdministratorsGroup property is set internal bool IsSetFileSystemAdministratorsGroup() { return this._fileSystemAdministratorsGroup != null; } /// /// Gets and sets the property OrganizationalUnitDistinguishedName. /// /// The fully qualified distinguished name of the organizational unit within the self-managed /// AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) /// instance is joined. /// /// [AWSProperty(Min=1, Max=2000)] public string OrganizationalUnitDistinguishedName { get { return this._organizationalUnitDistinguishedName; } set { this._organizationalUnitDistinguishedName = value; } } // Check to see if OrganizationalUnitDistinguishedName property is set internal bool IsSetOrganizationalUnitDistinguishedName() { return this._organizationalUnitDistinguishedName != null; } /// /// Gets and sets the property UserName. /// /// The user name for the service account on your self-managed AD domain that FSx uses /// to join to your AD domain. /// /// [AWSProperty(Min=1, Max=256)] public string UserName { get { return this._userName; } set { this._userName = value; } } // Check to see if UserName property is set internal bool IsSetUserName() { return this._userName != null; } } }