|
|
|
@ -17,7 +17,7 @@ DOCUMENTATION = '''
|
|
|
|
|
---
|
|
|
|
|
module: azure_rm_postgresqldatabase
|
|
|
|
|
version_added: "2.5"
|
|
|
|
|
short_description: Manage PostgreSQL Database instance.
|
|
|
|
|
short_description: Manage PostgreSQL Database instance
|
|
|
|
|
description:
|
|
|
|
|
- Create, update and delete instance of PostgreSQL Database.
|
|
|
|
|
|
|
|
|
@ -37,19 +37,15 @@ options:
|
|
|
|
|
charset:
|
|
|
|
|
description:
|
|
|
|
|
- The charset of the database. Check PostgreSQL documentation for possible values.
|
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the
|
|
|
|
|
values don't match.
|
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the values don't match.
|
|
|
|
|
collation:
|
|
|
|
|
description:
|
|
|
|
|
- The collation of the database. Check PostgreSQL documentation for possible values.
|
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the
|
|
|
|
|
values don't match.
|
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the values don't match.
|
|
|
|
|
force_update:
|
|
|
|
|
description:
|
|
|
|
|
- When set to C(true), will delete and recreate the existing PostgreSQL database if any
|
|
|
|
|
of the properties don't match what is set.
|
|
|
|
|
- When set to C(false), no change will occur to the database even if any
|
|
|
|
|
of the properties do not match.
|
|
|
|
|
- When set to C(true), will delete and recreate the existing PostgreSQL database if any of the properties don't match what is set.
|
|
|
|
|
- When set to C(false), no change will occur to the database even if any of the properties do not match.
|
|
|
|
|
type: bool
|
|
|
|
|
default: 'no'
|
|
|
|
|
state:
|
|
|
|
@ -64,7 +60,7 @@ extends_documentation_fragment:
|
|
|
|
|
- azure
|
|
|
|
|
|
|
|
|
|
author:
|
|
|
|
|
- "Zim Kalinowski (@zikalino)"
|
|
|
|
|
- Zim Kalinowski (@zikalino)
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
@ -79,7 +75,7 @@ EXAMPLES = '''
|
|
|
|
|
RETURN = '''
|
|
|
|
|
id:
|
|
|
|
|
description:
|
|
|
|
|
- Resource ID
|
|
|
|
|
- Resource ID.
|
|
|
|
|
returned: always
|
|
|
|
|
type: str
|
|
|
|
|
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroups/providers/Microsoft.DBforPostgreSQL/servers/testserve
|
|
|
|
|