Skip to content

Commit fb88245

Browse files
author
Dania Etienne
committed
Merge branch 'dev' of git://github.com/Azure/azure-cli into daetienn/template-spec-crud
2 parents 5c11061 + 9031236 commit fb88245

File tree

28 files changed

+1478
-1970
lines changed

28 files changed

+1478
-1970
lines changed

doc/sphinx/azhelpgen/doc_source_map.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"group": "src/azure-cli/azure/cli/command_modules/resource/_help.py",
3636
"hdinsight": "src/azure-cli/azure/cli/command_modules/hdinsight/_help.py",
3737
"iot": "src/azure-cli/azure/cli/command_modules/iot/_help.py",
38-
"iotcentral": "src/azure-cli/azure/cli/command_modules/iotcentral/_help.py",
3938
"keyvault": "src/azure-cli/azure/cli/command_modules/keyvault/_help.py",
4039
"kusto": "src/azure-cli/azure/cli/command_modules/kusto/_help.py",
4140
"lab": "src/azure-cli/azure/cli/command_modules/lab/_help.py",

scripts/ci/credscan/CredScanSuppressions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@
190190
"src\\azure-cli\\azure\\cli\\command_modules\\storage\\tests\\hybrid_2018_03_01\\test_storage_url_helpers.py",
191191
"src\\azure-cli\\azure\\cli\\command_modules\\storage\\tests\\latest\\test_storage_url_helpers.py",
192192
"src\\azure-cli\\azure\\cli\\command_modules\\storage\\tests\\latest\\recordings\\test_renew_account_key.yaml",
193-
"src\\azure-cli\\azure\\cli\\command_modules\\storage\\tests\\latest\\recordings\\test_renew_account_kerb_key.yaml"
193+
"src\\azure-cli\\azure\\cli\\command_modules\\storage\\tests\\latest\\recordings\\test_renew_account_kerb_key.yaml",
194+
"src\\azure-cli\\azure\\cli\\command_modules\\storage\\tests\\latest\\recordings\\test_storage_blob_incremental_copy.yaml"
194195
],
195196
"_justification": "[Storage] response body contains random value recognized as secret in outdated recoding files of storage may remove in the future"
196197
},

src/azure-cli/azure/cli/command_modules/apim/_help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180

181181
helps['apim api import'] = """
182182
type: command
183-
short-summary: Import an API Management service instance.
183+
short-summary: Import an API Management API.
184184
"""
185185

186186
helps['apim product api list'] = """

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,13 @@ def progress_callback(current, total):
568568
client.web_apps.sync_function_triggers_slot(resource_group_name, name, slot)
569569
else:
570570
client.web_apps.sync_function_triggers(resource_group_name, name)
571-
except CloudError as ce:
571+
except CloudError as ex:
572572
# This SDK function throws an error if Status Code is 200
573-
if ce.status_code != 200:
574-
raise ce
573+
if ex.status_code != 200:
574+
raise ex
575+
except DefaultErrorResponseException as ex:
576+
if ex.response.status_code != 200:
577+
raise ex
575578

576579

577580
def _generic_settings_operation(cli_ctx, resource_group_name, name, operation_name,

src/azure-cli/azure/cli/command_modules/find/custom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def call_aladdin_service(query):
115115
if telemetry_core.is_telemetry_enabled() and subscription_id is not None:
116116
context['subscriptionId'] = subscription_id
117117

118-
api_url = 'https://aladdindevwestus-app.azurewebsites.net/api/v1.0/examples'
118+
api_url = 'https://app.aladdin.microsoft.com/api/v1.0/examples'
119119
headers = {
120120
'Content-Type': 'application/json',
121121
'X-UserId': hashed_user_id

src/azure-cli/azure/cli/command_modules/hdinsight/_params.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,12 @@ def load_arguments(self, _):
184184

185185
# Private Link Network Settings
186186
c.argument('public_network_access_type', arg_group='Private Link Network Settings',
187-
arg_type=get_enum_type(PublicNetworkAccess), help='The public network access type.')
187+
arg_type=get_enum_type(PublicNetworkAccess), help='The public network access type.',
188+
deprecate_info=c.deprecate(expiration='2.14.0'))
188189
c.argument('outbound_public_network_access_type', arg_group='Private Link Network Settings',
189190
arg_type=get_enum_type(OutboundOnlyPublicNetworkAccessType),
190-
help='The outbound only public network access type.')
191+
help='The outbound only public network access type.',
192+
deprecate_info=c.deprecate(expiration='2.14.0'))
191193

192194
# Encryption In Transit
193195
c.argument('encryption_in_transit', arg_group='Encryption In Transit', arg_type=get_three_state_flag(),

src/azure-cli/azure/cli/command_modules/iotcentral/__init__.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/azure-cli/azure/cli/command_modules/iotcentral/_client_factory.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/azure-cli/azure/cli/command_modules/iotcentral/_help.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/azure-cli/azure/cli/command_modules/iotcentral/_params.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)