Skip to content

Commit

Permalink
Merge pull request #81 from SimOnPanw/feature/add-host-auto-deploy-po…
Browse files Browse the repository at this point in the history
…licies

add host auto deploy rules
  • Loading branch information
tkishel authored Oct 4, 2022
2 parents 1a895ad + 7d80328 commit a6abe8a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions prismacloud/api/compute/_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ def settings_registry_write(self, body):
'put', 'api/v1/settings/registry',
body_params=body
)

def settings_host_auto_deploy_read(self):
return self.execute_compute('get', 'api/v1/settings/host-auto-deploy')

def settings_host_auto_deploy_write(self, body):
return self.execute_compute(
'post', 'api/v1/settings/host-auto-deploy',
body_params=body
)

0 comments on commit a6abe8a

Please sign in to comment.