authorization

package
v0.0.0-...-6c21669 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PermissionsClient

type PermissionsClient interface {
	PermissionsClientAddons
}

PermissionsClient is a minimal interface for azure PermissionsClient

func NewPermissionsClient

func NewPermissionsClient(subscriptionID string, authorizer autorest.Authorizer) PermissionsClient

NewPermissionsClient creates a new PermissionsClient

type PermissionsClientAddons

type PermissionsClientAddons interface {
	ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (permissions []authorization.Permission, err error)
	ListForResourceGroup(ctx context.Context, resourceGroupName string) (permissions []authorization.Permission, err error)
}

PermissionsClientAddons contains addons for PermissionsClient

type RoleAssignmentsClient

type RoleAssignmentsClient interface {
	Create(ctx context.Context, scope string, roleAssignmentName string, parameters authorization.RoleAssignmentCreateParameters) (result authorization.RoleAssignment, err error)
}

RoleAssignmentsClient is a minimal interface for azure RoleAssignmentsClient

func NewRoleAssignmentsClient

func NewRoleAssignmentsClient(subscriptionID string, authorizer autorest.Authorizer) RoleAssignmentsClient

NewRoleAssignmentsClient creates a new RoleAssignmentsClient

Jump to

Keyboard shortcuts

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