Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the type of managed_disk_type #1136

Merged
merged 2 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion plugins/modules/azure_rm_virtualmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
- StandardSSD_ZRS
- Premium_LRS
- Premium_ZRS
- UltraSSD_LRS
os_disk_name:
description:
- OS disk name.
Expand Down Expand Up @@ -236,6 +237,7 @@
- StandardSSD_ZRS
- Premium_LRS
- Premium_ZRS
- UltraSSD_LRS
storage_account_name:
description:
- Name of an existing storage account that supports creation of VHD blobs.
Expand Down Expand Up @@ -974,7 +976,7 @@ def __init__(self):
storage_blob_name=dict(type='str', aliases=['storage_blob']),
os_disk_caching=dict(type='str', aliases=['disk_caching'], choices=['ReadOnly', 'ReadWrite']),
os_disk_size_gb=dict(type='int'),
managed_disk_type=dict(type='str', choices=['Standard_LRS', 'StandardSSD_LRS', 'StandardSSD_ZRS', 'Premium_LRS', 'Premium_ZRS']),
managed_disk_type=dict(type='str', choices=['Standard_LRS', 'StandardSSD_LRS', 'StandardSSD_ZRS', 'Premium_LRS', 'Premium_ZRS', 'UltraSSD_LRS']),
os_disk_name=dict(type='str'),
proximity_placement_group=dict(type='dict', options=proximity_placement_group_spec),
os_type=dict(type='str', choices=['Linux', 'Windows'], default='Linux'),
Expand Down
10 changes: 9 additions & 1 deletion plugins/modules/azure_rm_virtualmachinescaleset.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@
choices:
- Standard_LRS
- Premium_LRS
- StandardSSD_LRS
- UltraSSD_LRS
- Premium_ZRS
- StandardSSD_ZRS
data_disks:
description:
- Describes list of data disks.
Expand All @@ -165,6 +169,10 @@
choices:
- Standard_LRS
- Premium_LRS
- StandardSSD_LRS
- UltraSSD_LRS
- Premium_ZRS
- StandardSSD_ZRS
caching:
description:
- Type of data disk caching.
Expand Down Expand Up @@ -641,7 +649,7 @@ def __init__(self):
os_disk_caching=dict(type='str', aliases=['disk_caching'], choices=['ReadOnly', 'ReadWrite'],
default='ReadOnly'),
os_type=dict(type='str', choices=['Linux', 'Windows'], default='Linux'),
managed_disk_type=dict(type='str', choices=['Standard_LRS', 'Premium_LRS']),
managed_disk_type=dict(type='str', choices=['Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS', 'Premium_ZRS', 'StandardSSD_ZRS']),
data_disks=dict(type='list'),
subnet_name=dict(type='str', aliases=['subnet']),
public_ip_per_vm=dict(type='bool', default=False),
Expand Down