/* * 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 autoscaling-2011-01-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AutoScaling { /// /// Constants used for properties of type AcceleratorManufacturer. /// public class AcceleratorManufacturer : ConstantClass { /// /// Constant AmazonWebServices for AcceleratorManufacturer /// public static readonly AcceleratorManufacturer AmazonWebServices = new AcceleratorManufacturer("amazon-web-services"); /// /// Constant Amd for AcceleratorManufacturer /// public static readonly AcceleratorManufacturer Amd = new AcceleratorManufacturer("amd"); /// /// Constant Nvidia for AcceleratorManufacturer /// public static readonly AcceleratorManufacturer Nvidia = new AcceleratorManufacturer("nvidia"); /// /// Constant Xilinx for AcceleratorManufacturer /// public static readonly AcceleratorManufacturer Xilinx = new AcceleratorManufacturer("xilinx"); /// /// 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 AcceleratorManufacturer(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 AcceleratorManufacturer 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 AcceleratorManufacturer(string value) { return FindValue(value); } } /// /// Constants used for properties of type AcceleratorName. /// public class AcceleratorName : ConstantClass { /// /// Constant A100 for AcceleratorName /// public static readonly AcceleratorName A100 = new AcceleratorName("a100"); /// /// Constant K80 for AcceleratorName /// public static readonly AcceleratorName K80 = new AcceleratorName("k80"); /// /// Constant M60 for AcceleratorName /// public static readonly AcceleratorName M60 = new AcceleratorName("m60"); /// /// Constant RadeonProV520 for AcceleratorName /// public static readonly AcceleratorName RadeonProV520 = new AcceleratorName("radeon-pro-v520"); /// /// Constant T4 for AcceleratorName /// public static readonly AcceleratorName T4 = new AcceleratorName("t4"); /// /// Constant V100 for AcceleratorName /// public static readonly AcceleratorName V100 = new AcceleratorName("v100"); /// /// Constant Vu9p for AcceleratorName /// public static readonly AcceleratorName Vu9p = new AcceleratorName("vu9p"); /// /// 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 AcceleratorName(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 AcceleratorName 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 AcceleratorName(string value) { return FindValue(value); } } /// /// Constants used for properties of type AcceleratorType. /// public class AcceleratorType : ConstantClass { /// /// Constant Fpga for AcceleratorType /// public static readonly AcceleratorType Fpga = new AcceleratorType("fpga"); /// /// Constant Gpu for AcceleratorType /// public static readonly AcceleratorType Gpu = new AcceleratorType("gpu"); /// /// Constant Inference for AcceleratorType /// public static readonly AcceleratorType Inference = new AcceleratorType("inference"); /// /// 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 AcceleratorType(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 AcceleratorType 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 AcceleratorType(string value) { return FindValue(value); } } /// /// Constants used for properties of type BareMetal. /// public class BareMetal : ConstantClass { /// /// Constant Excluded for BareMetal /// public static readonly BareMetal Excluded = new BareMetal("excluded"); /// /// Constant Included for BareMetal /// public static readonly BareMetal Included = new BareMetal("included"); /// /// Constant Required for BareMetal /// public static readonly BareMetal Required = new BareMetal("required"); /// /// 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 BareMetal(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 BareMetal 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 BareMetal(string value) { return FindValue(value); } } /// /// Constants used for properties of type BurstablePerformance. /// public class BurstablePerformance : ConstantClass { /// /// Constant Excluded for BurstablePerformance /// public static readonly BurstablePerformance Excluded = new BurstablePerformance("excluded"); /// /// Constant Included for BurstablePerformance /// public static readonly BurstablePerformance Included = new BurstablePerformance("included"); /// /// Constant Required for BurstablePerformance /// public static readonly BurstablePerformance Required = new BurstablePerformance("required"); /// /// 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 BurstablePerformance(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 BurstablePerformance 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 BurstablePerformance(string value) { return FindValue(value); } } /// /// Constants used for properties of type CpuManufacturer. /// public class CpuManufacturer : ConstantClass { /// /// Constant AmazonWebServices for CpuManufacturer /// public static readonly CpuManufacturer AmazonWebServices = new CpuManufacturer("amazon-web-services"); /// /// Constant Amd for CpuManufacturer /// public static readonly CpuManufacturer Amd = new CpuManufacturer("amd"); /// /// Constant Intel for CpuManufacturer /// public static readonly CpuManufacturer Intel = new CpuManufacturer("intel"); /// /// 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 CpuManufacturer(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 CpuManufacturer 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 CpuManufacturer(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceGeneration. /// public class InstanceGeneration : ConstantClass { /// /// Constant Current for InstanceGeneration /// public static readonly InstanceGeneration Current = new InstanceGeneration("current"); /// /// Constant Previous for InstanceGeneration /// public static readonly InstanceGeneration Previous = new InstanceGeneration("previous"); /// /// 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 InstanceGeneration(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 InstanceGeneration 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 InstanceGeneration(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceMetadataEndpointState. /// public class InstanceMetadataEndpointState : ConstantClass { /// /// Constant Disabled for InstanceMetadataEndpointState /// public static readonly InstanceMetadataEndpointState Disabled = new InstanceMetadataEndpointState("disabled"); /// /// Constant Enabled for InstanceMetadataEndpointState /// public static readonly InstanceMetadataEndpointState Enabled = new InstanceMetadataEndpointState("enabled"); /// /// 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 InstanceMetadataEndpointState(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 InstanceMetadataEndpointState 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 InstanceMetadataEndpointState(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceMetadataHttpTokensState. /// public class InstanceMetadataHttpTokensState : ConstantClass { /// /// Constant Optional for InstanceMetadataHttpTokensState /// public static readonly InstanceMetadataHttpTokensState Optional = new InstanceMetadataHttpTokensState("optional"); /// /// Constant Required for InstanceMetadataHttpTokensState /// public static readonly InstanceMetadataHttpTokensState Required = new InstanceMetadataHttpTokensState("required"); /// /// 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 InstanceMetadataHttpTokensState(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 InstanceMetadataHttpTokensState 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 InstanceMetadataHttpTokensState(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceRefreshStatus. /// public class InstanceRefreshStatus : ConstantClass { /// /// Constant Cancelled for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus Cancelled = new InstanceRefreshStatus("Cancelled"); /// /// Constant Cancelling for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus Cancelling = new InstanceRefreshStatus("Cancelling"); /// /// Constant Failed for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus Failed = new InstanceRefreshStatus("Failed"); /// /// Constant InProgress for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus InProgress = new InstanceRefreshStatus("InProgress"); /// /// Constant Pending for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus Pending = new InstanceRefreshStatus("Pending"); /// /// Constant RollbackFailed for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus RollbackFailed = new InstanceRefreshStatus("RollbackFailed"); /// /// Constant RollbackInProgress for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus RollbackInProgress = new InstanceRefreshStatus("RollbackInProgress"); /// /// Constant RollbackSuccessful for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus RollbackSuccessful = new InstanceRefreshStatus("RollbackSuccessful"); /// /// Constant Successful for InstanceRefreshStatus /// public static readonly InstanceRefreshStatus Successful = new InstanceRefreshStatus("Successful"); /// /// 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 InstanceRefreshStatus(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 InstanceRefreshStatus 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 InstanceRefreshStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type LifecycleState. /// public class LifecycleState : ConstantClass { /// /// Constant Detached for LifecycleState /// public static readonly LifecycleState Detached = new LifecycleState("Detached"); /// /// Constant Detaching for LifecycleState /// public static readonly LifecycleState Detaching = new LifecycleState("Detaching"); /// /// Constant EnteringStandby for LifecycleState /// public static readonly LifecycleState EnteringStandby = new LifecycleState("EnteringStandby"); /// /// Constant InService for LifecycleState /// public static readonly LifecycleState InService = new LifecycleState("InService"); /// /// Constant Pending for LifecycleState /// public static readonly LifecycleState Pending = new LifecycleState("Pending"); /// /// Constant PendingProceed for LifecycleState /// public static readonly LifecycleState PendingProceed = new LifecycleState("Pending:Proceed"); /// /// Constant PendingWait for LifecycleState /// public static readonly LifecycleState PendingWait = new LifecycleState("Pending:Wait"); /// /// Constant Quarantined for LifecycleState /// public static readonly LifecycleState Quarantined = new LifecycleState("Quarantined"); /// /// Constant Standby for LifecycleState /// public static readonly LifecycleState Standby = new LifecycleState("Standby"); /// /// Constant Terminated for LifecycleState /// public static readonly LifecycleState Terminated = new LifecycleState("Terminated"); /// /// Constant Terminating for LifecycleState /// public static readonly LifecycleState Terminating = new LifecycleState("Terminating"); /// /// Constant TerminatingProceed for LifecycleState /// public static readonly LifecycleState TerminatingProceed = new LifecycleState("Terminating:Proceed"); /// /// Constant TerminatingWait for LifecycleState /// public static readonly LifecycleState TerminatingWait = new LifecycleState("Terminating:Wait"); /// /// Constant WarmedHibernated for LifecycleState /// public static readonly LifecycleState WarmedHibernated = new LifecycleState("Warmed:Hibernated"); /// /// Constant WarmedPending for LifecycleState /// public static readonly LifecycleState WarmedPending = new LifecycleState("Warmed:Pending"); /// /// Constant WarmedPendingProceed for LifecycleState /// public static readonly LifecycleState WarmedPendingProceed = new LifecycleState("Warmed:Pending:Proceed"); /// /// Constant WarmedPendingWait for LifecycleState /// public static readonly LifecycleState WarmedPendingWait = new LifecycleState("Warmed:Pending:Wait"); /// /// Constant WarmedRunning for LifecycleState /// public static readonly LifecycleState WarmedRunning = new LifecycleState("Warmed:Running"); /// /// Constant WarmedStopped for LifecycleState /// public static readonly LifecycleState WarmedStopped = new LifecycleState("Warmed:Stopped"); /// /// Constant WarmedTerminated for LifecycleState /// public static readonly LifecycleState WarmedTerminated = new LifecycleState("Warmed:Terminated"); /// /// Constant WarmedTerminating for LifecycleState /// public static readonly LifecycleState WarmedTerminating = new LifecycleState("Warmed:Terminating"); /// /// Constant WarmedTerminatingProceed for LifecycleState /// public static readonly LifecycleState WarmedTerminatingProceed = new LifecycleState("Warmed:Terminating:Proceed"); /// /// Constant WarmedTerminatingWait for LifecycleState /// public static readonly LifecycleState WarmedTerminatingWait = new LifecycleState("Warmed:Terminating:Wait"); /// /// 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 LifecycleState(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 LifecycleState 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 LifecycleState(string value) { return FindValue(value); } } /// /// Constants used for properties of type LocalStorage. /// public class LocalStorage : ConstantClass { /// /// Constant Excluded for LocalStorage /// public static readonly LocalStorage Excluded = new LocalStorage("excluded"); /// /// Constant Included for LocalStorage /// public static readonly LocalStorage Included = new LocalStorage("included"); /// /// Constant Required for LocalStorage /// public static readonly LocalStorage Required = new LocalStorage("required"); /// /// 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 LocalStorage(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 LocalStorage 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 LocalStorage(string value) { return FindValue(value); } } /// /// Constants used for properties of type LocalStorageType. /// public class LocalStorageType : ConstantClass { /// /// Constant Hdd for LocalStorageType /// public static readonly LocalStorageType Hdd = new LocalStorageType("hdd"); /// /// Constant Ssd for LocalStorageType /// public static readonly LocalStorageType Ssd = new LocalStorageType("ssd"); /// /// 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 LocalStorageType(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 LocalStorageType 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 LocalStorageType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricStatistic. /// public class MetricStatistic : ConstantClass { /// /// Constant Average for MetricStatistic /// public static readonly MetricStatistic Average = new MetricStatistic("Average"); /// /// Constant Maximum for MetricStatistic /// public static readonly MetricStatistic Maximum = new MetricStatistic("Maximum"); /// /// Constant Minimum for MetricStatistic /// public static readonly MetricStatistic Minimum = new MetricStatistic("Minimum"); /// /// Constant SampleCount for MetricStatistic /// public static readonly MetricStatistic SampleCount = new MetricStatistic("SampleCount"); /// /// Constant Sum for MetricStatistic /// public static readonly MetricStatistic Sum = new MetricStatistic("Sum"); /// /// 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 MetricStatistic(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 MetricStatistic 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 MetricStatistic(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricType. /// public class MetricType : ConstantClass { /// /// Constant ALBRequestCountPerTarget for MetricType /// public static readonly MetricType ALBRequestCountPerTarget = new MetricType("ALBRequestCountPerTarget"); /// /// Constant ASGAverageCPUUtilization for MetricType /// public static readonly MetricType ASGAverageCPUUtilization = new MetricType("ASGAverageCPUUtilization"); /// /// Constant ASGAverageNetworkIn for MetricType /// public static readonly MetricType ASGAverageNetworkIn = new MetricType("ASGAverageNetworkIn"); /// /// Constant ASGAverageNetworkOut for MetricType /// public static readonly MetricType ASGAverageNetworkOut = new MetricType("ASGAverageNetworkOut"); /// /// 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 MetricType(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 MetricType 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 MetricType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PredefinedLoadMetricType. /// public class PredefinedLoadMetricType : ConstantClass { /// /// Constant ALBTargetGroupRequestCount for PredefinedLoadMetricType /// public static readonly PredefinedLoadMetricType ALBTargetGroupRequestCount = new PredefinedLoadMetricType("ALBTargetGroupRequestCount"); /// /// Constant ASGTotalCPUUtilization for PredefinedLoadMetricType /// public static readonly PredefinedLoadMetricType ASGTotalCPUUtilization = new PredefinedLoadMetricType("ASGTotalCPUUtilization"); /// /// Constant ASGTotalNetworkIn for PredefinedLoadMetricType /// public static readonly PredefinedLoadMetricType ASGTotalNetworkIn = new PredefinedLoadMetricType("ASGTotalNetworkIn"); /// /// Constant ASGTotalNetworkOut for PredefinedLoadMetricType /// public static readonly PredefinedLoadMetricType ASGTotalNetworkOut = new PredefinedLoadMetricType("ASGTotalNetworkOut"); /// /// 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 PredefinedLoadMetricType(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 PredefinedLoadMetricType 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 PredefinedLoadMetricType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PredefinedMetricPairType. /// public class PredefinedMetricPairType : ConstantClass { /// /// Constant ALBRequestCount for PredefinedMetricPairType /// public static readonly PredefinedMetricPairType ALBRequestCount = new PredefinedMetricPairType("ALBRequestCount"); /// /// Constant ASGCPUUtilization for PredefinedMetricPairType /// public static readonly PredefinedMetricPairType ASGCPUUtilization = new PredefinedMetricPairType("ASGCPUUtilization"); /// /// Constant ASGNetworkIn for PredefinedMetricPairType /// public static readonly PredefinedMetricPairType ASGNetworkIn = new PredefinedMetricPairType("ASGNetworkIn"); /// /// Constant ASGNetworkOut for PredefinedMetricPairType /// public static readonly PredefinedMetricPairType ASGNetworkOut = new PredefinedMetricPairType("ASGNetworkOut"); /// /// 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 PredefinedMetricPairType(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 PredefinedMetricPairType 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 PredefinedMetricPairType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PredefinedScalingMetricType. /// public class PredefinedScalingMetricType : ConstantClass { /// /// Constant ALBRequestCountPerTarget for PredefinedScalingMetricType /// public static readonly PredefinedScalingMetricType ALBRequestCountPerTarget = new PredefinedScalingMetricType("ALBRequestCountPerTarget"); /// /// Constant ASGAverageCPUUtilization for PredefinedScalingMetricType /// public static readonly PredefinedScalingMetricType ASGAverageCPUUtilization = new PredefinedScalingMetricType("ASGAverageCPUUtilization"); /// /// Constant ASGAverageNetworkIn for PredefinedScalingMetricType /// public static readonly PredefinedScalingMetricType ASGAverageNetworkIn = new PredefinedScalingMetricType("ASGAverageNetworkIn"); /// /// Constant ASGAverageNetworkOut for PredefinedScalingMetricType /// public static readonly PredefinedScalingMetricType ASGAverageNetworkOut = new PredefinedScalingMetricType("ASGAverageNetworkOut"); /// /// 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 PredefinedScalingMetricType(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 PredefinedScalingMetricType 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 PredefinedScalingMetricType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PredictiveScalingMaxCapacityBreachBehavior. /// public class PredictiveScalingMaxCapacityBreachBehavior : ConstantClass { /// /// Constant HonorMaxCapacity for PredictiveScalingMaxCapacityBreachBehavior /// public static readonly PredictiveScalingMaxCapacityBreachBehavior HonorMaxCapacity = new PredictiveScalingMaxCapacityBreachBehavior("HonorMaxCapacity"); /// /// Constant IncreaseMaxCapacity for PredictiveScalingMaxCapacityBreachBehavior /// public static readonly PredictiveScalingMaxCapacityBreachBehavior IncreaseMaxCapacity = new PredictiveScalingMaxCapacityBreachBehavior("IncreaseMaxCapacity"); /// /// 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 PredictiveScalingMaxCapacityBreachBehavior(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 PredictiveScalingMaxCapacityBreachBehavior 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 PredictiveScalingMaxCapacityBreachBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type PredictiveScalingMode. /// public class PredictiveScalingMode : ConstantClass { /// /// Constant ForecastAndScale for PredictiveScalingMode /// public static readonly PredictiveScalingMode ForecastAndScale = new PredictiveScalingMode("ForecastAndScale"); /// /// Constant ForecastOnly for PredictiveScalingMode /// public static readonly PredictiveScalingMode ForecastOnly = new PredictiveScalingMode("ForecastOnly"); /// /// 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 PredictiveScalingMode(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 PredictiveScalingMode 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 PredictiveScalingMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type RefreshStrategy. /// public class RefreshStrategy : ConstantClass { /// /// Constant Rolling for RefreshStrategy /// public static readonly RefreshStrategy Rolling = new RefreshStrategy("Rolling"); /// /// 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 RefreshStrategy(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 RefreshStrategy 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 RefreshStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScaleInProtectedInstances. /// public class ScaleInProtectedInstances : ConstantClass { /// /// Constant Ignore for ScaleInProtectedInstances /// public static readonly ScaleInProtectedInstances Ignore = new ScaleInProtectedInstances("Ignore"); /// /// Constant Refresh for ScaleInProtectedInstances /// public static readonly ScaleInProtectedInstances Refresh = new ScaleInProtectedInstances("Refresh"); /// /// Constant Wait for ScaleInProtectedInstances /// public static readonly ScaleInProtectedInstances Wait = new ScaleInProtectedInstances("Wait"); /// /// 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 ScaleInProtectedInstances(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 ScaleInProtectedInstances 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 ScaleInProtectedInstances(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalingActivityStatusCode. /// public class ScalingActivityStatusCode : ConstantClass { /// /// Constant Cancelled for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Cancelled = new ScalingActivityStatusCode("Cancelled"); /// /// Constant Failed for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Failed = new ScalingActivityStatusCode("Failed"); /// /// Constant InProgress for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode InProgress = new ScalingActivityStatusCode("InProgress"); /// /// Constant MidLifecycleAction for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode MidLifecycleAction = new ScalingActivityStatusCode("MidLifecycleAction"); /// /// Constant PendingSpotBidPlacement for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode PendingSpotBidPlacement = new ScalingActivityStatusCode("PendingSpotBidPlacement"); /// /// Constant PreInService for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode PreInService = new ScalingActivityStatusCode("PreInService"); /// /// Constant Successful for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode Successful = new ScalingActivityStatusCode("Successful"); /// /// Constant WaitingForConnectionDraining for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode WaitingForConnectionDraining = new ScalingActivityStatusCode("WaitingForConnectionDraining"); /// /// Constant WaitingForELBConnectionDraining for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode WaitingForELBConnectionDraining = new ScalingActivityStatusCode("WaitingForELBConnectionDraining"); /// /// Constant WaitingForInstanceId for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode WaitingForInstanceId = new ScalingActivityStatusCode("WaitingForInstanceId"); /// /// Constant WaitingForInstanceWarmup for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode WaitingForInstanceWarmup = new ScalingActivityStatusCode("WaitingForInstanceWarmup"); /// /// Constant WaitingForSpotInstanceId for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode WaitingForSpotInstanceId = new ScalingActivityStatusCode("WaitingForSpotInstanceId"); /// /// Constant WaitingForSpotInstanceRequestId for ScalingActivityStatusCode /// public static readonly ScalingActivityStatusCode WaitingForSpotInstanceRequestId = new ScalingActivityStatusCode("WaitingForSpotInstanceRequestId"); /// /// 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 ScalingActivityStatusCode(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 ScalingActivityStatusCode 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 ScalingActivityStatusCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type StandbyInstances. /// public class StandbyInstances : ConstantClass { /// /// Constant Ignore for StandbyInstances /// public static readonly StandbyInstances Ignore = new StandbyInstances("Ignore"); /// /// Constant Terminate for StandbyInstances /// public static readonly StandbyInstances Terminate = new StandbyInstances("Terminate"); /// /// Constant Wait for StandbyInstances /// public static readonly StandbyInstances Wait = new StandbyInstances("Wait"); /// /// 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 StandbyInstances(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 StandbyInstances 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 StandbyInstances(string value) { return FindValue(value); } } /// /// Constants used for properties of type WarmPoolState. /// public class WarmPoolState : ConstantClass { /// /// Constant Hibernated for WarmPoolState /// public static readonly WarmPoolState Hibernated = new WarmPoolState("Hibernated"); /// /// Constant Running for WarmPoolState /// public static readonly WarmPoolState Running = new WarmPoolState("Running"); /// /// Constant Stopped for WarmPoolState /// public static readonly WarmPoolState Stopped = new WarmPoolState("Stopped"); /// /// 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 WarmPoolState(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 WarmPoolState 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 WarmPoolState(string value) { return FindValue(value); } } /// /// Constants used for properties of type WarmPoolStatus. /// public class WarmPoolStatus : ConstantClass { /// /// Constant PendingDelete for WarmPoolStatus /// public static readonly WarmPoolStatus PendingDelete = new WarmPoolStatus("PendingDelete"); /// /// 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 WarmPoolStatus(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 WarmPoolStatus 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 WarmPoolStatus(string value) { return FindValue(value); } } }