mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-27 23:21:31 -07:00
Sanity fixes
This commit is contained in:
parent
6ee6b698ef
commit
41f6d22780
1 changed files with 5 additions and 2 deletions
|
@ -64,7 +64,8 @@ options:
|
|||
discard_local_ssd:
|
||||
description:
|
||||
- Discards the contents of any attached Local SSD disks when changing status
|
||||
to TERMINATED. Defaults to true.
|
||||
to TERMINATED.
|
||||
default: True
|
||||
required: false
|
||||
type: bool
|
||||
disks:
|
||||
|
@ -1513,7 +1514,9 @@ class InstancePower(object):
|
|||
return "https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances/{name}/start".format(**self.module.params)
|
||||
|
||||
def _stop_url(self):
|
||||
return "https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances/{name}/stop?discardLocalSsd={discard_local_ssd}".format(**self.module.params)
|
||||
return "https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances/{name}/stop?discardLocalSsd={discard_local_ssd}".format(
|
||||
**self.module.params
|
||||
)
|
||||
|
||||
|
||||
def deletion_protection_update(module, request, response):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue