1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

normalizing documentation before 2.8 (#54004)

* normalizing documentation

* fixed pep8

* a few more fixes
This commit is contained in:
Zim Kalinowski 2019-03-19 10:29:30 +08:00 committed by ansibot
parent cf24542e9f
commit 35f8dbed35
19 changed files with 89 additions and 96 deletions

View file

@ -103,7 +103,7 @@ state:
returned: always returned: always
type: dict type: dict
sample: { sample: {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup",
"location": "global", "location": "global",
"name": "Testing", "name": "Testing",
"name_servers": [ "name_servers": [
@ -114,7 +114,7 @@ state:
], ],
"number_of_record_sets": 2, "number_of_record_sets": 2,
"type": "private", "type": "private",
"resolution_virtual_networks": ["/subscriptions/XXXX/resourceGroups/Testing/providers/Microsoft.Network/virtualNetworks/foo"] "resolution_virtual_networks": ["/subscriptions/XXXX/resourceGroup/myResourceGroup/providers/Microsoft.Network/virtualNetworks/foo"]
} }
''' '''

View file

@ -71,14 +71,14 @@ EXAMPLES = '''
- name: Create an image from a virtual machine - name: Create an image from a virtual machine
azure_rm_image: azure_rm_image:
resource_group: myResourceGroup resource_group: myResourceGroup
name: foobar name: myImage
source: testvm001 source: myVirtualMachine
- name: Create an image from os disk - name: Create an image from os disk
azure_rm_image: azure_rm_image:
resource_group: myResourceGroup resource_group: myResourceGroup
name: foobar name: myImage
source: /subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Compute/disks/disk001 source: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Compute/disks/disk001
data_disk_sources: data_disk_sources:
- datadisk001 - datadisk001
- datadisk002 - datadisk002
@ -87,7 +87,7 @@ EXAMPLES = '''
- name: Create an image from os disk via dict - name: Create an image from os disk via dict
azure_rm_image: azure_rm_image:
resource_group: myResourceGroup resource_group: myResourceGroup
name: foobar name: myImage
source: source:
type: disks type: disks
resource_group: myResourceGroup resource_group: myResourceGroup
@ -101,7 +101,7 @@ EXAMPLES = '''
azure_rm_image: azure_rm_image:
state: absent state: absent
resource_group: myResourceGroup resource_group: myResourceGroup
name: foobar name: myImage
source: testvm001 source: testvm001
''' '''
@ -110,7 +110,7 @@ id:
description: Image resource path. description: Image resource path.
type: str type: str
returned: success returned: success
example: "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Compute/images/foobar" example: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Compute/images/myImage"
''' # NOQA ''' # NOQA
from ansible.module_utils.azure_rm_common import AzureRMModuleBase, format_resource_id from ansible.module_utils.azure_rm_common import AzureRMModuleBase, format_resource_id

View file

@ -219,7 +219,7 @@ EXAMPLES = '''
- name: Create a network interface with minimal parameters - name: Create a network interface with minimal parameters
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic001 name: nic001
resource_group: Testing resource_group: myResourceGroup
virtual_network: vnet001 virtual_network: vnet001
subnet_name: subnet001 subnet_name: subnet001
ip_configurations: ip_configurations:
@ -230,7 +230,7 @@ EXAMPLES = '''
- name: Create a network interface with private IP address only (no Public IP) - name: Create a network interface with private IP address only (no Public IP)
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic001 name: nic001
resource_group: Testing resource_group: myResourceGroup
virtual_network: vnet001 virtual_network: vnet001
subnet_name: subnet001 subnet_name: subnet001
create_with_security_group: False 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 - name: Create a network interface for use in a Windows host (opens RDP port) with custom RDP port
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic002 name: nic002
resource_group: Testing resource_group: myResourceGroup
virtual_network: vnet001 virtual_network: vnet001
subnet_name: subnet001 subnet_name: subnet001
os_type: Windows os_type: Windows
rdp_port: 3399 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: ip_configurations:
- name: ipconfig1 - name: ipconfig1
public_ip_address_name: publicip001 public_ip_address_name: publicip001
@ -255,7 +255,7 @@ EXAMPLES = '''
- name: Create a network interface using existing security group and public IP - name: Create a network interface using existing security group and public IP
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic003 name: nic003
resource_group: Testing resource_group: myResourceGroup
virtual_network: vnet001 virtual_network: vnet001
subnet_name: subnet001 subnet_name: subnet001
security_group: secgroup001 security_group: secgroup001
@ -267,7 +267,7 @@ EXAMPLES = '''
- name: Create a network with mutilple ip configurations - name: Create a network with mutilple ip configurations
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic004 name: nic004
resource_group: Testing resource_group: myResourceGroup
subnet_name: subnet001 subnet_name: subnet001
virtual_network: vnet001 virtual_network: vnet001
security_group: security_group:
@ -286,7 +286,7 @@ EXAMPLES = '''
- name: Create a network interface in accelerated networking mode - name: Create a network interface in accelerated networking mode
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic005 name: nic005
resource_group: Testing resource_group: myResourceGroup
virtual_network_name: vnet001 virtual_network_name: vnet001
subnet_name: subnet001 subnet_name: subnet001
enable_accelerated_networking: True enable_accelerated_networking: True
@ -294,7 +294,7 @@ EXAMPLES = '''
- name: Create a network interface with IP forwarding - name: Create a network interface with IP forwarding
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic001 name: nic001
resource_group: Testing resource_group: myResourceGroup
virtual_network: vnet001 virtual_network: vnet001
subnet_name: subnet001 subnet_name: subnet001
ip_forwarding: True ip_forwarding: True
@ -306,7 +306,7 @@ EXAMPLES = '''
- name: Create a network interface with dns servers - name: Create a network interface with dns servers
azure_rm_networkinterface: azure_rm_networkinterface:
name: nic009 name: nic009
resource_group: Testing resource_group: myResourceGroup
virtual_network: vnet001 virtual_network: vnet001
subnet_name: subnet001 subnet_name: subnet001
dns_servers: dns_servers:
@ -314,7 +314,7 @@ EXAMPLES = '''
- name: Delete network interface - name: Delete network interface
azure_rm_networkinterface: azure_rm_networkinterface:
resource_group: Testing resource_group: myResourceGroup
name: nic003 name: nic003
state: absent state: absent
''' '''
@ -333,13 +333,14 @@ state:
}, },
"enable_ip_forwarding": false, "enable_ip_forwarding": false,
"etag": 'W/"be115a43-2148-4545-a324-f33ad444c926"', "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": [{ "ip_configurations": [{
"name": "default", "name": "default",
"private_ip_address": "10.1.0.10", "private_ip_address": "10.1.0.10",
"private_ip_allocation_method": "Static", "private_ip_allocation_method": "Static",
"public_ip_address": { "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" "name": "publicip001"
}, },
"subnet": {}, "subnet": {},
@ -349,7 +350,7 @@ state:
"mac_address": null, "mac_address": null,
"name": "nic003", "name": "nic003",
"network_security_group": { "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" "name": "nsg001"
}, },
"primary": null, "primary": null,

View file

@ -77,17 +77,17 @@ azure_networkinterfaces:
}, },
"enable_ip_forwarding": false, "enable_ip_forwarding": false,
"etag": 'W/"59726bfc-08c4-44ed-b900-f6a559876a9d"', "etag": 'W/"59726bfc-08c4-44ed-b900-f6a559876a9d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkInterfaces/nic003", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nic003",
"ip_configuration": { "ip_configuration": {
"name": "default", "name": "default",
"private_ip_address": "10.10.0.4", "private_ip_address": "10.10.0.4",
"private_ip_allocation_method": "Dynamic", "private_ip_allocation_method": "Dynamic",
"public_ip_address": { "public_ip_address": {
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/publicIPAddresses/publicip001", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/publicip001",
"name": "publicip001" "name": "publicip001"
}, },
"subnet": { "subnet": {
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/virtualNetworks/vnet001/subnets/subnet001", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet001/subnets/subnet001",
"name": "subnet001", "name": "subnet001",
"virtual_network_name": "vnet001" "virtual_network_name": "vnet001"
} }
@ -96,7 +96,7 @@ azure_networkinterfaces:
"mac_address": null, "mac_address": null,
"name": "nic003", "name": "nic003",
"network_security_group": { "network_security_group": {
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001",
"name": "secgroup001" "name": "secgroup001"
}, },
"primary": null, "primary": null,

View file

@ -64,7 +64,7 @@ azure_publicipaddresses:
type: list type: list
example: [{ example: [{
"etag": 'W/"a31a6d7d-cb18-40a5-b16d-9f4a36c1b18a"', "etag": 'W/"a31a6d7d-cb18-40a5-b16d-9f4a36c1b18a"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/publicIPAddresses/pip2001", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/pip2001",
"location": "eastus2", "location": "eastus2",
"name": "pip2001", "name": "pip2001",
"properties": { "properties": {

View file

@ -82,7 +82,7 @@ state:
returned: always returned: always
type: dict type: dict
sample: { sample: {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup",
"location": "westus", "location": "westus",
"name": "Testing", "name": "Testing",
"provisioning_state": "Succeeded", "provisioning_state": "Succeeded",

View file

@ -62,7 +62,7 @@ azure_resourcegroups:
returned: always returned: always
type: list type: list
example: [{ example: [{
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup",
"location": "westus", "location": "westus",
"name": "Testing", "name": "Testing",
"properties": { "properties": {

View file

@ -72,16 +72,16 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a route - name: Create a route
azure_rm_route: azure_rm_route:
name: foobar
resource_group: myResourceGroup resource_group: myResourceGroup
name: myRoute
address_prefix: 10.1.0.0/16 address_prefix: 10.1.0.0/16
next_hop_type: virtual_network_gateway next_hop_type: virtual_network_gateway
route_table_name: table route_table_name: table
- name: Delete a route - name: Delete a route
azure_rm_route: azure_rm_route:
name: foobar
resource_group: myResourceGroup resource_group: myResourceGroup
name: myRoute
route_table_name: table route_table_name: table
state: absent state: absent
''' '''

View file

@ -59,24 +59,16 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a route table - name: Create a route table
azure_rm_routetable: azure_rm_routetable:
name: foobar
resource_group: myResourceGroup resource_group: myResourceGroup
name: myRouteTable
disable_bgp_route_propagation: False disable_bgp_route_propagation: False
tags: tags:
purpose: testing purpose: testing
- name: Update the subnet (idempotent)
azure_rm_subnet:
name: subnet
virtual_network_name: virtualnetwork
resource_group: myResourceGroup
address_prefix_cidr: "10.1.0.0/16"
route_table: foobar
- name: Delete a route table - name: Delete a route table
azure_rm_routetable: azure_rm_routetable:
name: foobar
resource_group: myResourceGroup resource_group: myResourceGroup
name: myRouteTable
state: absent state: absent
''' '''
RETURN = ''' RETURN = '''

View file

@ -86,7 +86,7 @@ routes:
type: list type: list
sample: [ sample: [
{ {
"id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/routeTables/foobar/routes/route", "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroup/myResourceGroup/providers/Microsoft.Network/routeTables/foobar/routes/route",
"name": "route", "name": "route",
"resource_group": "Testing", "resource_group": "Testing",
"routeTables": "foobar", "routeTables": "foobar",

View file

@ -209,7 +209,7 @@ state:
"destination_port_range": "*", "destination_port_range": "*",
"direction": "Inbound", "direction": "Inbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowVnetInBound", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowVnetInBound",
"name": "AllowVnetInBound", "name": "AllowVnetInBound",
"priority": 65000, "priority": 65000,
"protocol": "*", "protocol": "*",
@ -224,7 +224,7 @@ state:
"destination_port_range": "*", "destination_port_range": "*",
"direction": "Inbound", "direction": "Inbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowAzureLoadBalancerInBound", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowAzureLoadBalancerInBound",
"name": "AllowAzureLoadBalancerInBound", "name": "AllowAzureLoadBalancerInBound",
"priority": 65001, "priority": 65001,
"protocol": "*", "protocol": "*",
@ -239,7 +239,7 @@ state:
"destination_port_range": "*", "destination_port_range": "*",
"direction": "Inbound", "direction": "Inbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/DenyAllInBound", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/DenyAllInBound",
"name": "DenyAllInBound", "name": "DenyAllInBound",
"priority": 65500, "priority": 65500,
"protocol": "*", "protocol": "*",
@ -254,7 +254,7 @@ state:
"destination_port_range": "*", "destination_port_range": "*",
"direction": "Outbound", "direction": "Outbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowVnetOutBound", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowVnetOutBound",
"name": "AllowVnetOutBound", "name": "AllowVnetOutBound",
"priority": 65000, "priority": 65000,
"protocol": "*", "protocol": "*",
@ -269,7 +269,7 @@ state:
"destination_port_range": "*", "destination_port_range": "*",
"direction": "Outbound", "direction": "Outbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowInternetOutBound", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/AllowInternetOutBound",
"name": "AllowInternetOutBound", "name": "AllowInternetOutBound",
"priority": 65001, "priority": 65001,
"protocol": "*", "protocol": "*",
@ -284,7 +284,7 @@ state:
"destination_port_range": "*", "destination_port_range": "*",
"direction": "Outbound", "direction": "Outbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/DenyAllOutBound", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/defaultSecurityRules/DenyAllOutBound",
"name": "DenyAllOutBound", "name": "DenyAllOutBound",
"priority": 65500, "priority": 65500,
"protocol": "*", "protocol": "*",
@ -293,7 +293,7 @@ state:
"source_port_range": "*" "source_port_range": "*"
} }
], ],
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup",
"location": "westus", "location": "westus",
"name": "mysecgroup", "name": "mysecgroup",
"network_interfaces": [], "network_interfaces": [],
@ -305,7 +305,7 @@ state:
"destination_port_range": "22", "destination_port_range": "22",
"direction": "Inbound", "direction": "Inbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/securityRules/DenySSH", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/securityRules/DenySSH",
"name": "DenySSH", "name": "DenySSH",
"priority": 100, "priority": 100,
"protocol": "Tcp", "protocol": "Tcp",
@ -320,7 +320,7 @@ state:
"destination_port_range": "22", "destination_port_range": "22",
"direction": "Inbound", "direction": "Inbound",
"etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"', "etag": 'W/"edf48d56-b315-40ca-a85d-dbcb47f2da7d"',
"id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/securityRules/AllowSSH", "id": "/subscriptions/3f7e29ba-24e0-42f6-8d9c-5149a14bda37/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/mysecgroup/securityRules/AllowSSH",
"name": "AllowSSH", "name": "AllowSSH",
"priority": 101, "priority": 101,
"protocol": "Tcp", "protocol": "Tcp",

View file

@ -65,14 +65,14 @@ azure_securitygroups:
type: list type: list
example: [{ example: [{
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001",
"location": "eastus2", "location": "eastus2",
"name": "secgroup001", "name": "secgroup001",
"properties": { "properties": {
"defaultSecurityRules": [ "defaultSecurityRules": [
{ {
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowVnetInBound", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowVnetInBound",
"name": "AllowVnetInBound", "name": "AllowVnetInBound",
"properties": { "properties": {
"access": "Allow", "access": "Allow",
@ -89,7 +89,7 @@ azure_securitygroups:
}, },
{ {
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowAzureLoadBalancerInBound", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowAzureLoadBalancerInBound",
"name": "AllowAzureLoadBalancerInBound", "name": "AllowAzureLoadBalancerInBound",
"properties": { "properties": {
"access": "Allow", "access": "Allow",
@ -106,7 +106,7 @@ azure_securitygroups:
}, },
{ {
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/DenyAllInBound", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/DenyAllInBound",
"name": "DenyAllInBound", "name": "DenyAllInBound",
"properties": { "properties": {
"access": "Deny", "access": "Deny",
@ -123,7 +123,7 @@ azure_securitygroups:
}, },
{ {
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowVnetOutBound", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowVnetOutBound",
"name": "AllowVnetOutBound", "name": "AllowVnetOutBound",
"properties": { "properties": {
"access": "Allow", "access": "Allow",
@ -140,7 +140,7 @@ azure_securitygroups:
}, },
{ {
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowInternetOutBound", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/AllowInternetOutBound",
"name": "AllowInternetOutBound", "name": "AllowInternetOutBound",
"properties": { "properties": {
"access": "Allow", "access": "Allow",
@ -157,7 +157,7 @@ azure_securitygroups:
}, },
{ {
"etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"', "etag": 'W/"d036f4d7-d977-429a-a8c6-879bc2523399"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/DenyAllOutBound", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroup001/defaultSecurityRules/DenyAllOutBound",
"name": "DenyAllOutBound", "name": "DenyAllOutBound",
"properties": { "properties": {
"access": "Deny", "access": "Deny",
@ -175,7 +175,7 @@ azure_securitygroups:
], ],
"networkInterfaces": [ "networkInterfaces": [
{ {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkInterfaces/nic004" "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nic004"
} }
], ],
"provisioningState": "Succeeded", "provisioningState": "Succeeded",

View file

@ -181,7 +181,7 @@ state:
sample: { sample: {
"account_type": "Standard_RAGRS", "account_type": "Standard_RAGRS",
"custom_domain": null, "custom_domain": null,
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/testing/providers/Microsoft.Storage/storageAccounts/clh0003", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testing/providers/Microsoft.Storage/storageAccounts/clh0003",
"location": "eastus2", "location": "eastus2",
"name": "clh0003", "name": "clh0003",
"primary_endpoints": { "primary_endpoints": {

View file

@ -82,7 +82,7 @@ azure_storageaccounts:
returned: always returned: always
type: list type: list
example: [{ example: [{
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/testing/providers/Microsoft.Storage/storageAccounts/testaccount001", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testing/providers/Microsoft.Storage/storageAccounts/testaccount001",
"location": "eastus2", "location": "eastus2",
"name": "testaccount001", "name": "testaccount001",
"properties": { "properties": {

View file

@ -96,16 +96,16 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a subnet - name: Create a subnet
azure_rm_subnet: azure_rm_subnet:
name: foobar
virtual_network_name: My_Virtual_Network
resource_group: myResourceGroup resource_group: myResourceGroup
virtual_network_name: myVirtualNetwork
name: mySubnet
address_prefix_cidr: "10.1.0.0/24" address_prefix_cidr: "10.1.0.0/24"
- name: Create a subnet refer nsg from other resource group - name: Create a subnet refer nsg from other resource group
azure_rm_subnet: azure_rm_subnet:
name: foobar
virtual_network_name: My_Virtual_Network
resource_group: myResourceGroup resource_group: myResourceGroup
virtual_network_name: myVirtualNetwork
name: mySubnet
address_prefix_cidr: "10.1.0.0/16" address_prefix_cidr: "10.1.0.0/16"
security_group: security_group:
name: secgroupfoo name: secgroupfoo
@ -114,9 +114,9 @@ EXAMPLES = '''
- name: Delete a subnet - name: Delete a subnet
azure_rm_subnet: azure_rm_subnet:
name: foobar
virtual_network_name: My_Virtual_Network
resource_group: myResourceGroup resource_group: myResourceGroup
virtual_network_name: myVirtualNetwork
name: mySubnet
state: absent state: absent
''' '''
@ -133,7 +133,7 @@ state:
id: id:
description: Subnet resource path. description: Subnet resource path.
type: str type: str
example: "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/virtualNetworks/My_Virtual_Network/subnets/foobar" example: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/mySubnet"
name: name:
description: Subnet name. description: Subnet name.
type: str type: str
@ -144,7 +144,7 @@ state:
id: id:
description: Security group resource identifier. description: Security group resource identifier.
type: str type: str
example: "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkSecurityGroups/secgroupfoo" example: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/secgroupfoo"
name: name:
description: Name of the security group. description: Name of the security group.
type: str type: str

View file

@ -327,7 +327,7 @@ EXAMPLES = '''
- name: Create VM with defaults - name: Create VM with defaults
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm10 name: testvm10
admin_username: chouseknecht admin_username: chouseknecht
admin_password: <your password here> admin_password: <your password here>
@ -340,14 +340,14 @@ EXAMPLES = '''
- name: Create an availability set for managed disk vm - name: Create an availability set for managed disk vm
azure_rm_availabilityset: azure_rm_availabilityset:
name: avs-managed-disk name: avs-managed-disk
resource_group: Testing resource_group: myResourceGroup
platform_update_domain_count: 5 platform_update_domain_count: 5
platform_fault_domain_count: 2 platform_fault_domain_count: 2
sku: Aligned sku: Aligned
- name: Create a VM with managed disk - name: Create a VM with managed disk
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: vm-managed-disk name: vm-managed-disk
admin_username: adminUser admin_username: adminUser
availability_set: avs-managed-disk availability_set: avs-managed-disk
@ -361,7 +361,7 @@ EXAMPLES = '''
- name: Create a VM with existing storage account and NIC - name: Create a VM with existing storage account and NIC
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm002 name: testvm002
vm_size: Standard_D4 vm_size: Standard_D4
storage_account: testaccount001 storage_account: testaccount001
@ -378,7 +378,7 @@ EXAMPLES = '''
- name: Create a VM with OS and multiple data managed disks - name: Create a VM with OS and multiple data managed disks
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm001 name: testvm001
vm_size: Standard_D4 vm_size: Standard_D4
managed_disk_type: Standard_LRS managed_disk_type: Standard_LRS
@ -401,7 +401,7 @@ EXAMPLES = '''
- name: Create a VM with OS and multiple data storage accounts - name: Create a VM with OS and multiple data storage accounts
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm001 name: testvm001
vm_size: Standard_DS1_v2 vm_size: Standard_DS1_v2
admin_username: adminUser admin_username: adminUser
@ -429,7 +429,7 @@ EXAMPLES = '''
- name: Create a VM with a custom image - name: Create a VM with a custom image
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm001 name: testvm001
vm_size: Standard_DS1_v2 vm_size: Standard_DS1_v2
admin_username: adminUser admin_username: adminUser
@ -438,18 +438,18 @@ EXAMPLES = '''
- name: Create a VM with a custom image from a particular resource group - name: Create a VM with a custom image from a particular resource group
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm001 name: testvm001
vm_size: Standard_DS1_v2 vm_size: Standard_DS1_v2
admin_username: adminUser admin_username: adminUser
admin_password: password01 admin_password: password01
image: image:
name: customimage001 name: customimage001
resource_group: Testing resource_group: myResourceGroup
- name: Create VM with spcified OS disk size - name: Create VM with spcified OS disk size
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: big-os-disk name: big-os-disk
admin_username: chouseknecht admin_username: chouseknecht
admin_password: <your password here> admin_password: <your password here>
@ -462,7 +462,7 @@ EXAMPLES = '''
- name: Create VM with OS and Plan, accepting the terms - name: Create VM with OS and Plan, accepting the terms
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: f5-nva name: f5-nva
admin_username: chouseknecht admin_username: chouseknecht
admin_password: <your password here> admin_password: <your password here>
@ -478,13 +478,13 @@ EXAMPLES = '''
- name: Power Off - name: Power Off
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm002 name: testvm002
started: no started: no
- name: Deallocate - name: Deallocate
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm002 name: testvm002
allocated: no allocated: no
@ -501,7 +501,7 @@ EXAMPLES = '''
- name: Create a VM with an Availability Zone - name: Create a VM with an Availability Zone
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm001 name: testvm001
vm_size: Standard_DS1_v2 vm_size: Standard_DS1_v2
admin_username: adminUser admin_username: adminUser
@ -511,7 +511,7 @@ EXAMPLES = '''
- name: Remove a VM and all resources that were autocreated - name: Remove a VM and all resources that were autocreated
azure_rm_virtualmachine: azure_rm_virtualmachine:
resource_group: Testing resource_group: myResourceGroup
name: testvm002 name: testvm002
remove_on_absent: all_autocreated remove_on_absent: all_autocreated
state: absent state: absent
@ -545,7 +545,7 @@ azure_vm:
contains: { contains: {
"properties": { "properties": {
"availabilitySet": { "availabilitySet": {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Compute/availabilitySets/MYAVAILABILITYSET" "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Compute/availabilitySets/MYAVAILABILITYSET"
}, },
"hardwareProfile": { "hardwareProfile": {
"vmSize": "Standard_D1" "vmSize": "Standard_D1"
@ -594,7 +594,7 @@ azure_vm:
"networkProfile": { "networkProfile": {
"networkInterfaces": [ "networkInterfaces": [
{ {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkInterfaces/testvm10_NIC01", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkInterfaces/testvm10_NIC01",
"name": "testvm10_NIC01", "name": "testvm10_NIC01",
"properties": { "properties": {
"dnsSettings": { "dnsSettings": {
@ -605,20 +605,20 @@ azure_vm:
"ipConfigurations": [ "ipConfigurations": [
{ {
"etag": 'W/"041c8c2a-d5dd-4cd7-8465-9125cfbe2cf8"', "etag": 'W/"041c8c2a-d5dd-4cd7-8465-9125cfbe2cf8"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkInterfaces/testvm10_NIC01/ipConfigurations/default", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkInterfaces/testvm10_NIC01/ipConfigurations/default",
"name": "default", "name": "default",
"properties": { "properties": {
"privateIPAddress": "10.10.0.5", "privateIPAddress": "10.10.0.5",
"privateIPAllocationMethod": "Dynamic", "privateIPAllocationMethod": "Dynamic",
"provisioningState": "Succeeded", "provisioningState": "Succeeded",
"publicIPAddress": { "publicIPAddress": {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/publicIPAddresses/testvm10_PIP01", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/testvm10_PIP01",
"name": "testvm10_PIP01", "name": "testvm10_PIP01",
"properties": { "properties": {
"idleTimeoutInMinutes": 4, "idleTimeoutInMinutes": 4,
"ipAddress": "13.92.246.197", "ipAddress": "13.92.246.197",
"ipConfiguration": { "ipConfiguration": {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/networkInterfaces/testvm10_NIC01/ipConfigurations/default" "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkInterfaces/testvm10_NIC01/ipConfigurations/default"
}, },
"provisioningState": "Succeeded", "provisioningState": "Succeeded",
"publicIPAllocationMethod": "Static", "publicIPAllocationMethod": "Static",
@ -633,7 +633,7 @@ azure_vm:
"provisioningState": "Succeeded", "provisioningState": "Succeeded",
"resourceGuid": "10979e12-ccf9-42ee-9f6d-ff2cc63b3844", "resourceGuid": "10979e12-ccf9-42ee-9f6d-ff2cc63b3844",
"virtualMachine": { "virtualMachine": {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Compute/virtualMachines/testvm10" "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Compute/virtualMachines/testvm10"
} }
} }
} }

View file

@ -276,7 +276,7 @@ EXAMPLES = '''
managed_disk_type: Standard_LRS managed_disk_type: Standard_LRS
image: image:
name: customimage001 name: customimage001
resource_group: Testing resource_group: myResourceGroup
''' '''
RETURN = ''' RETURN = '''
@ -307,7 +307,7 @@ azure_vmss:
"properties": { "properties": {
"privateIPAddressVersion": "IPv4", "privateIPAddressVersion": "IPv4",
"subnet": { "subnet": {
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
} }
} }
} }

View file

@ -81,8 +81,8 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a virtual network - name: Create a virtual network
azure_rm_virtualnetwork: azure_rm_virtualnetwork:
name: foobar
resource_group: myResourceGroup resource_group: myResourceGroup
name: myVirtualNetwork
address_prefixes_cidr: address_prefixes_cidr:
- "10.1.0.0/16" - "10.1.0.0/16"
- "172.100.0.0/16" - "172.100.0.0/16"
@ -95,8 +95,8 @@ EXAMPLES = '''
- name: Delete a virtual network - name: Delete a virtual network
azure_rm_virtualnetwork: azure_rm_virtualnetwork:
name: foobar
resource_group: myResourceGroup resource_group: myResourceGroup
name: myVirtualNetwork
state: absent state: absent
''' '''
RETURN = ''' RETURN = '''
@ -114,7 +114,7 @@ state:
"127.0.0.3" "127.0.0.3"
], ],
"etag": 'W/"0712e87c-f02f-4bb3-8b9e-2da0390a3886"', "etag": 'W/"0712e87c-f02f-4bb3-8b9e-2da0390a3886"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/virtualNetworks/my_test_network", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork",
"location": "eastus", "location": "eastus",
"name": "my_test_network", "name": "my_test_network",
"provisioning_state": "Succeeded", "provisioning_state": "Succeeded",

View file

@ -67,7 +67,7 @@ azure_virtualnetworks:
type: list type: list
example: [{ example: [{
"etag": 'W/"532ba1be-ae71-40f2-9232-3b1d9cf5e37e"', "etag": 'W/"532ba1be-ae71-40f2-9232-3b1d9cf5e37e"',
"id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/Testing/providers/Microsoft.Network/virtualNetworks/vnet2001", "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet2001",
"location": "eastus2", "location": "eastus2",
"name": "vnet2001", "name": "vnet2001",
"properties": { "properties": {