clients

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Environment environments.Environment
	TenantID    string
	ClientID    string
	Claims      auth.Claims

	TerraformVersion string

	StopContext context.Context

	Applications       *applications.Client
	AppRoleAssignments *approleassignments.Client
	ConditionalAccess  *conditionalaccess.Client
	DirectoryRoles     *directoryroles.Client
	Domains            *domains.Client
	Groups             *groups.Client
	Invitations        *invitations.Client
	ServicePrincipals  *serviceprincipals.Client
	Users              *users.Client
}

Client contains the handles to all the specific Azure AD resource classes' respective clients

type ClientBuilder

type ClientBuilder struct {
	AuthConfig       *auth.Config
	PartnerID        string
	TerraformVersion string
}

func (*ClientBuilder) Build

func (b *ClientBuilder) Build(ctx context.Context) (*Client, error)

Build is a helper method which returns a fully instantiated *Client based on the auth Config's current settings.

Jump to

Keyboard shortcuts

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