/*
* 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 appmesh-2019-01-25.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AppMesh
{
///
/// Constants used for properties of type DefaultGatewayRouteRewrite.
///
public class DefaultGatewayRouteRewrite : ConstantClass
{
///
/// Constant DISABLED for DefaultGatewayRouteRewrite
///
public static readonly DefaultGatewayRouteRewrite DISABLED = new DefaultGatewayRouteRewrite("DISABLED");
///
/// Constant ENABLED for DefaultGatewayRouteRewrite
///
public static readonly DefaultGatewayRouteRewrite ENABLED = new DefaultGatewayRouteRewrite("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 DefaultGatewayRouteRewrite(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 DefaultGatewayRouteRewrite 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 DefaultGatewayRouteRewrite(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DnsResponseType.
///
public class DnsResponseType : ConstantClass
{
///
/// Constant ENDPOINTS for DnsResponseType
///
public static readonly DnsResponseType ENDPOINTS = new DnsResponseType("ENDPOINTS");
///
/// Constant LOADBALANCER for DnsResponseType
///
public static readonly DnsResponseType LOADBALANCER = new DnsResponseType("LOADBALANCER");
///
/// 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 DnsResponseType(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 DnsResponseType 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 DnsResponseType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DurationUnit.
///
public class DurationUnit : ConstantClass
{
///
/// Constant Ms for DurationUnit
///
public static readonly DurationUnit Ms = new DurationUnit("ms");
///
/// Constant S for DurationUnit
///
public static readonly DurationUnit S = new DurationUnit("s");
///
/// 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 DurationUnit(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 DurationUnit 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 DurationUnit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EgressFilterType.
///
public class EgressFilterType : ConstantClass
{
///
/// Constant ALLOW_ALL for EgressFilterType
///
public static readonly EgressFilterType ALLOW_ALL = new EgressFilterType("ALLOW_ALL");
///
/// Constant DROP_ALL for EgressFilterType
///
public static readonly EgressFilterType DROP_ALL = new EgressFilterType("DROP_ALL");
///
/// 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 EgressFilterType(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 EgressFilterType 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 EgressFilterType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GatewayRouteStatusCode.
///
public class GatewayRouteStatusCode : ConstantClass
{
///
/// Constant ACTIVE for GatewayRouteStatusCode
///
public static readonly GatewayRouteStatusCode ACTIVE = new GatewayRouteStatusCode("ACTIVE");
///
/// Constant DELETED for GatewayRouteStatusCode
///
public static readonly GatewayRouteStatusCode DELETED = new GatewayRouteStatusCode("DELETED");
///
/// Constant INACTIVE for GatewayRouteStatusCode
///
public static readonly GatewayRouteStatusCode INACTIVE = new GatewayRouteStatusCode("INACTIVE");
///
/// 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 GatewayRouteStatusCode(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 GatewayRouteStatusCode 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 GatewayRouteStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GrpcRetryPolicyEvent.
///
public class GrpcRetryPolicyEvent : ConstantClass
{
///
/// Constant Cancelled for GrpcRetryPolicyEvent
///
public static readonly GrpcRetryPolicyEvent Cancelled = new GrpcRetryPolicyEvent("cancelled");
///
/// Constant DeadlineExceeded for GrpcRetryPolicyEvent
///
public static readonly GrpcRetryPolicyEvent DeadlineExceeded = new GrpcRetryPolicyEvent("deadline-exceeded");
///
/// Constant Internal for GrpcRetryPolicyEvent
///
public static readonly GrpcRetryPolicyEvent Internal = new GrpcRetryPolicyEvent("internal");
///
/// Constant ResourceExhausted for GrpcRetryPolicyEvent
///
public static readonly GrpcRetryPolicyEvent ResourceExhausted = new GrpcRetryPolicyEvent("resource-exhausted");
///
/// Constant Unavailable for GrpcRetryPolicyEvent
///
public static readonly GrpcRetryPolicyEvent Unavailable = new GrpcRetryPolicyEvent("unavailable");
///
/// 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 GrpcRetryPolicyEvent(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 GrpcRetryPolicyEvent 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 GrpcRetryPolicyEvent(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HttpMethod.
///
public class HttpMethod : ConstantClass
{
///
/// Constant CONNECT for HttpMethod
///
public static readonly HttpMethod CONNECT = new HttpMethod("CONNECT");
///
/// Constant DELETE for HttpMethod
///
public static readonly HttpMethod DELETE = new HttpMethod("DELETE");
///
/// Constant GET for HttpMethod
///
public static readonly HttpMethod GET = new HttpMethod("GET");
///
/// Constant HEAD for HttpMethod
///
public static readonly HttpMethod HEAD = new HttpMethod("HEAD");
///
/// Constant OPTIONS for HttpMethod
///
public static readonly HttpMethod OPTIONS = new HttpMethod("OPTIONS");
///
/// Constant PATCH for HttpMethod
///
public static readonly HttpMethod PATCH = new HttpMethod("PATCH");
///
/// Constant POST for HttpMethod
///
public static readonly HttpMethod POST = new HttpMethod("POST");
///
/// Constant PUT for HttpMethod
///
public static readonly HttpMethod PUT = new HttpMethod("PUT");
///
/// Constant TRACE for HttpMethod
///
public static readonly HttpMethod TRACE = new HttpMethod("TRACE");
///
/// 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 HttpMethod(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 HttpMethod 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 HttpMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HttpScheme.
///
public class HttpScheme : ConstantClass
{
///
/// Constant Http for HttpScheme
///
public static readonly HttpScheme Http = new HttpScheme("http");
///
/// Constant Https for HttpScheme
///
public static readonly HttpScheme Https = new HttpScheme("https");
///
/// 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 HttpScheme(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 HttpScheme 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 HttpScheme(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IpPreference.
///
public class IpPreference : ConstantClass
{
///
/// Constant IPv4_ONLY for IpPreference
///
public static readonly IpPreference IPv4_ONLY = new IpPreference("IPv4_ONLY");
///
/// Constant IPv4_PREFERRED for IpPreference
///
public static readonly IpPreference IPv4_PREFERRED = new IpPreference("IPv4_PREFERRED");
///
/// Constant IPv6_ONLY for IpPreference
///
public static readonly IpPreference IPv6_ONLY = new IpPreference("IPv6_ONLY");
///
/// Constant IPv6_PREFERRED for IpPreference
///
public static readonly IpPreference IPv6_PREFERRED = new IpPreference("IPv6_PREFERRED");
///
/// 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 IpPreference(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 IpPreference 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 IpPreference(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ListenerTlsMode.
///
public class ListenerTlsMode : ConstantClass
{
///
/// Constant DISABLED for ListenerTlsMode
///
public static readonly ListenerTlsMode DISABLED = new ListenerTlsMode("DISABLED");
///
/// Constant PERMISSIVE for ListenerTlsMode
///
public static readonly ListenerTlsMode PERMISSIVE = new ListenerTlsMode("PERMISSIVE");
///
/// Constant STRICT for ListenerTlsMode
///
public static readonly ListenerTlsMode STRICT = new ListenerTlsMode("STRICT");
///
/// 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 ListenerTlsMode(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 ListenerTlsMode 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 ListenerTlsMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MeshStatusCode.
///
public class MeshStatusCode : ConstantClass
{
///
/// Constant ACTIVE for MeshStatusCode
///
public static readonly MeshStatusCode ACTIVE = new MeshStatusCode("ACTIVE");
///
/// Constant DELETED for MeshStatusCode
///
public static readonly MeshStatusCode DELETED = new MeshStatusCode("DELETED");
///
/// Constant INACTIVE for MeshStatusCode
///
public static readonly MeshStatusCode INACTIVE = new MeshStatusCode("INACTIVE");
///
/// 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 MeshStatusCode(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 MeshStatusCode 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 MeshStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PortProtocol.
///
public class PortProtocol : ConstantClass
{
///
/// Constant Grpc for PortProtocol
///
public static readonly PortProtocol Grpc = new PortProtocol("grpc");
///
/// Constant Http for PortProtocol
///
public static readonly PortProtocol Http = new PortProtocol("http");
///
/// Constant Http2 for PortProtocol
///
public static readonly PortProtocol Http2 = new PortProtocol("http2");
///
/// Constant Tcp for PortProtocol
///
public static readonly PortProtocol Tcp = new PortProtocol("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 PortProtocol(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 PortProtocol 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 PortProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RouteStatusCode.
///
public class RouteStatusCode : ConstantClass
{
///
/// Constant ACTIVE for RouteStatusCode
///
public static readonly RouteStatusCode ACTIVE = new RouteStatusCode("ACTIVE");
///
/// Constant DELETED for RouteStatusCode
///
public static readonly RouteStatusCode DELETED = new RouteStatusCode("DELETED");
///
/// Constant INACTIVE for RouteStatusCode
///
public static readonly RouteStatusCode INACTIVE = new RouteStatusCode("INACTIVE");
///
/// 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 RouteStatusCode(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 RouteStatusCode 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 RouteStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TcpRetryPolicyEvent.
///
public class TcpRetryPolicyEvent : ConstantClass
{
///
/// Constant ConnectionError for TcpRetryPolicyEvent
///
public static readonly TcpRetryPolicyEvent ConnectionError = new TcpRetryPolicyEvent("connection-error");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public TcpRetryPolicyEvent(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 TcpRetryPolicyEvent 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 TcpRetryPolicyEvent(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualGatewayListenerTlsMode.
///
public class VirtualGatewayListenerTlsMode : ConstantClass
{
///
/// Constant DISABLED for VirtualGatewayListenerTlsMode
///
public static readonly VirtualGatewayListenerTlsMode DISABLED = new VirtualGatewayListenerTlsMode("DISABLED");
///
/// Constant PERMISSIVE for VirtualGatewayListenerTlsMode
///
public static readonly VirtualGatewayListenerTlsMode PERMISSIVE = new VirtualGatewayListenerTlsMode("PERMISSIVE");
///
/// Constant STRICT for VirtualGatewayListenerTlsMode
///
public static readonly VirtualGatewayListenerTlsMode STRICT = new VirtualGatewayListenerTlsMode("STRICT");
///
/// 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 VirtualGatewayListenerTlsMode(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 VirtualGatewayListenerTlsMode 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 VirtualGatewayListenerTlsMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualGatewayPortProtocol.
///
public class VirtualGatewayPortProtocol : ConstantClass
{
///
/// Constant Grpc for VirtualGatewayPortProtocol
///
public static readonly VirtualGatewayPortProtocol Grpc = new VirtualGatewayPortProtocol("grpc");
///
/// Constant Http for VirtualGatewayPortProtocol
///
public static readonly VirtualGatewayPortProtocol Http = new VirtualGatewayPortProtocol("http");
///
/// Constant Http2 for VirtualGatewayPortProtocol
///
public static readonly VirtualGatewayPortProtocol Http2 = new VirtualGatewayPortProtocol("http2");
///
/// 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 VirtualGatewayPortProtocol(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 VirtualGatewayPortProtocol 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 VirtualGatewayPortProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualGatewayStatusCode.
///
public class VirtualGatewayStatusCode : ConstantClass
{
///
/// Constant ACTIVE for VirtualGatewayStatusCode
///
public static readonly VirtualGatewayStatusCode ACTIVE = new VirtualGatewayStatusCode("ACTIVE");
///
/// Constant DELETED for VirtualGatewayStatusCode
///
public static readonly VirtualGatewayStatusCode DELETED = new VirtualGatewayStatusCode("DELETED");
///
/// Constant INACTIVE for VirtualGatewayStatusCode
///
public static readonly VirtualGatewayStatusCode INACTIVE = new VirtualGatewayStatusCode("INACTIVE");
///
/// 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 VirtualGatewayStatusCode(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 VirtualGatewayStatusCode 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 VirtualGatewayStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualNodeStatusCode.
///
public class VirtualNodeStatusCode : ConstantClass
{
///
/// Constant ACTIVE for VirtualNodeStatusCode
///
public static readonly VirtualNodeStatusCode ACTIVE = new VirtualNodeStatusCode("ACTIVE");
///
/// Constant DELETED for VirtualNodeStatusCode
///
public static readonly VirtualNodeStatusCode DELETED = new VirtualNodeStatusCode("DELETED");
///
/// Constant INACTIVE for VirtualNodeStatusCode
///
public static readonly VirtualNodeStatusCode INACTIVE = new VirtualNodeStatusCode("INACTIVE");
///
/// 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 VirtualNodeStatusCode(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 VirtualNodeStatusCode 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 VirtualNodeStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualRouterStatusCode.
///
public class VirtualRouterStatusCode : ConstantClass
{
///
/// Constant ACTIVE for VirtualRouterStatusCode
///
public static readonly VirtualRouterStatusCode ACTIVE = new VirtualRouterStatusCode("ACTIVE");
///
/// Constant DELETED for VirtualRouterStatusCode
///
public static readonly VirtualRouterStatusCode DELETED = new VirtualRouterStatusCode("DELETED");
///
/// Constant INACTIVE for VirtualRouterStatusCode
///
public static readonly VirtualRouterStatusCode INACTIVE = new VirtualRouterStatusCode("INACTIVE");
///
/// 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 VirtualRouterStatusCode(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 VirtualRouterStatusCode 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 VirtualRouterStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualServiceStatusCode.
///
public class VirtualServiceStatusCode : ConstantClass
{
///
/// Constant ACTIVE for VirtualServiceStatusCode
///
public static readonly VirtualServiceStatusCode ACTIVE = new VirtualServiceStatusCode("ACTIVE");
///
/// Constant DELETED for VirtualServiceStatusCode
///
public static readonly VirtualServiceStatusCode DELETED = new VirtualServiceStatusCode("DELETED");
///
/// Constant INACTIVE for VirtualServiceStatusCode
///
public static readonly VirtualServiceStatusCode INACTIVE = new VirtualServiceStatusCode("INACTIVE");
///
/// 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 VirtualServiceStatusCode(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 VirtualServiceStatusCode 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 VirtualServiceStatusCode(string value)
{
return FindValue(value);
}
}
}