Package: azure-graphrbac
Microsoft Azure SDK for PythonThis 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 theazurebundle package.UsageFor code examples, seeGraph RBACon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History0.61.1 (2019-05-29)Bugfixaccount_enabled is now correctly bool (from str)0.61.0 (2019-03-20)FeaturesAdding applications.get_service_principals_id_by_app_idBugfixidentifier_uris is not a required application parameter0.60.0 (2019-03-13)FeaturesModel Application has a new parameter optional_claimsModel Application has a new parameter pre_authorized_applicationsModel Application has a new parameter group_membership_claimsModel Application has a new parameter oauth2_allow_url_path_matchingModel Application has a new parameter allow_passthrough_usersModel Application has a new parameter is_device_only_auth_supportedModel Application has a new parameter saml_metadata_urlModel Application has a new parameter app_logo_urlModel Application has a new parameter sign_in_audienceModel Application has a new parameter logout_urlModel Application has a new parameter oauth2_permissionsModel Application has a new parameter oauth2_require_post_responseModel Application has a new parameter org_restrictionsModel Application has a new parameter allow_guests_sign_inModel Application has a new parameter www_homepageModel Application has a new parameter public_clientModel Application has a new parameter error_urlModel Application has a new parameter known_client_applicationsModel Application has a new parameter publisher_domainModel Application has a new parameter informational_urlsBreaking changesclient.oauth2 has been renamed client.oauth2_permission_grant0.53.0 (2018-11-27)FeaturesAdd PasswordCredentials.custom_key_identifierAdd Application.key_credentialsAdd Application.password_credentialsBugfixFix KeyCredential.custom_key_identifier type from bytes to str0.52.0 (2018-10-29)BugfixAdd missing required_resource_access in Application0.51.1 (2018-10-16)BugfixFix sdist broken in 0.50.0 and 0.51.0. No code change.0.51.0 (2018-10-11)FeaturesAdd delete group/application owner0.50.0 (2018-10-10)Featuressigned_in_user.get : Return the currently logged-in User objectsigned_in_user.list_owned_objects : All objects owned by current userdeleted_applications.restore : Restore an application deleted in the last 30 daysdeleted_applications.list : List all applications deleted in the last 30 daysdeleted_applications.hard_delete : Delete for real an application in the deleted listgroups.list_owners : List owner of the groupgroups.add_owner : Add owner to this groupApplication 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 performanceModel ADGroup has a attributes mail_enabled and mail_nicknameModel KeyCredential has a new atrribute custom_key_identifierAdded operation group oauth2_operations (operations “get” and “grant”)Bug fixesFix applications.list_owners access to next pageFix service_principal.list_owners access to next pageBreaking changesApplicationAddOwnerParameters has been renamed AddOwnerParametersobjects.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 changesThis version uses a next-generation code generator thatmightintroduce 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#othersAt a glance:“is” should not be used at all.“format” will return the string value, where “%s” string formatting will returnNameOfEnum.stringvalue. Format syntax should be prefered.New Long Running Operation:Return type changes frommsrestazure.azure_operation.AzureOperationPollertomsrest.polling.LROPoller. External API is the same.Return type is nowalwaysamsrest.polling.LROPoller, regardless of the optional parameters used.The behavior has changed when usingraw=True. Instead of returning the initial call result asClientRawResponse,
without polling, now this returns an LROPoller. After polling, the final resource will be returned as aClientRawResponse.Newpollingparameter. The default behavior isPolling=Truewhich will poll using ARM algorithm. WhenPolling=False,
the response of the initial call will be returned without polling.pollingparameter accepts instances of subclasses ofmsrest.polling.PollingMethod.add_done_callbackwill no longer raise if called after polling is finished, but will instead execute the callback right away.Noteazure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)0.40.0 (2018-02-05)DisclaimerTo prepare future versions, all Model creation should use keyword only arguments.Breaking changesApplicationCreateParameters 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 parametersgroups.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 parametersgroups.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.FeaturesEnable 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_ownersAdd applications.add_ownerAdd service_principals.list_owners0.33.0 (2017-11-01)Featuresadd “required_resource_access” when applicableBugfixesGet/Delete of Users now encode for you if you provide the UPN.0.32.0 (2017-09-22)FeaturesAdd Application.oauth2_allow_implicit_flow (create, update, get)Add to User: immutable_id, given_name, surname, user_type, account_enabledAdd to UserCreate: given_name, surname, user_type, mailAdd to UserUpdate: immutable_id, given_name, surname, user_type, user_principal_nameBugfixesRenamed User.signInName to an array User.signInNames0.31.0 (2017-08-09)Add domains operation groupAdd usage locations to userAdd several new attributes to AADObject0.30.0 (2017-04-20)ApiVersion is now 1.6 for the whole packageThis wheel package is now built with the azure wheel extension0.30.0rc6 (2016-09-14)Bugfixes‘list’ methods returned only 100 entries (#653)0.30.0rc5 (2016-06-23)Initial preview release