Microsoft Azure SDK for Python
==============================
This is the Microsoft Azure Graph RBAC Client Library.
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
Usage
=====
For code examples, see `Graph RBAC
<https://docs.microsoft.com/python/api/overview/azure/activedirectory>`__
on docs.microsoft.com.
Provide Feedback
================
If you encounter any bugs or have suggestions, please file an issue in the
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
section of the project.
.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-graphrbac%2FREADME.png
.. :changelog:
Release History
===============
0.61.1 (2019-05-29)
+++++++++++++++++++
**Bugfix**
- account_enabled is now correctly bool (from str)
0.61.0 (2019-03-20)
+++++++++++++++++++
**Features**
- Adding applications.get_service_principals_id_by_app_id
**Bugfix**
- identifier_uris is not a required application parameter
0.60.0 (2019-03-13)
+++++++++++++++++++
**Features**
- Model Application has a new parameter optional_claims
- Model Application has a new parameter pre_authorized_applications
- Model Application has a new parameter group_membership_claims
- Model Application has a new parameter oauth2_allow_url_path_matching
- Model Application has a new parameter allow_passthrough_users
- Model Application has a new parameter is_device_only_auth_supported
- Model Application has a new parameter saml_metadata_url
- Model Application has a new parameter app_logo_url
- Model Application has a new parameter sign_in_audience
- Model Application has a new parameter logout_url
- Model Application has a new parameter oauth2_permissions
- Model Application has a new parameter oauth2_require_post_response
- Model Application has a new parameter org_restrictions
- Model Application has a new parameter allow_guests_sign_in
- Model Application has a new parameter www_homepage
- Model Application has a new parameter public_client
- Model Application has a new parameter error_url
- Model Application has a new parameter known_client_applications
- Model Application has a new parameter publisher_domain
- Model Application has a new parameter informational_urls
**Breaking changes**
- client.oauth2 has been renamed client.oauth2_permission_grant
0.53.0 (2018-11-27)
+++++++++++++++++++
**Features**
- Add PasswordCredentials.custom_key_identifier
- Add Application.key_credentials
- Add Application.password_credentials
**Bugfix**
- Fix KeyCredential.custom_key_identifier type from bytes to str
0.52.0 (2018-10-29)
+++++++++++++++++++
**Bugfix**
- Add missing required_resource_access in Application
0.51.1 (2018-10-16)
+++++++++++++++++++
**Bugfix**
- Fix sdist broken in 0.50.0 and 0.51.0. No code change.
0.51.0 (2018-10-11)
+++++++++++++++++++
**Features**
- Add delete group/application owner
0.50.0 (2018-10-10)
+++++++++++++++++++
**Features**
- signed_in_user.get : Return the currently logged-in User object
- signed_in_user.list_owned_objects : All objects owned by current user
- deleted_applications.restore : Restore an application deleted in the last 30 days
- deleted_applications.list : List all applications deleted in the last 30 days
- deleted_applications.hard_delete : Delete for real an application in the deleted list
- groups.list_owners : List owner of the group
- groups.add_owner : Add owner to this group
- Application and ServicePrincipals have now the attribute "app_roles" which is a list of AppRole class. To implement this.
- Client class can be used as a context manager to keep the underlying HTTP session open for performance
- Model ADGroup has a attributes mail_enabled and mail_nickname
- Model KeyCredential has a new atrribute custom_key_identifier
- Added operation group oauth2_operations (operations "get" and "grant")
**Bug fixes**
- Fix applications.list_owners access to next page
- Fix service_principal.list_owners access to next page
**Breaking changes**
- ApplicationAddOwnerParameters has been renamed AddOwnerParameters
- objects.get_current_user has been removed. Use signed_in_user.get instead. The main difference is this new method returns a DirectoryObjectList, where every elements could be sub-type of DirectoryObject (User, Group, etc.)
- objects.get_objects_by_object_ids now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)
- GetObjectsParameters.include_directory_object_references is no longer required.
- Groups.get_members now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)
**General Breaking changes**
This version uses a next-generation code generator that *might* introduce breaking changes.
- Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments.
To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the "*" syntax for keyword-only arguments.
- Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.
While this is not a breaking change, the distinctions are important, and are documented here:
https://docs.python.org/3/library/enum.html#others
At a glance:
- "is" should not be used at all.
- "format" will return the string value, where "%s" string formatting will return `NameOfEnum.stringvalue`. Format syntax should be prefered.
- New Long Running Operation:
- Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.
- Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.
- New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,
the response of the initial call will be returned without polling.
- `polling` parameter accepts instances of subclasses of `msrest.polling.PollingMethod`.
- `add_done_callback` will no longer raise if called after polling is finished, but will instead execute the callback right away.
**Note**
- azure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)
0.40.0 (2018-02-05)
+++++++++++++++++++
**Disclaimer**
To prepare future versions, all Model creation should use keyword only arguments.
**Breaking changes**
- ApplicationCreateParameters changed __init__ signature, breaks if positional arguments was used.
- ApplicationUpdateParameters changed __init__ signature, breaks if positional arguments was used.
- CheckGroupMembershipParameters changed __init__ signature, breaks if positional arguments was used.
- GetObjectsParameters changed __init__ signature, breaks if positional arguments was used.
- GroupAddMemberParameters changed __init__ signature, breaks if positional arguments was used.
- GroupCreateParameters changed __init__ signature, breaks if positional arguments was used.
- GroupGetMemberGroupsParameters changed __init__ signature, breaks if positional arguments was used.
- ServicePrincipalCreateParameters changed __init__ signature, breaks if positional arguments was used.
- UserCreateParameters changed __init__ signature, breaks if positional arguments was used.
- UserGetMemberGroupsParameters changed __init__ signature, breaks if positional arguments was used.
- UserUpdateParameters changed __init__ signature, breaks if positional arguments was used.
- groups.is_member_of now takes an instance of CheckGroupMembershipParameters, and not group_id, member_id parameters
- groups.add_member now have an optional parameter "additional_properties", breaks if positional arguments was used.
- groups.create now takes an instance of GroupCreateParameters, and not display_name, mail_nickname parameters
- groups.get_member_groups now have an optional parameter "additional_properties", breaks if positional arguments was used.
- service_principals.get_member_groups now have an optional parameter "additional_properties", breaks if positional arguments was used.
**Features**
- Enable additional_properties on all Models. to dynamically harvest new properties.
- Better hierarchy resolution and new generic Model like AADObject. This adds several new attribute to a lot of models.
- Operation groups now have a "models" attribute.
- Add applications.list_owners
- Add applications.add_owner
- Add service_principals.list_owners
0.33.0 (2017-11-01)
+++++++++++++++++++
**Features**
- add "required_resource_access" when applicable
**Bugfixes**
- Get/Delete of Users now encode for you if you provide the UPN.
0.32.0 (2017-09-22)
+++++++++++++++++++
**Features**
- Add Application.oauth2_allow_implicit_flow (create, update, get)
- Add to User: immutable_id, given_name, surname, user_type, account_enabled
- Add to UserCreate: given_name, surname, user_type, mail
- Add to UserUpdate: immutable_id, given_name, surname, user_type, user_principal_name
**Bugfixes**
- Renamed User.signInName to an array User.signInNames
0.31.0 (2017-08-09)
+++++++++++++++++++
- Add domains operation group
- Add usage locations to user
- Add several new attributes to AADObject
0.30.0 (2017-04-20)
+++++++++++++++++++
* ApiVersion is now 1.6 for the whole package
* This wheel package is now built with the azure wheel extension
0.30.0rc6 (2016-09-14)
++++++++++++++++++++++
**Bugfixes**
* 'list' methods returned only 100 entries (#653)
0.30.0rc5 (2016-06-23)
++++++++++++++++++++++
* Initial preview release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-graphrbac",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/52/31/87dd867c239b5b2c5bccade8a0fd81c28b9b380ece3db47b58ae05270842/azure-graphrbac-0.61.1.zip",
"platform": "",
"description": "Microsoft Azure SDK for Python\n==============================\n\nThis is the Microsoft Azure Graph RBAC Client Library.\n\nThis package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.\n\nFor a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.\n\n\nUsage\n=====\n\nFor code examples, see `Graph RBAC\n<https://docs.microsoft.com/python/api/overview/azure/activedirectory>`__\non docs.microsoft.com.\n\n\nProvide Feedback\n================\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__\nsection of the project.\n\n\n.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-graphrbac%2FREADME.png\n\n\n.. :changelog:\n\nRelease History\n===============\n\n0.61.1 (2019-05-29)\n+++++++++++++++++++\n\n**Bugfix**\n\n- account_enabled is now correctly bool (from str)\n\n0.61.0 (2019-03-20)\n+++++++++++++++++++\n\n**Features**\n\n- Adding applications.get_service_principals_id_by_app_id\n\n**Bugfix**\n\n- identifier_uris is not a required application parameter\n\n0.60.0 (2019-03-13)\n+++++++++++++++++++\n\n**Features**\n\n- Model Application has a new parameter optional_claims\n- Model Application has a new parameter pre_authorized_applications\n- Model Application has a new parameter group_membership_claims\n- Model Application has a new parameter oauth2_allow_url_path_matching\n- Model Application has a new parameter allow_passthrough_users\n- Model Application has a new parameter is_device_only_auth_supported\n- Model Application has a new parameter saml_metadata_url\n- Model Application has a new parameter app_logo_url\n- Model Application has a new parameter sign_in_audience\n- Model Application has a new parameter logout_url\n- Model Application has a new parameter oauth2_permissions\n- Model Application has a new parameter oauth2_require_post_response\n- Model Application has a new parameter org_restrictions\n- Model Application has a new parameter allow_guests_sign_in\n- Model Application has a new parameter www_homepage\n- Model Application has a new parameter public_client\n- Model Application has a new parameter error_url\n- Model Application has a new parameter known_client_applications\n- Model Application has a new parameter publisher_domain\n- Model Application has a new parameter informational_urls\n\n**Breaking changes**\n\n- client.oauth2 has been renamed client.oauth2_permission_grant\n\n0.53.0 (2018-11-27)\n+++++++++++++++++++\n\n**Features**\n\n- Add PasswordCredentials.custom_key_identifier\n- Add Application.key_credentials\n- Add Application.password_credentials\n\n**Bugfix**\n\n- Fix KeyCredential.custom_key_identifier type from bytes to str\n\n0.52.0 (2018-10-29)\n+++++++++++++++++++\n\n**Bugfix**\n\n- Add missing required_resource_access in Application\n\n0.51.1 (2018-10-16)\n+++++++++++++++++++\n\n**Bugfix**\n\n- Fix sdist broken in 0.50.0 and 0.51.0. No code change.\n\n0.51.0 (2018-10-11)\n+++++++++++++++++++\n\n**Features**\n\n- Add delete group/application owner\n\n0.50.0 (2018-10-10)\n+++++++++++++++++++\n\n**Features**\n\n- signed_in_user.get : Return the currently logged-in User object\n- signed_in_user.list_owned_objects : All objects owned by current user\n- deleted_applications.restore : Restore an application deleted in the last 30 days\n- deleted_applications.list : List all applications deleted in the last 30 days\n- deleted_applications.hard_delete : Delete for real an application in the deleted list\n- groups.list_owners : List owner of the group\n- groups.add_owner : Add owner to this group\n- Application and ServicePrincipals have now the attribute \"app_roles\" which is a list of AppRole class. To implement this.\n- Client class can be used as a context manager to keep the underlying HTTP session open for performance\n- Model ADGroup has a attributes mail_enabled and mail_nickname\n- Model KeyCredential has a new atrribute custom_key_identifier\n- Added operation group oauth2_operations (operations \"get\" and \"grant\")\n\n**Bug fixes**\n\n- Fix applications.list_owners access to next page\n- Fix service_principal.list_owners access to next page\n\n**Breaking changes**\n\n- ApplicationAddOwnerParameters has been renamed AddOwnerParameters\n- objects.get_current_user has been removed. Use signed_in_user.get instead. The main difference is this new method returns a DirectoryObjectList, where every elements could be sub-type of DirectoryObject (User, Group, etc.)\n- objects.get_objects_by_object_ids now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)\n- GetObjectsParameters.include_directory_object_references is no longer required.\n- Groups.get_members now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)\n\n**General Breaking changes**\n\nThis version uses a next-generation code generator that *might* introduce breaking changes.\n\n- Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments.\n To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the \"*\" syntax for keyword-only arguments.\n- Enum types now use the \"str\" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.\n While this is not a breaking change, the distinctions are important, and are documented here:\n https://docs.python.org/3/library/enum.html#others\n At a glance:\n\n - \"is\" should not be used at all.\n - \"format\" will return the string value, where \"%s\" string formatting will return `NameOfEnum.stringvalue`. Format syntax should be prefered.\n\n- New Long Running Operation:\n\n - Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.\n - Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.\n - The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,\n without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.\n - New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,\n the response of the initial call will be returned without polling.\n - `polling` parameter accepts instances of subclasses of `msrest.polling.PollingMethod`.\n - `add_done_callback` will no longer raise if called after polling is finished, but will instead execute the callback right away.\n\n**Note**\n\n- azure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)\n\n0.40.0 (2018-02-05)\n+++++++++++++++++++\n\n**Disclaimer**\n\nTo prepare future versions, all Model creation should use keyword only arguments.\n\n**Breaking changes**\n\n- ApplicationCreateParameters changed __init__ signature, breaks if positional arguments was used.\n- ApplicationUpdateParameters changed __init__ signature, breaks if positional arguments was used.\n- CheckGroupMembershipParameters changed __init__ signature, breaks if positional arguments was used.\n- GetObjectsParameters changed __init__ signature, breaks if positional arguments was used.\n- GroupAddMemberParameters changed __init__ signature, breaks if positional arguments was used.\n- GroupCreateParameters changed __init__ signature, breaks if positional arguments was used.\n- GroupGetMemberGroupsParameters changed __init__ signature, breaks if positional arguments was used.\n- ServicePrincipalCreateParameters changed __init__ signature, breaks if positional arguments was used.\n- UserCreateParameters changed __init__ signature, breaks if positional arguments was used.\n- UserGetMemberGroupsParameters changed __init__ signature, breaks if positional arguments was used.\n- UserUpdateParameters changed __init__ signature, breaks if positional arguments was used.\n- groups.is_member_of now takes an instance of CheckGroupMembershipParameters, and not group_id, member_id parameters\n- groups.add_member now have an optional parameter \"additional_properties\", breaks if positional arguments was used.\n- groups.create now takes an instance of GroupCreateParameters, and not display_name, mail_nickname parameters\n- groups.get_member_groups now have an optional parameter \"additional_properties\", breaks if positional arguments was used.\n- service_principals.get_member_groups now have an optional parameter \"additional_properties\", breaks if positional arguments was used.\n\n**Features**\n\n- Enable additional_properties on all Models. to dynamically harvest new properties.\n- Better hierarchy resolution and new generic Model like AADObject. This adds several new attribute to a lot of models.\n- Operation groups now have a \"models\" attribute.\n- Add applications.list_owners\n- Add applications.add_owner\n- Add service_principals.list_owners\n\n0.33.0 (2017-11-01)\n+++++++++++++++++++\n\n**Features**\n\n- add \"required_resource_access\" when applicable\n\n**Bugfixes**\n\n- Get/Delete of Users now encode for you if you provide the UPN.\n\n0.32.0 (2017-09-22)\n+++++++++++++++++++\n\n**Features**\n\n- Add Application.oauth2_allow_implicit_flow (create, update, get)\n- Add to User: immutable_id, given_name, surname, user_type, account_enabled\n- Add to UserCreate: given_name, surname, user_type, mail\n- Add to UserUpdate: immutable_id, given_name, surname, user_type, user_principal_name\n\n**Bugfixes**\n\n- Renamed User.signInName to an array User.signInNames\n\n0.31.0 (2017-08-09)\n+++++++++++++++++++\n\n- Add domains operation group\n- Add usage locations to user\n- Add several new attributes to AADObject\n\n0.30.0 (2017-04-20)\n+++++++++++++++++++\n\n* ApiVersion is now 1.6 for the whole package\n* This wheel package is now built with the azure wheel extension\n\n0.30.0rc6 (2016-09-14)\n++++++++++++++++++++++\n\n**Bugfixes**\n\n* 'list' methods returned only 100 entries (#653)\n\n0.30.0rc5 (2016-06-23)\n++++++++++++++++++++++\n\n* Initial preview release\n\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Graph RBAC Client Library for Python",
"version": "0.61.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3e9302056aca45162f9fc275d1eaad12a2a07ef92375afb48eabddc4134b8315",
"md5": "17f839466fb50fffe5d3d3ccfb84142a",
"sha256": "7b4e0f05676acc912f2b33c71c328d9fb2e4dc8e70ebadc9d3de8ab08bf0b175"
},
"downloads": -1,
"filename": "azure_graphrbac-0.61.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "17f839466fb50fffe5d3d3ccfb84142a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 141419,
"upload_time": "2019-05-29T21:16:10",
"upload_time_iso_8601": "2019-05-29T21:16:10.914475Z",
"url": "https://files.pythonhosted.org/packages/3e/93/02056aca45162f9fc275d1eaad12a2a07ef92375afb48eabddc4134b8315/azure_graphrbac-0.61.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "523187dd867c239b5b2c5bccade8a0fd81c28b9b380ece3db47b58ae05270842",
"md5": "9ec2c4483510c27776ef501f35f336ea",
"sha256": "53e98ae2ca7c19b349e9e9bb1b6a824aeae8dcfcbe17190d20fe69c0f185b2e2"
},
"downloads": -1,
"filename": "azure-graphrbac-0.61.1.zip",
"has_sig": false,
"md5_digest": "9ec2c4483510c27776ef501f35f336ea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 277920,
"upload_time": "2019-05-29T21:16:12",
"upload_time_iso_8601": "2019-05-29T21:16:12.952997Z",
"url": "https://files.pythonhosted.org/packages/52/31/87dd867c239b5b2c5bccade8a0fd81c28b9b380ece3db47b58ae05270842/azure-graphrbac-0.61.1.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2019-05-29 21:16:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-graphrbac"
}