Skip to content

Commit dc5beeb

Browse files
Merge branch 'Azure:main' into main
2 parents 08cb376 + e9d4551 commit dc5beeb

2,588 files changed

Lines changed: 914687 additions & 842868 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.

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
/src/ip-group/ @necusjz @kairu-ms @jsntcy
9090

91-
/src/connectedk8s/ @bavneetsingh16 @deeksha345 @anagg929
91+
/src/connectedk8s/ @bavneetsingh16 @deeksha345 @anagg929 @atchutbarli
9292

9393
/src/storagesync/ @jsntcy
9494

@@ -310,8 +310,6 @@
310310

311311
/src/site-recovery/ @calvinhzy
312312

313-
/src/hdinsightonaks/ @aim-for-better @yuc-Li
314-
315313
/src/network-analytics/ @pikanghosh1
316314

317315
/src/azurelargeinstance/ @8Gitbrix
@@ -331,3 +329,5 @@
331329
/src/vme/ @caoyihua
332330

333331
/src/carbon/ @itiinani
332+
333+
/src/amlfs/ @Aman-Jain-14 @amajai @mawhite @brpanask @tibanyas

.github/policies/resourceManagement.yml

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ configuration:
252252
then:
253253
- mentionUsers:
254254
mentionees:
255-
- dyu1208
255+
- mbifeld
256256
- FumingZhang
257257
- andyliuliming
258258
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
@@ -614,13 +614,11 @@ configuration:
614614
then:
615615
- mentionUsers:
616616
mentionees:
617-
- mksuni
618-
- bgklein
619-
- mscurrell
620617
- dpwatrous
621-
- gingi
622-
- paterasMSFT
618+
- wiboris
623619
- cRui861
620+
- skapur12
621+
- wanghoppe
624622
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
625623
assignMentionees: False
626624
- if:
@@ -1505,8 +1503,7 @@ configuration:
15051503
then:
15061504
- mentionUsers:
15071505
mentionees:
1508-
- alec-baird
1509-
- costinhagiu
1506+
- MichaelWu
15101507
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
15111508
assignMentionees: False
15121509
- if:
@@ -1577,7 +1574,6 @@ configuration:
15771574
- mentionUsers:
15781575
mentionees:
15791576
- sourabhguha
1580-
- inesk-vt
15811577
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
15821578
assignMentionees: False
15831579
- if:
@@ -1782,6 +1778,7 @@ configuration:
17821778
- schaabs
17831779
- chen-karen
17841780
- chandanrr
1781+
- cheathamb36
17851782
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
17861783
assignMentionees: False
17871784
- if:
@@ -2293,6 +2290,17 @@ configuration:
22932290
- rajsell
22942291
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
22952292
assignMentionees: False
2293+
- if:
2294+
- hasLabel:
2295+
label: Service Attention
2296+
- hasLabel:
2297+
label: Neon Postgre
2298+
then:
2299+
- mentionUsers:
2300+
mentionees:
2301+
- alluri02
2302+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
2303+
assignMentionees: False
22962304
- if:
22972305
- hasLabel:
22982306
label: Service Attention
@@ -2393,8 +2401,7 @@ configuration:
23932401
- mentionUsers:
23942402
mentionees:
23952403
- gopimsft
2396-
- gimotwanMSFT
2397-
- avripintoms
2404+
- Azure/azure-firewall
23982405
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
23992406
assignMentionees: False
24002407
- if:
@@ -2860,10 +2867,10 @@ configuration:
28602867
then:
28612868
- mentionUsers:
28622869
mentionees:
2863-
- mwesigwaguma
2864-
- a-Santamaria
2870+
- iliu816
2871+
- a-santamaria
28652872
- LukeSlev
2866-
- jkochhar
2873+
- Jkochhar
28672874
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
28682875
assignMentionees: False
28692876
- if:
@@ -3001,6 +3008,20 @@ configuration:
30013008
- xgithubtriage
30023009
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
30033010
assignMentionees: False
3011+
- if:
3012+
- hasLabel:
3013+
label: Service Attention
3014+
- hasLabel:
3015+
label: Storage Action
3016+
then:
3017+
- mentionUsers:
3018+
mentionees:
3019+
- blueww
3020+
- sshankMSFT
3021+
- golddove
3022+
- S-J-M
3023+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
3024+
assignMentionees: False
30043025
- if:
30053026
- hasLabel:
30063027
label: Service Attention

