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.DirectoryRoleId, input stable.ReferenceCreate, ...) (result AddMemberRefOperationResponse, err error)
- func (c MemberClient) GetMembersCount(ctx context.Context, id stable.DirectoryRoleId, ...) (result GetMembersCountOperationResponse, err error)
- func (c MemberClient) ListMemberRefs(ctx context.Context, id stable.DirectoryRoleId, ...) (result ListMemberRefsOperationResponse, err error)
- func (c MemberClient) ListMemberRefsComplete(ctx context.Context, id stable.DirectoryRoleId, ...) (ListMemberRefsCompleteResult, error)
- func (c MemberClient) ListMemberRefsCompleteMatchingPredicate(ctx context.Context, id stable.DirectoryRoleId, ...) (result ListMemberRefsCompleteResult, err error)
- func (c MemberClient) ListMembers(ctx context.Context, id stable.DirectoryRoleId, ...) (result ListMembersOperationResponse, err error)
- func (c MemberClient) ListMembersComplete(ctx context.Context, id stable.DirectoryRoleId, ...) (ListMembersCompleteResult, error)
- func (c MemberClient) ListMembersCompleteMatchingPredicate(ctx context.Context, id stable.DirectoryRoleId, ...) (result ListMembersCompleteResult, err error)
- func (c MemberClient) RemoveMemberRef(ctx context.Context, id stable.DirectoryRoleIdMemberId, ...) (result RemoveMemberRefOperationResponse, err error)
- func (c MemberClient) RemoveMemberRefs(ctx context.Context, id stable.DirectoryRoleId, ...) (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.DirectoryRoleId, input stable.ReferenceCreate, options AddMemberRefOperationOptions) (result AddMemberRefOperationResponse, err error)
AddMemberRef - Add directory role member. Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
func (MemberClient) GetMembersCount ¶
func (c MemberClient) GetMembersCount(ctx context.Context, id stable.DirectoryRoleId, 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.DirectoryRoleId, options ListMemberRefsOperationOptions) (result ListMemberRefsOperationResponse, err error)
ListMemberRefs - List members of a directory role. Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
func (MemberClient) ListMemberRefsComplete ¶
func (c MemberClient) ListMemberRefsComplete(ctx context.Context, id stable.DirectoryRoleId, 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.DirectoryRoleId, 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.DirectoryRoleId, options ListMembersOperationOptions) (result ListMembersOperationResponse, err error)
ListMembers - List members of a directory role. Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
func (MemberClient) ListMembersComplete ¶
func (c MemberClient) ListMembersComplete(ctx context.Context, id stable.DirectoryRoleId, 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.DirectoryRoleId, 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.DirectoryRoleIdMemberId, options RemoveMemberRefOperationOptions) (result RemoveMemberRefOperationResponse, err error)
RemoveMemberRef - Remove directory role member. Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
func (MemberClient) RemoveMemberRefs ¶
func (c MemberClient) RemoveMemberRefs(ctx context.Context, id stable.DirectoryRoleId, options RemoveMemberRefsOperationOptions) (result RemoveMemberRefsOperationResponse, err error)
RemoveMemberRefs - Remove directory role member. Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
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