Documentation ¶
Index ¶
- type AddOwnerRefOperationOptions
- type AddOwnerRefOperationResponse
- type DirectoryObjectOperationPredicate
- type GetOwnersCountOperationOptions
- type GetOwnersCountOperationResponse
- type ListOwnerRefsCompleteResult
- type ListOwnerRefsCustomPager
- type ListOwnerRefsOperationOptions
- type ListOwnerRefsOperationResponse
- type ListOwnersCompleteResult
- type ListOwnersCustomPager
- type ListOwnersOperationOptions
- type ListOwnersOperationResponse
- type OwnerClient
- func (c OwnerClient) AddOwnerRef(ctx context.Context, id beta.GroupId, input beta.ReferenceCreate, ...) (result AddOwnerRefOperationResponse, err error)
- func (c OwnerClient) GetOwnersCount(ctx context.Context, id beta.GroupId, options GetOwnersCountOperationOptions) (result GetOwnersCountOperationResponse, err error)
- func (c OwnerClient) ListOwnerRefs(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions) (result ListOwnerRefsOperationResponse, err error)
- func (c OwnerClient) ListOwnerRefsComplete(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions) (ListOwnerRefsCompleteResult, error)
- func (c OwnerClient) ListOwnerRefsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions, ...) (result ListOwnerRefsCompleteResult, err error)
- func (c OwnerClient) ListOwners(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions) (result ListOwnersOperationResponse, err error)
- func (c OwnerClient) ListOwnersComplete(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions) (ListOwnersCompleteResult, error)
- func (c OwnerClient) ListOwnersCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions, ...) (result ListOwnersCompleteResult, err error)
- func (c OwnerClient) RemoveOwnerRef(ctx context.Context, id beta.GroupIdOwnerId, ...) (result RemoveOwnerRefOperationResponse, err error)
- func (c OwnerClient) RemoveOwnerRefs(ctx context.Context, id beta.GroupId, options RemoveOwnerRefsOperationOptions) (result RemoveOwnerRefsOperationResponse, err error)
- type RemoveOwnerRefOperationOptions
- type RemoveOwnerRefOperationResponse
- type RemoveOwnerRefsOperationOptions
- type RemoveOwnerRefsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOwnerRefOperationOptions ¶
type AddOwnerRefOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddOwnerRefOperationOptions ¶
func DefaultAddOwnerRefOperationOptions() AddOwnerRefOperationOptions
func (AddOwnerRefOperationOptions) ToHeaders ¶
func (o AddOwnerRefOperationOptions) ToHeaders() *client.Headers
func (AddOwnerRefOperationOptions) ToOData ¶
func (o AddOwnerRefOperationOptions) ToOData() *odata.Query
func (AddOwnerRefOperationOptions) ToQuery ¶
func (o AddOwnerRefOperationOptions) ToQuery() *client.QueryParams
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input beta.DirectoryObject) bool
type GetOwnersCountOperationOptions ¶
type GetOwnersCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetOwnersCountOperationOptions ¶
func DefaultGetOwnersCountOperationOptions() GetOwnersCountOperationOptions
func (GetOwnersCountOperationOptions) ToHeaders ¶
func (o GetOwnersCountOperationOptions) ToHeaders() *client.Headers
func (GetOwnersCountOperationOptions) ToOData ¶
func (o GetOwnersCountOperationOptions) ToOData() *odata.Query
func (GetOwnersCountOperationOptions) ToQuery ¶
func (o GetOwnersCountOperationOptions) ToQuery() *client.QueryParams
type ListOwnerRefsCompleteResult ¶
type ListOwnerRefsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListOwnerRefsCustomPager ¶
func (*ListOwnerRefsCustomPager) NextPageLink ¶
func (p *ListOwnerRefsCustomPager) NextPageLink() *odata.Link
type ListOwnerRefsOperationOptions ¶
type ListOwnerRefsOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Count *bool Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Skip *int64 Top *int64 }
func DefaultListOwnerRefsOperationOptions ¶
func DefaultListOwnerRefsOperationOptions() ListOwnerRefsOperationOptions
func (ListOwnerRefsOperationOptions) ToHeaders ¶
func (o ListOwnerRefsOperationOptions) ToHeaders() *client.Headers
func (ListOwnerRefsOperationOptions) ToOData ¶
func (o ListOwnerRefsOperationOptions) ToOData() *odata.Query
func (ListOwnerRefsOperationOptions) ToQuery ¶
func (o ListOwnerRefsOperationOptions) ToQuery() *client.QueryParams
type ListOwnersCompleteResult ¶
type ListOwnersCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListOwnersCustomPager ¶
func (*ListOwnersCustomPager) NextPageLink ¶
func (p *ListOwnersCustomPager) NextPageLink() *odata.Link
type ListOwnersOperationOptions ¶
type ListOwnersOperationOptions 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 DefaultListOwnersOperationOptions ¶
func DefaultListOwnersOperationOptions() ListOwnersOperationOptions
func (ListOwnersOperationOptions) ToHeaders ¶
func (o ListOwnersOperationOptions) ToHeaders() *client.Headers
func (ListOwnersOperationOptions) ToOData ¶
func (o ListOwnersOperationOptions) ToOData() *odata.Query
func (ListOwnersOperationOptions) ToQuery ¶
func (o ListOwnersOperationOptions) ToQuery() *client.QueryParams
type OwnerClient ¶
func NewOwnerClientWithBaseURI ¶
func NewOwnerClientWithBaseURI(sdkApi sdkEnv.Api) (*OwnerClient, error)
func (OwnerClient) AddOwnerRef ¶
func (c OwnerClient) AddOwnerRef(ctx context.Context, id beta.GroupId, input beta.ReferenceCreate, options AddOwnerRefOperationOptions) (result AddOwnerRefOperationResponse, err error)
AddOwnerRef - Add owners. Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object.
func (OwnerClient) GetOwnersCount ¶
func (c OwnerClient) GetOwnersCount(ctx context.Context, id beta.GroupId, options GetOwnersCountOperationOptions) (result GetOwnersCountOperationResponse, err error)
GetOwnersCount - Get the number of the resource
func (OwnerClient) ListOwnerRefs ¶
func (c OwnerClient) ListOwnerRefs(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions) (result ListOwnerRefsOperationResponse, err error)
ListOwnerRefs - List group owners. Retrieve a list of the group's owners. The owners are a set of users who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment.
func (OwnerClient) ListOwnerRefsComplete ¶
func (c OwnerClient) ListOwnerRefsComplete(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions) (ListOwnerRefsCompleteResult, error)
ListOwnerRefsComplete retrieves all the results into a single object
func (OwnerClient) ListOwnerRefsCompleteMatchingPredicate ¶
func (c OwnerClient) ListOwnerRefsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListOwnerRefsCompleteResult, err error)
ListOwnerRefsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OwnerClient) ListOwners ¶
func (c OwnerClient) ListOwners(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions) (result ListOwnersOperationResponse, err error)
ListOwners - List group owners. Retrieve a list of the group's owners. The owners are a set of users who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment.
func (OwnerClient) ListOwnersComplete ¶
func (c OwnerClient) ListOwnersComplete(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions) (ListOwnersCompleteResult, error)
ListOwnersComplete retrieves all the results into a single object
func (OwnerClient) ListOwnersCompleteMatchingPredicate ¶
func (c OwnerClient) ListOwnersCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListOwnersCompleteResult, err error)
ListOwnersCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OwnerClient) RemoveOwnerRef ¶
func (c OwnerClient) RemoveOwnerRef(ctx context.Context, id beta.GroupIdOwnerId, options RemoveOwnerRefOperationOptions) (result RemoveOwnerRefOperationResponse, err error)
RemoveOwnerRef - Remove group owner. Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed.
func (OwnerClient) RemoveOwnerRefs ¶
func (c OwnerClient) RemoveOwnerRefs(ctx context.Context, id beta.GroupId, options RemoveOwnerRefsOperationOptions) (result RemoveOwnerRefsOperationResponse, err error)
RemoveOwnerRefs - Remove group owner. Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed.
type RemoveOwnerRefOperationOptions ¶
type RemoveOwnerRefOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveOwnerRefOperationOptions ¶
func DefaultRemoveOwnerRefOperationOptions() RemoveOwnerRefOperationOptions
func (RemoveOwnerRefOperationOptions) ToHeaders ¶
func (o RemoveOwnerRefOperationOptions) ToHeaders() *client.Headers
func (RemoveOwnerRefOperationOptions) ToOData ¶
func (o RemoveOwnerRefOperationOptions) ToOData() *odata.Query
func (RemoveOwnerRefOperationOptions) ToQuery ¶
func (o RemoveOwnerRefOperationOptions) ToQuery() *client.QueryParams
type RemoveOwnerRefsOperationOptions ¶
type RemoveOwnerRefsOperationOptions struct { Id *string IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveOwnerRefsOperationOptions ¶
func DefaultRemoveOwnerRefsOperationOptions() RemoveOwnerRefsOperationOptions
func (RemoveOwnerRefsOperationOptions) ToHeaders ¶
func (o RemoveOwnerRefsOperationOptions) ToHeaders() *client.Headers
func (RemoveOwnerRefsOperationOptions) ToOData ¶
func (o RemoveOwnerRefsOperationOptions) ToOData() *odata.Query
func (RemoveOwnerRefsOperationOptions) ToQuery ¶
func (o RemoveOwnerRefsOperationOptions) ToQuery() *client.QueryParams