def deploy_changes(self): deploy_data = self.connection.put_request( "clusters/{0}/changes".format(self.id), {} ) return DeployTask.init_with_data(deploy_data)
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)
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)