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 WriteAccelerator to CachingTypes #39243

Closed
unkaputtbar112 opened this issue Jan 17, 2025 · 1 comment
Closed

Add WriteAccelerator to CachingTypes #39243

unkaputtbar112 opened this issue Jan 17, 2025 · 1 comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@unkaputtbar112
Copy link

Is your feature request related to a problem? Please describe.
The CachingTypes are lacking the Write Accelerator in azure.mgmt.compute Model.

class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.**
    The default values are: **None for Standard storage. ReadOnly for Premium storage**.
    """

    NONE = "None"
    READ_ONLY = "ReadOnly"
    READ_WRITE = "ReadWrite"

Describe the solution you'd like
To have the Write Accelerator added as CachingType, so it can be added/used in Ansible as well when creating/modifying a manageddisk.

Describe alternatives you've considered
None, as it would mean to change the Ansible Module to work directly with CLI commands instead of the Python SDK, which we all know will brick everything as CLI and SDK are not harmonized in regards of dependencies.

Additional context
Even at fetching ManagedDisk Informations, it shows a Disk with WriteAccelerator enabled as "None":
Ansible Output (which is using the azure.mgmt.compute):
Image
Portal View:
Image

I'll also link the issue on Azure.Azcollection Git Repo, just for reference:
ansible-collections/azure#430

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 17, 2025
@xiangyan99
Copy link
Member

Thanks for reaching out.

This library is automatically generated from the swagger in https://github.com/Azure/azure-rest-api-specs.

Please open a swagger issue in that repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants