graphrbac

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationsClient

type ApplicationsClient interface {
	Create(ctx context.Context, parameters graphrbac.ApplicationCreateParameters) (result graphrbac.Application, err error)
	Delete(ctx context.Context, applicationObjectID string) (result autorest.Response, err error)
	Get(ctx context.Context, applicationObjectID string) (result graphrbac.Application, err error)
	List(ctx context.Context, filter string) (result graphrbac.ApplicationListResultPage, err error)
	Patch(ctx context.Context, applicationObjectID string, parameters graphrbac.ApplicationUpdateParameters) (result autorest.Response, err error)
}

ApplicationsClient is a minimal interface for azure ApplicationsClient

func NewApplicationsClient

func NewApplicationsClient(ctx context.Context, log *logrus.Entry, tenantID string, authorizer autorest.Authorizer) ApplicationsClient

NewApplicationsClient creates a new ApplicationsClient

type GroupsClient

type GroupsClient interface {
	GroupsClientAddons
}

GroupsClient is a minimal interface for azure GroupsClient

func NewGroupsClient

func NewGroupsClient(ctx context.Context, log *logrus.Entry, tenantID string, authorizer autorest.Authorizer) GroupsClient

NewApplicationsClient creates a new ApplicationsClient

type GroupsClientAddons

type GroupsClientAddons interface {
	GetGroupMembers(ctx context.Context, objectID string) ([]graphrbac.BasicDirectoryObject, error)
}

type ServicePrincipalsClient

type ServicePrincipalsClient interface {
	Create(ctx context.Context, parameters graphrbac.ServicePrincipalCreateParameters) (result graphrbac.ServicePrincipal, err error)
	List(ctx context.Context, filter string) (graphrbac.ServicePrincipalListResultPage, error)
}

func NewServicePrincipalsClient

func NewServicePrincipalsClient(ctx context.Context, log *logrus.Entry, tenantID string, authorizer autorest.Authorizer) ServicePrincipalsClient

NewServicePrincipalsClient create a client to query ServicePrincipal information

Jump to

Keyboard shortcuts

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