예제 #1
0
 def deploy_changes(self):
     deploy_data = self.connection.put_request(
         "clusters/{0}/changes".format(self.id),
         {}
     )
     return DeployTask.init_with_data(deploy_data)
예제 #2
0
 def deploy_changes(self):
     deploy_data = self.connection.put_request(
         "clusters/{0}/changes".format(self.id),
         {}
     )
     return DeployTask.init_with_data(deploy_data)
예제 #3
0
 def redeploy_changes(self, dry_run=False, noop_run=False):
     deploy_data = self.connection.put_request(
         "clusters/{0}/changes/redeploy".format(self.id), {},
         dry_run=int(dry_run),
         noop_run=int(noop_run))
     return DeployTask.init_with_data(deploy_data)
예제 #4
0
 def deploy_changes(self, dry_run=False):
     deploy_data = self.connection.put_request(
         "clusters/{0}/changes".format(self.id),
         {}, dry_run=int(dry_run)
     )
     return DeployTask.init_with_data(deploy_data)