Searched refs:graph_client (Results 1 – 7 of 7) sorted by relevance
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/role/ |
H A D | custom.py | 208 graph_client = _graph_client_factory(cmd.cli_ctx) 432 graph_client = _graph_client_factory(cli_ctx) 624 graph_client = _graph_client_factory(cmd.cli_ctx) 709 graph_client = _graph_client_factory(cmd.cli_ctx) 724 graph_client = _graph_client_factory(cmd.cli_ctx) 768 graph_client = _graph_client_factory(cmd.cli_ctx) 797 graph_client = _graph_client_factory(cmd.cli_ctx) 889 graph_client = _graph_client_factory(cmd.cli_ctx) 1519 'tenant': graph_client.config.tenant_id 1529 def _get_signed_in_user_object_id(graph_client): argument [all …]
|
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/ams/operations/ |
H A D | sp.py | 34 graph_client = _graph_client_factory(cmd.cli_ctx) 41 aad_sp = _get_service_principal(graph_client, sp_name) 72 graph_client = _graph_client_factory(cmd.cli_ctx) 78 aad_sp = _get_service_principal(graph_client, sp_name) 84 aad_application = create_application(graph_client.applications, 96 sp_oid = _create_service_principal(graph_client, name=sp_name, 155 graph_client = _graph_client_factory(cmd.cli_ctx) 183 principals = _get_object_stubs(graph_client, principal_ids) 239 def _get_object_stubs(graph_client, assignees): argument 260 graph_client, name, app_id): argument [all …]
|
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/lab/ |
H A D | validators.py | 119 graph_client = GraphRbacManagementClient(cred, 124 return _get_current_user_object_id(graph_client) 126 return _get_object_id(graph_client, subscription=subscription) 535 def _get_current_user_object_id(graph_client): 538 current_user = graph_client.signed_in_user.get() 548 return _get_object_id_by_spn(graph_client, spn) 550 return _get_object_id_by_upn(graph_client, upn) 554 def _get_object_id_from_subscription(graph_client, subscription): 567 def _get_object_id_by_spn(graph_client, spn): 568 accounts = list(graph_client.service_principals.list( [all …]
|
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/servicefabric/ |
H A D | custom.py | 1620 graph_client = GraphRbacManagementClient(cred, 1669 object_id = _get_current_user_object_id(graph_client) 1698 def _get_current_user_object_id(graph_client): argument 1700 current_user = graph_client.signed_in_user.get() 1707 def _get_object_id_by_spn(graph_client, spn): argument 1708 accounts = list(graph_client.service_principals.list( 1720 def _get_object_id_by_upn(graph_client, upn): argument 1721 accounts = list(graph_client.users.list( 1733 def _get_object_id_from_subscription(graph_client, subscription): argument 1748 return _get_object_id_by_spn(graph_client, spn) [all …]
|
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/keyvault/ |
H A D | custom.py | 307 def _get_current_user_object_id(graph_client): argument 309 current_user = graph_client.signed_in_user.get() 316 def _get_object_id_by_spn(graph_client, spn): argument 317 accounts = list(graph_client.service_principals.list( 329 def _get_object_id_by_upn(graph_client, upn): argument 341 def _get_object_id_from_subscription(graph_client, subscription): argument 359 return _get_object_id_by_spn(graph_client, spn) 361 return _get_object_id_by_upn(graph_client, upn) 677 graph_client = GraphRbacManagementClient( 886 graph_client = GraphRbacManagementClient(cred, [all …]
|
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/synapse/operations/ |
H A D | accesscontrol.py | 142 def _get_object_stubs(graph_client, assignees): argument 148 result += list(graph_client.objects.get_objects_by_object_ids(params))
|
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/acs/ |
H A D | custom.py | 1543 def _get_object_stubs(graph_client, assignees): argument 1546 return list(graph_client.objects.get_objects_by_object_ids(params))
|