ApplicationsOperations Class
ApplicationsOperations operations.
- Inheritance
-
builtins.objectApplicationsOperations
Constructor
ApplicationsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- api_version
Client API version. Constant value: "1.6".
Methods
| add_owner |
Add an owner to an application. |
| create |
Create a new application. |
| delete |
Delete an application. |
| get |
Get an application by object ID. |
| get_service_principals_id_by_app_id |
Gets an object id for a given application id from the current tenant. |
| list |
Lists applications by filter parameters. |
| list_key_credentials |
Get the keyCredentials associated with an application. |
| list_owners |
Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. |
| list_password_credentials |
Get the passwordCredentials associated with an application. |
| patch |
Update an existing application. |
| remove_owner |
Remove a member from owners. |
| update_key_credentials |
Update the keyCredentials associated with an application. |
| update_password_credentials |
Update passwordCredentials associated with an application. |
add_owner
Add an owner to an application.
add_owner(application_object_id, url, additional_properties=None, custom_headers=None, raw=False, **operation_config)
Parameters
- url
- str
A owner object URL, such as "https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd", where "0b1f9851-1bf0-433f-aec3-cb9272f093dc" is the tenantId and "f260bbc4-c254-447b-94cf-293b5ec434dd" is the objectId of the owner (user, application, servicePrincipal, group) to be added.
Unmatched properties from the message are deserialized this collection
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
create
Create a new application.
create(parameters, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
Application or ClientRawResponse if raw=true
Return type
Exceptions
delete
Delete an application.
delete(application_object_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
get
Get an application by object ID.
get(application_object_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
Application or ClientRawResponse if raw=true
Return type
Exceptions
get_service_principals_id_by_app_id
Gets an object id for a given application id from the current tenant.
get_service_principals_id_by_app_id(application_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
ServicePrincipalObjectResult or ClientRawResponse if raw=true
Return type
Exceptions
list
Lists applications by filter parameters.
list(filter=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of Application
Return type
Exceptions
list_key_credentials
Get the keyCredentials associated with an application.
list_key_credentials(application_object_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of KeyCredential
Return type
Exceptions
list_owners
Directory objects that are owners of the application.
The owners are a set of non-admin users who are allowed to modify this object.
list_owners(application_object_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of DirectoryObject
Return type
Exceptions
list_password_credentials
Get the passwordCredentials associated with an application.
list_password_credentials(application_object_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of PasswordCredential
Return type
Exceptions
patch
Update an existing application.
patch(application_object_id, parameters, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
remove_owner
Remove a member from owners.
remove_owner(application_object_id, owner_object_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
update_key_credentials
Update the keyCredentials associated with an application.
update_key_credentials(application_object_id, value, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
update_password_credentials
Update passwordCredentials associated with an application.
update_password_credentials(application_object_id, value, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.graphrbac.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\graphrbac\\models\\__init__.py'>
Feedback
Submit and view feedback for