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

azure_rm_virtualmachine - adding support for StandardSSD_LRS (#46676)

StandardSSD_LRS have been introduced (generally available) in June 2018.
This change will add support for this.
This commit is contained in:
rnsc 2019-01-14 12:29:38 +01:00 committed by John R Barker
parent 18370419a3
commit 226ba90619

View file

@ -152,6 +152,7 @@ options:
- Managed OS disk type - Managed OS disk type
choices: choices:
- Standard_LRS - Standard_LRS
- StandardSSD_LRS
- Premium_LRS - Premium_LRS
version_added: "2.4" version_added: "2.4"
os_disk_name: os_disk_name:
@ -197,6 +198,7 @@ options:
- Managed data disk type - Managed data disk type
choices: choices:
- Standard_LRS - Standard_LRS
- StandardSSD_LRS
- Premium_LRS - Premium_LRS
version_added: "2.4" version_added: "2.4"
storage_account_name: storage_account_name:
@ -735,7 +737,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
os_disk_caching=dict(type='str', aliases=['disk_caching'], choices=['ReadOnly', 'ReadWrite'], os_disk_caching=dict(type='str', aliases=['disk_caching'], choices=['ReadOnly', 'ReadWrite'],
default='ReadOnly'), default='ReadOnly'),
os_disk_size_gb=dict(type='int'), os_disk_size_gb=dict(type='int'),
managed_disk_type=dict(type='str', choices=['Standard_LRS', 'Premium_LRS']), managed_disk_type=dict(type='str', choices=['Standard_LRS', 'StandardSSD_LRS', 'Premium_LRS']),
os_disk_name=dict(type='str'), os_disk_name=dict(type='str'),
os_type=dict(type='str', choices=['Linux', 'Windows'], default='Linux'), os_type=dict(type='str', choices=['Linux', 'Windows'], default='Linux'),
public_ip_allocation_method=dict(type='str', choices=['Dynamic', 'Static', 'Disabled'], default='Static', public_ip_allocation_method=dict(type='str', choices=['Dynamic', 'Static', 'Disabled'], default='Static',