Documentation ¶
Index ¶
- type AddMemberRefOperationOptions
- type AddMemberRefOperationResponse
- type DirectoryObjectOperationPredicate
- type GetMembersCountOperationOptions
- type GetMembersCountOperationResponse
- type ListMemberRefsCompleteResult
- type ListMemberRefsCustomPager
- type ListMemberRefsOperationOptions
- type ListMemberRefsOperationResponse
- type ListMembersCompleteResult
- type ListMembersCustomPager
- type ListMembersOperationOptions
- type ListMembersOperationResponse
- type MemberClient
- func (c MemberClient) AddMemberRef(ctx context.Context, id stable.GroupId, input stable.ReferenceCreate, ...) (result AddMemberRefOperationResponse, err error)
- func (c MemberClient) GetMembersCount(ctx context.Context, id stable.GroupId, ...) (result GetMembersCountOperationResponse, err error)
- func (c MemberClient) ListMemberRefs(ctx context.Context, id stable.GroupId, options ListMemberRefsOperationOptions) (result ListMemberRefsOperationResponse, err error)
- func (c MemberClient) ListMemberRefsComplete(ctx context.Context, id stable.GroupId, options ListMemberRefsOperationOptions) (ListMemberRefsCompleteResult, error)
- func (c MemberClient) ListMemberRefsCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListMemberRefsOperationOptions, ...) (result ListMemberRefsCompleteResult, err error)
- func (c MemberClient) ListMembers(ctx context.Context, id stable.GroupId, options ListMembersOperationOptions) (result ListMembersOperationResponse, err error)
- func (c MemberClient) ListMembersComplete(ctx context.Context, id stable.GroupId, options ListMembersOperationOptions) (ListMembersCompleteResult, error)
- func (c MemberClient) ListMembersCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListMembersOperationOptions, ...) (result ListMembersCompleteResult, err error)
- func (c MemberClient) RemoveMemberRef(ctx context.Context, id stable.GroupIdMemberId, ...) (result RemoveMemberRefOperationResponse, err error)
- func (c MemberClient) RemoveMemberRefs(ctx context.Context, id stable.GroupId, ...) (result RemoveMemberRefsOperationResponse, err error)
- type RemoveMemberRefOperationOptions
- type RemoveMemberRefOperationResponse
- type RemoveMemberRefsOperationOptions
- type RemoveMemberRefsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMemberRefOperationOptions ¶
type AddMemberRefOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddMemberRefOperationOptions ¶
func DefaultAddMemberRefOperationOptions() AddMemberRefOperationOptions
func (AddMemberRefOperationOptions) ToHeaders ¶
func (o AddMemberRefOperationOptions) ToHeaders() *client.Headers
func (AddMemberRefOperationOptions) ToOData ¶
func (o AddMemberRefOperationOptions) ToOData() *odata.Query
func (AddMemberRefOperationOptions) ToQuery ¶
func (o AddMemberRefOperationOptions) ToQuery() *client.QueryParams
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input stable.DirectoryObject) bool
type GetMembersCountOperationOptions ¶
type GetMembersCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMembersCountOperationOptions ¶
func DefaultGetMembersCountOperationOptions() GetMembersCountOperationOptions
func (GetMembersCountOperationOptions) ToHeaders ¶
func (o GetMembersCountOperationOptions) ToHeaders() *client.Headers
func (GetMembersCountOperationOptions) ToOData ¶
func (o GetMembersCountOperationOptions) ToOData() *odata.Query
func (GetMembersCountOperationOptions) ToQuery ¶
func (o GetMembersCountOperationOptions) ToQuery() *client.QueryParams
type ListMemberRefsCompleteResult ¶
type ListMemberRefsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.DirectoryObject }
type ListMemberRefsCustomPager ¶
func (*ListMemberRefsCustomPager) NextPageLink ¶
func (p *ListMemberRefsCustomPager) NextPageLink() *odata.Link
type ListMemberRefsOperationOptions ¶
type ListMemberRefsOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Count *bool Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Skip *int64 Top *int64 }
func DefaultListMemberRefsOperationOptions ¶
func DefaultListMemberRefsOperationOptions() ListMemberRefsOperationOptions
func (ListMemberRefsOperationOptions) ToHeaders ¶
func (o ListMemberRefsOperationOptions) ToHeaders() *client.Headers
func (ListMemberRefsOperationOptions) ToOData ¶
func (o ListMemberRefsOperationOptions) ToOData() *odata.Query
func (ListMemberRefsOperationOptions) ToQuery ¶
func (o ListMemberRefsOperationOptions) ToQuery() *client.QueryParams
type ListMembersCompleteResult ¶
type ListMembersCompleteResult struct { LatestHttpResponse *http.Response Items []stable.DirectoryObject }
type ListMembersCustomPager ¶
func (*ListMembersCustomPager) NextPageLink ¶
func (p *ListMembersCustomPager) NextPageLink() *odata.Link
type ListMembersOperationOptions ¶
type ListMembersOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListMembersOperationOptions ¶
func DefaultListMembersOperationOptions() ListMembersOperationOptions
func (ListMembersOperationOptions) ToHeaders ¶
func (o ListMembersOperationOptions) ToHeaders() *client.Headers
func (ListMembersOperationOptions) ToOData ¶
func (o ListMembersOperationOptions) ToOData() *odata.Query
func (ListMembersOperationOptions) ToQuery ¶
func (o ListMembersOperationOptions) ToQuery() *client.QueryParams
type MemberClient ¶
func NewMemberClientWithBaseURI ¶
func NewMemberClientWithBaseURI(sdkApi sdkEnv.Api) (*MemberClient, error)
func (MemberClient) AddMemberRef ¶
func (c MemberClient) AddMemberRef(ctx context.Context, id stable.GroupId, input stable.ReferenceCreate, options AddMemberRefOperationOptions) (result AddMemberRefOperationResponse, err error)
AddMemberRef - Add members. Add a member to a security or Microsoft 365 group. When using the API to add multiple members in one request, you can add up to only 20 members. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups.
func (MemberClient) GetMembersCount ¶
func (c MemberClient) GetMembersCount(ctx context.Context, id stable.GroupId, options GetMembersCountOperationOptions) (result GetMembersCountOperationResponse, err error)
GetMembersCount - Get the number of the resource
func (MemberClient) ListMemberRefs ¶
func (c MemberClient) ListMemberRefs(ctx context.Context, id stable.GroupId, options ListMemberRefsOperationOptions) (result ListMemberRefsOperationResponse, err error)
ListMemberRefs - List group members. Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive.
func (MemberClient) ListMemberRefsComplete ¶
func (c MemberClient) ListMemberRefsComplete(ctx context.Context, id stable.GroupId, options ListMemberRefsOperationOptions) (ListMemberRefsCompleteResult, error)
ListMemberRefsComplete retrieves all the results into a single object
func (MemberClient) ListMemberRefsCompleteMatchingPredicate ¶
func (c MemberClient) ListMemberRefsCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListMemberRefsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListMemberRefsCompleteResult, err error)
ListMemberRefsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MemberClient) ListMembers ¶
func (c MemberClient) ListMembers(ctx context.Context, id stable.GroupId, options ListMembersOperationOptions) (result ListMembersOperationResponse, err error)
ListMembers - List group members. Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive.
func (MemberClient) ListMembersComplete ¶
func (c MemberClient) ListMembersComplete(ctx context.Context, id stable.GroupId, options ListMembersOperationOptions) (ListMembersCompleteResult, error)
ListMembersComplete retrieves all the results into a single object
func (MemberClient) ListMembersCompleteMatchingPredicate ¶
func (c MemberClient) ListMembersCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListMembersOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListMembersCompleteResult, err error)
ListMembersCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MemberClient) RemoveMemberRef ¶
func (c MemberClient) RemoveMemberRef(ctx context.Context, id stable.GroupIdMemberId, options RemoveMemberRefOperationOptions) (result RemoveMemberRefOperationResponse, err error)
RemoveMemberRef - Remove member. Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships.
func (MemberClient) RemoveMemberRefs ¶
func (c MemberClient) RemoveMemberRefs(ctx context.Context, id stable.GroupId, options RemoveMemberRefsOperationOptions) (result RemoveMemberRefsOperationResponse, err error)
RemoveMemberRefs - Remove member. Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships.
type RemoveMemberRefOperationOptions ¶
type RemoveMemberRefOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveMemberRefOperationOptions ¶
func DefaultRemoveMemberRefOperationOptions() RemoveMemberRefOperationOptions
func (RemoveMemberRefOperationOptions) ToHeaders ¶
func (o RemoveMemberRefOperationOptions) ToHeaders() *client.Headers
func (RemoveMemberRefOperationOptions) ToOData ¶
func (o RemoveMemberRefOperationOptions) ToOData() *odata.Query
func (RemoveMemberRefOperationOptions) ToQuery ¶
func (o RemoveMemberRefOperationOptions) ToQuery() *client.QueryParams
type RemoveMemberRefsOperationOptions ¶
type RemoveMemberRefsOperationOptions struct { Id *string IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveMemberRefsOperationOptions ¶
func DefaultRemoveMemberRefsOperationOptions() RemoveMemberRefsOperationOptions
func (RemoveMemberRefsOperationOptions) ToHeaders ¶
func (o RemoveMemberRefsOperationOptions) ToHeaders() *client.Headers
func (RemoveMemberRefsOperationOptions) ToOData ¶
func (o RemoveMemberRefsOperationOptions) ToOData() *odata.Query
func (RemoveMemberRefsOperationOptions) ToQuery ¶
func (o RemoveMemberRefsOperationOptions) ToQuery() *client.QueryParams