mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-09 04:10:27 -07:00
InSpec generate SQL db instance, user
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
344b0d5acc
commit
de7014a666
2 changed files with 26 additions and 0 deletions
|
@ -684,6 +684,18 @@ settings:
|
||||||
this value.
|
this value.
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: int
|
||||||
|
gceZone:
|
||||||
|
description:
|
||||||
|
- The Compute Engine zone that the instance is currently serving from. This value
|
||||||
|
could be different from the zone that was specified when the instance was created
|
||||||
|
if the instance has failed over to its secondary zone.
|
||||||
|
returned: success
|
||||||
|
type: str
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- The current serving state of the database instance.
|
||||||
|
returned: success
|
||||||
|
type: str
|
||||||
'''
|
'''
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -910,6 +922,8 @@ def response_to_hash(module, response):
|
||||||
u'region': response.get(u'region'),
|
u'region': response.get(u'region'),
|
||||||
u'replicaConfiguration': InstanceReplicaconfiguration(response.get(u'replicaConfiguration', {}), module).from_response(),
|
u'replicaConfiguration': InstanceReplicaconfiguration(response.get(u'replicaConfiguration', {}), module).from_response(),
|
||||||
u'settings': InstanceSettings(response.get(u'settings', {}), module).from_response(),
|
u'settings': InstanceSettings(response.get(u'settings', {}), module).from_response(),
|
||||||
|
u'gceZone': response.get(u'gceZone'),
|
||||||
|
u'state': response.get(u'state'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -414,6 +414,18 @@ resources:
|
||||||
try to update this value.
|
try to update this value.
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: int
|
||||||
|
gceZone:
|
||||||
|
description:
|
||||||
|
- The Compute Engine zone that the instance is currently serving from. This
|
||||||
|
value could be different from the zone that was specified when the instance
|
||||||
|
was created if the instance has failed over to its secondary zone.
|
||||||
|
returned: success
|
||||||
|
type: str
|
||||||
|
state:
|
||||||
|
description:
|
||||||
|
- The current serving state of the database instance.
|
||||||
|
returned: success
|
||||||
|
type: str
|
||||||
'''
|
'''
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Add table
Reference in a new issue