@@ -194,7 +194,7 @@ def __init__(self, label=None, weight=1, automation='auto', endpoints=None,
194194 self ._endpoint_up_count = endpoint_up_count
195195 self ._eligible = eligible
196196 self ._service_id = self ._dsf_record_set_id = self .uri = None
197- self ._dsf_record_id = None
197+ self ._dsf_record_id = self . _status = None
198198 self ._implicitPublish = True
199199 for key , val in kwargs .items ():
200200 setattr (self , '_' + key , val )
@@ -408,6 +408,13 @@ def eligible(self, value):
408408 if self ._implicitPublish :
409409 self ._eligible = value
410410
411+ @property
412+ def status (self ):
413+ """Status of Record"""
414+ self .refresh ()
415+ return self ._status
416+
417+
411418 def to_json (self , svc_id = None , skip_svc = False ):
412419 """Convert this DSFRecord to a json blob"""
413420
@@ -437,11 +444,11 @@ def to_json(self, svc_id=None, skip_svc=False):
437444
438445 @property
439446 def implicitPublish (self ):
447+ "Toggle for this specific :class:`DSFRecord` for turning on and off implicit Publishing for record Updates."
440448 return self ._implicitPublish
441449
442450 @implicitPublish .setter
443451 def implicitPublish (self , value ):
444- "Toggle for this specific :class:`DSFRecord` for turning on and off implicit Publishing for record Updates."
445452 if value != True and value != False :
446453 raise Exception ('Value must be True or False' )
447454 self ._implicitPublish = value
@@ -1737,11 +1744,11 @@ def record_set_id(self):
17371744
17381745 @property
17391746 def implicitPublish (self ):
1747+ "Toggle for this specific :class:`DSFRecordSet` for turning on and off implicit Publishing for record Updates."
17401748 return self ._implicitPublish
17411749
17421750 @implicitPublish .setter
17431751 def implicitPublish (self , value ):
1744- "Toggle for this specific :class:`DSFRecordSet` for turning on and off implicit Publishing for record Updates."
17451752 if value != True and value != False :
17461753 raise Exception ('Value must be True or False' )
17471754 self ._implicitPublish = value
@@ -2003,11 +2010,11 @@ def failover_chain_id(self):
20032010
20042011 @property
20052012 def implicitPublish (self ):
2013+ "Toggle for this specific :class:`DSFFailoverChain` for turning on and off implicit Publishing for record Updates."
20062014 return self ._implicitPublish
20072015
20082016 @implicitPublish .setter
20092017 def implicitPublish (self , value ):
2010- "Toggle for this specific :class:`DSFFailoverChain` for turning on and off implicit Publishing for record Updates."
20112018 if value != True and value != False :
20122019 raise Exception ('Value must be True or False' )
20132020 self ._implicitPublish = value
@@ -2262,11 +2269,11 @@ def to_json(self, svc_id=None, skip_svc=False):
22622269
22632270 @property
22642271 def implicitPublish (self ):
2272+ "Toggle for this specific :class:`DSFResponsePool` for turning on and off implicit Publishing for record Updates."
22652273 return self ._implicitPublish
22662274
22672275 @implicitPublish .setter
22682276 def implicitPublish (self , value ):
2269- "Toggle for this specific :class:`DSFResponsePool` for turning on and off implicit Publishing for record Updates."
22702277 if value != True and value != False :
22712278 raise Exception ('Value must be True or False' )
22722279 self ._implicitPublish = value
@@ -2560,11 +2567,11 @@ def ruleset_id(self):
25602567
25612568 @property
25622569 def implicitPublish (self ):
2570+ "Toggle for this specific :class:`DSFRuleset` for turning on and off implicit Publishing for record Updates."
25632571 return self ._implicitPublish
25642572
25652573 @implicitPublish .setter
25662574 def implicitPublish (self , value ):
2567- "Toggle for this specific :class:`DSFRuleset` for turning on and off implicit Publishing for record Updates."
25682575 if value != True and value != False :
25692576 raise Exception ('Value must be True or False' )
25702577 self ._implicitPublish = value
@@ -3435,11 +3442,11 @@ def ttl(self, value):
34353442
34363443 @property
34373444 def implicitPublish (self ):
3445+ "Toggle for this specific :class:`TrafficDirector` for turning on and off implicit Publishing for record Updates."
34383446 return self ._implicitPublish
34393447
34403448 @implicitPublish .setter
34413449 def implicitPublish (self , value ):
3442- "Toggle for this specific :class:`TrafficDirector` for turning on and off implicit Publishing for record Updates."
34433450 if value != True and value != False :
34443451 raise Exception ('Value must be True or False' )
34453452 self ._implicitPublish = value
0 commit comments