owner

package
v0.20241126.2320 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 (AddOwnerRefOperationOptions) ToOData

func (AddOwnerRefOperationOptions) ToQuery

type AddOwnerRefOperationResponse

type AddOwnerRefOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DirectoryObjectOperationPredicate

type DirectoryObjectOperationPredicate struct {
}

func (DirectoryObjectOperationPredicate) Matches

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 (GetOwnersCountOperationOptions) ToOData

func (GetOwnersCountOperationOptions) ToQuery

type GetOwnersCountOperationResponse

type GetOwnersCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListOwnerRefsCompleteResult

type ListOwnerRefsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.DirectoryObject
}

type ListOwnerRefsCustomPager

type ListOwnerRefsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
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 (ListOwnerRefsOperationOptions) ToOData

func (ListOwnerRefsOperationOptions) ToQuery

type ListOwnerRefsOperationResponse

type ListOwnerRefsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.DirectoryObject
}

type ListOwnersCompleteResult

type ListOwnersCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.DirectoryObject
}

type ListOwnersCustomPager

type ListOwnersCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
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

type ListOwnersOperationResponse

type ListOwnersOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.DirectoryObject
}

type OwnerClient

type OwnerClient struct {
	Client *msgraph.Client
}

func NewOwnerClientWithBaseURI

func NewOwnerClientWithBaseURI(sdkApi sdkEnv.Api) (*OwnerClient, error)

func (OwnerClient) AddOwnerRef

AddOwnerRef - servicePrincipal: Add owner. Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals.

func (OwnerClient) GetOwnersCount

GetOwnersCount - Get the number of the resource

func (OwnerClient) ListOwnerRefs

ListOwnerRefs - servicePrincipals: List owners. Retrieve a list of owners of the servicePrincipal.

func (OwnerClient) ListOwnerRefsComplete

ListOwnerRefsComplete retrieves all the results into a single object

func (OwnerClient) ListOwnerRefsCompleteMatchingPredicate

func (c OwnerClient) ListOwnerRefsCompleteMatchingPredicate(ctx context.Context, id beta.ServicePrincipalId, options ListOwnerRefsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListOwnerRefsCompleteResult, err error)

ListOwnerRefsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OwnerClient) ListOwners

ListOwners - servicePrincipals: List owners. Retrieve a list of owners of the servicePrincipal.

func (OwnerClient) ListOwnersComplete

ListOwnersComplete retrieves all the results into a single object

func (OwnerClient) ListOwnersCompleteMatchingPredicate

func (c OwnerClient) ListOwnersCompleteMatchingPredicate(ctx context.Context, id beta.ServicePrincipalId, options ListOwnersOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListOwnersCompleteResult, err error)

ListOwnersCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OwnerClient) RemoveOwnerRef

RemoveOwnerRef - Remove owner. Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners.

func (OwnerClient) RemoveOwnerRefs

RemoveOwnerRefs - Remove owner. Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners.

type RemoveOwnerRefOperationOptions

type RemoveOwnerRefOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemoveOwnerRefOperationOptions

func DefaultRemoveOwnerRefOperationOptions() RemoveOwnerRefOperationOptions

func (RemoveOwnerRefOperationOptions) ToHeaders

func (RemoveOwnerRefOperationOptions) ToOData

func (RemoveOwnerRefOperationOptions) ToQuery

type RemoveOwnerRefOperationResponse

type RemoveOwnerRefOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RemoveOwnerRefsOperationOptions

type RemoveOwnerRefsOperationOptions struct {
	Id        *string
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemoveOwnerRefsOperationOptions

func DefaultRemoveOwnerRefsOperationOptions() RemoveOwnerRefsOperationOptions

func (RemoveOwnerRefsOperationOptions) ToHeaders

func (RemoveOwnerRefsOperationOptions) ToOData

func (RemoveOwnerRefsOperationOptions) ToQuery

type RemoveOwnerRefsOperationResponse

type RemoveOwnerRefsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL