azurerm

package
v0.0.1-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureRoleActiveAssignment

type AzureRoleActiveAssignment armauthorization.RoleAssignmentScheduleInstance

func (*AzureRoleActiveAssignment) Condition

func (a *AzureRoleActiveAssignment) Condition() string

func (*AzureRoleActiveAssignment) EndTime

func (a *AzureRoleActiveAssignment) EndTime() string

func (*AzureRoleActiveAssignment) Membership

func (a *AzureRoleActiveAssignment) Membership() string

func (*AzureRoleActiveAssignment) Resource

func (a *AzureRoleActiveAssignment) Resource() string

func (*AzureRoleActiveAssignment) ResourceType

func (a *AzureRoleActiveAssignment) ResourceType() string

func (*AzureRoleActiveAssignment) Role

func (*AzureRoleActiveAssignment) Scope

func (a *AzureRoleActiveAssignment) Scope() string

func (*AzureRoleActiveAssignment) State

func (a *AzureRoleActiveAssignment) State() string

type AzureRoleActiveAssignments

type AzureRoleActiveAssignments []AzureRoleActiveAssignment

type AzureRoleAssignmentRequest

type AzureRoleAssignmentRequest armauthorization.RoleAssignmentScheduleRequest

func (*AzureRoleAssignmentRequest) Condition

func (a *AzureRoleAssignmentRequest) Condition() string

func (*AzureRoleAssignmentRequest) EndTime

func (a *AzureRoleAssignmentRequest) EndTime() string

func (*AzureRoleAssignmentRequest) Justification

func (a *AzureRoleAssignmentRequest) Justification() string

func (*AzureRoleAssignmentRequest) PrincipalEmail

func (a *AzureRoleAssignmentRequest) PrincipalEmail() string

func (*AzureRoleAssignmentRequest) Reason

func (a *AzureRoleAssignmentRequest) Reason() string

func (*AzureRoleAssignmentRequest) RequestStatus

func (a *AzureRoleAssignmentRequest) RequestStatus() string

func (*AzureRoleAssignmentRequest) RequestTime

func (a *AzureRoleAssignmentRequest) RequestTime() string

func (*AzureRoleAssignmentRequest) RequestType

func (a *AzureRoleAssignmentRequest) RequestType() string

func (*AzureRoleAssignmentRequest) Requestor

func (a *AzureRoleAssignmentRequest) Requestor() string

func (*AzureRoleAssignmentRequest) Resource

func (a *AzureRoleAssignmentRequest) Resource() string

func (*AzureRoleAssignmentRequest) ResourceType

func (a *AzureRoleAssignmentRequest) ResourceType() string

func (*AzureRoleAssignmentRequest) Role

func (*AzureRoleAssignmentRequest) Scope

func (*AzureRoleAssignmentRequest) StartTime

func (a *AzureRoleAssignmentRequest) StartTime() string

type AzureRoleAssignmentRequests

type AzureRoleAssignmentRequests []AzureRoleAssignmentRequest

type AzureRoleAssignmentRequestsFilter

type AzureRoleAssignmentRequestsFilter string
const (
	AzureRoleAssignmentRequestsFilterApprover AzureRoleAssignmentRequestsFilter = "asApprover()"
	AzureRoleAssignmentRequestsFilterTarget   AzureRoleAssignmentRequestsFilter = "asTarget()"
)

type AzureRoleEligibleAssignment

type AzureRoleEligibleAssignment armauthorization.RoleEligibilityScheduleInstance

func (*AzureRoleEligibleAssignment) Condition

func (a *AzureRoleEligibleAssignment) Condition() string

func (*AzureRoleEligibleAssignment) EndTime

func (a *AzureRoleEligibleAssignment) EndTime() string

func (*AzureRoleEligibleAssignment) Membership

func (a *AzureRoleEligibleAssignment) Membership() string

func (*AzureRoleEligibleAssignment) Resource

func (a *AzureRoleEligibleAssignment) Resource() string

func (*AzureRoleEligibleAssignment) ResourceType

func (a *AzureRoleEligibleAssignment) ResourceType() string

func (*AzureRoleEligibleAssignment) Role

func (*AzureRoleEligibleAssignment) RoleDefinitionID

func (a *AzureRoleEligibleAssignment) RoleDefinitionID() string

func (*AzureRoleEligibleAssignment) Scope

type AzureRoleEligibleAssignments

type AzureRoleEligibleAssignments []AzureRoleEligibleAssignment

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cred azcore.TokenCredential) (*Client, error)

func (*Client) GetCurrentUserPrincipalID

func (c *Client) GetCurrentUserPrincipalID(ctx context.Context) (string, error)

func (*Client) PIMAzureRoleActiveAssignments

func (c *Client) PIMAzureRoleActiveAssignments(ctx context.Context) (AzureRoleActiveAssignments, error)

func (*Client) PIMAzureRoleApprovalRequests

func (c *Client) PIMAzureRoleApprovalRequests(ctx context.Context) (AzureRoleAssignmentRequests, error)

func (*Client) PIMAzureRoleAssignmentApprovalByApprovalID

func (c *Client) PIMAzureRoleAssignmentApprovalByApprovalID(ctx context.Context, approvalID string, justification string, reviewResult ReviewResult) error

func (*Client) PIMAzureRoleAssignmentRequests

func (c *Client) PIMAzureRoleAssignmentRequests(ctx context.Context) (AzureRoleAssignmentRequests, error)

func (*Client) PIMAzureRoleAssignmentScheduleRequest

func (c *Client) PIMAzureRoleAssignmentScheduleRequest(ctx context.Context, principalID string, roleDefinitionID string, justification string, startDateTime time.Time, durationHours string, scope string) (string, error)

func (*Client) PIMAzureRoleEligibleAssignments

func (c *Client) PIMAzureRoleEligibleAssignments(ctx context.Context) (AzureRoleEligibleAssignments, error)

func (*Client) PIMAzureRoleGetMaximumExpirationByRoleID

func (c *Client) PIMAzureRoleGetMaximumExpirationByRoleID(ctx context.Context, scope string, roleDefinitionID string) (string, error)

type ReviewResult

type ReviewResult int
const (
	UnknownReviewResult ReviewResult = iota
	ApproveReviewResult
	DenyReviewResult
)

func (*ReviewResult) CobraCompletion

func (r *ReviewResult) CobraCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*ReviewResult) HelpText

func (r *ReviewResult) HelpText() string

func (*ReviewResult) Set

func (r *ReviewResult) Set(v string) error

func (*ReviewResult) String

func (r *ReviewResult) String() string

func (*ReviewResult) Type

func (r *ReviewResult) Type() string

Jump to

Keyboard shortcuts

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