Skip to content

add support for bastion developer create#8366

Merged
necusjz merged 8 commits into
Azure:mainfrom
zhangjacq:feature-bastiondevsku
Feb 6, 2025
Merged

add support for bastion developer create#8366
necusjz merged 8 commits into
Azure:mainfrom
zhangjacq:feature-bastiondevsku

Conversation

@zhangjacq
Copy link
Copy Markdown
Contributor

@zhangjacq zhangjacq commented Dec 11, 2024


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

Related command

az network bastion create --name MyBastion --resource-group MyResourceGroup --sku Developer --vnet-name MyVnet

az network bastion create --name MyBastion --resource-group MyResourceGroup --sku Developer --vnet-name MyVnet --network-acls-ips '[{"addressPrefix":"1.1.1.1/16"},{"addressPrefix":"100.64.0.0/10"}]'

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @zhangjacq,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented Dec 11, 2024

⚠️Azure CLI Extensions Breaking Change Test
⚠️bastion
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd network bastion create cmd network bastion create added parameter network_acls_ips
⚠️ 1009 - ParaPropRemove network bastion create cmd network bastion create update parameter public_ip_address: removed property required=True
⚠️ 1010 - ParaPropUpdate network bastion create cmd network bastion create update parameter sku: updated property choices from ['Basic', 'Premium', 'Standard'] to ['Basic', 'Developer', 'Premium', 'Standard']
⚠️ 1008 - ParaPropAdd network bastion create cmd network bastion create update parameter tags: added property aaz_default={}

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Dec 11, 2024

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

@github-actions
Copy link
Copy Markdown
Contributor

🚫All pull requests will be blocked to merge until Jan 6, 2025 due to CCOA

@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Dec 11, 2024
@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 11, 2024

@zhangjacq
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

@aavalang
Copy link
Copy Markdown
Member

aavalang commented Feb 4, 2025

@kairu-ms @necusjz can you merge this?

@necusjz
Copy link
Copy Markdown
Member

necusjz commented Feb 4, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@aavalang
Copy link
Copy Markdown
Member

aavalang commented Feb 5, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 8366 in repo Azure/azure-cli-extensions

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Feb 5, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@zhangjacq
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 8366 in repo Azure/azure-cli-extensions

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Feb 5, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@necusjz
Copy link
Copy Markdown
Member

necusjz commented Feb 6, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@necusjz necusjz merged commit d2c93aa into Azure:main Feb 6, 2025
@azclibot
Copy link
Copy Markdown
Collaborator

azclibot commented Feb 6, 2025

[Release] Update index.json for extension [ bastion-1.4.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=114437701&view=results

Jenniferyingni pushed a commit to Jenniferyingni/azure-cli-extensions that referenced this pull request Feb 9, 2025
* add support for bastion developer create

* space-separated ip addresses for network acls

* add history

* features vars naming

* check fix

* re-record tests

* attempt to fix api-version for vnet PUT

* update recording

---------

Co-authored-by: Jacques Zhang <zhangja@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Network

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants