-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Packaging] Drop CentOS 7 RPM package #23047
Conversation
Should we drop https://github.com/Azure/azure-cli/blob/22bd24508d36982a7f88c0ce307b2b4c6f0ebdcc/scripts/release/rpm/centos7.dockerfile as well? Customer can still use this file to build their own RPMs for CentOS 7, but at their own risk. |
|
|
||
yum install git gcc python3-devel -y | ||
dnf --nogpgcheck install /mnt/rpm/$RPM_NAME -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yum
is deprecated. We use the latest dnf
. Note localinstall
is now a deprecated alias of install
: https://dnf.readthedocs.io/en/latest/command_ref.html#install-command
@@ -712,19 +685,19 @@ jobs: | |||
displayName: 'Download Build Artifacts' | |||
inputs: | |||
TargetPath: '$(Build.ArtifactStagingDirectory)/rpm' | |||
artifactName: yum | |||
artifactName: rpm-ubi8 | |||
|
|||
|
|||
- bash: | | |||
set -ex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bash's intent is incorrect (it should be 2 whitespace), could you please fix this in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean "indent"? You do have sharp eyes. 😀 There are some other occurrences:
Lines 500 to 526 in e7279d8
- bash: | | |
#!/bin/bash | |
root=$(cd $(dirname $0); pwd) | |
set -evx | |
CLI_VERSION=`cat $BUILD_ARTIFACTSTAGINGDIRECTORY/metadata/version` | |
HOMEBREW_UPSTREAM_URL=`curl -Ls -o /dev/null -w %{url_effective} https://api.github.com/repos/Azure/azure-cli/tarball/$BUILD_SOURCEVERSION` | |
docker_files=$(cd $BUILD_SOURCESDIRECTORY/scripts/release/homebrew/docker; pwd) | |
src_files=$(cd $BUILD_SOURCESDIRECTORY/src; pwd) | |
echo "Generating formula in docker container ... " | |
docker run -v $docker_files:/mnt/scripts \ | |
-v $src_files:/mnt/src \ | |
-e CLI_VERSION=$CLI_VERSION \ | |
-e HOMEBREW_UPSTREAM_URL=$HOMEBREW_UPSTREAM_URL \ | |
--name azurecli \ | |
python:3.10 \ | |
/mnt/scripts/run.sh | |
# clean up | |
rm -rf $BUILD_ARTIFACTSTAGINGDIRECTORY/metadata | |
docker cp azurecli:azure-cli.rb $BUILD_ARTIFACTSTAGINGDIRECTORY/azure-cli.rb | |
docker rm --force azurecli |
Actually YAML does support arbitrary number of spaces as indent. Let's do this in another PR.
TargetPath: $(Build.ArtifactStagingDirectory) | ||
# Should be 'rpm-centos7', but we keep 'yum' for backward compatibility | ||
ArtifactName: yum | ||
|
||
# TODO: rpmbuild on Red Hat UBI 8 is slow for unknown reason. Still working with Red Hat to investigate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* {Network} Desensitize tests for private link `Microsoft.Cache/Redis` (Azure#22883) * remove useless suppression * add credential replacer * upload recording files * finalize the refactors * return value patch when process value is a patch (Azure#23031) * [Bot Service] BREAKING CHANGE: `az bot create` change: Remove `--kind`, `--password`, `--lang` arguments. Add `--app-type`, `--tenant-id`, `--msi-resource-id` arguments (Azure#22902) * remove two deprecated kinds 'webapp' 'registration', and add 'azurebot' for the default new kind Signed-off-by: jiaxuwu2021 <[email protected]> * fix test case * add app_type param, upgrade azure-mgmt-botservice * add param * fix test case * fix test error * fix test case * fix test case * fix test case * fix test case * fix test case * fix test case * fix * fix tests. update recoding * update recording * fix errorexception * update recording * add bot type test * change azure-mgmt-botservice version * use new error types * change import * format Co-authored-by: jiaxuwu2021 <[email protected]> Co-authored-by: fangyangci <[email protected]> * [Search] `az search service create`: Add `--hosting-mode` argument to support S3HD SKU (Azure#22596) * update * fix style violations * feedback * run tests * Fix Style issues Co-authored-by: kai ru <[email protected]> * {sql} Update sample for action parameter (Azure#22982) * {sql} | updated sample for action parameter Fixes Azure#22729 * {SQL} | Fixing line too long issue Fixing line too long issue * {AMS} Migrate AMS module to new Microsoft graph (Azure#22703) * {SQL VM} Update Python SDK to 1.0.0b3 (Azure#23035) * update sql vm python sdk version * update assessment day of week enum * test recordings * add lowercase checks * sqlvm-fix dns prefix generator Co-authored-by: Rachel Kim <[email protected]> * [RDBMS] Fix Azure#22926: az mysql server create/update: Update default value for mysql storage size (Azure#22999) * {Docs} Fix query syntax for az provider list command (Azure#22632) * [Network] BREAKING CHANGE: `az network vnet subnet create`: Disable `PrivateEndpointNetworkPolicies` by default (Azure#22962) * disable PrivateEndpointNetworkPolicies by default * disable PrivateEndpointNetworkPolicies when creating with vnet * refine help message * [App Service] Fix Azure#22117: `az webapp up`: Fix `--runtime` ignored when `--os-type` is not specified (Azure#22592) * [App Service] `az staticwebapp enterprise-edge`: Move command group from extension to official CLI (Azure#22818) * [App Service] `az appservice plan create`: Fix Azure#22332 (Azure#22820) * {App Service} az webapp create/up: Remove mentions of powershell and pipe delimiter from runtimes help text (Azure#22894) * [IoT] `az iot hub/dps certificate list`: Add table transform to certificate list commands (Azure#22958) * {AKS} Monitoring addon MSI auth - update API version for DCR and stream group (Azure#22960) * {ARM} `az provider list`: Add double quotes for --query in the help example (Azure#22965) * {AKS} Fix Azure#23044: az aks update: Fix example using --aks-custom-headers parameter (Azure#23049) * [ARM] Fix Azure#22930: `az bicep generate-params`: Add support for bicep generate-params command (Azure#22951) * [App Service] Fix Azure#20901: `az functionapp update`: Update `--slot` logic to work correctly (Azure#22745) * [AKS] `aks nodepool stop/start`: Add nodepool stop/start bindings (Azure#23055) * {servicebus} Fix error message raised on a malformed ISO-8601 duration (Azure#23037) * {servicebus} | Fixing error message raised on a malformed ISO-8601 duration Fixes Azure#23013 * {Service Bus} | Correct namespace issue Correct namespace issue * {servicebus} | updated relevant error type updated relevant error type * {servicebus} | Correcting syntax Correcting syntax * {Doc} Add telemetry doc (Azure#22689) * add telemetry folder * properties' explanation * type * format * format and typo * {Doc} Fix `az storage` typo (Azure#22912) * [Synapse] `az synapse sql create`: Add parameter "collation" (Azure#22874) * add sql create parameter 'collation' * update param help message * fix style issue * [Keyvault] Fix Azure#16390: `az keyvault set-policy`: Allow clear permissions (Azure#23059) * [ARM] az deployment: Fix the error message of ARM deployment to the correct JSON format (Azure#22847) * [Compute] `az disk create` &`az disk-encryption-set create`: Support secure vm CMK (Azure#22780) * [EventHub] `az eventhubs namespace application-group`: New command group to support application group management (Azure#23045) * adding cmdlets for application groups * adding cmdlets for application groups * Update custom.py * Update action.py * adding public network access property * style fixes * Pipeline fixes * Pipeline fixes * fix help * pipeline fixes * addressing comments * [Cosmos DB] Add support to create containers with client encryption policy (Azure#22975) * Support creating cosmos db containers with client encryption policy * Update _params.py * Update test records * Updates package. * added duplicate path check * Update _params.py * Update _params.py * Update custom.py * test record updates * fix style check * Update _params.py * Update _params.py * Revert "test record updates" This reverts commit 4fe9ea8. * Revert "Update test records" This reverts commit 25be146. * Fixed find last index of '/' in path * Fixed Cosmosdb test failure , update records * Update test_security_atp_settings.yaml * Update test_security_cosmosdb_atp_settings.yaml * update network cosmos db tests. * moved client encryption policy validation to validator.py * Update _validators.py * Update _validators.py * [Storage] Fix Azure#22845: `az storage account genarete-sas`: Fix the flag `--auth-mode login` cause AttributeError (Azure#22854) * fix storage account login error * fix * fix * fix * fix * fix * remove --auth-mode * fix * [sql] `az sql midb update`: Add update command (Azure#22790) * support update operation and tags parameter on create and update * custom command * call update instead from sdk * Add help file change * Adding test and change update logic a bit Co-authored-by: Milan Brkic <[email protected]> * [Compute] `az disk-encryption-set`: Add parameter `--federated-client-id` to access key vault in a different tenant and new subgroup to support managed identities (Azure#22966) * [ACR] Fix Azure/acr#613: `az acr task run`: Add dockerfile to source upload if context is local directory (Azure#22802) * [APIM] `az apim deletedservice`: Add command group to support managing soft-deleted azure API Management services (Azure#22716) * [Compute] `sig list-community`: Add new command to support listing community gallery and GA SIG related feature (Azure#22979) * update doc for shorthand_syntax.md (Azure#22976) * [Rest] `az rest`: Support Unicode characters in JSON request body * [Synapse] `az synapse link-connection`: New command group to support synapse link connections (Azure#22876) * {Core} Capture `SSLError` raised by Track 2 SDKs (Azure#23074) * [Compute] `az vm/vmss create`: Support OS disk encryption for Confidential VM (Azure#22650) * {CI} Update milestone from Jun 2022 (2022-07-05) to Jul 2022 (2022-08-02) (Azure#22879) * [Compute] Support trusted launch for disk (Azure#23026) * {rdbms} | None is compared as 'None' (Azure#23009) * {rdbms} | None is compared as 'None' Fixes Azure#22968 * {rdbms} | updated condition state of comparing none updated condition state of comparing none * Update src/azure-cli/azure/cli/command_modules/rdbms/validators.py Committing suggestion Co-authored-by: Daeun Yim <[email protected]> Co-authored-by: Daeun Yim <[email protected]> * {Release} Upgrade to Azure CLI 2.38.0 (Azure#23086) * update azure-cli version to 2.38.0 * Update src/azure-cli-core/HISTORY.rst Co-authored-by: Jiashuo Li <[email protected]> * Update src/azure-cli/HISTORY.rst * Update src/azure-cli/HISTORY.rst * Apply suggestions from code review Co-authored-by: Xing Zhou <[email protected]> * Apply suggestions from code review Co-authored-by: Yishi Wang <[email protected]> Co-authored-by: kai ru <[email protected]> Co-authored-by: Jiashuo Li <[email protected]> Co-authored-by: Yishi Wang <[email protected]> Co-authored-by: Xing Zhou <[email protected]> * [Core] `az extension add`: Improve feedback shown to users when installation is unsuccessful (Azure#22941) * Add more descriptive error messages to resolve_from_index * Present more feedback to user when `az extension add` or `az extension add --upgrade` fail * Add/update unittests for resolve_from_index * Resolve linter errors * fix aaz command --no-wait issue (Azure#23092) * {CI} Drop Python 3.6 tests (Azure#20865) * [Packaging] Drop CentOS 7 RPM package (Azure#23047) * [AKS] Fix snapshot not resolved according to the subscriptions field in the --snapshot-id option (Azure#23077) * [AKS] `az aks check-acr`: Bump canipull to v0.1.0 to add 5s wait to avoid attach race condition (Azure#23087) * [AKS] `az aks update`: Fix the issue of `NoneType` error when updating the config of keyvault secret provider (Azure#23088) * [Packaging] Drop Python 3.6 support (Azure#23102) * [Network] `az network vnet subnet list-available-ips`: Get list of available IPs for subnet (Azure#23109) * add new command `az network vnet subnet list-available-ips` * update _help.py * {Misc.} Refomat azure pipeline yaml files (Azure#23112) * Reformat * Remove sequence value indent * Fix azure-pipelines-full-tests.yml * {AKS} Monitoring addon MSI auth - Remove unused ContainerInsights Solution resource (Azure#23076) * [Storage] `az storage fs undelete-path`: Encode `--deleted-path-name` automatically (Azure#23113) * [Packaging] Build RPM for Fedora (Azure#22945) * Merge dev * Apply suggestions from code review Co-authored-by: Jiashuo Li <[email protected]> * Apply suggestions from code review Co-authored-by: Jiashuo Li <[email protected]> * Minor fix Co-authored-by: Jiashuo Li <[email protected]> * [Core] `aaz`: Feature Atomic Azure Command support argument validation (Azure#23126) * add argument formats * add test for AAZStrArgFormat * Use OrderedDict for _fields of AAZObjectType * test and fix base argument formats * fix bug with None value * add test for AAZResourceLocationArgFormat * add test for AAZResourceIdArgFormat * add test for AAZSubscriptionIdArgFormat * fix style issues * fix test issues * move test into resource module * fix style issue * {RDBMS} Restoring a flexible server in another resource is currently not supported (Azure#23124) Fixes Azure#23108 * {Core} `aaz`: optimize error display in argument validation (Azure#23164) * add argument formats * add test for AAZStrArgFormat * Use OrderedDict for _fields of AAZObjectType * test and fix base argument formats * fix bug with None value * add test for AAZResourceLocationArgFormat * add test for AAZResourceIdArgFormat * add test for AAZSubscriptionIdArgFormat * fix style issues * fix test issues * move test into resource module * fix style issue * improve error message display * support argument required field validation * arg is not required when it has default value. * {AzureBilling} fix Azure#23097 (Azure#23099) * (AzureCXP) fixes Azure#23097 (AzureCXP) fixes Azure#23097 In this command, there is no documentation that shows where I can get the values for the "name" parameter. So this PR mentions to run the 'az billing period list' command to list the name of billing period' and then use this name in the 'az billing period show' command. * Update _params.py * [App Service] Fix Azure#23135: `az functionapp plan create`: Add validation for the valid value of `--number-of-workers` option (Azure#23153) * [Network] `az network private-endpoint-connection`: Enable private link support for provider `Microsoft.KubernetesConfiguration/privateLinkScopes` (Azure#23172) * [AKS] Remove warning message when using "BYO vnet + system MSI" (Azure#23080) * [Compute] `az ppg create/update`: Add parameter `--intentvmsizes` to support one or more VM sizes and `--zone` to support specifying availability zone where the ppg should be created (Azure#23167) * draft: function and test are finished, need check * --intentvmsizes change to --intent-vm-sizes, and some details * param * style check * [Network] `az network private-endpoint-connection`: Enable private link support for provider `Microsoft.Dashboard/grafana` (Azure#22298) * Register Azure Managed Grafana Service * Add test for Grafana service * Fix typo * Update * [ACR] BREAKING CHANGE: Update manifest list-referrers to comply with RC1 ORAS spec (Azure#23132) * [Compute] Fix Azure#22995: `az image-version create`: Unbind the usage of `--target-region-encryption` and `--target-region-cvm-encryption` (Azure#23147) * [EventHub] az eventhubs namespace create: Add MinTls to EventHub cmdlets and SupportsScaling for cluster cmdlets (Azure#23186) * [Compute] Fix Azure#22654: az vm/vmss run-command: Fix the bug that --protected-parameters does not achieve the desired effect (Azure#23175) * add new client type for spring (Azure#23136) * [AKS] Fix the bug related to AKS Monitoring MSI auth when the location value with spaces (Azure#23149) * [Batch] Upgrade api-version to v2022-06-01, adding 'batch account network-profile' and 'batch account network-profile network-rule' (Azure#23032) * [Network] `az network dns zone export`: Add support for ALIAS record (Azure#23209) * added support for ALIAS record for dns zone export * resolved comments Co-authored-by: Fayaz Shaik <[email protected]> Co-authored-by: necusjz <[email protected]> * Update CODEOWNERS (Azure#23229) * [Core] `aaz`: Implement wait command (Azure#23189) * implement aaz wait command * update wait command arguments registeration * [Storage] Fix Azure#23179: `az storage file upload/upload-batch`: Fix `--content-md5` for upload, ignore `--content-md5` for upload-batch (Azure#23207) * Fix content_md5 Fix file show Add test * Use process_md5=True * Fix style * Minor fix * [AKS] Fix Azure#2457: Clarify subnet id description to resource id (Azure#23234) Fixes Azure/azure-cli-extensions#2457 * regenerate by antlr 4.9.3 (Azure#23233) * [ARM] Fix Azure#23246 : Fix interchanged policy samples (Azure#23250) Fixes Azure#23246 * [Storage] `az storage blob/file update`: Fix `--content-md5` TypeError (Azure#23253) * {core} Upgrade azure-mgmt-core to 1.3.1 (Azure#23254) * [Compute] `az vmss create`: Add new parameters `--os-disk-delete-option` and `--data-disk-delete-option` to support configuring whether the VMSS Flex VM OS/Data Disks will be deleted or detached upon VM deletion (Azure#23200) * {SQL} Fix Azure#15772: Fix a minor typo (Azure#23241) Fixes Azure#15772 * {SQL} Fix Azure#15773: Fix minor typo (Azure#23240) Fixes Azure#15773 * {SQL} Fix Azure#17941: Fix minor typo (Azure#23239) Fixes Azure#17941 * [Profile] `az account list`: Add `TenantId` column to table output (Azure#23214) * {Storage} Fix Azure#21073: Fix minor typo (Azure#23238) Fixes Azure#21073 * [Keyvault] `az keyvault security-domain upload`: Fix `password must be bytes-like` for `--passwords` (Azure#23187) * `az keyvault security-domain upload`: Fix `password must be bytes-like` for `--passwords` * linter * [EventGrid] Add commands for partner and event-subscription customer facing features (Azure#23162) * Bump Event Grid package version to latest preview * Add nested event subscriptions for Event Grid topics * Add nested event subscriptions for Event Grid domains and domain topics * Add verified partner commands * Add all new factories and command groups * Implement all commands * Add more documentation * Change parameter names * Fix pylint and flake8 issues * Findings from design review * Resolve linter issues * test update * Fix linter errors for update parameters * Implement and record tests * Multiple fixes and record tests. fixes include, add missing parameters to channel create, fix resource name parameter for partner channel commands, add tests for partner destination and fix tests for secured webhook scenarios, add try/finally to ensure proper cleanup, remove preview tags for ga'ed featured, add deprecation info for publisher_info and optional partner registration, and others * remve secrets * cleanup: fix style and linter error * cleanup * fix param lengths * fix help * rerecord network test1 * rerecord network test2 * rerecord network test3 * fix help Co-authored-by: Brandon Neff <[email protected]> Co-authored-by: Ashraf Hamad <[email protected]> * {Synapse}az synapse managed-private-endpoints create: Add definition file example in help (Azure#23230) * [Synapse] `az synapse workspace`: Add `--last-commit-id` for git repo config (Azure#23257) * {synapse} az synapse module migration to Microsoft Graph (Azure#23098) * make changes to use ms graph * fix comment * fix test issue * fix pipeline test issue * remove unused error * fix style error * fix wrong usage * {Network} `az network security-partner-provider`: Migrate to CodeGen v2 (Azure#23252) * initial generation * add wait command * remove useless code blocks * re-record test cases * remove useless code blocks * refine templates * add examples * {Core} `aaz`: Improve shorthand syntax (Azure#23268) * support blank expression in 'full value' format * 1.support partial value split in AAZShortHandSyntaxParser 2.support Single Quotes String in partial value keys * fix style issue * {Network} `az network asg`: Migrate to CodeGen v2 (Azure#23166) * initial migration * add create command * remove useless test cases * add wait command * refine examples * {ACS} Fix Azure#16170: Add missing semicolon (Azure#23269) * [ACR] `az acr update`: Update networkRuleSet.defaultAction to deny when `--public-network-enabled` is disabled (Azure#23251) * {Lab} Fix Azure#11445: Add possible values for disk type parameter (Azure#23278) * {Lab} Fix Azure#11445: Add possible values for disk type parameter Fixes Azure#11445 * {Lab} Fix Azure#11445: Fix build issues * [Core] `aaz`: Support `AAZDurationArg`, `AAZDateArg`, `AAZTimeArg`, `AAZDateTimeArg` and `AAZUuidArg` (Azure#23280) * support AAZUuidArg and AAZUuidFormat * support AAZDurationArg, AAZDateArg, AAZTimeArg and AAZDateTimeArg * fix test * fix style issue * [Backup] `az backup protection backup-now`: Fix bug for SQL/HANA backup retention (Azure#23281) * {AKS} Fix Azure#17681: Fix `az aks create` error if name contains characte… (Azure#23272) * [Storage] `az storage container policy create`: No longer uses default value for start and expiry time (Azure#23259) * storage container policy create no longer use default value * lint * make url get request live only * [Network] `az network dns zone import`: Add support for ALIAS record (Azure#23274) * Added support for dns zone alias record import zone file * Fixed pylint issues * Disabled pylint Co-authored-by: Fayaz Shaik <[email protected]> Co-authored-by: necusjz <[email protected]> * {Compute} `az vm/vmss create`: Add warning log to recommend users to specify the `--enable-secure-boot True` and `--enable-vtpm True` when the `--security-type` used by the VM/VMSS creation is `TrustedLaunch` (Azure#23289) * [Synapse] `az synapse ad-only-auth`: New command group for supporting synapse azure ad only authentication (Azure#23227) * add aadonly cmdlets * add ad-only-auth cmdlets * remove wait * fix linter error * remove useless change * fix style issue * {Network} `az network application-gateway`: Remove `is_preview` flag within `client-cert` and `ssl-profile` command groups (Azure#23298) * [Storage] `az storage blob upload`: Add back `--socket-timeout` which has been renamed by SDK (Azure#23146) * blob upload socket-timeout * pop connection timeout * retest * [Service Connector] `az webapp connection create`: Add `--store-connstr` to support webapp connection string (Azure#23288) * add store_in_connection_string parameter * fix linter * add test * record test * change logging to logger * [RDBMS] `az mysql flexible-server server-logs`: Add server logs for MySQL Flexible Server (Azure#23185) * [Compute] `az image builder`: Add parameter `--staging-resource-group` in `create` command to support custom resource group naming and add subgroup `validator` to manage validate information of template (Azure#23303) * {Storage} Update description for setting sticky bit on ADLS Gen2 (Azure#23312) * [IoT] Change certificate loading to encode to b64 strings by default (Azure#23140) * {Core} Provide error recommendation for `validate_file_or_dict` (Azure#23121) * {AKS} Upgrade api-version to 2022-06-01 for ACS module (Azure#23291) * [Core] Support specifying `telemetry.push_interval_in_hours` to force push telemetry cache file (Azure#23205) * Force push telemetry cache file after 24 hours.(Time threshold is configurable) * format * fix telemetry test * address comments * telemetry version * dependency * {Extension} Install library libpq-dev for extension rdbms-connect in Docker (Azure#23265) * [App Service] `az functionapp/logicapp create`: Add new `--https-only` parameter (Azure#23213) * [AD] `az ad app federated-credential`: Federated identity credential GA (Azure#23122) * change --store-connstr to --config-connstr to match webapp word (Azure#23332) * [Storage] Fix Azure#23262: `az storage blob metadata`: Add `--lease-id` back (Azure#23330) * [Network] `az network application-gateway waf-policy custom-rule match-condition add`: Add validation for WAF custom rule condition (Azure#23137) * add validation for WAF custom rule condition * add test cases * fix style check * {Bot Rules} Update Cosmos Contacts (Azure#23120) Updating the contacts for Cosmos, by request. * [Storage] `az storage blob download/download-batch`: Add `--overwrite` (Azure#23329) * add --overwrite * add --overwrite to download as well * review comment * retest * [SQL] Change `az sql log-replay stop` to drop DB only if it was created with LRS (Azure#22939) * Fix stop log replay cmd * Update src/azure-cli/azure/cli/command_modules/sql/custom.py * formatting * {AKS} Check inherited permission when granting permission to cluster identity (Azure#23178) * [Batch] `az batch pool create`: Update help message for `--json-file` argument (Azure#23284) * [Container] Fix Azure#20280: `az container create`: Allow environment variable interpolation in container group yaml (Azure#23148) * {ACS} Update help message to include note on Windows Server 2022 for --os-type parameter (Azure#23211) Add a note on how to deploy Windows Server 2022 nodes. * [Network] BREAKING CHANGE: `az network watcher flow-log`: Add support for `--vnet`, `--subnet`, `--nic` as targetId (Azure#23231) * VnetFlowLogging changes for AzCLI * Config command changes and help statements * Update testcases and config command * pylint fix Co-authored-by: Sakthi-Maheswari <[email protected]> * [AKS] GA AKS Support for Azure Dedicated Host (Azure#23324) * [AKS] Add Key Management Service feature for AKS to encrypt the Kubernetes data in etcd using Azure Key Vault with KMS plugin (Azure#23331) * [AKS] az aks create: Add --network-plugin=none support for BYO CNI (Azure#23344) * {ACR} Fix Azure#23340: Fix `az acr task credential add` crashes when given a password but no username (Azure#23345) * [Packaging] Drop Ubuntu 21.10 Impish Indri DEB package (Azure#23103) * {Synapse} Fix Azure#23334: TDE name is fixed coding as current (Azure#23347) Fix Azure#23334 * {cosmosdb} Fix Azure#23299: Fix a typo (Azure#23302) * {cosmosdb} Fix Azure#23299: Fix a typo Fixes Azure#23299 * Update src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py Co-authored-by: Yishi Wang <[email protected]> Co-authored-by: Yishi Wang <[email protected]> * [App Service] `az webapp`: Add Java 17 Support (Azure#23353) * {Packaging} Remove deprecated edge builds (Azure#23335) * [App Service] `functionapp deployment github-actions`: Add new functionapp github-actions commands (Azure#23326) * [Compute] `az vm disk detach`: Add parameter `--force-detach` to support force-detaching managed data disks from a VM (Azure#23346) * [AKS] az aks create/update: Add parameter --http-proxy-config to support setting HTTP Proxy configuration (Azure#23352) * {SQL} Fix Azure#23357: Fix typo from Directly to Directory (Azure#23360) Fix Azure#23357 * [Advisor] Fix Azure#11070: Fix `az advisor recommendation disable` NoneType error (Azure#23260) * use source resource name and rg from az config (Azure#23313) * {Network} `az network vnet subnet`: Update help message for `--disable-private-endpoint-network-policies` (Azure#23301) * [Network] `az network private-endpoint create`: Add an example for creating with ASGs (Azure#23100) * {Packaging} Change default Ubuntu repo to `jammy` (Azure#23359) * {Release} Upgrade to Azure CLI 2.39.0 (Azure#23378) * {Core} `az login`: Update redirect message (Azure#22657) * {CI} Use `macOS-12` (Azure#23356) * {Monitor} Fix Azure#23161: Correcting the description colunm to column (Azure#23210) * {CI} Update milestone from Jul 2022 (2022-08-02) to Aug 2022 (2022-09-06) (Azure#23391) * [Storage] `az storage fs file set-expiry`: New command to support setting expiry for files in ADLS Gen2 file system (Azure#23395) * file fs set-expiry, test failing * retest * lint * {Core}: 'aaz': Copy default and blank values in arguments (Azure#23422) * copy default and blank values in arguments * add copy and deepcopy operations for AAZBlankArgValue and AAZUndefined * [SignalR] Add custom domain and custom certificate support (Azure#23410) * Add custom domain * Add custom certificate * Update linter exclusion * Update * Update * Update tests * Fix lint * Update help * Renaming to avoid secret * [Compute] `az vm run-command invoke`: Add new parameters `--no-wait` to support not waiting operation (Azure#23435) * [Security] Introducing securitySolutionsReferenceData CLI (Azure#23336) * solutions_reference_data * Introducing securitySolutionsReferenceData CLI * Add recording * fix style check * Update help * update test module * {SQL} Fix Azure#13600: Add message for compute model check (Azure#23433) Fixes Azure#13600 * {ACR} Connected registry error help command typo (Azure#23431) * {Misc.} Fix links and change master -> main (Azure#23416) Co-authored-by: jiasli <[email protected]> * [Monitor] Add new command: `az monitor action-group test-notifications create` (Azure#23411) * [Monitor] * update * Update action_groups.py * update * Update action_groups.py * update * update * update * update * update * update * Update action_groups.py * [Security] Introducing securitySolutions CLI (Azure#23361) * Security-solutions * dada * Introducing securitySolutions CLI * update help * Update to security-solutions * update help * [Security] Introducing securitySolutionsReferenceData CLI (Updated) (Azure#23456) * solutions_reference_data * Introducing securitySolutionsReferenceData CLI * Add recording * fix style check * Update help * update test module * reference_data to reference-data * update help * update help Azure#2 * support more arguments to initiate AAZCommand class (Azure#23459) * [Batch] Fix Azure#23445: `az batch pool supported-images list`: Fix the `NoneType object has no attribute startswith` bug for getting supported images list (Azure#23449) * {netapps} Fix Azure#15209: Update the description of the vnet (Azure#23478) Fixes Azure#15209 * {rdbms} Fix Azure#17579: Add document reference where updated versions are available (Azure#23463) * {rdbms} Fix Azure#17579: Add document reference where updated versions are available Fixes Azure#17579 * {rdbms} Fix Azure#17579: Implement PR review change * {rdbms} Fix Azure#17579: Implement PR review change * {rdbms} Fix Azure#17579: Implement PR changes * {rdbms} Fix Azure#17579: Implement PR changes * {RDBMS} Fix Typo in mysql flexibile server cmdlet summary (Azure#23482) * {RDBMS} Fix Typo in mysql flexibile server cmdlet summary {RDBMS} Fix Typo in mysql flexibile server cmdlet summary * {RDBMS} Fix Typo in postgres flexibile server cmdlet summary {RDBMS} Fix Typo in postgres flexibile server cmdlet summary * [AKS] Fix Azure#23468: `az aks nodepool wait` crashes with error "'Namespace' object has no attribute 'nodepool_name'" (Azure#23489) * [Core] `aaz`: Fix AAZBearerTokenCredentialPolicy to support MSIAuthenticationWrapper crendital (Azure#23471) * [ACR] Add commands for Conditional Access policy (2022-02-01-preview API) (Azure#23323) * {servicefabric} Fix Azure#16717: Validate an empty array of node types (Azure#23518) * [Compute] Fix Azure#23194: sig image-version create: Fix the Parameter tags must be of type dict error when --tags parameter is passed as key=value pairs (Azure#23393) Co-authored-by: necusjz <[email protected]> Co-authored-by: kai ru <[email protected]> Co-authored-by: Charles Zhang <[email protected]> Co-authored-by: jiaxuwu2021 <[email protected]> Co-authored-by: fangyangci <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: RakeshMohan-MSFT <[email protected]> Co-authored-by: hivyas <[email protected]> Co-authored-by: vadeveka <[email protected]> Co-authored-by: Rachel Kim <[email protected]> Co-authored-by: Pramod Valavala <[email protected]> Co-authored-by: Ivan Bodnya <[email protected]> Co-authored-by: Silas Strawn <[email protected]> Co-authored-by: Victoria Litvinova <[email protected]> Co-authored-by: Ganga Mahesh Siddem <[email protected]> Co-authored-by: DeadPoolHeartsRR <[email protected]> Co-authored-by: Haroon Feisal <[email protected]> Co-authored-by: rsamigullin <[email protected]> Co-authored-by: Delora Bradish <[email protected]> Co-authored-by: kevinzz6 <[email protected]> Co-authored-by: Xing Zhou <[email protected]> Co-authored-by: RuiJun Hu (MSFT) <[email protected]> Co-authored-by: damodaravadhani <[email protected]> Co-authored-by: Santosh Kulkarni <[email protected]> Co-authored-by: jonie001 <[email protected]> Co-authored-by: Milan Brkic <[email protected]> Co-authored-by: Milan Brkic <[email protected]> Co-authored-by: Yan Zhu <[email protected]> Co-authored-by: Ole Markus Kristiansen Ternø <[email protected]> Co-authored-by: Alan Feng <[email protected]> Co-authored-by: Jiashuo Li <[email protected]> Co-authored-by: songlu <[email protected]> Co-authored-by: ZelinWang <[email protected]> Co-authored-by: Daeun Yim <[email protected]> Co-authored-by: Azure CLI Bot <[email protected]> Co-authored-by: kdestin <[email protected]> Co-authored-by: FumingZhang <[email protected]> Co-authored-by: Xinhe Li <[email protected]> Co-authored-by: Zeng Taoxu <[email protected]> Co-authored-by: Hang <[email protected]> Co-authored-by: Zhiyi Huang <[email protected]> Co-authored-by: navba-MSFT <[email protected]> Co-authored-by: anagg929 <[email protected]> Co-authored-by: Tongyao Si <[email protected]> Co-authored-by: Gary Wang <[email protected]> Co-authored-by: Matt Benedix <[email protected]> Co-authored-by: xfz11 <[email protected]> Co-authored-by: wiboris <[email protected]> Co-authored-by: fayazshaik7 <[email protected]> Co-authored-by: Fayaz Shaik <[email protected]> Co-authored-by: Yu Chen <[email protected]> Co-authored-by: Brandon Neff <[email protected]> Co-authored-by: Brandon Neff <[email protected]> Co-authored-by: Ashraf Hamad <[email protected]> Co-authored-by: Ankit Agarwal <[email protected]> Co-authored-by: Akshay Neema <[email protected]> Co-authored-by: Jack Stromberg <[email protected]> Co-authored-by: Tanyi Chen <[email protected]> Co-authored-by: Alan Enrique Ontiveros Salazar <[email protected]> Co-authored-by: Ronnie Geraghty <[email protected]> Co-authored-by: Bogdan Ostojic <[email protected]> Co-authored-by: Avinash Upadhyaya K R <[email protected]> Co-authored-by: Vinicius Apolinario <[email protected]> Co-authored-by: srisakthimaheswari <[email protected]> Co-authored-by: Sakthi-Maheswari <[email protected]> Co-authored-by: Jianping Zeng <[email protected]> Co-authored-by: Bin Xia <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Deepyaman Datta <[email protected]> Co-authored-by: Anoop T P <[email protected]> Co-authored-by: Chenyang Liu <[email protected]> Co-authored-by: ariklin <[email protected]> Co-authored-by: Rodrigo Mendoza <[email protected]> Co-authored-by: Heath Stewart <[email protected]> Co-authored-by: SaurabhSharma-MSFT <[email protected]> Co-authored-by: Cesar Gray <[email protected]>
* {Network} Desensitize tests for private link `Microsoft.Cache/Redis` (Azure#22883) * remove useless suppression * add credential replacer * upload recording files * finalize the refactors * return value patch when process value is a patch (Azure#23031) * [Bot Service] BREAKING CHANGE: `az bot create` change: Remove `--kind`, `--password`, `--lang` arguments. Add `--app-type`, `--tenant-id`, `--msi-resource-id` arguments (Azure#22902) * remove two deprecated kinds 'webapp' 'registration', and add 'azurebot' for the default new kind Signed-off-by: jiaxuwu2021 <[email protected]> * fix test case * add app_type param, upgrade azure-mgmt-botservice * add param * fix test case * fix test error * fix test case * fix test case * fix test case * fix test case * fix test case * fix test case * fix * fix tests. update recoding * update recording * fix errorexception * update recording * add bot type test * change azure-mgmt-botservice version * use new error types * change import * format Co-authored-by: jiaxuwu2021 <[email protected]> Co-authored-by: fangyangci <[email protected]> * [Search] `az search service create`: Add `--hosting-mode` argument to support S3HD SKU (Azure#22596) * update * fix style violations * feedback * run tests * Fix Style issues Co-authored-by: kai ru <[email protected]> * {sql} Update sample for action parameter (Azure#22982) * {sql} | updated sample for action parameter Fixes Azure#22729 * {SQL} | Fixing line too long issue Fixing line too long issue * {AMS} Migrate AMS module to new Microsoft graph (Azure#22703) * {SQL VM} Update Python SDK to 1.0.0b3 (Azure#23035) * update sql vm python sdk version * update assessment day of week enum * test recordings * add lowercase checks * sqlvm-fix dns prefix generator Co-authored-by: Rachel Kim <[email protected]> * [RDBMS] Fix Azure#22926: az mysql server create/update: Update default value for mysql storage size (Azure#22999) * {Docs} Fix query syntax for az provider list command (Azure#22632) * [Network] BREAKING CHANGE: `az network vnet subnet create`: Disable `PrivateEndpointNetworkPolicies` by default (Azure#22962) * disable PrivateEndpointNetworkPolicies by default * disable PrivateEndpointNetworkPolicies when creating with vnet * refine help message * [App Service] Fix Azure#22117: `az webapp up`: Fix `--runtime` ignored when `--os-type` is not specified (Azure#22592) * [App Service] `az staticwebapp enterprise-edge`: Move command group from extension to official CLI (Azure#22818) * [App Service] `az appservice plan create`: Fix Azure#22332 (Azure#22820) * {App Service} az webapp create/up: Remove mentions of powershell and pipe delimiter from runtimes help text (Azure#22894) * [IoT] `az iot hub/dps certificate list`: Add table transform to certificate list commands (Azure#22958) * {AKS} Monitoring addon MSI auth - update API version for DCR and stream group (Azure#22960) * {ARM} `az provider list`: Add double quotes for --query in the help example (Azure#22965) * {AKS} Fix Azure#23044: az aks update: Fix example using --aks-custom-headers parameter (Azure#23049) * [ARM] Fix Azure#22930: `az bicep generate-params`: Add support for bicep generate-params command (Azure#22951) * [App Service] Fix Azure#20901: `az functionapp update`: Update `--slot` logic to work correctly (Azure#22745) * [AKS] `aks nodepool stop/start`: Add nodepool stop/start bindings (Azure#23055) * {servicebus} Fix error message raised on a malformed ISO-8601 duration (Azure#23037) * {servicebus} | Fixing error message raised on a malformed ISO-8601 duration Fixes Azure#23013 * {Service Bus} | Correct namespace issue Correct namespace issue * {servicebus} | updated relevant error type updated relevant error type * {servicebus} | Correcting syntax Correcting syntax * {Doc} Add telemetry doc (Azure#22689) * add telemetry folder * properties' explanation * type * format * format and typo * {Doc} Fix `az storage` typo (Azure#22912) * [Synapse] `az synapse sql create`: Add parameter "collation" (Azure#22874) * add sql create parameter 'collation' * update param help message * fix style issue * [Keyvault] Fix Azure#16390: `az keyvault set-policy`: Allow clear permissions (Azure#23059) * [ARM] az deployment: Fix the error message of ARM deployment to the correct JSON format (Azure#22847) * [Compute] `az disk create` &`az disk-encryption-set create`: Support secure vm CMK (Azure#22780) * [EventHub] `az eventhubs namespace application-group`: New command group to support application group management (Azure#23045) * adding cmdlets for application groups * adding cmdlets for application groups * Update custom.py * Update action.py * adding public network access property * style fixes * Pipeline fixes * Pipeline fixes * fix help * pipeline fixes * addressing comments * [Cosmos DB] Add support to create containers with client encryption policy (Azure#22975) * Support creating cosmos db containers with client encryption policy * Update _params.py * Update test records * Updates package. * added duplicate path check * Update _params.py * Update _params.py * Update custom.py * test record updates * fix style check * Update _params.py * Update _params.py * Revert "test record updates" This reverts commit 4fe9ea8. * Revert "Update test records" This reverts commit 25be146. * Fixed find last index of '/' in path * Fixed Cosmosdb test failure , update records * Update test_security_atp_settings.yaml * Update test_security_cosmosdb_atp_settings.yaml * update network cosmos db tests. * moved client encryption policy validation to validator.py * Update _validators.py * Update _validators.py * [Storage] Fix Azure#22845: `az storage account genarete-sas`: Fix the flag `--auth-mode login` cause AttributeError (Azure#22854) * fix storage account login error * fix * fix * fix * fix * fix * remove --auth-mode * fix * [sql] `az sql midb update`: Add update command (Azure#22790) * support update operation and tags parameter on create and update * custom command * call update instead from sdk * Add help file change * Adding test and change update logic a bit Co-authored-by: Milan Brkic <[email protected]> * [Compute] `az disk-encryption-set`: Add parameter `--federated-client-id` to access key vault in a different tenant and new subgroup to support managed identities (Azure#22966) * [ACR] Fix Azure/acr#613: `az acr task run`: Add dockerfile to source upload if context is local directory (Azure#22802) * [APIM] `az apim deletedservice`: Add command group to support managing soft-deleted azure API Management services (Azure#22716) * [Compute] `sig list-community`: Add new command to support listing community gallery and GA SIG related feature (Azure#22979) * update doc for shorthand_syntax.md (Azure#22976) * [Rest] `az rest`: Support Unicode characters in JSON request body * [Synapse] `az synapse link-connection`: New command group to support synapse link connections (Azure#22876) * {Core} Capture `SSLError` raised by Track 2 SDKs (Azure#23074) * [Compute] `az vm/vmss create`: Support OS disk encryption for Confidential VM (Azure#22650) * {CI} Update milestone from Jun 2022 (2022-07-05) to Jul 2022 (2022-08-02) (Azure#22879) * [Compute] Support trusted launch for disk (Azure#23026) * {rdbms} | None is compared as 'None' (Azure#23009) * {rdbms} | None is compared as 'None' Fixes Azure#22968 * {rdbms} | updated condition state of comparing none updated condition state of comparing none * Update src/azure-cli/azure/cli/command_modules/rdbms/validators.py Committing suggestion Co-authored-by: Daeun Yim <[email protected]> Co-authored-by: Daeun Yim <[email protected]> * {Release} Upgrade to Azure CLI 2.38.0 (Azure#23086) * update azure-cli version to 2.38.0 * Update src/azure-cli-core/HISTORY.rst Co-authored-by: Jiashuo Li <[email protected]> * Update src/azure-cli/HISTORY.rst * Update src/azure-cli/HISTORY.rst * Apply suggestions from code review Co-authored-by: Xing Zhou <[email protected]> * Apply suggestions from code review Co-authored-by: Yishi Wang <[email protected]> Co-authored-by: kai ru <[email protected]> Co-authored-by: Jiashuo Li <[email protected]> Co-authored-by: Yishi Wang <[email protected]> Co-authored-by: Xing Zhou <[email protected]> * [Core] `az extension add`: Improve feedback shown to users when installation is unsuccessful (Azure#22941) * Add more descriptive error messages to resolve_from_index * Present more feedback to user when `az extension add` or `az extension add --upgrade` fail * Add/update unittests for resolve_from_index * Resolve linter errors * fix aaz command --no-wait issue (Azure#23092) * {CI} Drop Python 3.6 tests (Azure#20865) * [Packaging] Drop CentOS 7 RPM package (Azure#23047) * [AKS] Fix snapshot not resolved according to the subscriptions field in the --snapshot-id option (Azure#23077) * [AKS] `az aks check-acr`: Bump canipull to v0.1.0 to add 5s wait to avoid attach race condition (Azure#23087) * [AKS] `az aks update`: Fix the issue of `NoneType` error when updating the config of keyvault secret provider (Azure#23088) * [Packaging] Drop Python 3.6 support (Azure#23102) * [Network] `az network vnet subnet list-available-ips`: Get list of available IPs for subnet (Azure#23109) * add new command `az network vnet subnet list-available-ips` * update _help.py * {Misc.} Refomat azure pipeline yaml files (Azure#23112) * Reformat * Remove sequence value indent * Fix azure-pipelines-full-tests.yml * {AKS} Monitoring addon MSI auth - Remove unused ContainerInsights Solution resource (Azure#23076) * [Storage] `az storage fs undelete-path`: Encode `--deleted-path-name` automatically (Azure#23113) * [Packaging] Build RPM for Fedora (Azure#22945) * Merge dev * Apply suggestions from code review Co-authored-by: Jiashuo Li <[email protected]> * Apply suggestions from code review Co-authored-by: Jiashuo Li <[email protected]> * Minor fix Co-authored-by: Jiashuo Li <[email protected]> * [Core] `aaz`: Feature Atomic Azure Command support argument validation (Azure#23126) * add argument formats * add test for AAZStrArgFormat * Use OrderedDict for _fields of AAZObjectType * test and fix base argument formats * fix bug with None value * add test for AAZResourceLocationArgFormat * add test for AAZResourceIdArgFormat * add test for AAZSubscriptionIdArgFormat * fix style issues * fix test issues * move test into resource module * fix style issue * {RDBMS} Restoring a flexible server in another resource is currently not supported (Azure#23124) Fixes Azure#23108 * {Core} `aaz`: optimize error display in argument validation (Azure#23164) * add argument formats * add test for AAZStrArgFormat * Use OrderedDict for _fields of AAZObjectType * test and fix base argument formats * fix bug with None value * add test for AAZResourceLocationArgFormat * add test for AAZResourceIdArgFormat * add test for AAZSubscriptionIdArgFormat * fix style issues * fix test issues * move test into resource module * fix style issue * improve error message display * support argument required field validation * arg is not required when it has default value. * {AzureBilling} fix Azure#23097 (Azure#23099) * (AzureCXP) fixes Azure#23097 (AzureCXP) fixes Azure#23097 In this command, there is no documentation that shows where I can get the values for the "name" parameter. So this PR mentions to run the 'az billing period list' command to list the name of billing period' and then use this name in the 'az billing period show' command. * Update _params.py * [App Service] Fix Azure#23135: `az functionapp plan create`: Add validation for the valid value of `--number-of-workers` option (Azure#23153) * [Network] `az network private-endpoint-connection`: Enable private link support for provider `Microsoft.KubernetesConfiguration/privateLinkScopes` (Azure#23172) * [AKS] Remove warning message when using "BYO vnet + system MSI" (Azure#23080) * [Compute] `az ppg create/update`: Add parameter `--intentvmsizes` to support one or more VM sizes and `--zone` to support specifying availability zone where the ppg should be created (Azure#23167) * draft: function and test are finished, need check * --intentvmsizes change to --intent-vm-sizes, and some details * param * style check * [Network] `az network private-endpoint-connection`: Enable private link support for provider `Microsoft.Dashboard/grafana` (Azure#22298) * Register Azure Managed Grafana Service * Add test for Grafana service * Fix typo * Update * [ACR] BREAKING CHANGE: Update manifest list-referrers to comply with RC1 ORAS spec (Azure#23132) * [Compute] Fix Azure#22995: `az image-version create`: Unbind the usage of `--target-region-encryption` and `--target-region-cvm-encryption` (Azure#23147) * [EventHub] az eventhubs namespace create: Add MinTls to EventHub cmdlets and SupportsScaling for cluster cmdlets (Azure#23186) * [Compute] Fix Azure#22654: az vm/vmss run-command: Fix the bug that --protected-parameters does not achieve the desired effect (Azure#23175) * add new client type for spring (Azure#23136) * [AKS] Fix the bug related to AKS Monitoring MSI auth when the location value with spaces (Azure#23149) * [Batch] Upgrade api-version to v2022-06-01, adding 'batch account network-profile' and 'batch account network-profile network-rule' (Azure#23032) * [Network] `az network dns zone export`: Add support for ALIAS record (Azure#23209) * added support for ALIAS record for dns zone export * resolved comments Co-authored-by: Fayaz Shaik <[email protected]> Co-authored-by: necusjz <[email protected]> * Update CODEOWNERS (Azure#23229) * [Core] `aaz`: Implement wait command (Azure#23189) * implement aaz wait command * update wait command arguments registeration * [Storage] Fix Azure#23179: `az storage file upload/upload-batch`: Fix `--content-md5` for upload, ignore `--content-md5` for upload-batch (Azure#23207) * Fix content_md5 Fix file show Add test * Use process_md5=True * Fix style * Minor fix * [AKS] Fix Azure#2457: Clarify subnet id description to resource id (Azure#23234) Fixes Azure/azure-cli-extensions#2457 * regenerate by antlr 4.9.3 (Azure#23233) * [ARM] Fix Azure#23246 : Fix interchanged policy samples (Azure#23250) Fixes Azure#23246 * [Storage] `az storage blob/file update`: Fix `--content-md5` TypeError (Azure#23253) * {core} Upgrade azure-mgmt-core to 1.3.1 (Azure#23254) * [Compute] `az vmss create`: Add new parameters `--os-disk-delete-option` and `--data-disk-delete-option` to support configuring whether the VMSS Flex VM OS/Data Disks will be deleted or detached upon VM deletion (Azure#23200) * {SQL} Fix Azure#15772: Fix a minor typo (Azure#23241) Fixes Azure#15772 * {SQL} Fix Azure#15773: Fix minor typo (Azure#23240) Fixes Azure#15773 * {SQL} Fix Azure#17941: Fix minor typo (Azure#23239) Fixes Azure#17941 * [Profile] `az account list`: Add `TenantId` column to table output (Azure#23214) * {Storage} Fix Azure#21073: Fix minor typo (Azure#23238) Fixes Azure#21073 * [Keyvault] `az keyvault security-domain upload`: Fix `password must be bytes-like` for `--passwords` (Azure#23187) * `az keyvault security-domain upload`: Fix `password must be bytes-like` for `--passwords` * linter * [EventGrid] Add commands for partner and event-subscription customer facing features (Azure#23162) * Bump Event Grid package version to latest preview * Add nested event subscriptions for Event Grid topics * Add nested event subscriptions for Event Grid domains and domain topics * Add verified partner commands * Add all new factories and command groups * Implement all commands * Add more documentation * Change parameter names * Fix pylint and flake8 issues * Findings from design review * Resolve linter issues * test update * Fix linter errors for update parameters * Implement and record tests * Multiple fixes and record tests. fixes include, add missing parameters to channel create, fix resource name parameter for partner channel commands, add tests for partner destination and fix tests for secured webhook scenarios, add try/finally to ensure proper cleanup, remove preview tags for ga'ed featured, add deprecation info for publisher_info and optional partner registration, and others * remve secrets * cleanup: fix style and linter error * cleanup * fix param lengths * fix help * rerecord network test1 * rerecord network test2 * rerecord network test3 * fix help Co-authored-by: Brandon Neff <[email protected]> Co-authored-by: Ashraf Hamad <[email protected]> * {Synapse}az synapse managed-private-endpoints create: Add definition file example in help (Azure#23230) * [Synapse] `az synapse workspace`: Add `--last-commit-id` for git repo config (Azure#23257) * {synapse} az synapse module migration to Microsoft Graph (Azure#23098) * make changes to use ms graph * fix comment * fix test issue * fix pipeline test issue * remove unused error * fix style error * fix wrong usage * {Network} `az network security-partner-provider`: Migrate to CodeGen v2 (Azure#23252) * initial generation * add wait command * remove useless code blocks * re-record test cases * remove useless code blocks * refine templates * add examples * {Core} `aaz`: Improve shorthand syntax (Azure#23268) * support blank expression in 'full value' format * 1.support partial value split in AAZShortHandSyntaxParser 2.support Single Quotes String in partial value keys * fix style issue * {Network} `az network asg`: Migrate to CodeGen v2 (Azure#23166) * initial migration * add create command * remove useless test cases * add wait command * refine examples * {ACS} Fix Azure#16170: Add missing semicolon (Azure#23269) * [ACR] `az acr update`: Update networkRuleSet.defaultAction to deny when `--public-network-enabled` is disabled (Azure#23251) * {Lab} Fix Azure#11445: Add possible values for disk type parameter (Azure#23278) * {Lab} Fix Azure#11445: Add possible values for disk type parameter Fixes Azure#11445 * {Lab} Fix Azure#11445: Fix build issues * [Core] `aaz`: Support `AAZDurationArg`, `AAZDateArg`, `AAZTimeArg`, `AAZDateTimeArg` and `AAZUuidArg` (Azure#23280) * support AAZUuidArg and AAZUuidFormat * support AAZDurationArg, AAZDateArg, AAZTimeArg and AAZDateTimeArg * fix test * fix style issue * [Backup] `az backup protection backup-now`: Fix bug for SQL/HANA backup retention (Azure#23281) * {AKS} Fix Azure#17681: Fix `az aks create` error if name contains characte… (Azure#23272) * [Storage] `az storage container policy create`: No longer uses default value for start and expiry time (Azure#23259) * storage container policy create no longer use default value * lint * make url get request live only * [Network] `az network dns zone import`: Add support for ALIAS record (Azure#23274) * Added support for dns zone alias record import zone file * Fixed pylint issues * Disabled pylint Co-authored-by: Fayaz Shaik <[email protected]> Co-authored-by: necusjz <[email protected]> * {Compute} `az vm/vmss create`: Add warning log to recommend users to specify the `--enable-secure-boot True` and `--enable-vtpm True` when the `--security-type` used by the VM/VMSS creation is `TrustedLaunch` (Azure#23289) * [Synapse] `az synapse ad-only-auth`: New command group for supporting synapse azure ad only authentication (Azure#23227) * add aadonly cmdlets * add ad-only-auth cmdlets * remove wait * fix linter error * remove useless change * fix style issue * {Network} `az network application-gateway`: Remove `is_preview` flag within `client-cert` and `ssl-profile` command groups (Azure#23298) * [Storage] `az storage blob upload`: Add back `--socket-timeout` which has been renamed by SDK (Azure#23146) * blob upload socket-timeout * pop connection timeout * retest * [Service Connector] `az webapp connection create`: Add `--store-connstr` to support webapp connection string (Azure#23288) * add store_in_connection_string parameter * fix linter * add test * record test * change logging to logger * [RDBMS] `az mysql flexible-server server-logs`: Add server logs for MySQL Flexible Server (Azure#23185) * [Compute] `az image builder`: Add parameter `--staging-resource-group` in `create` command to support custom resource group naming and add subgroup `validator` to manage validate information of template (Azure#23303) * {Storage} Update description for setting sticky bit on ADLS Gen2 (Azure#23312) * [IoT] Change certificate loading to encode to b64 strings by default (Azure#23140) * {Core} Provide error recommendation for `validate_file_or_dict` (Azure#23121) * {AKS} Upgrade api-version to 2022-06-01 for ACS module (Azure#23291) * [Core] Support specifying `telemetry.push_interval_in_hours` to force push telemetry cache file (Azure#23205) * Force push telemetry cache file after 24 hours.(Time threshold is configurable) * format * fix telemetry test * address comments * telemetry version * dependency * {Extension} Install library libpq-dev for extension rdbms-connect in Docker (Azure#23265) * [App Service] `az functionapp/logicapp create`: Add new `--https-only` parameter (Azure#23213) * [AD] `az ad app federated-credential`: Federated identity credential GA (Azure#23122) * change --store-connstr to --config-connstr to match webapp word (Azure#23332) * [Storage] Fix Azure#23262: `az storage blob metadata`: Add `--lease-id` back (Azure#23330) * [Network] `az network application-gateway waf-policy custom-rule match-condition add`: Add validation for WAF custom rule condition (Azure#23137) * add validation for WAF custom rule condition * add test cases * fix style check * {Bot Rules} Update Cosmos Contacts (Azure#23120) Updating the contacts for Cosmos, by request. * [Storage] `az storage blob download/download-batch`: Add `--overwrite` (Azure#23329) * add --overwrite * add --overwrite to download as well * review comment * retest * [SQL] Change `az sql log-replay stop` to drop DB only if it was created with LRS (Azure#22939) * Fix stop log replay cmd * Update src/azure-cli/azure/cli/command_modules/sql/custom.py * formatting * {AKS} Check inherited permission when granting permission to cluster identity (Azure#23178) * [Batch] `az batch pool create`: Update help message for `--json-file` argument (Azure#23284) * [Container] Fix Azure#20280: `az container create`: Allow environment variable interpolation in container group yaml (Azure#23148) * {ACS} Update help message to include note on Windows Server 2022 for --os-type parameter (Azure#23211) Add a note on how to deploy Windows Server 2022 nodes. * [Network] BREAKING CHANGE: `az network watcher flow-log`: Add support for `--vnet`, `--subnet`, `--nic` as targetId (Azure#23231) * VnetFlowLogging changes for AzCLI * Config command changes and help statements * Update testcases and config command * pylint fix Co-authored-by: Sakthi-Maheswari <[email protected]> * [AKS] GA AKS Support for Azure Dedicated Host (Azure#23324) * [AKS] Add Key Management Service feature for AKS to encrypt the Kubernetes data in etcd using Azure Key Vault with KMS plugin (Azure#23331) * [AKS] az aks create: Add --network-plugin=none support for BYO CNI (Azure#23344) * {ACR} Fix Azure#23340: Fix `az acr task credential add` crashes when given a password but no username (Azure#23345) * [Packaging] Drop Ubuntu 21.10 Impish Indri DEB package (Azure#23103) * {Synapse} Fix Azure#23334: TDE name is fixed coding as current (Azure#23347) Fix Azure#23334 * {cosmosdb} Fix Azure#23299: Fix a typo (Azure#23302) * {cosmosdb} Fix Azure#23299: Fix a typo Fixes Azure#23299 * Update src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py Co-authored-by: Yishi Wang <[email protected]> Co-authored-by: Yishi Wang <[email protected]> * [App Service] `az webapp`: Add Java 17 Support (Azure#23353) * {Packaging} Remove deprecated edge builds (Azure#23335) * [App Service] `functionapp deployment github-actions`: Add new functionapp github-actions commands (Azure#23326) * [Compute] `az vm disk detach`: Add parameter `--force-detach` to support force-detaching managed data disks from a VM (Azure#23346) * [AKS] az aks create/update: Add parameter --http-proxy-config to support setting HTTP Proxy configuration (Azure#23352) * {SQL} Fix Azure#23357: Fix typo from Directly to Directory (Azure#23360) Fix Azure#23357 * [Advisor] Fix Azure#11070: Fix `az advisor recommendation disable` NoneType error (Azure#23260) * use source resource name and rg from az config (Azure#23313) * {Network} `az network vnet subnet`: Update help message for `--disable-private-endpoint-network-policies` (Azure#23301) * [Network] `az network private-endpoint create`: Add an example for creating with ASGs (Azure#23100) * {Packaging} Change default Ubuntu repo to `jammy` (Azure#23359) * {Release} Upgrade to Azure CLI 2.39.0 (Azure#23378) * {Core} `az login`: Update redirect message (Azure#22657) * {CI} Use `macOS-12` (Azure#23356) * {Monitor} Fix Azure#23161: Correcting the description colunm to column (Azure#23210) * {CI} Update milestone from Jul 2022 (2022-08-02) to Aug 2022 (2022-09-06) (Azure#23391) * [Storage] `az storage fs file set-expiry`: New command to support setting expiry for files in ADLS Gen2 file system (Azure#23395) * file fs set-expiry, test failing * retest * lint * {Core}: 'aaz': Copy default and blank values in arguments (Azure#23422) * copy default and blank values in arguments * add copy and deepcopy operations for AAZBlankArgValue and AAZUndefined * [SignalR] Add custom domain and custom certificate support (Azure#23410) * Add custom domain * Add custom certificate * Update linter exclusion * Update * Update * Update tests * Fix lint * Update help * Renaming to avoid secret * [Compute] `az vm run-command invoke`: Add new parameters `--no-wait` to support not waiting operation (Azure#23435) * [Security] Introducing securitySolutionsReferenceData CLI (Azure#23336) * solutions_reference_data * Introducing securitySolutionsReferenceData CLI * Add recording * fix style check * Update help * update test module * {SQL} Fix Azure#13600: Add message for compute model check (Azure#23433) Fixes Azure#13600 * {ACR} Connected registry error help command typo (Azure#23431) * {Misc.} Fix links and change master -> main (Azure#23416) Co-authored-by: jiasli <[email protected]> * [Monitor] Add new command: `az monitor action-group test-notifications create` (Azure#23411) * [Monitor] * update * Update action_groups.py * update * Update action_groups.py * update * update * update * update * update * update * Update action_groups.py * [Security] Introducing securitySolutions CLI (Azure#23361) * Security-solutions * dada * Introducing securitySolutions CLI * update help * Update to security-solutions * update help * [Security] Introducing securitySolutionsReferenceData CLI (Updated) (Azure#23456) * solutions_reference_data * Introducing securitySolutionsReferenceData CLI * Add recording * fix style check * Update help * update test module * reference_data to reference-data * update help * update help Azure#2 * support more arguments to initiate AAZCommand class (Azure#23459) * [Batch] Fix Azure#23445: `az batch pool supported-images list`: Fix the `NoneType object has no attribute startswith` bug for getting supported images list (Azure#23449) * {netapps} Fix Azure#15209: Update the description of the vnet (Azure#23478) Fixes Azure#15209 * {rdbms} Fix Azure#17579: Add document reference where updated versions are available (Azure#23463) * {rdbms} Fix Azure#17579: Add document reference where updated versions are available Fixes Azure#17579 * {rdbms} Fix Azure#17579: Implement PR review change * {rdbms} Fix Azure#17579: Implement PR review change * {rdbms} Fix Azure#17579: Implement PR changes * {rdbms} Fix Azure#17579: Implement PR changes * {RDBMS} Fix Typo in mysql flexibile server cmdlet summary (Azure#23482) * {RDBMS} Fix Typo in mysql flexibile server cmdlet summary {RDBMS} Fix Typo in mysql flexibile server cmdlet summary * {RDBMS} Fix Typo in postgres flexibile server cmdlet summary {RDBMS} Fix Typo in postgres flexibile server cmdlet summary * [AKS] Fix Azure#23468: `az aks nodepool wait` crashes with error "'Namespace' object has no attribute 'nodepool_name'" (Azure#23489) * [Core] `aaz`: Fix AAZBearerTokenCredentialPolicy to support MSIAuthenticationWrapper crendital (Azure#23471) * [ACR] Add commands for Conditional Access policy (2022-02-01-preview API) (Azure#23323) * {servicefabric} Fix Azure#16717: Validate an empty array of node types (Azure#23518) * [Compute] Fix Azure#23194: sig image-version create: Fix the Parameter tags must be of type dict error when --tags parameter is passed as key=value pairs (Azure#23393) * fix version update in setup.py Co-authored-by: necusjz <[email protected]> Co-authored-by: kai ru <[email protected]> Co-authored-by: Charles Zhang <[email protected]> Co-authored-by: jiaxuwu2021 <[email protected]> Co-authored-by: fangyangci <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: RakeshMohan-MSFT <[email protected]> Co-authored-by: hivyas <[email protected]> Co-authored-by: vadeveka <[email protected]> Co-authored-by: Rachel Kim <[email protected]> Co-authored-by: Pramod Valavala <[email protected]> Co-authored-by: Ivan Bodnya <[email protected]> Co-authored-by: Silas Strawn <[email protected]> Co-authored-by: Victoria Litvinova <[email protected]> Co-authored-by: Ganga Mahesh Siddem <[email protected]> Co-authored-by: DeadPoolHeartsRR <[email protected]> Co-authored-by: Haroon Feisal <[email protected]> Co-authored-by: rsamigullin <[email protected]> Co-authored-by: Delora Bradish <[email protected]> Co-authored-by: kevinzz6 <[email protected]> Co-authored-by: Xing Zhou <[email protected]> Co-authored-by: RuiJun Hu (MSFT) <[email protected]> Co-authored-by: damodaravadhani <[email protected]> Co-authored-by: Santosh Kulkarni <[email protected]> Co-authored-by: jonie001 <[email protected]> Co-authored-by: Milan Brkic <[email protected]> Co-authored-by: Milan Brkic <[email protected]> Co-authored-by: Yan Zhu <[email protected]> Co-authored-by: Ole Markus Kristiansen Ternø <[email protected]> Co-authored-by: Alan Feng <[email protected]> Co-authored-by: Jiashuo Li <[email protected]> Co-authored-by: songlu <[email protected]> Co-authored-by: ZelinWang <[email protected]> Co-authored-by: Daeun Yim <[email protected]> Co-authored-by: Azure CLI Bot <[email protected]> Co-authored-by: kdestin <[email protected]> Co-authored-by: FumingZhang <[email protected]> Co-authored-by: Xinhe Li <[email protected]> Co-authored-by: Zeng Taoxu <[email protected]> Co-authored-by: Hang <[email protected]> Co-authored-by: Zhiyi Huang <[email protected]> Co-authored-by: navba-MSFT <[email protected]> Co-authored-by: anagg929 <[email protected]> Co-authored-by: Tongyao Si <[email protected]> Co-authored-by: Gary Wang <[email protected]> Co-authored-by: Matt Benedix <[email protected]> Co-authored-by: xfz11 <[email protected]> Co-authored-by: wiboris <[email protected]> Co-authored-by: fayazshaik7 <[email protected]> Co-authored-by: Fayaz Shaik <[email protected]> Co-authored-by: Yu Chen <[email protected]> Co-authored-by: Brandon Neff <[email protected]> Co-authored-by: Brandon Neff <[email protected]> Co-authored-by: Ashraf Hamad <[email protected]> Co-authored-by: Ankit Agarwal <[email protected]> Co-authored-by: Akshay Neema <[email protected]> Co-authored-by: Jack Stromberg <[email protected]> Co-authored-by: Tanyi Chen <[email protected]> Co-authored-by: Alan Enrique Ontiveros Salazar <[email protected]> Co-authored-by: Ronnie Geraghty <[email protected]> Co-authored-by: Bogdan Ostojic <[email protected]> Co-authored-by: Avinash Upadhyaya K R <[email protected]> Co-authored-by: Vinicius Apolinario <[email protected]> Co-authored-by: srisakthimaheswari <[email protected]> Co-authored-by: Sakthi-Maheswari <[email protected]> Co-authored-by: Jianping Zeng <[email protected]> Co-authored-by: Bin Xia <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Deepyaman Datta <[email protected]> Co-authored-by: Anoop T P <[email protected]> Co-authored-by: Chenyang Liu <[email protected]> Co-authored-by: ariklin <[email protected]> Co-authored-by: Rodrigo Mendoza <[email protected]> Co-authored-by: Heath Stewart <[email protected]> Co-authored-by: SaurabhSharma-MSFT <[email protected]> Co-authored-by: Cesar Gray <[email protected]>
Description
Close #22726
According to https://wiki.centos.org/About/Product, CentOS 7 has already reached its maintenance phase since 2020-08-06:
CentOS 7 still only has Python 3.6, but Python 3.6 has been deprecated on 2021-12-23 (https://www.python.org/downloads/).
We are already releasing
el8
package for RHEL 8 and CentOS Stream 8 which uses Python 3.9 (#21655, #22606).Azure Python SDK tried to remove Python 3.6 support last year (Azure/azure-sdk-for-python#20691), but added Python 3.6 back later (Azure/azure-sdk-for-python#22459) as a grace period.
Email: Deprecation of Python 3.6 in SDK
Python SDK officially declared dropping Python 3.6 support on 2022-07-02 in
Python SDK's main README now shows:
https://github.com/Azure/azure-sdk-for-python#prerequisites
Changes
BuildRpmPackageCentOS7
from build pipelineTestRpmPackage
use theel8
package built by Red Hat UBI 8Tests for 3.6 is dropped by #20865.