/*
* 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 storagegateway-2013-06-30.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.StorageGateway.Model
{
///
/// This is the response object from the DescribeSMBSettings operation.
///
public partial class DescribeSMBSettingsResponse : AmazonWebServiceResponse
{
private ActiveDirectoryStatus _activeDirectoryStatus;
private string _domainName;
private bool? _fileSharesVisible;
private string _gatewayARN;
private bool? _smbGuestPasswordSet;
private SMBLocalGroups _smbLocalGroups;
private SMBSecurityStrategy _smbSecurityStrategy;
///
/// Gets and sets the property ActiveDirectoryStatus.
///
/// Indicates the status of a gateway that is a member of the Active Directory domain.
///
/// -
///
///
ACCESS_DENIED
: Indicates that the JoinDomain
operation
/// failed due to an authentication error.
///
/// -
///
///
DETACHED
: Indicates that gateway is not joined to a domain.
///
/// -
///
///
JOINED
: Indicates that the gateway has successfully joined a domain.
///
/// -
///
///
JOINING
: Indicates that a JoinDomain
operation is in progress.
///
/// -
///
///
NETWORK_ERROR
: Indicates that JoinDomain
operation failed
/// due to a network or connectivity error.
///
/// -
///
///
TIMEOUT
: Indicates that the JoinDomain
operation failed
/// because the operation didn't complete within the allotted time.
///
/// -
///
///
UNKNOWN_ERROR
: Indicates that the JoinDomain
operation
/// failed due to another type of error.
///
///
///
public ActiveDirectoryStatus ActiveDirectoryStatus
{
get { return this._activeDirectoryStatus; }
set { this._activeDirectoryStatus = value; }
}
// Check to see if ActiveDirectoryStatus property is set
internal bool IsSetActiveDirectoryStatus()
{
return this._activeDirectoryStatus != null;
}
///
/// Gets and sets the property DomainName.
///
/// The name of the domain that the gateway is joined to.
///
///
[AWSProperty(Min=1, Max=1024)]
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 FileSharesVisible.
///
/// The shares on this gateway appear when listing shares. Only supported for S3 File
/// Gateways.
///
///
public bool FileSharesVisible
{
get { return this._fileSharesVisible.GetValueOrDefault(); }
set { this._fileSharesVisible = value; }
}
// Check to see if FileSharesVisible property is set
internal bool IsSetFileSharesVisible()
{
return this._fileSharesVisible.HasValue;
}
///
/// Gets and sets the property GatewayARN.
///
[AWSProperty(Min=50, Max=500)]
public string GatewayARN
{
get { return this._gatewayARN; }
set { this._gatewayARN = value; }
}
// Check to see if GatewayARN property is set
internal bool IsSetGatewayARN()
{
return this._gatewayARN != null;
}
///
/// Gets and sets the property SMBGuestPasswordSet.
///
/// This value is true
if a password for the guest user smbguest
/// is set, otherwise false
. Only supported for S3 File Gateways.
///
///
///
/// Valid Values: true
| false
///
///
public bool SMBGuestPasswordSet
{
get { return this._smbGuestPasswordSet.GetValueOrDefault(); }
set { this._smbGuestPasswordSet = value; }
}
// Check to see if SMBGuestPasswordSet property is set
internal bool IsSetSMBGuestPasswordSet()
{
return this._smbGuestPasswordSet.HasValue;
}
///
/// Gets and sets the property SMBLocalGroups.
///
/// A list of Active Directory users and groups that have special permissions for SMB
/// file shares on the gateway.
///
///
public SMBLocalGroups SMBLocalGroups
{
get { return this._smbLocalGroups; }
set { this._smbLocalGroups = value; }
}
// Check to see if SMBLocalGroups property is set
internal bool IsSetSMBLocalGroups()
{
return this._smbLocalGroups != null;
}
///
/// Gets and sets the property SMBSecurityStrategy.
///
/// The type of security strategy that was specified for file gateway.
///
/// -
///
///
ClientSpecified
: If you use this option, requests are established based
/// on what is negotiated by the client. This option is recommended when you want to maximize
/// compatibility across different clients in your environment. Only supported for S3
/// File Gateways.
///
/// -
///
///
MandatorySigning
: If you use this option, file gateway only allows connections
/// from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB
/// clients on Microsoft Windows Vista, Windows Server 2008 or newer.
///
/// -
///
///
MandatoryEncryption
: If you use this option, file gateway only allows
/// connections from SMBv3 clients that have encryption enabled. This option is highly
/// recommended for environments that handle sensitive data. This option works with SMB
/// clients on Microsoft Windows 8, Windows Server 2012 or newer.
///
///
///
public SMBSecurityStrategy SMBSecurityStrategy
{
get { return this._smbSecurityStrategy; }
set { this._smbSecurityStrategy = value; }
}
// Check to see if SMBSecurityStrategy property is set
internal bool IsSetSMBSecurityStrategy()
{
return this._smbSecurityStrategy != null;
}
}
}