/*
* 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 Amazon.Runtime;
namespace Amazon.StorageGateway
{
///
/// Constants used for properties of type ActiveDirectoryStatus.
///
public class ActiveDirectoryStatus : ConstantClass
{
///
/// Constant ACCESS_DENIED for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus ACCESS_DENIED = new ActiveDirectoryStatus("ACCESS_DENIED");
///
/// Constant DETACHED for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus DETACHED = new ActiveDirectoryStatus("DETACHED");
///
/// Constant JOINED for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus JOINED = new ActiveDirectoryStatus("JOINED");
///
/// Constant JOINING for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus JOINING = new ActiveDirectoryStatus("JOINING");
///
/// Constant NETWORK_ERROR for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus NETWORK_ERROR = new ActiveDirectoryStatus("NETWORK_ERROR");
///
/// Constant TIMEOUT for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus TIMEOUT = new ActiveDirectoryStatus("TIMEOUT");
///
/// Constant UNKNOWN_ERROR for ActiveDirectoryStatus
///
public static readonly ActiveDirectoryStatus UNKNOWN_ERROR = new ActiveDirectoryStatus("UNKNOWN_ERROR");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ActiveDirectoryStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ActiveDirectoryStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ActiveDirectoryStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AvailabilityMonitorTestStatus.
///
public class AvailabilityMonitorTestStatus : ConstantClass
{
///
/// Constant COMPLETE for AvailabilityMonitorTestStatus
///
public static readonly AvailabilityMonitorTestStatus COMPLETE = new AvailabilityMonitorTestStatus("COMPLETE");
///
/// Constant FAILED for AvailabilityMonitorTestStatus
///
public static readonly AvailabilityMonitorTestStatus FAILED = new AvailabilityMonitorTestStatus("FAILED");
///
/// Constant PENDING for AvailabilityMonitorTestStatus
///
public static readonly AvailabilityMonitorTestStatus PENDING = new AvailabilityMonitorTestStatus("PENDING");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public AvailabilityMonitorTestStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static AvailabilityMonitorTestStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator AvailabilityMonitorTestStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CaseSensitivity.
///
public class CaseSensitivity : ConstantClass
{
///
/// Constant CaseSensitive for CaseSensitivity
///
public static readonly CaseSensitivity CaseSensitive = new CaseSensitivity("CaseSensitive");
///
/// Constant ClientSpecified for CaseSensitivity
///
public static readonly CaseSensitivity ClientSpecified = new CaseSensitivity("ClientSpecified");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public CaseSensitivity(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static CaseSensitivity FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator CaseSensitivity(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ErrorCode.
///
public class ErrorCode : ConstantClass
{
///
/// Constant ActivationKeyExpired for ErrorCode
///
public static readonly ErrorCode ActivationKeyExpired = new ErrorCode("ActivationKeyExpired");
///
/// Constant ActivationKeyInvalid for ErrorCode
///
public static readonly ErrorCode ActivationKeyInvalid = new ErrorCode("ActivationKeyInvalid");
///
/// Constant ActivationKeyNotFound for ErrorCode
///
public static readonly ErrorCode ActivationKeyNotFound = new ErrorCode("ActivationKeyNotFound");
///
/// Constant AuthenticationFailure for ErrorCode
///
public static readonly ErrorCode AuthenticationFailure = new ErrorCode("AuthenticationFailure");
///
/// Constant BandwidthThrottleScheduleNotFound for ErrorCode
///
public static readonly ErrorCode BandwidthThrottleScheduleNotFound = new ErrorCode("BandwidthThrottleScheduleNotFound");
///
/// Constant Blocked for ErrorCode
///
public static readonly ErrorCode Blocked = new ErrorCode("Blocked");
///
/// Constant CannotExportSnapshot for ErrorCode
///
public static readonly ErrorCode CannotExportSnapshot = new ErrorCode("CannotExportSnapshot");
///
/// Constant ChapCredentialNotFound for ErrorCode
///
public static readonly ErrorCode ChapCredentialNotFound = new ErrorCode("ChapCredentialNotFound");
///
/// Constant DiskAlreadyAllocated for ErrorCode
///
public static readonly ErrorCode DiskAlreadyAllocated = new ErrorCode("DiskAlreadyAllocated");
///
/// Constant DiskDoesNotExist for ErrorCode
///
public static readonly ErrorCode DiskDoesNotExist = new ErrorCode("DiskDoesNotExist");
///
/// Constant DiskSizeGreaterThanVolumeMaxSize for ErrorCode
///
public static readonly ErrorCode DiskSizeGreaterThanVolumeMaxSize = new ErrorCode("DiskSizeGreaterThanVolumeMaxSize");
///
/// Constant DiskSizeLessThanVolumeSize for ErrorCode
///
public static readonly ErrorCode DiskSizeLessThanVolumeSize = new ErrorCode("DiskSizeLessThanVolumeSize");
///
/// Constant DiskSizeNotGigAligned for ErrorCode
///
public static readonly ErrorCode DiskSizeNotGigAligned = new ErrorCode("DiskSizeNotGigAligned");
///
/// Constant DuplicateCertificateInfo for ErrorCode
///
public static readonly ErrorCode DuplicateCertificateInfo = new ErrorCode("DuplicateCertificateInfo");
///
/// Constant DuplicateSchedule for ErrorCode
///
public static readonly ErrorCode DuplicateSchedule = new ErrorCode("DuplicateSchedule");
///
/// Constant EndpointNotFound for ErrorCode
///
public static readonly ErrorCode EndpointNotFound = new ErrorCode("EndpointNotFound");
///
/// Constant GatewayInternalError for ErrorCode
///
public static readonly ErrorCode GatewayInternalError = new ErrorCode("GatewayInternalError");
///
/// Constant GatewayNotConnected for ErrorCode
///
public static readonly ErrorCode GatewayNotConnected = new ErrorCode("GatewayNotConnected");
///
/// Constant GatewayNotFound for ErrorCode
///
public static readonly ErrorCode GatewayNotFound = new ErrorCode("GatewayNotFound");
///
/// Constant GatewayProxyNetworkConnectionBusy for ErrorCode
///
public static readonly ErrorCode GatewayProxyNetworkConnectionBusy = new ErrorCode("GatewayProxyNetworkConnectionBusy");
///
/// Constant IAMNotSupported for ErrorCode
///
public static readonly ErrorCode IAMNotSupported = new ErrorCode("IAMNotSupported");
///
/// Constant InitiatorInvalid for ErrorCode
///
public static readonly ErrorCode InitiatorInvalid = new ErrorCode("InitiatorInvalid");
///
/// Constant InitiatorNotFound for ErrorCode
///
public static readonly ErrorCode InitiatorNotFound = new ErrorCode("InitiatorNotFound");
///
/// Constant InternalError for ErrorCode
///
public static readonly ErrorCode InternalError = new ErrorCode("InternalError");
///
/// Constant InvalidEndpoint for ErrorCode
///
public static readonly ErrorCode InvalidEndpoint = new ErrorCode("InvalidEndpoint");
///
/// Constant InvalidGateway for ErrorCode
///
public static readonly ErrorCode InvalidGateway = new ErrorCode("InvalidGateway");
///
/// Constant InvalidParameters for ErrorCode
///
public static readonly ErrorCode InvalidParameters = new ErrorCode("InvalidParameters");
///
/// Constant InvalidSchedule for ErrorCode
///
public static readonly ErrorCode InvalidSchedule = new ErrorCode("InvalidSchedule");
///
/// Constant JoinDomainInProgress for ErrorCode
///
public static readonly ErrorCode JoinDomainInProgress = new ErrorCode("JoinDomainInProgress");
///
/// Constant LocalStorageLimitExceeded for ErrorCode
///
public static readonly ErrorCode LocalStorageLimitExceeded = new ErrorCode("LocalStorageLimitExceeded");
///
/// Constant LunAlreadyAllocated for ErrorCode
///
public static readonly ErrorCode LunAlreadyAllocated = new ErrorCode("LunAlreadyAllocated ");
///
/// Constant LunInvalid for ErrorCode
///
public static readonly ErrorCode LunInvalid = new ErrorCode("LunInvalid");
///
/// Constant MaximumContentLengthExceeded for ErrorCode
///
public static readonly ErrorCode MaximumContentLengthExceeded = new ErrorCode("MaximumContentLengthExceeded");
///
/// Constant MaximumTapeCartridgeCountExceeded for ErrorCode
///
public static readonly ErrorCode MaximumTapeCartridgeCountExceeded = new ErrorCode("MaximumTapeCartridgeCountExceeded");
///
/// Constant MaximumVolumeCountExceeded for ErrorCode
///
public static readonly ErrorCode MaximumVolumeCountExceeded = new ErrorCode("MaximumVolumeCountExceeded");
///
/// Constant NetworkConfigurationChanged for ErrorCode
///
public static readonly ErrorCode NetworkConfigurationChanged = new ErrorCode("NetworkConfigurationChanged");
///
/// Constant NoDisksAvailable for ErrorCode
///
public static readonly ErrorCode NoDisksAvailable = new ErrorCode("NoDisksAvailable");
///
/// Constant NotImplemented for ErrorCode
///
public static readonly ErrorCode NotImplemented = new ErrorCode("NotImplemented");
///
/// Constant NotSupported for ErrorCode
///
public static readonly ErrorCode NotSupported = new ErrorCode("NotSupported");
///
/// Constant OperationAborted for ErrorCode
///
public static readonly ErrorCode OperationAborted = new ErrorCode("OperationAborted");
///
/// Constant OutdatedGateway for ErrorCode
///
public static readonly ErrorCode OutdatedGateway = new ErrorCode("OutdatedGateway");
///
/// Constant ParametersNotImplemented for ErrorCode
///
public static readonly ErrorCode ParametersNotImplemented = new ErrorCode("ParametersNotImplemented");
///
/// Constant RegionInvalid for ErrorCode
///
public static readonly ErrorCode RegionInvalid = new ErrorCode("RegionInvalid");
///
/// Constant RequestTimeout for ErrorCode
///
public static readonly ErrorCode RequestTimeout = new ErrorCode("RequestTimeout");
///
/// Constant ServiceUnavailable for ErrorCode
///
public static readonly ErrorCode ServiceUnavailable = new ErrorCode("ServiceUnavailable");
///
/// Constant SnapshotDeleted for ErrorCode
///
public static readonly ErrorCode SnapshotDeleted = new ErrorCode("SnapshotDeleted");
///
/// Constant SnapshotIdInvalid for ErrorCode
///
public static readonly ErrorCode SnapshotIdInvalid = new ErrorCode("SnapshotIdInvalid");
///
/// Constant SnapshotInProgress for ErrorCode
///
public static readonly ErrorCode SnapshotInProgress = new ErrorCode("SnapshotInProgress");
///
/// Constant SnapshotNotFound for ErrorCode
///
public static readonly ErrorCode SnapshotNotFound = new ErrorCode("SnapshotNotFound");
///
/// Constant SnapshotScheduleNotFound for ErrorCode
///
public static readonly ErrorCode SnapshotScheduleNotFound = new ErrorCode("SnapshotScheduleNotFound");
///
/// Constant StagingAreaFull for ErrorCode
///
public static readonly ErrorCode StagingAreaFull = new ErrorCode("StagingAreaFull");
///
/// Constant StorageFailure for ErrorCode
///
public static readonly ErrorCode StorageFailure = new ErrorCode("StorageFailure");
///
/// Constant TapeCartridgeNotFound for ErrorCode
///
public static readonly ErrorCode TapeCartridgeNotFound = new ErrorCode("TapeCartridgeNotFound");
///
/// Constant TargetAlreadyExists for ErrorCode
///
public static readonly ErrorCode TargetAlreadyExists = new ErrorCode("TargetAlreadyExists");
///
/// Constant TargetInvalid for ErrorCode
///
public static readonly ErrorCode TargetInvalid = new ErrorCode("TargetInvalid");
///
/// Constant TargetNotFound for ErrorCode
///
public static readonly ErrorCode TargetNotFound = new ErrorCode("TargetNotFound");
///
/// Constant UnauthorizedOperation for ErrorCode
///
public static readonly ErrorCode UnauthorizedOperation = new ErrorCode("UnauthorizedOperation");
///
/// Constant VolumeAlreadyExists for ErrorCode
///
public static readonly ErrorCode VolumeAlreadyExists = new ErrorCode("VolumeAlreadyExists");
///
/// Constant VolumeIdInvalid for ErrorCode
///
public static readonly ErrorCode VolumeIdInvalid = new ErrorCode("VolumeIdInvalid");
///
/// Constant VolumeInUse for ErrorCode
///
public static readonly ErrorCode VolumeInUse = new ErrorCode("VolumeInUse");
///
/// Constant VolumeNotFound for ErrorCode
///
public static readonly ErrorCode VolumeNotFound = new ErrorCode("VolumeNotFound");
///
/// Constant VolumeNotReady for ErrorCode
///
public static readonly ErrorCode VolumeNotReady = new ErrorCode("VolumeNotReady");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ErrorCode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ErrorCode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FileShareType.
///
public class FileShareType : ConstantClass
{
///
/// Constant NFS for FileShareType
///
public static readonly FileShareType NFS = new FileShareType("NFS");
///
/// Constant SMB for FileShareType
///
public static readonly FileShareType SMB = new FileShareType("SMB");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public FileShareType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static FileShareType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator FileShareType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GatewayCapacity.
///
public class GatewayCapacity : ConstantClass
{
///
/// Constant Large for GatewayCapacity
///
public static readonly GatewayCapacity Large = new GatewayCapacity("Large");
///
/// Constant Medium for GatewayCapacity
///
public static readonly GatewayCapacity Medium = new GatewayCapacity("Medium");
///
/// Constant Small for GatewayCapacity
///
public static readonly GatewayCapacity Small = new GatewayCapacity("Small");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public GatewayCapacity(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static GatewayCapacity FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator GatewayCapacity(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HostEnvironment.
///
public class HostEnvironment : ConstantClass
{
///
/// Constant EC2 for HostEnvironment
///
public static readonly HostEnvironment EC2 = new HostEnvironment("EC2");
///
/// Constant HYPERV for HostEnvironment
///
public static readonly HostEnvironment HYPERV = new HostEnvironment("HYPER-V");
///
/// Constant KVM for HostEnvironment
///
public static readonly HostEnvironment KVM = new HostEnvironment("KVM");
///
/// Constant OTHER for HostEnvironment
///
public static readonly HostEnvironment OTHER = new HostEnvironment("OTHER");
///
/// Constant SNOWBALL for HostEnvironment
///
public static readonly HostEnvironment SNOWBALL = new HostEnvironment("SNOWBALL");
///
/// Constant VMWARE for HostEnvironment
///
public static readonly HostEnvironment VMWARE = new HostEnvironment("VMWARE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public HostEnvironment(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static HostEnvironment FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator HostEnvironment(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ObjectACL.
///
public class ObjectACL : ConstantClass
{
///
/// Constant AuthenticatedRead for ObjectACL
///
public static readonly ObjectACL AuthenticatedRead = new ObjectACL("authenticated-read");
///
/// Constant AwsExecRead for ObjectACL
///
public static readonly ObjectACL AwsExecRead = new ObjectACL("aws-exec-read");
///
/// Constant BucketOwnerFullControl for ObjectACL
///
public static readonly ObjectACL BucketOwnerFullControl = new ObjectACL("bucket-owner-full-control");
///
/// Constant BucketOwnerRead for ObjectACL
///
public static readonly ObjectACL BucketOwnerRead = new ObjectACL("bucket-owner-read");
///
/// Constant Private for ObjectACL
///
public static readonly ObjectACL Private = new ObjectACL("private");
///
/// Constant PublicRead for ObjectACL
///
public static readonly ObjectACL PublicRead = new ObjectACL("public-read");
///
/// Constant PublicReadWrite for ObjectACL
///
public static readonly ObjectACL PublicReadWrite = new ObjectACL("public-read-write");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ObjectACL(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ObjectACL FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ObjectACL(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PoolStatus.
///
public class PoolStatus : ConstantClass
{
///
/// Constant ACTIVE for PoolStatus
///
public static readonly PoolStatus ACTIVE = new PoolStatus("ACTIVE");
///
/// Constant DELETED for PoolStatus
///
public static readonly PoolStatus DELETED = new PoolStatus("DELETED");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public PoolStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static PoolStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator PoolStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RetentionLockType.
///
public class RetentionLockType : ConstantClass
{
///
/// Constant COMPLIANCE for RetentionLockType
///
public static readonly RetentionLockType COMPLIANCE = new RetentionLockType("COMPLIANCE");
///
/// Constant GOVERNANCE for RetentionLockType
///
public static readonly RetentionLockType GOVERNANCE = new RetentionLockType("GOVERNANCE");
///
/// Constant NONE for RetentionLockType
///
public static readonly RetentionLockType NONE = new RetentionLockType("NONE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public RetentionLockType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static RetentionLockType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator RetentionLockType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SMBSecurityStrategy.
///
public class SMBSecurityStrategy : ConstantClass
{
///
/// Constant ClientSpecified for SMBSecurityStrategy
///
public static readonly SMBSecurityStrategy ClientSpecified = new SMBSecurityStrategy("ClientSpecified");
///
/// Constant MandatoryEncryption for SMBSecurityStrategy
///
public static readonly SMBSecurityStrategy MandatoryEncryption = new SMBSecurityStrategy("MandatoryEncryption");
///
/// Constant MandatorySigning for SMBSecurityStrategy
///
public static readonly SMBSecurityStrategy MandatorySigning = new SMBSecurityStrategy("MandatorySigning");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public SMBSecurityStrategy(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static SMBSecurityStrategy FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator SMBSecurityStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TapeStorageClass.
///
public class TapeStorageClass : ConstantClass
{
///
/// Constant DEEP_ARCHIVE for TapeStorageClass
///
public static readonly TapeStorageClass DEEP_ARCHIVE = new TapeStorageClass("DEEP_ARCHIVE");
///
/// Constant GLACIER for TapeStorageClass
///
public static readonly TapeStorageClass GLACIER = new TapeStorageClass("GLACIER");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public TapeStorageClass(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static TapeStorageClass FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator TapeStorageClass(string value)
{
return FindValue(value);
}
}
}