mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07:00
[PR #9526/d325cfc3 backport][stable-10] o*: style adjustments (#9566)
o*: style adjustments (#9526)
* o*: style adjustments
* apply recommendations from review
* Update plugins/modules/one_vm.py
* fix example
* adjustment from review
* Update plugins/modules/one_vm.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d325cfc343
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
7542b5429b
commit
e32515889b
31 changed files with 196 additions and 173 deletions
|
@ -12,8 +12,8 @@ DOCUMENTATION = r"""
|
|||
module: oci_vcn
|
||||
short_description: Manage Virtual Cloud Networks(VCN) in OCI
|
||||
description:
|
||||
- This module allows the user to create, delete and update virtual cloud networks(VCNs) in OCI. The complete Oracle Cloud Infrastructure Ansible
|
||||
Modules can be downloaded from U(https://github.com/oracle/oci-ansible-modules/releases).
|
||||
- This module allows the user to create, delete and update virtual cloud networks(VCNs) in OCI. The complete Oracle Cloud
|
||||
Infrastructure Ansible Modules can be downloaded from U(https://github.com/oracle/oci-ansible-modules/releases).
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
|
@ -25,18 +25,18 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
compartment_id:
|
||||
description: The OCID of the compartment to contain the VCN. Required when creating a VCN with O(state=present). This option is mutually exclusive
|
||||
with O(vcn_id).
|
||||
description: The OCID of the compartment to contain the VCN. Required when creating a VCN with O(state=present). This
|
||||
option is mutually exclusive with O(vcn_id).
|
||||
type: str
|
||||
display_name:
|
||||
description: A user-friendly name. Does not have to be unique, and it is changeable.
|
||||
type: str
|
||||
aliases: ['name']
|
||||
dns_label:
|
||||
description: A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain
|
||||
name (FQDN) for each VNIC within this subnet (for example, V(bminstance-1.subnet123.vcn1.oraclevcn.com)). Not required to be unique, but it is
|
||||
a best practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter. The value cannot
|
||||
be changed.
|
||||
description: A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully
|
||||
qualified domain name (FQDN) for each VNIC within this subnet (for example, V(bminstance-1.subnet123.vcn1.oraclevcn.com)).
|
||||
Not required to be unique, but it is a best practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric
|
||||
string that begins with a letter. The value cannot be changed.
|
||||
type: str
|
||||
state:
|
||||
description: Create or update a VCN with O(state=present). Use O(state=absent) to delete a VCN.
|
||||
|
@ -44,8 +44,8 @@ options:
|
|||
default: present
|
||||
choices: ['present', 'absent']
|
||||
vcn_id:
|
||||
description: The OCID of the VCN. Required when deleting a VCN with O(state=absent) or updating a VCN with O(state=present). This option is
|
||||
mutually exclusive with O(compartment_id).
|
||||
description: The OCID of the VCN. Required when deleting a VCN with O(state=absent) or updating a VCN with O(state=present).
|
||||
This option is mutually exclusive with O(compartment_id).
|
||||
type: str
|
||||
aliases: ['id']
|
||||
author: "Rohit Chaware (@rohitChaware)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue