/* * 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 servicediscovery-2017-03-14.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ServiceDiscovery { /// /// Constants used for properties of type CustomHealthStatus. /// public class CustomHealthStatus : ConstantClass { /// /// Constant HEALTHY for CustomHealthStatus /// public static readonly CustomHealthStatus HEALTHY = new CustomHealthStatus("HEALTHY"); /// /// Constant UNHEALTHY for CustomHealthStatus /// public static readonly CustomHealthStatus UNHEALTHY = new CustomHealthStatus("UNHEALTHY"); /// /// 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 CustomHealthStatus(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 CustomHealthStatus 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 CustomHealthStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type FilterCondition. /// public class FilterCondition : ConstantClass { /// /// Constant BEGINS_WITH for FilterCondition /// public static readonly FilterCondition BEGINS_WITH = new FilterCondition("BEGINS_WITH"); /// /// Constant BETWEEN for FilterCondition /// public static readonly FilterCondition BETWEEN = new FilterCondition("BETWEEN"); /// /// Constant EQ for FilterCondition /// public static readonly FilterCondition EQ = new FilterCondition("EQ"); /// /// Constant IN for FilterCondition /// public static readonly FilterCondition IN = new FilterCondition("IN"); /// /// 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 FilterCondition(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 FilterCondition 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 FilterCondition(string value) { return FindValue(value); } } /// /// Constants used for properties of type HealthCheckType. /// public class HealthCheckType : ConstantClass { /// /// Constant HTTP for HealthCheckType /// public static readonly HealthCheckType HTTP = new HealthCheckType("HTTP"); /// /// Constant HTTPS for HealthCheckType /// public static readonly HealthCheckType HTTPS = new HealthCheckType("HTTPS"); /// /// Constant TCP for HealthCheckType /// public static readonly HealthCheckType TCP = new HealthCheckType("TCP"); /// /// 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 HealthCheckType(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 HealthCheckType 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 HealthCheckType(string value) { return FindValue(value); } } /// /// Constants used for properties of type HealthStatus. /// public class HealthStatus : ConstantClass { /// /// Constant HEALTHY for HealthStatus /// public static readonly HealthStatus HEALTHY = new HealthStatus("HEALTHY"); /// /// Constant UNHEALTHY for HealthStatus /// public static readonly HealthStatus UNHEALTHY = new HealthStatus("UNHEALTHY"); /// /// Constant UNKNOWN for HealthStatus /// public static readonly HealthStatus UNKNOWN = new HealthStatus("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 HealthStatus(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 HealthStatus 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 HealthStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type HealthStatusFilter. /// public class HealthStatusFilter : ConstantClass { /// /// Constant ALL for HealthStatusFilter /// public static readonly HealthStatusFilter ALL = new HealthStatusFilter("ALL"); /// /// Constant HEALTHY for HealthStatusFilter /// public static readonly HealthStatusFilter HEALTHY = new HealthStatusFilter("HEALTHY"); /// /// Constant HEALTHY_OR_ELSE_ALL for HealthStatusFilter /// public static readonly HealthStatusFilter HEALTHY_OR_ELSE_ALL = new HealthStatusFilter("HEALTHY_OR_ELSE_ALL"); /// /// Constant UNHEALTHY for HealthStatusFilter /// public static readonly HealthStatusFilter UNHEALTHY = new HealthStatusFilter("UNHEALTHY"); /// /// 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 HealthStatusFilter(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 HealthStatusFilter 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 HealthStatusFilter(string value) { return FindValue(value); } } /// /// Constants used for properties of type NamespaceFilterName. /// public class NamespaceFilterName : ConstantClass { /// /// Constant HTTP_NAME for NamespaceFilterName /// public static readonly NamespaceFilterName HTTP_NAME = new NamespaceFilterName("HTTP_NAME"); /// /// Constant NAME for NamespaceFilterName /// public static readonly NamespaceFilterName NAME = new NamespaceFilterName("NAME"); /// /// Constant TYPE for NamespaceFilterName /// public static readonly NamespaceFilterName TYPE = new NamespaceFilterName("TYPE"); /// /// 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 NamespaceFilterName(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 NamespaceFilterName 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 NamespaceFilterName(string value) { return FindValue(value); } } /// /// Constants used for properties of type NamespaceType. /// public class NamespaceType : ConstantClass { /// /// Constant DNS_PRIVATE for NamespaceType /// public static readonly NamespaceType DNS_PRIVATE = new NamespaceType("DNS_PRIVATE"); /// /// Constant DNS_PUBLIC for NamespaceType /// public static readonly NamespaceType DNS_PUBLIC = new NamespaceType("DNS_PUBLIC"); /// /// Constant HTTP for NamespaceType /// public static readonly NamespaceType HTTP = new NamespaceType("HTTP"); /// /// 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 NamespaceType(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 NamespaceType 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 NamespaceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OperationFilterName. /// public class OperationFilterName : ConstantClass { /// /// Constant NAMESPACE_ID for OperationFilterName /// public static readonly OperationFilterName NAMESPACE_ID = new OperationFilterName("NAMESPACE_ID"); /// /// Constant SERVICE_ID for OperationFilterName /// public static readonly OperationFilterName SERVICE_ID = new OperationFilterName("SERVICE_ID"); /// /// Constant STATUS for OperationFilterName /// public static readonly OperationFilterName STATUS = new OperationFilterName("STATUS"); /// /// Constant TYPE for OperationFilterName /// public static readonly OperationFilterName TYPE = new OperationFilterName("TYPE"); /// /// Constant UPDATE_DATE for OperationFilterName /// public static readonly OperationFilterName UPDATE_DATE = new OperationFilterName("UPDATE_DATE"); /// /// 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 OperationFilterName(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 OperationFilterName 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 OperationFilterName(string value) { return FindValue(value); } } /// /// Constants used for properties of type OperationStatus. /// public class OperationStatus : ConstantClass { /// /// Constant FAIL for OperationStatus /// public static readonly OperationStatus FAIL = new OperationStatus("FAIL"); /// /// Constant PENDING for OperationStatus /// public static readonly OperationStatus PENDING = new OperationStatus("PENDING"); /// /// Constant SUBMITTED for OperationStatus /// public static readonly OperationStatus SUBMITTED = new OperationStatus("SUBMITTED"); /// /// Constant SUCCESS for OperationStatus /// public static readonly OperationStatus SUCCESS = new OperationStatus("SUCCESS"); /// /// 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 OperationStatus(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 OperationStatus 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 OperationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type OperationTargetType. /// public class OperationTargetType : ConstantClass { /// /// Constant INSTANCE for OperationTargetType /// public static readonly OperationTargetType INSTANCE = new OperationTargetType("INSTANCE"); /// /// Constant NAMESPACE for OperationTargetType /// public static readonly OperationTargetType NAMESPACE = new OperationTargetType("NAMESPACE"); /// /// Constant SERVICE for OperationTargetType /// public static readonly OperationTargetType SERVICE = new OperationTargetType("SERVICE"); /// /// 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 OperationTargetType(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 OperationTargetType 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 OperationTargetType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OperationType. /// public class OperationType : ConstantClass { /// /// Constant CREATE_NAMESPACE for OperationType /// public static readonly OperationType CREATE_NAMESPACE = new OperationType("CREATE_NAMESPACE"); /// /// Constant DELETE_NAMESPACE for OperationType /// public static readonly OperationType DELETE_NAMESPACE = new OperationType("DELETE_NAMESPACE"); /// /// Constant DEREGISTER_INSTANCE for OperationType /// public static readonly OperationType DEREGISTER_INSTANCE = new OperationType("DEREGISTER_INSTANCE"); /// /// Constant REGISTER_INSTANCE for OperationType /// public static readonly OperationType REGISTER_INSTANCE = new OperationType("REGISTER_INSTANCE"); /// /// Constant UPDATE_NAMESPACE for OperationType /// public static readonly OperationType UPDATE_NAMESPACE = new OperationType("UPDATE_NAMESPACE"); /// /// Constant UPDATE_SERVICE for OperationType /// public static readonly OperationType UPDATE_SERVICE = new OperationType("UPDATE_SERVICE"); /// /// 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 OperationType(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 OperationType 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 OperationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecordType. /// public class RecordType : ConstantClass { /// /// Constant A for RecordType /// public static readonly RecordType A = new RecordType("A"); /// /// Constant AAAA for RecordType /// public static readonly RecordType AAAA = new RecordType("AAAA"); /// /// Constant CNAME for RecordType /// public static readonly RecordType CNAME = new RecordType("CNAME"); /// /// Constant SRV for RecordType /// public static readonly RecordType SRV = new RecordType("SRV"); /// /// 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 RecordType(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 RecordType 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 RecordType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RoutingPolicy. /// public class RoutingPolicy : ConstantClass { /// /// Constant MULTIVALUE for RoutingPolicy /// public static readonly RoutingPolicy MULTIVALUE = new RoutingPolicy("MULTIVALUE"); /// /// Constant WEIGHTED for RoutingPolicy /// public static readonly RoutingPolicy WEIGHTED = new RoutingPolicy("WEIGHTED"); /// /// 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 RoutingPolicy(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 RoutingPolicy 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 RoutingPolicy(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceFilterName. /// public class ServiceFilterName : ConstantClass { /// /// Constant NAMESPACE_ID for ServiceFilterName /// public static readonly ServiceFilterName NAMESPACE_ID = new ServiceFilterName("NAMESPACE_ID"); /// /// 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 ServiceFilterName(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 ServiceFilterName 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 ServiceFilterName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceType. /// public class ServiceType : ConstantClass { /// /// Constant DNS for ServiceType /// public static readonly ServiceType DNS = new ServiceType("DNS"); /// /// Constant DNS_HTTP for ServiceType /// public static readonly ServiceType DNS_HTTP = new ServiceType("DNS_HTTP"); /// /// Constant HTTP for ServiceType /// public static readonly ServiceType HTTP = new ServiceType("HTTP"); /// /// 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 ServiceType(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 ServiceType 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 ServiceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceTypeOption. /// public class ServiceTypeOption : ConstantClass { /// /// Constant HTTP for ServiceTypeOption /// public static readonly ServiceTypeOption HTTP = new ServiceTypeOption("HTTP"); /// /// 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 ServiceTypeOption(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 ServiceTypeOption 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 ServiceTypeOption(string value) { return FindValue(value); } } }