Skip to content

Commit

Permalink
[Network] Drop azure-mgmt-network SDK (#25451)
Browse files Browse the repository at this point in the history
* drop azure-mgmt-network SDK

* remove azure.mgmt.network in trim_sdk stripts

* remove network resource_type

* clean up

* Update src/azure-cli/azure/cli/command_modules/appservice/appservice_environment.py

* Update src/azure-cli/azure/cli/command_modules/appservice/appservice_environment.py

* Update src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_app_service_environment_commands_thru_mock.py

* Update src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_app_service_environment_commands_thru_mock.py

* Update src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_app_service_environment_commands_thru_mock.py
  • Loading branch information
kairu-ms authored Mar 16, 2023
1 parent 7087304 commit 71ab97d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion scripts/sdk_process/patch_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ def find_autorest_generated_folder(module_prefix="azure.mgmt"):
'azure.mgmt.keyvault',
'azure.mgmt.storage',
'azure.mgmt.compute',
'azure.mgmt.network',
'azure.mgmt.monitor',
'azure.mgmt.rdbms'
'azure.mgmt.loganalytics',
Expand Down
3 changes: 0 additions & 3 deletions scripts/trim_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import shutil

import azure.mgmt
import azure.mgmt.network

from azure.cli.core.profiles import AD_HOC_API_VERSIONS, AZURE_API_PROFILES, ResourceType

Expand Down Expand Up @@ -117,8 +116,6 @@ def _get_biggest_sdks_to_trim():
# Return top biggest SDKs. This list was retrieved by running
# ncdu /opt/az/lib/python3.10/site-packages/azure/mgmt
resource_types = [
# /network
ResourceType.MGMT_NETWORK,
# /web
ResourceType.MGMT_APPSERVICE,
# /compute
Expand Down
1 change: 0 additions & 1 deletion src/azure-cli/requirements.py3.Darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ azure-mgmt-media==9.0.0
azure-mgmt-monitor==5.0.0
azure-mgmt-msi==7.0.0
azure-mgmt-netapp==9.0.1
azure-mgmt-network==21.0.1
azure-mgmt-policyinsights==1.1.0b2
azure-mgmt-privatedns==1.0.0
azure-mgmt-rdbms==10.2.0b6
Expand Down
1 change: 0 additions & 1 deletion src/azure-cli/requirements.py3.Linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ azure-mgmt-media==9.0.0
azure-mgmt-monitor==5.0.0
azure-mgmt-msi==7.0.0
azure-mgmt-netapp==9.0.1
azure-mgmt-network==21.0.1
azure-mgmt-policyinsights==1.1.0b2
azure-mgmt-privatedns==1.0.0
azure-mgmt-rdbms==10.2.0b6
Expand Down
1 change: 0 additions & 1 deletion src/azure-cli/requirements.py3.windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ azure-mgmt-media==9.0.0
azure-mgmt-monitor==5.0.0
azure-mgmt-msi==7.0.0
azure-mgmt-netapp==9.0.1
azure-mgmt-network==21.0.1
azure-mgmt-policyinsights==1.1.0b2
azure-mgmt-privatedns==1.0.0
azure-mgmt-rdbms==10.2.0b6
Expand Down
1 change: 0 additions & 1 deletion src/azure-cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
'azure-mgmt-monitor~=5.0.0',
'azure-mgmt-msi~=7.0.0',
'azure-mgmt-netapp~=9.0.1',
'azure-mgmt-network~=21.0.1',
'azure-mgmt-policyinsights~=1.1.0b2',
'azure-mgmt-privatedns~=1.0.0',
'azure-mgmt-rdbms~=10.2.0b6',
Expand Down

0 comments on commit 71ab97d

Please sign in to comment.