Class: TencentCloud::Tse::V20201207::GovernanceInstanceInput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::GovernanceInstanceInput
- Defined in:
- lib/v20201207/models.rb
Overview
实例信息
Instance Attribute Summary collapse
- #EnableHealthCheck ⇒ Object
- #Healthy ⇒ Object
- #Host ⇒ Object
- #InstanceVersion ⇒ Object
- #Isolate ⇒ Object
- #Namespace ⇒ Object
- #Port ⇒ Object
- #Protocol ⇒ Object
- #Service ⇒ Object
- #Ttl ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(service = nil, namespace = nil, weight = nil, healthy = nil, isolate = nil, host = nil, port = nil, protocol = nil, instanceversion = nil, enablehealthcheck = nil, ttl = nil) ⇒ GovernanceInstanceInput
constructor
A new instance of GovernanceInstanceInput.
Constructor Details
#initialize(service = nil, namespace = nil, weight = nil, healthy = nil, isolate = nil, host = nil, port = nil, protocol = nil, instanceversion = nil, enablehealthcheck = nil, ttl = nil) ⇒ GovernanceInstanceInput
Returns a new instance of GovernanceInstanceInput.
7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 |
# File 'lib/v20201207/models.rb', line 7925 def initialize(service=nil, namespace=nil, weight=nil, healthy=nil, isolate=nil, host=nil, port=nil, protocol=nil, instanceversion=nil, enablehealthcheck=nil, ttl=nil) @Service = service @Namespace = namespace @Weight = weight @Healthy = healthy @Isolate = isolate @Host = host @Port = port @Protocol = protocol @InstanceVersion = instanceversion @EnableHealthCheck = enablehealthcheck @Ttl = ttl end |
Instance Attribute Details
#EnableHealthCheck ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def EnableHealthCheck @EnableHealthCheck end |
#Healthy ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Healthy @Healthy end |
#Host ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Host @Host end |
#InstanceVersion ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def InstanceVersion @InstanceVersion end |
#Isolate ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Isolate @Isolate end |
#Namespace ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Namespace @Namespace end |
#Port ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Port @Port end |
#Protocol ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Protocol @Protocol end |
#Service ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Service @Service end |
#Ttl ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Ttl @Ttl end |
#Weight ⇒ Object
7923 7924 7925 |
# File 'lib/v20201207/models.rb', line 7923 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 |
# File 'lib/v20201207/models.rb', line 7939 def deserialize(params) @Service = params['Service'] @Namespace = params['Namespace'] @Weight = params['Weight'] @Healthy = params['Healthy'] @Isolate = params['Isolate'] @Host = params['Host'] @Port = params['Port'] @Protocol = params['Protocol'] @InstanceVersion = params['InstanceVersion'] @EnableHealthCheck = params['EnableHealthCheck'] @Ttl = params['Ttl'] end |