Skip to content

[SQL] Allow short mw policy names for mi#17703

Merged
Juliehzl merged 6 commits intoAzure:devfrom
kukislav:allow-short-mw-policy-names-for-mi
Apr 19, 2021
Merged

[SQL] Allow short mw policy names for mi#17703
Juliehzl merged 6 commits intoAzure:devfrom
kukislav:allow-short-mw-policy-names-for-mi

Conversation

@kukislav
Copy link
Copy Markdown
Contributor

Description

Added a delighter that allows users to pass short MW policy names and CLI will construct the whole resource for a user

Testing Guide

az sql mi create -g mygroup -n myinstance -l mylocation -i -u myusername -p mypassword --subnet /subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/Microsoft.Network/virtualNetworks/{VNETName}/subnets/{SubnetName} -m SQL_{Region}_{MaintenanceConfigName}

az sql mi update -g mygroup -n myinstance -m SQL_Default

az sql mi update -g mygroup -n myinstance -m SQL_{Region}_{MaintenanceConfigName}


This checklist is used to make sure that common guidelines for a pull request are followed.

@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Apr 15, 2021
@ghost
Copy link
Copy Markdown

ghost commented Apr 15, 2021

Thank you for your contribution kukislav! We will review the pull request and get back to you soon.

@yonzhan yonzhan added this to the S186 milestone Apr 15, 2021
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Apr 15, 2021

SQL

kukislav and others added 2 commits April 16, 2021 09:03
Co-authored-by: Zunli Hu <zuh@microsoft.com>
Co-authored-by: Zunli Hu <zuh@microsoft.com>
@kukislav kukislav requested a review from Juliehzl April 16, 2021 07:21
@Juliehzl Juliehzl merged commit 3f3aafd into Azure:dev Apr 19, 2021
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants