Skip to content

Commit

Permalink
Add updates schedule example
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Feb 10, 2025
1 parent d402854 commit 9120324
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/modules/database_mysql_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@ Create, read, and update a Linode MySQL database.
state: present
```
```yaml
- name: Create a MySQL database with an explicit maintenance schedule
linode.cloud.database_mysql_v2:
label: my-db
region: us-mia
engine: mysql/8
type: g6-nanode-1
updates:
duration: 4
frequency: weekly
hour_of_day: 16
day_of_week: 4
state: present
```
```yaml
- name: Create a MySQL database forked from another database
linode.cloud.database_mysql_v2:
Expand Down
12 changes: 12 additions & 0 deletions plugins/module_utils/doc_fragments/database_mysql_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@
allow_list:
- 0.0.0.0/0
state: present''', '''
- name: Create a MySQL database with an explicit maintenance schedule
linode.cloud.database_mysql_v2:
label: my-db
region: us-mia
engine: mysql/8
type: g6-nanode-1
updates:
duration: 4
frequency: weekly
hour_of_day: 16
day_of_week: 4
state: present''', '''
- name: Create a MySQL database forked from another database
linode.cloud.database_mysql_v2:
label: my-db
Expand Down

0 comments on commit 9120324

Please # to comment.