import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { ADGroup , GroupsListNextOptionalParams , GroupsListOptionalParams , DirectoryObjectUnion , GroupsGetGroupMembersNextOptionalParams , GroupsGetGroupMembersOptionalParams , GroupGetMemberGroupsParameters , GroupsGetMemberGroupsOptionalParams , GroupsListOwnersOptionalParams , CheckGroupMembershipParameters , GroupsIsMemberOfOptionalParams , GroupsIsMemberOfResponse , GroupsRemoveMemberOptionalParams , GroupAddMemberParameters , GroupsAddMemberOptionalParams , GroupCreateParameters , GroupsCreateOptionalParams , GroupsCreateResponse , GroupsGetOptionalParams , GroupsGetResponse , GroupsDeleteOptionalParams , AddOwnerParameters , GroupsAddOwnerOptionalParams , GroupsRemoveOwnerOptionalParams } from "../models" ; /** Interface representing a Groups. */ export interface Groups { param options list ( options ? ) : PagedAsyncIterableIterator < ADGroup > ; param objectId param options listGroupMembers ( objectId , options ? ) : PagedAsyncIterableIterator < DirectoryObjectUnion > ; param objectId param parameters param options listMemberGroups ( objectId , parameters , options ? ) : PagedAsyncIterableIterator < string > ; param objectId param options listOwners ( objectId , options ? ) : PagedAsyncIterableIterator < DirectoryObjectUnion > ; param nextLink param options listNext ( nextLink , options ? ) : PagedAsyncIterableIterator < ADGroup > ; param nextLink param options listGroupMembersNext ( nextLink , options ? ) : PagedAsyncIterableIterator < DirectoryObjectUnion > ; param parameters param options isMemberOf ( parameters , options ? ) : Promise < GroupsIsMemberOfResponse > ; param groupObjectId param memberObjectId param options removeMember ( groupObjectId , memberObjectId , options ? ) : Promise < void > ; param groupObjectId param parameters param options addMember ( groupObjectId , parameters , options ? ) : Promise < void > ; param parameters param options create ( parameters , options ? ) : Promise < GroupsCreateResponse > ; param objectId param options get ( objectId , options ? ) : Promise < GroupsGetResponse > ; param objectId param options delete ( objectId , options ? ) : Promise < void > ; param objectId param parameters param options addOwner ( objectId , parameters , options ? ) : Promise < void > ; param objectId param ownerObjectId param options removeOwner ( objectId , ownerObjectId , options ? ) : Promise < void > ; }