authorization

package
v0.0.0-...-e78a02c Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 4 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, resourceID 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