File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
src/azure-cli/azure/cli/command_modules/acs Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff 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- )
You can’t perform that action at this time.
0 commit comments