Documentation ¶
Index ¶
- type AppRoleAssignmentClient
- func (c AppRoleAssignmentClient) CreateAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalId, ...) (result CreateAppRoleAssignmentOperationResponse, err error)
- func (c AppRoleAssignmentClient) DeleteAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalIdAppRoleAssignmentId, ...) (result DeleteAppRoleAssignmentOperationResponse, err error)
- func (c AppRoleAssignmentClient) GetAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalIdAppRoleAssignmentId, ...) (result GetAppRoleAssignmentOperationResponse, err error)
- func (c AppRoleAssignmentClient) GetAppRoleAssignmentsCount(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetAppRoleAssignmentsCountOperationResponse, err error)
- func (c AppRoleAssignmentClient) ListAppRoleAssignments(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListAppRoleAssignmentsOperationResponse, err error)
- func (c AppRoleAssignmentClient) ListAppRoleAssignmentsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (ListAppRoleAssignmentsCompleteResult, error)
- func (c AppRoleAssignmentClient) ListAppRoleAssignmentsCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListAppRoleAssignmentsCompleteResult, err error)
- func (c AppRoleAssignmentClient) UpdateAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalIdAppRoleAssignmentId, ...) (result UpdateAppRoleAssignmentOperationResponse, err error)
- type AppRoleAssignmentOperationPredicate
- type CreateAppRoleAssignmentOperationOptions
- type CreateAppRoleAssignmentOperationResponse
- type DeleteAppRoleAssignmentOperationOptions
- type DeleteAppRoleAssignmentOperationResponse
- type GetAppRoleAssignmentOperationOptions
- type GetAppRoleAssignmentOperationResponse
- type GetAppRoleAssignmentsCountOperationOptions
- type GetAppRoleAssignmentsCountOperationResponse
- type ListAppRoleAssignmentsCompleteResult
- type ListAppRoleAssignmentsCustomPager
- type ListAppRoleAssignmentsOperationOptions
- type ListAppRoleAssignmentsOperationResponse
- type UpdateAppRoleAssignmentOperationOptions
- type UpdateAppRoleAssignmentOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRoleAssignmentClient ¶
func NewAppRoleAssignmentClientWithBaseURI ¶
func NewAppRoleAssignmentClientWithBaseURI(sdkApi sdkEnv.Api) (*AppRoleAssignmentClient, error)
func (AppRoleAssignmentClient) CreateAppRoleAssignment ¶
func (c AppRoleAssignmentClient) CreateAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalId, input stable.AppRoleAssignment, options CreateAppRoleAssignmentOperationOptions) (result CreateAppRoleAssignmentOperationResponse, err error)
CreateAppRoleAssignment - Grant an appRoleAssignment to a service principal. Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers
func (AppRoleAssignmentClient) DeleteAppRoleAssignment ¶
func (c AppRoleAssignmentClient) DeleteAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalIdAppRoleAssignmentId, options DeleteAppRoleAssignmentOperationOptions) (result DeleteAppRoleAssignmentOperationResponse, err error)
DeleteAppRoleAssignment - Delete appRoleAssignment. Deletes an appRoleAssignment that a service principal has been granted. App roles which are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant.
func (AppRoleAssignmentClient) GetAppRoleAssignment ¶
func (c AppRoleAssignmentClient) GetAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalIdAppRoleAssignmentId, options GetAppRoleAssignmentOperationOptions) (result GetAppRoleAssignmentOperationResponse, err error)
GetAppRoleAssignment - Get appRoleAssignment. Read the properties and relationships of an appRoleAssignment object.
func (AppRoleAssignmentClient) GetAppRoleAssignmentsCount ¶
func (c AppRoleAssignmentClient) GetAppRoleAssignmentsCount(ctx context.Context, id stable.ServicePrincipalId, options GetAppRoleAssignmentsCountOperationOptions) (result GetAppRoleAssignmentsCountOperationResponse, err error)
GetAppRoleAssignmentsCount - Get the number of the resource
func (AppRoleAssignmentClient) ListAppRoleAssignments ¶
func (c AppRoleAssignmentClient) ListAppRoleAssignments(ctx context.Context, id stable.ServicePrincipalId, options ListAppRoleAssignmentsOperationOptions) (result ListAppRoleAssignmentsOperationResponse, err error)
ListAppRoleAssignments - Get appRoleAssignment. Read the properties and relationships of an appRoleAssignment object.
func (AppRoleAssignmentClient) ListAppRoleAssignmentsComplete ¶
func (c AppRoleAssignmentClient) ListAppRoleAssignmentsComplete(ctx context.Context, id stable.ServicePrincipalId, options ListAppRoleAssignmentsOperationOptions) (ListAppRoleAssignmentsCompleteResult, error)
ListAppRoleAssignmentsComplete retrieves all the results into a single object
func (AppRoleAssignmentClient) ListAppRoleAssignmentsCompleteMatchingPredicate ¶
func (c AppRoleAssignmentClient) ListAppRoleAssignmentsCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, options ListAppRoleAssignmentsOperationOptions, predicate AppRoleAssignmentOperationPredicate) (result ListAppRoleAssignmentsCompleteResult, err error)
ListAppRoleAssignmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AppRoleAssignmentClient) UpdateAppRoleAssignment ¶
func (c AppRoleAssignmentClient) UpdateAppRoleAssignment(ctx context.Context, id stable.ServicePrincipalIdAppRoleAssignmentId, input stable.AppRoleAssignment, options UpdateAppRoleAssignmentOperationOptions) (result UpdateAppRoleAssignmentOperationResponse, err error)
UpdateAppRoleAssignment - Update the navigation property appRoleAssignments in servicePrincipals
type AppRoleAssignmentOperationPredicate ¶
type AppRoleAssignmentOperationPredicate struct { }
func (AppRoleAssignmentOperationPredicate) Matches ¶
func (p AppRoleAssignmentOperationPredicate) Matches(input stable.AppRoleAssignment) bool
type CreateAppRoleAssignmentOperationOptions ¶
type CreateAppRoleAssignmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateAppRoleAssignmentOperationOptions ¶
func DefaultCreateAppRoleAssignmentOperationOptions() CreateAppRoleAssignmentOperationOptions
func (CreateAppRoleAssignmentOperationOptions) ToHeaders ¶
func (o CreateAppRoleAssignmentOperationOptions) ToHeaders() *client.Headers
func (CreateAppRoleAssignmentOperationOptions) ToOData ¶
func (o CreateAppRoleAssignmentOperationOptions) ToOData() *odata.Query
func (CreateAppRoleAssignmentOperationOptions) ToQuery ¶
func (o CreateAppRoleAssignmentOperationOptions) ToQuery() *client.QueryParams
type DeleteAppRoleAssignmentOperationOptions ¶
type DeleteAppRoleAssignmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteAppRoleAssignmentOperationOptions ¶
func DefaultDeleteAppRoleAssignmentOperationOptions() DeleteAppRoleAssignmentOperationOptions
func (DeleteAppRoleAssignmentOperationOptions) ToHeaders ¶
func (o DeleteAppRoleAssignmentOperationOptions) ToHeaders() *client.Headers
func (DeleteAppRoleAssignmentOperationOptions) ToOData ¶
func (o DeleteAppRoleAssignmentOperationOptions) ToOData() *odata.Query
func (DeleteAppRoleAssignmentOperationOptions) ToQuery ¶
func (o DeleteAppRoleAssignmentOperationOptions) ToQuery() *client.QueryParams
type GetAppRoleAssignmentOperationOptions ¶
type GetAppRoleAssignmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetAppRoleAssignmentOperationOptions ¶
func DefaultGetAppRoleAssignmentOperationOptions() GetAppRoleAssignmentOperationOptions
func (GetAppRoleAssignmentOperationOptions) ToHeaders ¶
func (o GetAppRoleAssignmentOperationOptions) ToHeaders() *client.Headers
func (GetAppRoleAssignmentOperationOptions) ToOData ¶
func (o GetAppRoleAssignmentOperationOptions) ToOData() *odata.Query
func (GetAppRoleAssignmentOperationOptions) ToQuery ¶
func (o GetAppRoleAssignmentOperationOptions) ToQuery() *client.QueryParams
type GetAppRoleAssignmentsCountOperationOptions ¶
type GetAppRoleAssignmentsCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetAppRoleAssignmentsCountOperationOptions ¶
func DefaultGetAppRoleAssignmentsCountOperationOptions() GetAppRoleAssignmentsCountOperationOptions
func (GetAppRoleAssignmentsCountOperationOptions) ToHeaders ¶
func (o GetAppRoleAssignmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetAppRoleAssignmentsCountOperationOptions) ToOData ¶
func (o GetAppRoleAssignmentsCountOperationOptions) ToOData() *odata.Query
func (GetAppRoleAssignmentsCountOperationOptions) ToQuery ¶
func (o GetAppRoleAssignmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListAppRoleAssignmentsCompleteResult ¶
type ListAppRoleAssignmentsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.AppRoleAssignment }
type ListAppRoleAssignmentsCustomPager ¶
func (*ListAppRoleAssignmentsCustomPager) NextPageLink ¶
func (p *ListAppRoleAssignmentsCustomPager) NextPageLink() *odata.Link
type ListAppRoleAssignmentsOperationOptions ¶
type ListAppRoleAssignmentsOperationOptions 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 DefaultListAppRoleAssignmentsOperationOptions ¶
func DefaultListAppRoleAssignmentsOperationOptions() ListAppRoleAssignmentsOperationOptions
func (ListAppRoleAssignmentsOperationOptions) ToHeaders ¶
func (o ListAppRoleAssignmentsOperationOptions) ToHeaders() *client.Headers
func (ListAppRoleAssignmentsOperationOptions) ToOData ¶
func (o ListAppRoleAssignmentsOperationOptions) ToOData() *odata.Query
func (ListAppRoleAssignmentsOperationOptions) ToQuery ¶
func (o ListAppRoleAssignmentsOperationOptions) ToQuery() *client.QueryParams
type UpdateAppRoleAssignmentOperationOptions ¶
type UpdateAppRoleAssignmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateAppRoleAssignmentOperationOptions ¶
func DefaultUpdateAppRoleAssignmentOperationOptions() UpdateAppRoleAssignmentOperationOptions
func (UpdateAppRoleAssignmentOperationOptions) ToHeaders ¶
func (o UpdateAppRoleAssignmentOperationOptions) ToHeaders() *client.Headers
func (UpdateAppRoleAssignmentOperationOptions) ToOData ¶
func (o UpdateAppRoleAssignmentOperationOptions) ToOData() *odata.Query
func (UpdateAppRoleAssignmentOperationOptions) ToQuery ¶
func (o UpdateAppRoleAssignmentOperationOptions) ToQuery() *client.QueryParams