Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajshah11 committed May 31, 2018
1 parent 25e6137 commit 9a9566c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1133,10 +1133,14 @@ def cli_managementgroups_group_create(
parent=None):
_register_rp(cmd.cli_ctx)
parent_id = _get_parent_id_from_parent(parent)
from azure.mgmt.managementgroups.models import (CreateManagementGroupRequest, CreateManagementGroupDetails, CreateParentGroupInfo)
from azure.mgmt.managementgroups.models import (
CreateManagementGroupRequest, CreateManagementGroupDetails, CreateParentGroupInfo)
create_parent_grp_info = CreateParentGroupInfo(id=parent_id)
create_mgmt_grp_details = CreateManagementGroupDetails(parent=create_parent_grp_info)
create_mgmt_grp_request = CreateManagementGroupRequest(name=group_name, display_name=display_name, details=create_mgmt_grp_details)
create_mgmt_grp_request = CreateManagementGroupRequest(
name=group_name,
display_name=display_name,
details=create_mgmt_grp_details)
return client.create_or_update(group_name, create_mgmt_grp_request)


Expand Down

0 comments on commit 9a9566c

Please sign in to comment.