Skip to content

Commit 4c37753

Browse files
committed
update
1 parent b3199bd commit 4c37753

File tree

1 file changed

+0
-18
lines changed
  • src/azure-cli/azure/cli/command_modules/acs

1 file changed

+0
-18
lines changed

src/azure-cli/azure/cli/command_modules/acs/_graph.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,3 @@ def resolve_object_id(cli_ctx, assignee):
3838
if not result:
3939
raise AzCLIError("No matches in graph database for '{}'".format(assignee))
4040
return result[0]["id"]
41-
42-
43-
# TODO: deprecated, will remove this after the adoption of v2 decorator in aks-preview.
44-
# pylint: disable=unused-argument
45-
def ensure_aks_service_principal(
46-
cli_ctx,
47-
service_principal=None,
48-
client_secret=None,
49-
subscription_id=None,
50-
dns_name_prefix=None,
51-
fqdn_subdomain=None,
52-
location=None,
53-
name=None,
54-
):
55-
raise RequiredArgumentMissingError(
56-
"Please provide both --service-principal and --client-secret to use sp as the cluster identity. "
57-
"An sp can be created using the 'az ad sp create-for-rbac' command."
58-
)

0 commit comments

Comments
 (0)