authorization

package
v0.0.0-...-142fde5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DenyAssignmentClient

type DenyAssignmentClient interface {
	DenyAssignmentClientAddons
}

DenyAssignmentClient is a minimal interface for azure DenyAssignmentClient

func NewDenyAssignmentsClient

func NewDenyAssignmentsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) DenyAssignmentClient

NewDenyAssignmentsClient creates a new DenyAssignmentsClient

type DenyAssignmentClientAddons

type DenyAssignmentClientAddons interface {
	ListForResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result []mgmtauthorization.DenyAssignment, err error)
}

DenyAssignmentClientAddons contains addons for DenyAssignmentClient

type RoleAssignmentsClient

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

RoleAssignmentsClient is a minimal interface for azure RoleAssignmentsClient

func NewRoleAssignmentsClient

func NewRoleAssignmentsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) RoleAssignmentsClient

NewRoleAssignmentsClient creates a new RoleAssignmentsClient

type RoleAssignmentsClientAddons

type RoleAssignmentsClientAddons interface {
	ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) ([]mgmtauthorization.RoleAssignment, error)
	ListForResourceGroup(ctx context.Context, resourceGroupName string, filter string) ([]mgmtauthorization.RoleAssignment, error)
}

RoleAssignmentsClientAddons contains addons for RoleAssignmentsClient

type RoleDefinitionsClient

type RoleDefinitionsClient interface {
	Delete(ctx context.Context, scope string, roleDefinitionID string) (result mgmtauthorization.RoleDefinition, err error)
	RoleDefinitionsClientAddons
}

RoleDefinitionsClient is a minimal interface for azure RoleDefinitionsClient

func NewRoleDefinitionsClient

func NewRoleDefinitionsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) RoleDefinitionsClient

NewRoleDefinitionsClient creates a new RoleDefinitionsClient

type RoleDefinitionsClientAddons

type RoleDefinitionsClientAddons interface {
	List(ctx context.Context, scope string, filter string) ([]mgmtauthorization.RoleDefinition, error)
}

RoleDefinitionsClientAddons contains addons for RoleDefinitionsClient

Jump to

Keyboard shortcuts

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