mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-29 08:01: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:
|
discard_local_ssd:
|
||||||
description:
|
description:
|
||||||
- Discards the contents of any attached Local SSD disks when changing status
|
- Discards the contents of any attached Local SSD disks when changing status
|
||||||
to TERMINATED. Defaults to true.
|
to TERMINATED.
|
||||||
|
default: True
|
||||||
required: false
|
required: false
|
||||||
type: bool
|
type: bool
|
||||||
disks:
|
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)
|
return "https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/instances/{name}/start".format(**self.module.params)
|
||||||
|
|
||||||
def _stop_url(self):
|
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):
|
def deletion_protection_update(module, request, response):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue