azure

package
v0.0.0-...-7c19135 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationsClient

func NewApplicationsClient(conf AuthConfig) (appsClient graphrbac.ApplicationsClient, err error)

NewApplicationsClient will return a new azure graph applications client

func NewContainerInstanceClient

func NewContainerInstanceClient(conf AuthConfig) (cgClient containerinstance.ContainerGroupsClient, err error)

NewContainerInstanceClient will return a new azure container groups client

func NewGroupsClient

func NewGroupsClient(conf AuthConfig) (groupsClient resources.GroupsClient, err error)

NewGroupsClient will return a new azure resource groups client

func NewNetworkProfilesClient

func NewNetworkProfilesClient(conf AuthConfig) (profClient network.ProfilesClient, err error)

NewNetworkProfilesClient will return a new azure network profiles client

func NewRoleDefinitionsClient

func NewRoleDefinitionsClient(conf AuthConfig) (rdClient authorization.RoleDefinitionsClient, err error)

NewRoleDefinitionsClient will return a new azure role definitions client

func NewServicePrincipalsClient

func NewServicePrincipalsClient(conf AuthConfig) (spClient graphrbac.ServicePrincipalsClient, err error)

NewServicePrincipalsClient will return a new azure graph service principals client

func NewSubnetsClient

func NewSubnetsClient(conf AuthConfig) (snetClient network.SubnetsClient, err error)

NewSubnetsClient will return a new azure network subnets client

func NewVirtualNetworkPeeringsClient

func NewVirtualNetworkPeeringsClient(conf AuthConfig) (vnpc network.VirtualNetworkPeeringsClient, err error)

NewVirtualNetworkPeeringsClient will return a new azure virtual network peerings client

func NewVirtualNetworksClient

func NewVirtualNetworksClient(conf AuthConfig) (vnetClient network.VirtualNetworksClient, err error)

NewVirtualNetworksClient will return a new azure virtual networks client

Types

type AuthConfig

type AuthConfig struct {
	SubscriptionID string
	TenantID       string
	ClientID       string
	ClientSecret   string
	AuxTenantIDs   []string
	Resource       string
}

AuthConfig is the configuration for azure authentication

Jump to

Keyboard shortcuts

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