/* * 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 codedeploy-2014-10-06.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CodeDeploy { /// /// Constants used for properties of type ApplicationRevisionSortBy. /// public class ApplicationRevisionSortBy : ConstantClass { /// /// Constant FirstUsedTime for ApplicationRevisionSortBy /// public static readonly ApplicationRevisionSortBy FirstUsedTime = new ApplicationRevisionSortBy("firstUsedTime"); /// /// Constant LastUsedTime for ApplicationRevisionSortBy /// public static readonly ApplicationRevisionSortBy LastUsedTime = new ApplicationRevisionSortBy("lastUsedTime"); /// /// Constant RegisterTime for ApplicationRevisionSortBy /// public static readonly ApplicationRevisionSortBy RegisterTime = new ApplicationRevisionSortBy("registerTime"); /// /// 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 ApplicationRevisionSortBy(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 ApplicationRevisionSortBy 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 ApplicationRevisionSortBy(string value) { return FindValue(value); } } /// /// Constants used for properties of type AutoRollbackEvent. /// public class AutoRollbackEvent : ConstantClass { /// /// Constant DEPLOYMENT_FAILURE for AutoRollbackEvent /// public static readonly AutoRollbackEvent DEPLOYMENT_FAILURE = new AutoRollbackEvent("DEPLOYMENT_FAILURE"); /// /// Constant DEPLOYMENT_STOP_ON_ALARM for AutoRollbackEvent /// public static readonly AutoRollbackEvent DEPLOYMENT_STOP_ON_ALARM = new AutoRollbackEvent("DEPLOYMENT_STOP_ON_ALARM"); /// /// Constant DEPLOYMENT_STOP_ON_REQUEST for AutoRollbackEvent /// public static readonly AutoRollbackEvent DEPLOYMENT_STOP_ON_REQUEST = new AutoRollbackEvent("DEPLOYMENT_STOP_ON_REQUEST"); /// /// 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 AutoRollbackEvent(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 AutoRollbackEvent 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 AutoRollbackEvent(string value) { return FindValue(value); } } /// /// Constants used for properties of type BundleType. /// public class BundleType : ConstantClass { /// /// Constant JSON for BundleType /// public static readonly BundleType JSON = new BundleType("JSON"); /// /// Constant Tar for BundleType /// public static readonly BundleType Tar = new BundleType("tar"); /// /// Constant Tgz for BundleType /// public static readonly BundleType Tgz = new BundleType("tgz"); /// /// Constant YAML for BundleType /// public static readonly BundleType YAML = new BundleType("YAML"); /// /// Constant Zip for BundleType /// public static readonly BundleType Zip = new BundleType("zip"); /// /// 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 BundleType(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 BundleType 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 BundleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComputePlatform. /// public class ComputePlatform : ConstantClass { /// /// Constant ECS for ComputePlatform /// public static readonly ComputePlatform ECS = new ComputePlatform("ECS"); /// /// Constant Lambda for ComputePlatform /// public static readonly ComputePlatform Lambda = new ComputePlatform("Lambda"); /// /// Constant Server for ComputePlatform /// public static readonly ComputePlatform Server = new ComputePlatform("Server"); /// /// 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 ComputePlatform(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 ComputePlatform 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 ComputePlatform(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentCreator. /// public class DeploymentCreator : ConstantClass { /// /// Constant Autoscaling for DeploymentCreator /// public static readonly DeploymentCreator Autoscaling = new DeploymentCreator("autoscaling"); /// /// Constant CloudFormation for DeploymentCreator /// public static readonly DeploymentCreator CloudFormation = new DeploymentCreator("CloudFormation"); /// /// Constant CloudFormationRollback for DeploymentCreator /// public static readonly DeploymentCreator CloudFormationRollback = new DeploymentCreator("CloudFormationRollback"); /// /// Constant CodeDeploy for DeploymentCreator /// public static readonly DeploymentCreator CodeDeploy = new DeploymentCreator("CodeDeploy"); /// /// Constant CodeDeployAutoUpdate for DeploymentCreator /// public static readonly DeploymentCreator CodeDeployAutoUpdate = new DeploymentCreator("CodeDeployAutoUpdate"); /// /// Constant CodeDeployRollback for DeploymentCreator /// public static readonly DeploymentCreator CodeDeployRollback = new DeploymentCreator("codeDeployRollback"); /// /// Constant User for DeploymentCreator /// public static readonly DeploymentCreator User = new DeploymentCreator("user"); /// /// 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 DeploymentCreator(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 DeploymentCreator 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 DeploymentCreator(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentOption. /// public class DeploymentOption : ConstantClass { /// /// Constant WITH_TRAFFIC_CONTROL for DeploymentOption /// public static readonly DeploymentOption WITH_TRAFFIC_CONTROL = new DeploymentOption("WITH_TRAFFIC_CONTROL"); /// /// Constant WITHOUT_TRAFFIC_CONTROL for DeploymentOption /// public static readonly DeploymentOption WITHOUT_TRAFFIC_CONTROL = new DeploymentOption("WITHOUT_TRAFFIC_CONTROL"); /// /// 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 DeploymentOption(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 DeploymentOption 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 DeploymentOption(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentReadyAction. /// public class DeploymentReadyAction : ConstantClass { /// /// Constant CONTINUE_DEPLOYMENT for DeploymentReadyAction /// public static readonly DeploymentReadyAction CONTINUE_DEPLOYMENT = new DeploymentReadyAction("CONTINUE_DEPLOYMENT"); /// /// Constant STOP_DEPLOYMENT for DeploymentReadyAction /// public static readonly DeploymentReadyAction STOP_DEPLOYMENT = new DeploymentReadyAction("STOP_DEPLOYMENT"); /// /// 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 DeploymentReadyAction(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 DeploymentReadyAction 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 DeploymentReadyAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentStatus. /// public class DeploymentStatus : ConstantClass { /// /// Constant Baking for DeploymentStatus /// public static readonly DeploymentStatus Baking = new DeploymentStatus("Baking"); /// /// Constant Created for DeploymentStatus /// public static readonly DeploymentStatus Created = new DeploymentStatus("Created"); /// /// Constant Failed for DeploymentStatus /// public static readonly DeploymentStatus Failed = new DeploymentStatus("Failed"); /// /// Constant InProgress for DeploymentStatus /// public static readonly DeploymentStatus InProgress = new DeploymentStatus("InProgress"); /// /// Constant Queued for DeploymentStatus /// public static readonly DeploymentStatus Queued = new DeploymentStatus("Queued"); /// /// Constant Ready for DeploymentStatus /// public static readonly DeploymentStatus Ready = new DeploymentStatus("Ready"); /// /// Constant Stopped for DeploymentStatus /// public static readonly DeploymentStatus Stopped = new DeploymentStatus("Stopped"); /// /// Constant Succeeded for DeploymentStatus /// public static readonly DeploymentStatus Succeeded = new DeploymentStatus("Succeeded"); /// /// 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 DeploymentStatus(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 DeploymentStatus 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 DeploymentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentTargetType. /// public class DeploymentTargetType : ConstantClass { /// /// Constant CloudFormationTarget for DeploymentTargetType /// public static readonly DeploymentTargetType CloudFormationTarget = new DeploymentTargetType("CloudFormationTarget"); /// /// Constant ECSTarget for DeploymentTargetType /// public static readonly DeploymentTargetType ECSTarget = new DeploymentTargetType("ECSTarget"); /// /// Constant InstanceTarget for DeploymentTargetType /// public static readonly DeploymentTargetType InstanceTarget = new DeploymentTargetType("InstanceTarget"); /// /// Constant LambdaTarget for DeploymentTargetType /// public static readonly DeploymentTargetType LambdaTarget = new DeploymentTargetType("LambdaTarget"); /// /// 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 DeploymentTargetType(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 DeploymentTargetType 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 DeploymentTargetType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentType. /// public class DeploymentType : ConstantClass { /// /// Constant BLUE_GREEN for DeploymentType /// public static readonly DeploymentType BLUE_GREEN = new DeploymentType("BLUE_GREEN"); /// /// Constant IN_PLACE for DeploymentType /// public static readonly DeploymentType IN_PLACE = new DeploymentType("IN_PLACE"); /// /// 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 DeploymentType(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 DeploymentType 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 DeploymentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentWaitType. /// public class DeploymentWaitType : ConstantClass { /// /// Constant READY_WAIT for DeploymentWaitType /// public static readonly DeploymentWaitType READY_WAIT = new DeploymentWaitType("READY_WAIT"); /// /// Constant TERMINATION_WAIT for DeploymentWaitType /// public static readonly DeploymentWaitType TERMINATION_WAIT = new DeploymentWaitType("TERMINATION_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 DeploymentWaitType(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 DeploymentWaitType 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 DeploymentWaitType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EC2TagFilterType. /// public class EC2TagFilterType : ConstantClass { /// /// Constant KEY_AND_VALUE for EC2TagFilterType /// public static readonly EC2TagFilterType KEY_AND_VALUE = new EC2TagFilterType("KEY_AND_VALUE"); /// /// Constant KEY_ONLY for EC2TagFilterType /// public static readonly EC2TagFilterType KEY_ONLY = new EC2TagFilterType("KEY_ONLY"); /// /// Constant VALUE_ONLY for EC2TagFilterType /// public static readonly EC2TagFilterType VALUE_ONLY = new EC2TagFilterType("VALUE_ONLY"); /// /// 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 EC2TagFilterType(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 EC2TagFilterType 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 EC2TagFilterType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ErrorCode. /// public class ErrorCode : ConstantClass { /// /// Constant AGENT_ISSUE for ErrorCode /// public static readonly ErrorCode AGENT_ISSUE = new ErrorCode("AGENT_ISSUE"); /// /// Constant ALARM_ACTIVE for ErrorCode /// public static readonly ErrorCode ALARM_ACTIVE = new ErrorCode("ALARM_ACTIVE"); /// /// Constant APPLICATION_MISSING for ErrorCode /// public static readonly ErrorCode APPLICATION_MISSING = new ErrorCode("APPLICATION_MISSING"); /// /// Constant AUTO_SCALING_CONFIGURATION for ErrorCode /// public static readonly ErrorCode AUTO_SCALING_CONFIGURATION = new ErrorCode("AUTO_SCALING_CONFIGURATION"); /// /// Constant AUTO_SCALING_IAM_ROLE_PERMISSIONS for ErrorCode /// public static readonly ErrorCode AUTO_SCALING_IAM_ROLE_PERMISSIONS = new ErrorCode("AUTO_SCALING_IAM_ROLE_PERMISSIONS"); /// /// Constant AUTOSCALING_VALIDATION_ERROR for ErrorCode /// public static readonly ErrorCode AUTOSCALING_VALIDATION_ERROR = new ErrorCode("AUTOSCALING_VALIDATION_ERROR"); /// /// Constant CLOUDFORMATION_STACK_FAILURE for ErrorCode /// public static readonly ErrorCode CLOUDFORMATION_STACK_FAILURE = new ErrorCode("CLOUDFORMATION_STACK_FAILURE"); /// /// Constant CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND for ErrorCode /// public static readonly ErrorCode CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND = new ErrorCode("CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND"); /// /// Constant CUSTOMER_APPLICATION_UNHEALTHY for ErrorCode /// public static readonly ErrorCode CUSTOMER_APPLICATION_UNHEALTHY = new ErrorCode("CUSTOMER_APPLICATION_UNHEALTHY"); /// /// Constant DEPLOYMENT_GROUP_MISSING for ErrorCode /// public static readonly ErrorCode DEPLOYMENT_GROUP_MISSING = new ErrorCode("DEPLOYMENT_GROUP_MISSING"); /// /// Constant ECS_UPDATE_ERROR for ErrorCode /// public static readonly ErrorCode ECS_UPDATE_ERROR = new ErrorCode("ECS_UPDATE_ERROR"); /// /// Constant ELASTIC_LOAD_BALANCING_INVALID for ErrorCode /// public static readonly ErrorCode ELASTIC_LOAD_BALANCING_INVALID = new ErrorCode("ELASTIC_LOAD_BALANCING_INVALID"); /// /// Constant ELB_INVALID_INSTANCE for ErrorCode /// public static readonly ErrorCode ELB_INVALID_INSTANCE = new ErrorCode("ELB_INVALID_INSTANCE"); /// /// Constant HEALTH_CONSTRAINTS for ErrorCode /// public static readonly ErrorCode HEALTH_CONSTRAINTS = new ErrorCode("HEALTH_CONSTRAINTS"); /// /// Constant HEALTH_CONSTRAINTS_INVALID for ErrorCode /// public static readonly ErrorCode HEALTH_CONSTRAINTS_INVALID = new ErrorCode("HEALTH_CONSTRAINTS_INVALID"); /// /// Constant HOOK_EXECUTION_FAILURE for ErrorCode /// public static readonly ErrorCode HOOK_EXECUTION_FAILURE = new ErrorCode("HOOK_EXECUTION_FAILURE"); /// /// Constant IAM_ROLE_MISSING for ErrorCode /// public static readonly ErrorCode IAM_ROLE_MISSING = new ErrorCode("IAM_ROLE_MISSING"); /// /// Constant IAM_ROLE_PERMISSIONS for ErrorCode /// public static readonly ErrorCode IAM_ROLE_PERMISSIONS = new ErrorCode("IAM_ROLE_PERMISSIONS"); /// /// Constant INTERNAL_ERROR for ErrorCode /// public static readonly ErrorCode INTERNAL_ERROR = new ErrorCode("INTERNAL_ERROR"); /// /// Constant INVALID_ECS_SERVICE for ErrorCode /// public static readonly ErrorCode INVALID_ECS_SERVICE = new ErrorCode("INVALID_ECS_SERVICE"); /// /// Constant INVALID_LAMBDA_CONFIGURATION for ErrorCode /// public static readonly ErrorCode INVALID_LAMBDA_CONFIGURATION = new ErrorCode("INVALID_LAMBDA_CONFIGURATION"); /// /// Constant INVALID_LAMBDA_FUNCTION for ErrorCode /// public static readonly ErrorCode INVALID_LAMBDA_FUNCTION = new ErrorCode("INVALID_LAMBDA_FUNCTION"); /// /// Constant INVALID_REVISION for ErrorCode /// public static readonly ErrorCode INVALID_REVISION = new ErrorCode("INVALID_REVISION"); /// /// Constant MANUAL_STOP for ErrorCode /// public static readonly ErrorCode MANUAL_STOP = new ErrorCode("MANUAL_STOP"); /// /// Constant MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION for ErrorCode /// public static readonly ErrorCode MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION = new ErrorCode("MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION"); /// /// Constant MISSING_ELB_INFORMATION for ErrorCode /// public static readonly ErrorCode MISSING_ELB_INFORMATION = new ErrorCode("MISSING_ELB_INFORMATION"); /// /// Constant MISSING_GITHUB_TOKEN for ErrorCode /// public static readonly ErrorCode MISSING_GITHUB_TOKEN = new ErrorCode("MISSING_GITHUB_TOKEN"); /// /// Constant NO_EC2_SUBSCRIPTION for ErrorCode /// public static readonly ErrorCode NO_EC2_SUBSCRIPTION = new ErrorCode("NO_EC2_SUBSCRIPTION"); /// /// Constant NO_INSTANCES for ErrorCode /// public static readonly ErrorCode NO_INSTANCES = new ErrorCode("NO_INSTANCES"); /// /// Constant OVER_MAX_INSTANCES for ErrorCode /// public static readonly ErrorCode OVER_MAX_INSTANCES = new ErrorCode("OVER_MAX_INSTANCES"); /// /// Constant RESOURCE_LIMIT_EXCEEDED for ErrorCode /// public static readonly ErrorCode RESOURCE_LIMIT_EXCEEDED = new ErrorCode("RESOURCE_LIMIT_EXCEEDED"); /// /// Constant REVISION_MISSING for ErrorCode /// public static readonly ErrorCode REVISION_MISSING = new ErrorCode("REVISION_MISSING"); /// /// Constant THROTTLED for ErrorCode /// public static readonly ErrorCode THROTTLED = new ErrorCode("THROTTLED"); /// /// Constant TIMEOUT for ErrorCode /// public static readonly ErrorCode TIMEOUT = new ErrorCode("TIMEOUT"); /// /// 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 FileExistsBehavior. /// public class FileExistsBehavior : ConstantClass { /// /// Constant DISALLOW for FileExistsBehavior /// public static readonly FileExistsBehavior DISALLOW = new FileExistsBehavior("DISALLOW"); /// /// Constant OVERWRITE for FileExistsBehavior /// public static readonly FileExistsBehavior OVERWRITE = new FileExistsBehavior("OVERWRITE"); /// /// Constant RETAIN for FileExistsBehavior /// public static readonly FileExistsBehavior RETAIN = new FileExistsBehavior("RETAIN"); /// /// 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 FileExistsBehavior(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 FileExistsBehavior 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 FileExistsBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type GreenFleetProvisioningAction. /// public class GreenFleetProvisioningAction : ConstantClass { /// /// Constant COPY_AUTO_SCALING_GROUP for GreenFleetProvisioningAction /// public static readonly GreenFleetProvisioningAction COPY_AUTO_SCALING_GROUP = new GreenFleetProvisioningAction("COPY_AUTO_SCALING_GROUP"); /// /// Constant DISCOVER_EXISTING for GreenFleetProvisioningAction /// public static readonly GreenFleetProvisioningAction DISCOVER_EXISTING = new GreenFleetProvisioningAction("DISCOVER_EXISTING"); /// /// 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 GreenFleetProvisioningAction(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 GreenFleetProvisioningAction 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 GreenFleetProvisioningAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceAction. /// public class InstanceAction : ConstantClass { /// /// Constant KEEP_ALIVE for InstanceAction /// public static readonly InstanceAction KEEP_ALIVE = new InstanceAction("KEEP_ALIVE"); /// /// Constant TERMINATE for InstanceAction /// public static readonly InstanceAction TERMINATE = new InstanceAction("TERMINATE"); /// /// 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 InstanceAction(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 InstanceAction 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 InstanceAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceStatus. /// public class InstanceStatus : ConstantClass { /// /// Constant Failed for InstanceStatus /// public static readonly InstanceStatus Failed = new InstanceStatus("Failed"); /// /// Constant InProgress for InstanceStatus /// public static readonly InstanceStatus InProgress = new InstanceStatus("InProgress"); /// /// Constant Pending for InstanceStatus /// public static readonly InstanceStatus Pending = new InstanceStatus("Pending"); /// /// Constant Ready for InstanceStatus /// public static readonly InstanceStatus Ready = new InstanceStatus("Ready"); /// /// Constant Skipped for InstanceStatus /// public static readonly InstanceStatus Skipped = new InstanceStatus("Skipped"); /// /// Constant Succeeded for InstanceStatus /// public static readonly InstanceStatus Succeeded = new InstanceStatus("Succeeded"); /// /// Constant Unknown for InstanceStatus /// public static readonly InstanceStatus Unknown = new InstanceStatus("Unknown"); /// /// 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 InstanceStatus(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 InstanceStatus 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 InstanceStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceType. /// public class InstanceType : ConstantClass { /// /// Constant Blue for InstanceType /// public static readonly InstanceType Blue = new InstanceType("Blue"); /// /// Constant Green for InstanceType /// public static readonly InstanceType Green = new InstanceType("Green"); /// /// 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 InstanceType(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 InstanceType 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 InstanceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LifecycleErrorCode. /// public class LifecycleErrorCode : ConstantClass { /// /// Constant ScriptFailed for LifecycleErrorCode /// public static readonly LifecycleErrorCode ScriptFailed = new LifecycleErrorCode("ScriptFailed"); /// /// Constant ScriptMissing for LifecycleErrorCode /// public static readonly LifecycleErrorCode ScriptMissing = new LifecycleErrorCode("ScriptMissing"); /// /// Constant ScriptNotExecutable for LifecycleErrorCode /// public static readonly LifecycleErrorCode ScriptNotExecutable = new LifecycleErrorCode("ScriptNotExecutable"); /// /// Constant ScriptTimedOut for LifecycleErrorCode /// public static readonly LifecycleErrorCode ScriptTimedOut = new LifecycleErrorCode("ScriptTimedOut"); /// /// Constant Success for LifecycleErrorCode /// public static readonly LifecycleErrorCode Success = new LifecycleErrorCode("Success"); /// /// Constant UnknownError for LifecycleErrorCode /// public static readonly LifecycleErrorCode UnknownError = new LifecycleErrorCode("UnknownError"); /// /// 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 LifecycleErrorCode(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 LifecycleErrorCode 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 LifecycleErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type LifecycleEventStatus. /// public class LifecycleEventStatus : ConstantClass { /// /// Constant Failed for LifecycleEventStatus /// public static readonly LifecycleEventStatus Failed = new LifecycleEventStatus("Failed"); /// /// Constant InProgress for LifecycleEventStatus /// public static readonly LifecycleEventStatus InProgress = new LifecycleEventStatus("InProgress"); /// /// Constant Pending for LifecycleEventStatus /// public static readonly LifecycleEventStatus Pending = new LifecycleEventStatus("Pending"); /// /// Constant Skipped for LifecycleEventStatus /// public static readonly LifecycleEventStatus Skipped = new LifecycleEventStatus("Skipped"); /// /// Constant Succeeded for LifecycleEventStatus /// public static readonly LifecycleEventStatus Succeeded = new LifecycleEventStatus("Succeeded"); /// /// Constant Unknown for LifecycleEventStatus /// public static readonly LifecycleEventStatus Unknown = new LifecycleEventStatus("Unknown"); /// /// 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 LifecycleEventStatus(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 LifecycleEventStatus 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 LifecycleEventStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ListStateFilterAction. /// public class ListStateFilterAction : ConstantClass { /// /// Constant Exclude for ListStateFilterAction /// public static readonly ListStateFilterAction Exclude = new ListStateFilterAction("exclude"); /// /// Constant Ignore for ListStateFilterAction /// public static readonly ListStateFilterAction Ignore = new ListStateFilterAction("ignore"); /// /// Constant Include for ListStateFilterAction /// public static readonly ListStateFilterAction Include = new ListStateFilterAction("include"); /// /// 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 ListStateFilterAction(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 ListStateFilterAction 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 ListStateFilterAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type MinimumHealthyHostsType. /// public class MinimumHealthyHostsType : ConstantClass { /// /// Constant FLEET_PERCENT for MinimumHealthyHostsType /// public static readonly MinimumHealthyHostsType FLEET_PERCENT = new MinimumHealthyHostsType("FLEET_PERCENT"); /// /// Constant HOST_COUNT for MinimumHealthyHostsType /// public static readonly MinimumHealthyHostsType HOST_COUNT = new MinimumHealthyHostsType("HOST_COUNT"); /// /// 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 MinimumHealthyHostsType(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 MinimumHealthyHostsType 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 MinimumHealthyHostsType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OutdatedInstancesStrategy. /// public class OutdatedInstancesStrategy : ConstantClass { /// /// Constant IGNORE for OutdatedInstancesStrategy /// public static readonly OutdatedInstancesStrategy IGNORE = new OutdatedInstancesStrategy("IGNORE"); /// /// Constant UPDATE for OutdatedInstancesStrategy /// public static readonly OutdatedInstancesStrategy UPDATE = new OutdatedInstancesStrategy("UPDATE"); /// /// 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 OutdatedInstancesStrategy(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 OutdatedInstancesStrategy 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 OutdatedInstancesStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type RegistrationStatus. /// public class RegistrationStatus : ConstantClass { /// /// Constant Deregistered for RegistrationStatus /// public static readonly RegistrationStatus Deregistered = new RegistrationStatus("Deregistered"); /// /// Constant Registered for RegistrationStatus /// public static readonly RegistrationStatus Registered = new RegistrationStatus("Registered"); /// /// 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 RegistrationStatus(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 RegistrationStatus 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 RegistrationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type RevisionLocationType. /// public class RevisionLocationType : ConstantClass { /// /// Constant AppSpecContent for RevisionLocationType /// public static readonly RevisionLocationType AppSpecContent = new RevisionLocationType("AppSpecContent"); /// /// Constant GitHub for RevisionLocationType /// public static readonly RevisionLocationType GitHub = new RevisionLocationType("GitHub"); /// /// Constant S3 for RevisionLocationType /// public static readonly RevisionLocationType S3 = new RevisionLocationType("S3"); /// /// Constant String for RevisionLocationType /// public static readonly RevisionLocationType String = new RevisionLocationType("String"); /// /// 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 RevisionLocationType(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 RevisionLocationType 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 RevisionLocationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortOrder. /// public class SortOrder : ConstantClass { /// /// Constant Ascending for SortOrder /// public static readonly SortOrder Ascending = new SortOrder("ascending"); /// /// Constant Descending for SortOrder /// public static readonly SortOrder Descending = new SortOrder("descending"); /// /// 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 SortOrder(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 SortOrder 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 SortOrder(string value) { return FindValue(value); } } /// /// Constants used for properties of type StopStatus. /// public class StopStatus : ConstantClass { /// /// Constant Pending for StopStatus /// public static readonly StopStatus Pending = new StopStatus("Pending"); /// /// Constant Succeeded for StopStatus /// public static readonly StopStatus Succeeded = new StopStatus("Succeeded"); /// /// 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 StopStatus(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 StopStatus 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 StopStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type TagFilterType. /// public class TagFilterType : ConstantClass { /// /// Constant KEY_AND_VALUE for TagFilterType /// public static readonly TagFilterType KEY_AND_VALUE = new TagFilterType("KEY_AND_VALUE"); /// /// Constant KEY_ONLY for TagFilterType /// public static readonly TagFilterType KEY_ONLY = new TagFilterType("KEY_ONLY"); /// /// Constant VALUE_ONLY for TagFilterType /// public static readonly TagFilterType VALUE_ONLY = new TagFilterType("VALUE_ONLY"); /// /// 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 TagFilterType(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 TagFilterType 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 TagFilterType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetFilterName. /// public class TargetFilterName : ConstantClass { /// /// Constant ServerInstanceLabel for TargetFilterName /// public static readonly TargetFilterName ServerInstanceLabel = new TargetFilterName("ServerInstanceLabel"); /// /// Constant TargetStatus for TargetFilterName /// public static readonly TargetFilterName TargetStatus = new TargetFilterName("TargetStatus"); /// /// 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 TargetFilterName(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 TargetFilterName 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 TargetFilterName(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetLabel. /// public class TargetLabel : ConstantClass { /// /// Constant Blue for TargetLabel /// public static readonly TargetLabel Blue = new TargetLabel("Blue"); /// /// Constant Green for TargetLabel /// public static readonly TargetLabel Green = new TargetLabel("Green"); /// /// 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 TargetLabel(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 TargetLabel 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 TargetLabel(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetStatus. /// public class TargetStatus : ConstantClass { /// /// Constant Failed for TargetStatus /// public static readonly TargetStatus Failed = new TargetStatus("Failed"); /// /// Constant InProgress for TargetStatus /// public static readonly TargetStatus InProgress = new TargetStatus("InProgress"); /// /// Constant Pending for TargetStatus /// public static readonly TargetStatus Pending = new TargetStatus("Pending"); /// /// Constant Ready for TargetStatus /// public static readonly TargetStatus Ready = new TargetStatus("Ready"); /// /// Constant Skipped for TargetStatus /// public static readonly TargetStatus Skipped = new TargetStatus("Skipped"); /// /// Constant Succeeded for TargetStatus /// public static readonly TargetStatus Succeeded = new TargetStatus("Succeeded"); /// /// Constant Unknown for TargetStatus /// public static readonly TargetStatus Unknown = new TargetStatus("Unknown"); /// /// 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 TargetStatus(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 TargetStatus 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 TargetStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type TrafficRoutingType. /// public class TrafficRoutingType : ConstantClass { /// /// Constant AllAtOnce for TrafficRoutingType /// public static readonly TrafficRoutingType AllAtOnce = new TrafficRoutingType("AllAtOnce"); /// /// Constant TimeBasedCanary for TrafficRoutingType /// public static readonly TrafficRoutingType TimeBasedCanary = new TrafficRoutingType("TimeBasedCanary"); /// /// Constant TimeBasedLinear for TrafficRoutingType /// public static readonly TrafficRoutingType TimeBasedLinear = new TrafficRoutingType("TimeBasedLinear"); /// /// 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 TrafficRoutingType(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 TrafficRoutingType 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 TrafficRoutingType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TriggerEventType. /// public class TriggerEventType : ConstantClass { /// /// Constant DeploymentFailure for TriggerEventType /// public static readonly TriggerEventType DeploymentFailure = new TriggerEventType("DeploymentFailure"); /// /// Constant DeploymentReady for TriggerEventType /// public static readonly TriggerEventType DeploymentReady = new TriggerEventType("DeploymentReady"); /// /// Constant DeploymentRollback for TriggerEventType /// public static readonly TriggerEventType DeploymentRollback = new TriggerEventType("DeploymentRollback"); /// /// Constant DeploymentStart for TriggerEventType /// public static readonly TriggerEventType DeploymentStart = new TriggerEventType("DeploymentStart"); /// /// Constant DeploymentStop for TriggerEventType /// public static readonly TriggerEventType DeploymentStop = new TriggerEventType("DeploymentStop"); /// /// Constant DeploymentSuccess for TriggerEventType /// public static readonly TriggerEventType DeploymentSuccess = new TriggerEventType("DeploymentSuccess"); /// /// Constant InstanceFailure for TriggerEventType /// public static readonly TriggerEventType InstanceFailure = new TriggerEventType("InstanceFailure"); /// /// Constant InstanceReady for TriggerEventType /// public static readonly TriggerEventType InstanceReady = new TriggerEventType("InstanceReady"); /// /// Constant InstanceStart for TriggerEventType /// public static readonly TriggerEventType InstanceStart = new TriggerEventType("InstanceStart"); /// /// Constant InstanceSuccess for TriggerEventType /// public static readonly TriggerEventType InstanceSuccess = new TriggerEventType("InstanceSuccess"); /// /// 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 TriggerEventType(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 TriggerEventType 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 TriggerEventType(string value) { return FindValue(value); } } }