|
|
@ -17,7 +17,7 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: azure_rm_devtestlabvirtualmachine
|
|
|
|
module: azure_rm_devtestlabvirtualmachine
|
|
|
|
version_added: "2.8"
|
|
|
|
version_added: "2.8"
|
|
|
|
short_description: Manage Azure DevTest Lab Virtual Machine instance.
|
|
|
|
short_description: Manage Azure DevTest Lab Virtual Machine instance
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Create, update and delete instance of Azure DevTest Lab Virtual Machine.
|
|
|
|
- Create, update and delete instance of Azure DevTest Lab Virtual Machine.
|
|
|
|
|
|
|
|
|
|
|
@ -45,9 +45,10 @@ options:
|
|
|
|
- linux
|
|
|
|
- linux
|
|
|
|
vm_size:
|
|
|
|
vm_size:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- A valid Azure VM size value. For example, 'Standard_D4'. The list of choices varies depending on the
|
|
|
|
- A valid Azure VM size value. For example, C(Standard_D4).
|
|
|
|
subscription and location. Check your subscription for available choices. Required when creating a VM.
|
|
|
|
- The list of choices varies depending on the subscription and location. Check your subscription for available choices.
|
|
|
|
- "Available values can be found here: U(https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-general)"
|
|
|
|
- Available values can be found on this website, link U(https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-general).
|
|
|
|
|
|
|
|
- Required when I(state=present).
|
|
|
|
user_name:
|
|
|
|
user_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The user name of the virtual machine.
|
|
|
|
- The user name of the virtual machine.
|
|
|
@ -59,7 +60,7 @@ options:
|
|
|
|
- The SSH key of the virtual machine administrator.
|
|
|
|
- The SSH key of the virtual machine administrator.
|
|
|
|
lab_subnet:
|
|
|
|
lab_subnet:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- An existing subnet within lab's virtual network
|
|
|
|
- An existing subnet within lab's virtual network.
|
|
|
|
- It can be the subnet's resource id.
|
|
|
|
- It can be the subnet's resource id.
|
|
|
|
- It can be a dict which contains C(virtual_network_name) and C(name).
|
|
|
|
- It can be a dict which contains C(virtual_network_name) and C(name).
|
|
|
|
disallow_public_ip_address:
|
|
|
|
disallow_public_ip_address:
|
|
|
@ -72,10 +73,10 @@ options:
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
source_name:
|
|
|
|
source_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- "The artifact's source name."
|
|
|
|
- The artifact's source name.
|
|
|
|
source_path:
|
|
|
|
source_path:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- "The artifact's path in the source repository."
|
|
|
|
- The artifact's path in the source repository.
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The parameters of the artifact.
|
|
|
|
- The parameters of the artifact.
|
|
|
@ -121,7 +122,7 @@ options:
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Assert the state of the Virtual Machine.
|
|
|
|
- Assert the state of the Virtual Machine.
|
|
|
|
- Use 'present' to create or update an Virtual Machine and 'absent' to delete it.
|
|
|
|
- Use C(present) to create or update an Virtual Machine and C(absent) to delete it.
|
|
|
|
default: present
|
|
|
|
default: present
|
|
|
|
choices:
|
|
|
|
choices:
|
|
|
|
- absent
|
|
|
|
- absent
|
|
|
@ -132,7 +133,7 @@ extends_documentation_fragment:
|
|
|
|
- azure_tags
|
|
|
|
- azure_tags
|
|
|
|
|
|
|
|
|
|
|
|
author:
|
|
|
|
author:
|
|
|
|
- "Zim Kalinowski (@zikalino)"
|
|
|
|
- Zim Kalinowski (@zikalino)
|
|
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|