Documentation ¶
Index ¶
- type AddTokenLifetimePolicyRefOperationOptions
- type AddTokenLifetimePolicyRefOperationResponse
- type DirectoryObjectOperationPredicate
- type GetTokenLifetimePoliciesCountOperationOptions
- type GetTokenLifetimePoliciesCountOperationResponse
- type ListTokenLifetimePoliciesCompleteResult
- type ListTokenLifetimePoliciesCustomPager
- type ListTokenLifetimePoliciesOperationOptions
- type ListTokenLifetimePoliciesOperationResponse
- type ListTokenLifetimePolicyRefsCompleteResult
- type ListTokenLifetimePolicyRefsCustomPager
- type ListTokenLifetimePolicyRefsOperationOptions
- type ListTokenLifetimePolicyRefsOperationResponse
- type RemoveTokenLifetimePolicyRefOperationOptions
- type RemoveTokenLifetimePolicyRefOperationResponse
- type RemoveTokenLifetimePolicyRefsOperationOptions
- type RemoveTokenLifetimePolicyRefsOperationResponse
- type TokenLifetimePolicyClient
- func (c TokenLifetimePolicyClient) AddTokenLifetimePolicyRef(ctx context.Context, id beta.ApplicationId, input beta.ReferenceCreate, ...) (result AddTokenLifetimePolicyRefOperationResponse, err error)
- func (c TokenLifetimePolicyClient) GetTokenLifetimePoliciesCount(ctx context.Context, id beta.ApplicationId, ...) (result GetTokenLifetimePoliciesCountOperationResponse, err error)
- func (c TokenLifetimePolicyClient) ListTokenLifetimePolicies(ctx context.Context, id beta.ApplicationId, ...) (result ListTokenLifetimePoliciesOperationResponse, err error)
- func (c TokenLifetimePolicyClient) ListTokenLifetimePoliciesComplete(ctx context.Context, id beta.ApplicationId, ...) (ListTokenLifetimePoliciesCompleteResult, error)
- func (c TokenLifetimePolicyClient) ListTokenLifetimePoliciesCompleteMatchingPredicate(ctx context.Context, id beta.ApplicationId, ...) (result ListTokenLifetimePoliciesCompleteResult, err error)
- func (c TokenLifetimePolicyClient) ListTokenLifetimePolicyRefs(ctx context.Context, id beta.ApplicationId, ...) (result ListTokenLifetimePolicyRefsOperationResponse, err error)
- func (c TokenLifetimePolicyClient) ListTokenLifetimePolicyRefsComplete(ctx context.Context, id beta.ApplicationId, ...) (ListTokenLifetimePolicyRefsCompleteResult, error)
- func (c TokenLifetimePolicyClient) ListTokenLifetimePolicyRefsCompleteMatchingPredicate(ctx context.Context, id beta.ApplicationId, ...) (result ListTokenLifetimePolicyRefsCompleteResult, err error)
- func (c TokenLifetimePolicyClient) RemoveTokenLifetimePolicyRef(ctx context.Context, id beta.ApplicationIdTokenLifetimePolicyId, ...) (result RemoveTokenLifetimePolicyRefOperationResponse, err error)
- func (c TokenLifetimePolicyClient) RemoveTokenLifetimePolicyRefs(ctx context.Context, id beta.ApplicationId, ...) (result RemoveTokenLifetimePolicyRefsOperationResponse, err error)
- type TokenLifetimePolicyOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTokenLifetimePolicyRefOperationOptions ¶
type AddTokenLifetimePolicyRefOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddTokenLifetimePolicyRefOperationOptions ¶
func DefaultAddTokenLifetimePolicyRefOperationOptions() AddTokenLifetimePolicyRefOperationOptions
func (AddTokenLifetimePolicyRefOperationOptions) ToHeaders ¶
func (o AddTokenLifetimePolicyRefOperationOptions) ToHeaders() *client.Headers
func (AddTokenLifetimePolicyRefOperationOptions) ToOData ¶
func (o AddTokenLifetimePolicyRefOperationOptions) ToOData() *odata.Query
func (AddTokenLifetimePolicyRefOperationOptions) ToQuery ¶
func (o AddTokenLifetimePolicyRefOperationOptions) ToQuery() *client.QueryParams
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input beta.DirectoryObject) bool
type GetTokenLifetimePoliciesCountOperationOptions ¶
type GetTokenLifetimePoliciesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetTokenLifetimePoliciesCountOperationOptions ¶
func DefaultGetTokenLifetimePoliciesCountOperationOptions() GetTokenLifetimePoliciesCountOperationOptions
func (GetTokenLifetimePoliciesCountOperationOptions) ToHeaders ¶
func (o GetTokenLifetimePoliciesCountOperationOptions) ToHeaders() *client.Headers
func (GetTokenLifetimePoliciesCountOperationOptions) ToOData ¶
func (o GetTokenLifetimePoliciesCountOperationOptions) ToOData() *odata.Query
func (GetTokenLifetimePoliciesCountOperationOptions) ToQuery ¶
func (o GetTokenLifetimePoliciesCountOperationOptions) ToQuery() *client.QueryParams
type ListTokenLifetimePoliciesCompleteResult ¶
type ListTokenLifetimePoliciesCompleteResult struct { LatestHttpResponse *http.Response Items []beta.TokenLifetimePolicy }
type ListTokenLifetimePoliciesCustomPager ¶
func (*ListTokenLifetimePoliciesCustomPager) NextPageLink ¶
func (p *ListTokenLifetimePoliciesCustomPager) NextPageLink() *odata.Link
type ListTokenLifetimePoliciesOperationOptions ¶
type ListTokenLifetimePoliciesOperationOptions struct { 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 DefaultListTokenLifetimePoliciesOperationOptions ¶
func DefaultListTokenLifetimePoliciesOperationOptions() ListTokenLifetimePoliciesOperationOptions
func (ListTokenLifetimePoliciesOperationOptions) ToHeaders ¶
func (o ListTokenLifetimePoliciesOperationOptions) ToHeaders() *client.Headers
func (ListTokenLifetimePoliciesOperationOptions) ToOData ¶
func (o ListTokenLifetimePoliciesOperationOptions) ToOData() *odata.Query
func (ListTokenLifetimePoliciesOperationOptions) ToQuery ¶
func (o ListTokenLifetimePoliciesOperationOptions) ToQuery() *client.QueryParams
type ListTokenLifetimePolicyRefsCompleteResult ¶
type ListTokenLifetimePolicyRefsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListTokenLifetimePolicyRefsCustomPager ¶
type ListTokenLifetimePolicyRefsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListTokenLifetimePolicyRefsCustomPager) NextPageLink ¶
func (p *ListTokenLifetimePolicyRefsCustomPager) NextPageLink() *odata.Link
type ListTokenLifetimePolicyRefsOperationOptions ¶
type ListTokenLifetimePolicyRefsOperationOptions struct { Count *bool Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Skip *int64 Top *int64 }
func DefaultListTokenLifetimePolicyRefsOperationOptions ¶
func DefaultListTokenLifetimePolicyRefsOperationOptions() ListTokenLifetimePolicyRefsOperationOptions
func (ListTokenLifetimePolicyRefsOperationOptions) ToHeaders ¶
func (o ListTokenLifetimePolicyRefsOperationOptions) ToHeaders() *client.Headers
func (ListTokenLifetimePolicyRefsOperationOptions) ToOData ¶
func (o ListTokenLifetimePolicyRefsOperationOptions) ToOData() *odata.Query
func (ListTokenLifetimePolicyRefsOperationOptions) ToQuery ¶
func (o ListTokenLifetimePolicyRefsOperationOptions) ToQuery() *client.QueryParams
type RemoveTokenLifetimePolicyRefOperationOptions ¶
type RemoveTokenLifetimePolicyRefOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveTokenLifetimePolicyRefOperationOptions ¶
func DefaultRemoveTokenLifetimePolicyRefOperationOptions() RemoveTokenLifetimePolicyRefOperationOptions
func (RemoveTokenLifetimePolicyRefOperationOptions) ToHeaders ¶
func (o RemoveTokenLifetimePolicyRefOperationOptions) ToHeaders() *client.Headers
func (RemoveTokenLifetimePolicyRefOperationOptions) ToOData ¶
func (o RemoveTokenLifetimePolicyRefOperationOptions) ToOData() *odata.Query
func (RemoveTokenLifetimePolicyRefOperationOptions) ToQuery ¶
func (o RemoveTokenLifetimePolicyRefOperationOptions) ToQuery() *client.QueryParams
type RemoveTokenLifetimePolicyRefsOperationOptions ¶
type RemoveTokenLifetimePolicyRefsOperationOptions struct { Id *string IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveTokenLifetimePolicyRefsOperationOptions ¶
func DefaultRemoveTokenLifetimePolicyRefsOperationOptions() RemoveTokenLifetimePolicyRefsOperationOptions
func (RemoveTokenLifetimePolicyRefsOperationOptions) ToHeaders ¶
func (o RemoveTokenLifetimePolicyRefsOperationOptions) ToHeaders() *client.Headers
func (RemoveTokenLifetimePolicyRefsOperationOptions) ToOData ¶
func (o RemoveTokenLifetimePolicyRefsOperationOptions) ToOData() *odata.Query
func (RemoveTokenLifetimePolicyRefsOperationOptions) ToQuery ¶
func (o RemoveTokenLifetimePolicyRefsOperationOptions) ToQuery() *client.QueryParams
type TokenLifetimePolicyClient ¶
func NewTokenLifetimePolicyClientWithBaseURI ¶
func NewTokenLifetimePolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*TokenLifetimePolicyClient, error)
func (TokenLifetimePolicyClient) AddTokenLifetimePolicyRef ¶
func (c TokenLifetimePolicyClient) AddTokenLifetimePolicyRef(ctx context.Context, id beta.ApplicationId, input beta.ReferenceCreate, options AddTokenLifetimePolicyRefOperationOptions) (result AddTokenLifetimePolicyRefOperationResponse, err error)
AddTokenLifetimePolicyRef - Assign tokenLifetimePolicy. Assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application.
func (TokenLifetimePolicyClient) GetTokenLifetimePoliciesCount ¶
func (c TokenLifetimePolicyClient) GetTokenLifetimePoliciesCount(ctx context.Context, id beta.ApplicationId, options GetTokenLifetimePoliciesCountOperationOptions) (result GetTokenLifetimePoliciesCountOperationResponse, err error)
GetTokenLifetimePoliciesCount - Get the number of the resource
func (TokenLifetimePolicyClient) ListTokenLifetimePolicies ¶
func (c TokenLifetimePolicyClient) ListTokenLifetimePolicies(ctx context.Context, id beta.ApplicationId, options ListTokenLifetimePoliciesOperationOptions) (result ListTokenLifetimePoliciesOperationResponse, err error)
ListTokenLifetimePolicies - List assigned tokenLifetimePolicy. List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
func (TokenLifetimePolicyClient) ListTokenLifetimePoliciesComplete ¶
func (c TokenLifetimePolicyClient) ListTokenLifetimePoliciesComplete(ctx context.Context, id beta.ApplicationId, options ListTokenLifetimePoliciesOperationOptions) (ListTokenLifetimePoliciesCompleteResult, error)
ListTokenLifetimePoliciesComplete retrieves all the results into a single object
func (TokenLifetimePolicyClient) ListTokenLifetimePoliciesCompleteMatchingPredicate ¶
func (c TokenLifetimePolicyClient) ListTokenLifetimePoliciesCompleteMatchingPredicate(ctx context.Context, id beta.ApplicationId, options ListTokenLifetimePoliciesOperationOptions, predicate TokenLifetimePolicyOperationPredicate) (result ListTokenLifetimePoliciesCompleteResult, err error)
ListTokenLifetimePoliciesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TokenLifetimePolicyClient) ListTokenLifetimePolicyRefs ¶
func (c TokenLifetimePolicyClient) ListTokenLifetimePolicyRefs(ctx context.Context, id beta.ApplicationId, options ListTokenLifetimePolicyRefsOperationOptions) (result ListTokenLifetimePolicyRefsOperationResponse, err error)
ListTokenLifetimePolicyRefs - List assigned tokenLifetimePolicy. List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
func (TokenLifetimePolicyClient) ListTokenLifetimePolicyRefsComplete ¶
func (c TokenLifetimePolicyClient) ListTokenLifetimePolicyRefsComplete(ctx context.Context, id beta.ApplicationId, options ListTokenLifetimePolicyRefsOperationOptions) (ListTokenLifetimePolicyRefsCompleteResult, error)
ListTokenLifetimePolicyRefsComplete retrieves all the results into a single object
func (TokenLifetimePolicyClient) ListTokenLifetimePolicyRefsCompleteMatchingPredicate ¶
func (c TokenLifetimePolicyClient) ListTokenLifetimePolicyRefsCompleteMatchingPredicate(ctx context.Context, id beta.ApplicationId, options ListTokenLifetimePolicyRefsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListTokenLifetimePolicyRefsCompleteResult, err error)
ListTokenLifetimePolicyRefsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TokenLifetimePolicyClient) RemoveTokenLifetimePolicyRef ¶
func (c TokenLifetimePolicyClient) RemoveTokenLifetimePolicyRef(ctx context.Context, id beta.ApplicationIdTokenLifetimePolicyId, options RemoveTokenLifetimePolicyRefOperationOptions) (result RemoveTokenLifetimePolicyRefOperationResponse, err error)
RemoveTokenLifetimePolicyRef - Remove tokenLifetimePolicy. Remove a tokenLifetimePolicy from an application or servicePrincipal.
func (TokenLifetimePolicyClient) RemoveTokenLifetimePolicyRefs ¶
func (c TokenLifetimePolicyClient) RemoveTokenLifetimePolicyRefs(ctx context.Context, id beta.ApplicationId, options RemoveTokenLifetimePolicyRefsOperationOptions) (result RemoveTokenLifetimePolicyRefsOperationResponse, err error)
RemoveTokenLifetimePolicyRefs - Remove tokenLifetimePolicy. Remove a tokenLifetimePolicy from an application or servicePrincipal.
type TokenLifetimePolicyOperationPredicate ¶
type TokenLifetimePolicyOperationPredicate struct { }
func (TokenLifetimePolicyOperationPredicate) Matches ¶
func (p TokenLifetimePolicyOperationPredicate) Matches(input beta.TokenLifetimePolicy) bool