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 stable.ServicePrincipalId, ...) (result AddOwnerRefOperationResponse, err error)
- func (c OwnerClient) GetOwnersCount(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetOwnersCountOperationResponse, err error)
- func (c OwnerClient) ListOwnerRefs(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListOwnerRefsOperationResponse, err error)
- func (c OwnerClient) ListOwnerRefsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (ListOwnerRefsCompleteResult, error)
- func (c OwnerClient) ListOwnerRefsCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListOwnerRefsCompleteResult, err error)
- func (c OwnerClient) ListOwners(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListOwnersOperationResponse, err error)
- func (c OwnerClient) ListOwnersComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (ListOwnersCompleteResult, error)
- func (c OwnerClient) ListOwnersCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListOwnersCompleteResult, err error)
- func (c OwnerClient) RemoveOwnerRef(ctx context.Context, id stable.ServicePrincipalIdOwnerId, ...) (result RemoveOwnerRefOperationResponse, err error)
- func (c OwnerClient) RemoveOwnerRefs(ctx context.Context, id stable.ServicePrincipalId, ...) (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 stable.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 []stable.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 []stable.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 stable.ServicePrincipalId, input stable.ReferenceCreate, options AddOwnerRefOperationOptions) (result AddOwnerRefOperationResponse, err error)
AddOwnerRef - servicePrincipal: Add owner. Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals.
func (OwnerClient) GetOwnersCount ¶
func (c OwnerClient) GetOwnersCount(ctx context.Context, id stable.ServicePrincipalId, options GetOwnersCountOperationOptions) (result GetOwnersCountOperationResponse, err error)
GetOwnersCount - Get the number of the resource
func (OwnerClient) ListOwnerRefs ¶
func (c OwnerClient) ListOwnerRefs(ctx context.Context, id stable.ServicePrincipalId, options ListOwnerRefsOperationOptions) (result ListOwnerRefsOperationResponse, err error)
ListOwnerRefs - servicePrincipals: List owners. Retrieve a list of owners of the servicePrincipal.
func (OwnerClient) ListOwnerRefsComplete ¶
func (c OwnerClient) ListOwnerRefsComplete(ctx context.Context, id stable.ServicePrincipalId, options ListOwnerRefsOperationOptions) (ListOwnerRefsCompleteResult, error)
ListOwnerRefsComplete retrieves all the results into a single object
func (OwnerClient) ListOwnerRefsCompleteMatchingPredicate ¶
func (c OwnerClient) ListOwnerRefsCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, 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 stable.ServicePrincipalId, options ListOwnersOperationOptions) (result ListOwnersOperationResponse, err error)
ListOwners - servicePrincipals: List owners. Retrieve a list of owners of the servicePrincipal.
func (OwnerClient) ListOwnersComplete ¶
func (c OwnerClient) ListOwnersComplete(ctx context.Context, id stable.ServicePrincipalId, options ListOwnersOperationOptions) (ListOwnersCompleteResult, error)
ListOwnersComplete retrieves all the results into a single object
func (OwnerClient) ListOwnersCompleteMatchingPredicate ¶
func (c OwnerClient) ListOwnersCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, 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 stable.ServicePrincipalIdOwnerId, options RemoveOwnerRefOperationOptions) (result RemoveOwnerRefOperationResponse, err error)
RemoveOwnerRef - Remove service principal owner. Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners.
func (OwnerClient) RemoveOwnerRefs ¶
func (c OwnerClient) RemoveOwnerRefs(ctx context.Context, id stable.ServicePrincipalId, options RemoveOwnerRefsOperationOptions) (result RemoveOwnerRefsOperationResponse, err error)
RemoveOwnerRefs - Remove service principal 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 (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