Skip to content

Commit a7027a9

Browse files
Attempt resource client split
1 parent fd4a6cd commit a7027a9

438 files changed

Lines changed: 13799 additions & 30093 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
545 KB
Binary file not shown.

src/azure-cli-core/azure/cli/core/profiles/_shared.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods
5858
MGMT_RESOURCE_POLICY = ('azure.mgmt.resource.policy', 'PolicyClient')
5959
MGMT_RESOURCE_RESOURCES = ('azure.mgmt.resource.resources', 'ResourceManagementClient')
6060
MGMT_RESOURCE_SUBSCRIPTIONS = ('azure.mgmt.resource.subscriptions', 'SubscriptionClient')
61+
MGMT_RESOURCE_DEPLOYMENTS = ('azure.mgmt.resource.deployments', 'DeploymentsMgmtClient')
6162
MGMT_RESOURCE_DEPLOYMENTSCRIPTS = ('azure.mgmt.resource.deploymentscripts', 'DeploymentScriptsClient')
6263
MGMT_RESOURCE_TEMPLATESPECS = ('azure.mgmt.resource.templatespecs', 'TemplateSpecsClient')
6364
MGMT_RESOURCE_DEPLOYMENTSTACKS = ('azure.mgmt.resource.deploymentstacks', 'DeploymentStacksClient')
@@ -179,9 +180,10 @@ def default_api_version(self):
179180
}),
180181
ResourceType.MGMT_RESOURCE_RESOURCES: '2024-11-01',
181182
ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2022-12-01',
182-
ResourceType.MGMT_RESOURCE_DEPLOYMENTSCRIPTS: '2020-10-01',
183-
ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2021-05-01',
184-
ResourceType.MGMT_RESOURCE_DEPLOYMENTSTACKS: '2024-03-01',
183+
ResourceType.MGMT_RESOURCE_DEPLOYMENTS: None,
184+
ResourceType.MGMT_RESOURCE_DEPLOYMENTSCRIPTS: None,
185+
ResourceType.MGMT_RESOURCE_TEMPLATESPECS: None,
186+
ResourceType.MGMT_RESOURCE_DEPLOYMENTSTACKS: None,
185187
ResourceType.MGMT_RESOURCE_PRIVATELINKS: '2020-05-01',
186188
ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2019-07-01',
187189
ResourceType.MGMT_NETWORK_DNS: '2018-05-01',

src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_taskrun.yaml

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
from azure.mgmt.privatedns import PrivateDnsManagementClient
1010

1111
# Models
12-
from azure.mgmt.resource.resources.models import (DeploymentProperties, Deployment, SubResource)
12+
from azure.mgmt.resource.deployments.models import (DeploymentProperties, Deployment)
13+
from azure.mgmt.resource.resources.models import SubResource
1314
from azure.mgmt.privatedns.models import (PrivateZone, VirtualNetworkLink, RecordSet, ARecord)
1415

1516
# Utils

src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_CrossZonalRestore.yaml

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_archive.yaml

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_container.yaml

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_disk_exclusion.yaml

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_item.yaml

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)