/*
* 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 datasync-2018-11-09.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.DataSync.Model
{
///
/// The information that DataSync Discovery collects about a storage virtual machine (SVM)
/// in your on-premises storage system.
///
public partial class NetAppONTAPSVM
{
private long? _cifsShareCount;
private string _clusterUuid;
private List _enabledProtocols = new List();
private long? _lunCount;
private MaxP95Performance _maxP95Performance;
private long? _nfsExportedVolumes;
private List _recommendations = new List();
private RecommendationStatus _recommendationStatus;
private string _resourceId;
private string _svmName;
private long? _totalCapacityProvisioned;
private long? _totalCapacityUsed;
private long? _totalLogicalCapacityUsed;
private long? _totalSnapshotCapacityUsed;
///
/// Gets and sets the property CifsShareCount.
///
/// The number of CIFS shares in the SVM.
///
///
[AWSProperty(Min=0)]
public long CifsShareCount
{
get { return this._cifsShareCount.GetValueOrDefault(); }
set { this._cifsShareCount = value; }
}
// Check to see if CifsShareCount property is set
internal bool IsSetCifsShareCount()
{
return this._cifsShareCount.HasValue;
}
///
/// Gets and sets the property ClusterUuid.
///
/// The universally unique identifier (UUID) of the cluster associated with the SVM.
///
///
public string ClusterUuid
{
get { return this._clusterUuid; }
set { this._clusterUuid = value; }
}
// Check to see if ClusterUuid property is set
internal bool IsSetClusterUuid()
{
return this._clusterUuid != null;
}
///
/// Gets and sets the property EnabledProtocols.
///
/// The data transfer protocols (such as NFS) configured for the SVM.
///
///
public List EnabledProtocols
{
get { return this._enabledProtocols; }
set { this._enabledProtocols = value; }
}
// Check to see if EnabledProtocols property is set
internal bool IsSetEnabledProtocols()
{
return this._enabledProtocols != null && this._enabledProtocols.Count > 0;
}
///
/// Gets and sets the property LunCount.
///
/// The number of LUNs (logical unit numbers) in the SVM.
///
///
[AWSProperty(Min=0)]
public long LunCount
{
get { return this._lunCount.GetValueOrDefault(); }
set { this._lunCount = value; }
}
// Check to see if LunCount property is set
internal bool IsSetLunCount()
{
return this._lunCount.HasValue;
}
///
/// Gets and sets the property MaxP95Performance.
///
/// The performance data that DataSync Discovery collects about the SVM.
///
///
public MaxP95Performance MaxP95Performance
{
get { return this._maxP95Performance; }
set { this._maxP95Performance = value; }
}
// Check to see if MaxP95Performance property is set
internal bool IsSetMaxP95Performance()
{
return this._maxP95Performance != null;
}
///
/// Gets and sets the property NfsExportedVolumes.
///
/// The number of NFS volumes in the SVM.
///
///
[AWSProperty(Min=0)]
public long NfsExportedVolumes
{
get { return this._nfsExportedVolumes.GetValueOrDefault(); }
set { this._nfsExportedVolumes = value; }
}
// Check to see if NfsExportedVolumes property is set
internal bool IsSetNfsExportedVolumes()
{
return this._nfsExportedVolumes.HasValue;
}
///
/// Gets and sets the property Recommendations.
///
/// The Amazon Web Services storage services that DataSync Discovery recommends for the
/// SVM. For more information, see Recommendations
/// provided by DataSync Discovery.
///
///
public List Recommendations
{
get { return this._recommendations; }
set { this._recommendations = value; }
}
// Check to see if Recommendations property is set
internal bool IsSetRecommendations()
{
return this._recommendations != null && this._recommendations.Count > 0;
}
///
/// Gets and sets the property RecommendationStatus.
///
/// Indicates whether DataSync Discovery recommendations for the SVM are ready to view,
/// incomplete, or can't be determined.
///
///
///
/// For more information, see Recommendation
/// statuses.
///
///
public RecommendationStatus RecommendationStatus
{
get { return this._recommendationStatus; }
set { this._recommendationStatus = value; }
}
// Check to see if RecommendationStatus property is set
internal bool IsSetRecommendationStatus()
{
return this._recommendationStatus != null;
}
///
/// Gets and sets the property ResourceId.
///
/// The UUID of the SVM.
///
///
public string ResourceId
{
get { return this._resourceId; }
set { this._resourceId = value; }
}
// Check to see if ResourceId property is set
internal bool IsSetResourceId()
{
return this._resourceId != null;
}
///
/// Gets and sets the property SvmName.
///
/// The name of the SVM
///
///
[AWSProperty(Max=1024)]
public string SvmName
{
get { return this._svmName; }
set { this._svmName = value; }
}
// Check to see if SvmName property is set
internal bool IsSetSvmName()
{
return this._svmName != null;
}
///
/// Gets and sets the property TotalCapacityProvisioned.
///
/// The total storage space that's available in the SVM.
///
///
[AWSProperty(Min=0)]
public long TotalCapacityProvisioned
{
get { return this._totalCapacityProvisioned.GetValueOrDefault(); }
set { this._totalCapacityProvisioned = value; }
}
// Check to see if TotalCapacityProvisioned property is set
internal bool IsSetTotalCapacityProvisioned()
{
return this._totalCapacityProvisioned.HasValue;
}
///
/// Gets and sets the property TotalCapacityUsed.
///
/// The storage space that's being used in the SVM.
///
///
[AWSProperty(Min=0)]
public long TotalCapacityUsed
{
get { return this._totalCapacityUsed.GetValueOrDefault(); }
set { this._totalCapacityUsed = value; }
}
// Check to see if TotalCapacityUsed property is set
internal bool IsSetTotalCapacityUsed()
{
return this._totalCapacityUsed.HasValue;
}
///
/// Gets and sets the property TotalLogicalCapacityUsed.
///
/// The storage space that's being used in the SVM without accounting for compression
/// or deduplication.
///
///
[AWSProperty(Min=0)]
public long TotalLogicalCapacityUsed
{
get { return this._totalLogicalCapacityUsed.GetValueOrDefault(); }
set { this._totalLogicalCapacityUsed = value; }
}
// Check to see if TotalLogicalCapacityUsed property is set
internal bool IsSetTotalLogicalCapacityUsed()
{
return this._totalLogicalCapacityUsed.HasValue;
}
///
/// Gets and sets the property TotalSnapshotCapacityUsed.
///
/// The amount of storage in the SVM that's being used for snapshots.
///
///
[AWSProperty(Min=0)]
public long TotalSnapshotCapacityUsed
{
get { return this._totalSnapshotCapacityUsed.GetValueOrDefault(); }
set { this._totalSnapshotCapacityUsed = value; }
}
// Check to see if TotalSnapshotCapacityUsed property is set
internal bool IsSetTotalSnapshotCapacityUsed()
{
return this._totalSnapshotCapacityUsed.HasValue;
}
}
}