linter_exclusions.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,20 +1415,44 @@ iot edge deployment update:
14151415
- no_parameter_defaults_for_update_commands
14161416
iot ops asset create:
14171417
parameters:
1418-
cluster_resource_group:
1418+
instance_resource_group:
14191419
rule_exclusions:
14201420
- parameter_should_not_end_in_resource_group
1421-
custom_location_resource_group:
1421+
iot ops asset query:
1422+
parameters:
1423+
instance_resource_group:
1424+
rule_exclusions:
1425+
- parameter_should_not_end_in_resource_group
1426+
iot ops asset endpoint create custom:
1427+
parameters:
1428+
instance_resource_group:
1429+
rule_exclusions:
1430+
- parameter_should_not_end_in_resource_group
1431+
iot ops asset endpoint create onvif:
1432+
parameters:
1433+
instance_resource_group:
14221434
rule_exclusions:
14231435
- parameter_should_not_end_in_resource_group
1424-
iot ops asset endpoint create:
1436+
iot ops asset endpoint create opcua:
14251437
parameters:
1426-
cluster_resource_group:
1438+
instance_resource_group:
14271439
rule_exclusions:
14281440
- parameter_should_not_end_in_resource_group
1429-
custom_location_resource_group:
1441+
iot ops asset endpoint query:
1442+
parameters:
1443+
instance_resource_group:
1444+
rule_exclusions:
1445+
- parameter_should_not_end_in_resource_group
1446+
iot ops ns device create:
1447+
parameters:
1448+
instance_resource_group:
14301449
rule_exclusions:
14311450
- parameter_should_not_end_in_resource_group
1451+
iot ops broker persist update:
1452+
parameters:
1453+
broker_name:
1454+
rule_exclusions:
1455+
- no_parameter_defaults_for_update_commands
14321456
k8sconfiguration create:
14331457
parameters:
14341458
helm_operator_version:

src/acrcssc/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
33
Release History
44
===============
5+
1.0.0b3
6+
+++++++
7+
* Remove msrestazure dependency
8+
59
1.0.0b2
610
++++++
711
* Bug fix: Updated to allow for az login when the account doesn't have any active subscriptions

src/acrcssc/azext_acrcssc/helper/_workflow_status.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
)
1818
from azure.cli.core.commands import LongRunningOperation
1919
from azure.cli.core.commands.progress import IndeterminateProgressBar
20+
from azure.core.exceptions import HttpResponseError
2021
from azure.cli.core.profiles import ResourceType, get_sdk
2122
from azure.cli.core.azclierror import AzCLIError, ResourceNotFoundError
2223
from azure.core.polling import PollingMethod
2324
from azure.mgmt.core.tools import parse_resource_id
2425
from knack.log import get_logger
2526
from enum import Enum
26-
from msrestazure.azure_exceptions import CloudError
2727

2828

2929
logger = get_logger(__name__)
@@ -239,7 +239,7 @@ def process_taskrun(taskrun):
239239
taskrun.task_log_result = tasklog
240240
except ResourceNotFoundError as e:
241241
logger.debug("Failed to get logs for taskrun: %s with exception: %s", taskrun.run_id, e)
242-
except CloudError as e:
242+
except HttpResponseError as e:
243243
logger.debug("An unexpected exception has occurred for taskrun: %s with exception: %s",
244244
taskrun.run_id, e)
245245

@@ -439,7 +439,7 @@ def generate_logs(cmd,
439439
registry_name=registry_name,
440440
run_id=run_id)
441441
log_file_sas = response.log_link
442-
except (AttributeError, CloudError) as e:
442+
except (AttributeError, HttpResponseError) as e:
443443
logger.debug("%s Exception: %s", error_msg, e)
444444
raise AzCLIError(error_msg)
445445
except ResourceNotFoundError as e:
@@ -476,7 +476,7 @@ def get_run_status_local(client, resource_group_name, registry_name, run_id):
476476
try:
477477
response = client.get(resource_group_name, registry_name, run_id)
478478
return response.status
479-
except (AttributeError, CloudError):
479+
except (AttributeError, HttpResponseError):
480480
return None
481481

482482
@staticmethod

src/acrcssc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from distutils import log as logger
1414
logger.warn("Wheel is not available, disabling bdist_wheel hook")
1515

16-
VERSION = '1.0.0b2'
16+
VERSION = '1.0.0b3'
1717

1818
# The full list of classifiers is available at
1919
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

src/aem/HISTORY.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
33
Release History
44
===============
5+
1.0.0
6+
+++++
7+
* Remove msrestazure dependency
58

69
0.3.0
710
+++++

src/aem/azext_aem/custom.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
from azure.cli.core.util import sdk_no_wait
1111
from azure.cli.core.profiles import ResourceType, get_sdk
1212
from azure.cli.core.commands.client_factory import get_mgmt_service_client, get_data_service_client
13+
from azure.core.exceptions import HttpResponseError
1314
from azure.mgmt.compute.models import ResourceIdentityType
14-
from msrestazure.tools import parse_resource_id
15-
from msrestazure.azure_exceptions import CloudError
15+
from azure.mgmt.core.tools import parse_resource_id
1616

1717
from knack.util import CLIError
1818
from knack.log import get_logger
@@ -265,10 +265,10 @@ def _create_role_assignments_for_scopes(self, scopes):
265265

266266
self._roles_client.role_assignments.create(scope, assignment_name, params_role_assignment)
267267
created = True
268-
except CloudError as cex:
268+
except HttpResponseError as cex:
269269
logger.info("Error during role assignment %s", cex)
270-
if ((not cex.error) or (not cex.error.error) or
271-
(PRINCIPAL_NOT_FOUND_ERROR != cex.error.error.lower())):
270+
if ((not cex.error) or (not cex.error.code) or
271+
(PRINCIPAL_NOT_FOUND_ERROR != cex.error.code.lower())):
272272
raise
273273

274274
if (not created) and ((datetime.now() - start_time).total_seconds() < MAX_WAIT_TIME_FOR_SP_SECONDS):

0 commit comments

Comments
 (0)