mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-01 06:41:26 -07:00
normalizing documentation before 2.8 (#54004)
* normalizing documentation * fixed pep8 * a few more fixes
This commit is contained in:
parent
cf24542e9f
commit
35f8dbed35
19 changed files with 89 additions and 96 deletions
|
@ -219,7 +219,7 @@ EXAMPLES = '''
|
|||
- name: Create a network interface with minimal parameters
|
||||
azure_rm_networkinterface:
|
||||
name: nic001
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network: vnet001
|
||||
subnet_name: subnet001
|
||||
ip_configurations:
|
||||
|
@ -230,7 +230,7 @@ EXAMPLES = '''
|
|||
- name: Create a network interface with private IP address only (no Public IP)
|
||||
azure_rm_networkinterface:
|
||||
name: nic001
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network: vnet001
|
||||
subnet_name: subnet001
|
||||
create_with_security_group: False
|
||||
|
@ -241,12 +241,12 @@ EXAMPLES = '''
|
|||
- name: Create a network interface for use in a Windows host (opens RDP port) with custom RDP port
|
||||
azure_rm_networkinterface:
|
||||
name: nic002
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network: vnet001
|
||||
subnet_name: subnet001
|
||||
os_type: Windows
|
||||
rdp_port: 3399
|
||||
security_group: "/subscriptions/XXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/nsg001"
|
||||
security_group: "/subscriptions/XXXXXXX/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/nsg001"
|
||||
ip_configurations:
|
||||
- name: ipconfig1
|
||||
public_ip_address_name: publicip001
|
||||
|
@ -255,7 +255,7 @@ EXAMPLES = '''
|
|||
- name: Create a network interface using existing security group and public IP
|
||||
azure_rm_networkinterface:
|
||||
name: nic003
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network: vnet001
|
||||
subnet_name: subnet001
|
||||
security_group: secgroup001
|
||||
|
@ -267,7 +267,7 @@ EXAMPLES = '''
|
|||
- name: Create a network with mutilple ip configurations
|
||||
azure_rm_networkinterface:
|
||||
name: nic004
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
subnet_name: subnet001
|
||||
virtual_network: vnet001
|
||||
security_group:
|
||||
|
@ -286,7 +286,7 @@ EXAMPLES = '''
|
|||
- name: Create a network interface in accelerated networking mode
|
||||
azure_rm_networkinterface:
|
||||
name: nic005
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network_name: vnet001
|
||||
subnet_name: subnet001
|
||||
enable_accelerated_networking: True
|
||||
|
@ -294,7 +294,7 @@ EXAMPLES = '''
|
|||
- name: Create a network interface with IP forwarding
|
||||
azure_rm_networkinterface:
|
||||
name: nic001
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network: vnet001
|
||||
subnet_name: subnet001
|
||||
ip_forwarding: True
|
||||
|
@ -306,7 +306,7 @@ EXAMPLES = '''
|
|||
- name: Create a network interface with dns servers
|
||||
azure_rm_networkinterface:
|
||||
name: nic009
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
virtual_network: vnet001
|
||||
subnet_name: subnet001
|
||||
dns_servers:
|
||||
|
@ -314,7 +314,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Delete network interface
|
||||
azure_rm_networkinterface:
|
||||
resource_group: Testing
|
||||
resource_group: myResourceGroup
|
||||
name: nic003
|
||||
state: absent
|
||||
'''
|
||||
|
@ -333,13 +333,14 @@ state:
|
|||
},
|
||||
"enable_ip_forwarding": false,
|
||||
"etag": 'W/"be115a43-2148-4545-a324-f33ad444c926"',
|
||||
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkInterfaces/nic003",
|
||||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nic003",
|
||||
"ip_configurations": [{
|
||||
"name": "default",
|
||||
"private_ip_address": "10.1.0.10",
|
||||
"private_ip_allocation_method": "Static",
|
||||
"public_ip_address": {
|
||||
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/publicIPAddresses/publicip001",
|
||||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/publicIPAddresse
|
||||
s/publicip001",
|
||||
"name": "publicip001"
|
||||
},
|
||||
"subnet": {},
|
||||
|
@ -349,7 +350,7 @@ state:
|
|||
"mac_address": null,
|
||||
"name": "nic003",
|
||||
"network_security_group": {
|
||||
"id": "/subscriptions//XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/nsg001",
|
||||
"id": "/subscriptions//xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/nsg001",
|
||||
"name": "nsg001"
|
||||
},
|
||||
"primary": null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue